<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.4.2 (Python 3.11.10 on linux)" generated="2026-04-11T23:13:33.315752" rpa="false" schemaversion="5">
<suite id="s1" name="netconf-scale.txt">
<suite id="s1-s1" name="Ready" source="/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/ready">
<suite id="s1-s1-s1" name="Netconfready" source="/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/ready/netconfready.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-11T23:13:33.956128" 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-11T23:13:33.951860" elapsed="0.004334"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-11T23:13:33.951373" elapsed="0.004908"/>
</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-11T23:13:33.961449" 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-11T23:13:33.957703" elapsed="0.003779"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:33.961729" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:33.961605" elapsed="0.000175"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:33.961559" elapsed="0.000246"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.962376" 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-11T23:13:33.961981" elapsed="0.000442"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.962951" level="INFO">${cluster_size} = 1</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-11T23:13:33.962607" elapsed="0.000374"/>
</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-11T23:13:33.963542" elapsed="0.000307"/>
</kw>
<msg time="2026-04-11T23:13:33.963959" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:33.964008" level="INFO">${possibly_int_of_members} = 1</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-11T23:13:33.963156" elapsed="0.000875"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.964601" level="INFO">${int_of_members} = 1</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-11T23:13:33.964199" elapsed="0.000431"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.966229" 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-11T23:13:33.965952" elapsed="0.000306"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.966823" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-11T23:13:33.966404" elapsed="0.000446"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.967352" 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-11T23:13:33.967010" elapsed="0.000370"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<kw name="Append To List" owner="Collections">
<arg>${member_index_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:33.970589" elapsed="0.000249"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.971326" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</var>
<arg>${ODL_SYSTEM_${index}_IP}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:33.970993" elapsed="0.000360"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${index_to_ip_mapping}</arg>
<arg>${index}</arg>
<arg>${member_ip}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:33.971501" elapsed="0.000295"/>
</kw>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.972614" level="INFO">${session} = ClusterManagement__session_1</msg>
<var>${session}</var>
<arg>ClusterManagement__session_${member_index}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:33.972306" elapsed="0.000336"/>
</kw>
<return>
<value>${session}</value>
<status status="PASS" start="2026-04-11T23:13:33.972689" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:13:33.972860" level="INFO">${session_alias} = ClusterManagement__session_1</msg>
<var>${session_alias}</var>
<arg>member_index=${index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:33.971999" elapsed="0.000886"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:33.973555" level="INFO">Creating Session using : alias=ClusterManagement__session_1, url=http://10.30.171.250:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f32381f90&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>${session_alias}</arg>
<arg>http://${member_ip}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=${http_timeout}</arg>
<arg>max_retries=${http_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-11T23:13:33.973104" elapsed="0.000631"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${session_list}</arg>
<arg>${session_alias}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:33.973892" elapsed="0.000197"/>
</kw>
<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="PASS" start="2026-04-11T23:13:33.969913" elapsed="0.004234"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:33.969711" elapsed="0.004481"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="PASS" start="2026-04-11T23:13:33.967440" elapsed="0.006784"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.974884" level="INFO">${ClusterManagement__member_index_list} = [1]</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-11T23:13:33.974445" elapsed="0.000483"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.975489" level="INFO">${ClusterManagement__index_to_ip_mapping} = {1: '10.30.171.250'}</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-11T23:13:33.975088" elapsed="0.000444"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.976094" level="INFO">${ClusterManagement__session_list} = ['ClusterManagement__session_1']</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-11T23:13:33.975705" 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-11T23:13:33.965461" elapsed="0.010732"/>
</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-11T23:13:33.957320" elapsed="0.018928"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-11T23:13:33.976442" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:33.976317" elapsed="0.000172"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:33.976296" elapsed="0.000216"/>
</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-11T23:13:33.979742" level="INFO">${return_list_reference} = [1]</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-11T23:13:33.979345" elapsed="0.000423"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.980220" level="INFO">${return_list_copy} = [1]</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-11T23:13:33.979923" elapsed="0.000323"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:33.980291" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:13:33.980448" level="INFO">${index_list} = [1]</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-11T23:13:33.979024" elapsed="0.001448"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:33.981452" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</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="PASS" start="2026-04-11T23:13:33.981191" elapsed="0.000286"/>
</kw>
<kw name="Run_Keyword_Preserve_Connection" owner="SSHKeywords">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:33.982321" 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-11T23:13:33.982430" 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-11T23:13:33.982121" elapsed="0.000335"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Controller" owner="Utils">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Remote System" owner="Utils">
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot; and &quot;${return_stderr}&quot;!=&quot;True&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>At least one of {return_stdout} or {return_stderr} args should be set to True</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:33.986251" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:33.985260" elapsed="0.001095"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:33.985218" elapsed="0.001202"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:33.987075" 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-11T23:13:33.987350" level="INFO">${current_ssh_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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:33.986708" elapsed="0.000738"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.988309" level="INFO">Attempting to execute command "iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save" on remote system "10.30.171.250" by user "jenkins" with keyfile pass "any" and prompt "&gt;" and password ""</msg>
<arg>Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:33.987711" elapsed="0.000744"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:33.989557" level="INFO">${conn_id} = 1</msg>
<var>${conn_id}</var>
<arg>${system}</arg>
<arg>prompt=${prompt}</arg>
<arg>timeout=${prompt_timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-11T23:13:33.988722" elapsed="0.000954"/>
</kw>
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:13:33.991094" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:33.991173" 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-11T23:13:33.990728" elapsed="0.000469"/>
</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-11T23:13:33.991426" elapsed="0.000348"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:33.992690" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:34.336353" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:33.992339" elapsed="0.344108"/>
</kw>
<msg time="2026-04-11T23:13:34.336517" 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="PASS" start="2026-04-11T23:13:33.991982" elapsed="0.344627"/>
</kw>
<arg>${user}</arg>
<arg>${password}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="PASS" start="2026-04-11T23:13:33.990020" elapsed="0.346778"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:34.337500" level="INFO">Executing command 'iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save'.</msg>
<msg time="2026-04-11T23:13:34.349957" level="INFO">Command exited with return code 4.</msg>
<msg time="2026-04-11T23:13:34.350219" level="INFO">${stdout} = </msg>
<msg time="2026-04-11T23:13:34.350351" level="INFO">${stderr} = iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission ...</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>${cmd}</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:34.337097" elapsed="0.013342"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:34.350738" elapsed="0.000582"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:34.353603" level="INFO">iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root)</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:34.352496" elapsed="0.001435"/>
</kw>
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot;">
<return>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:13:34.354852" elapsed="0.000063"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:34.354241" elapsed="0.000774"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:34.354142" elapsed="0.001012"/>
</if>
<if>
<branch type="IF" condition="&quot;${return_stderr}&quot;!=&quot;True&quot;">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:34.356032" elapsed="0.000129"/>
</return>
<status status="PASS" start="2026-04-11T23:13:34.355434" elapsed="0.000832"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:34.355350" elapsed="0.001057"/>
</if>
<return>
<value>${stdout}</value>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:13:34.356688" elapsed="0.000038"/>
</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-11T23:13:34.361293" elapsed="0.000399"/>
</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-11T23:13:34.361932" elapsed="0.000220"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:34.362376" elapsed="0.000165"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:34.357859" elapsed="0.004775"/>
</kw>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Reduces the common work of running a command on a remote system to a single higher level
robot keyword, taking care to log in with a public key and. The command given is written and the return value
depends on the passed argument values of return_stdout (default: True) and return_stderr (default: False).
At least one should be True, or the keyword will exit and FAIL. If both are True, the resulting return value
will be a two element list containing both. Otherwise the resulting return value is a string.
No test conditions are checked.</doc>
<status status="PASS" start="2026-04-11T23:13:33.984283" elapsed="0.378587"/>
</kw>
<msg time="2026-04-11T23:13:34.362979" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run Command On Remote System</arg>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:33.983636" elapsed="0.379399"/>
</kw>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Call Run Comand On Remote System, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:13:33.983146" elapsed="0.379967"/>
</kw>
<msg time="2026-04-11T23:13:34.363153" 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-11T23:13:33.982624" elapsed="0.380575"/>
</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-11T23:13:34.365861" elapsed="0.000332"/>
</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-11T23:13:34.366354" elapsed="0.000158"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:34.366713" elapsed="0.000099"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:34.363489" elapsed="0.003374"/>
</kw>
<msg time="2026-04-11T23:13:34.366954" level="INFO">${output} = </msg>
<var>${output}</var>
<arg>Utils.Run_Command_On_Controller</arg>
<arg>${member_ip}</arg>
<arg>${command}</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-11T23:13:33.981703" elapsed="0.385276"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:34.367385" level="INFO"/>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:34.367143" elapsed="0.000282"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:34.367468" elapsed="0.000032"/>
</return>
<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="PASS" start="2026-04-11T23:13:33.980845" elapsed="0.386777"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:33.980671" elapsed="0.386988"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:33.980524" elapsed="0.387172"/>
</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-11T23:13:33.976750" elapsed="0.391002"/>
</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-11T23:13:34.367901" elapsed="0.000209"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<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-11T23:13:34.381366" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:34.381250" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:34.381230" elapsed="0.000206"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:34.381740" 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-11T23:13:34.381845" 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-11T23:13:34.381600" elapsed="0.000270"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:34.382264" level="INFO">{}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:34.382015" elapsed="0.000292"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:34.382728" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:34.382451" elapsed="0.000320"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:34.383506" 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-11T23:13:34.383271" elapsed="0.000435">Dictionary does not contain key '1'.</status>
</kw>
<msg time="2026-04-11T23:13:34.383819" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:34.383864" 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-11T23:13:34.382922" elapsed="0.000965"/>
</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-11T23:13:34.384185" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:34.383964" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:34.383944" elapsed="0.000338"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:34.385045" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:34.384781" elapsed="0.000290"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:34.385118" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:34.385268" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:34.384481" elapsed="0.000810"/>
</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="PASS" start="2026-04-11T23:13:34.385445" elapsed="0.000428"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:34.386157" level="INFO">index=4
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:34.386257" level="INFO">${karaf_connection_object} = index=4
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_erro...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:34.386044" elapsed="0.000239"/>
</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="PASS" start="2026-04-11T23:13:34.386425" elapsed="0.002373"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:34.389265" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:34.389978" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:34.388990" elapsed="0.002524">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:34.394531" elapsed="0.000401"/>
</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-11T23:13:34.395089" elapsed="0.000151"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:34.395383" elapsed="0.000096"/>
</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-11T23:13:34.392358" elapsed="0.003170"/>
</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-11T23:13:34.391841" elapsed="0.003760"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:34.380979" elapsed="0.014720">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:35.416965" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:35.416810" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:35.416776" elapsed="0.000282"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:35.417433" 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-11T23:13:35.417555" 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-11T23:13:35.417238" elapsed="0.000360"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:35.418066" level="INFO">{1: 4}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:35.417753" elapsed="0.000359"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:35.418516" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:35.418260" elapsed="0.000301"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:35.419134" elapsed="0.000192"/>
</kw>
<msg time="2026-04-11T23:13:35.419440" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:35.419487" level="INFO">${old_connection_index} = 4</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-11T23:13:35.418750" elapsed="0.000759"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:35.420390" elapsed="0.000207"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:35.421275" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:35.421094" elapsed="0.000900">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:35.420764" elapsed="0.001391"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:35.422673" elapsed="0.000103"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:35.422324" elapsed="0.000547"/>
</kw>
<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="PASS" start="2026-04-11T23:13:35.419851" elapsed="0.003066"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:35.419623" elapsed="0.003347"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:35.419598" elapsed="0.003398"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:35.423772" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:35.423484" elapsed="0.000314"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:35.423846" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:13:35.424002" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:35.423200" elapsed="0.000826"/>
</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="PASS" start="2026-04-11T23:13:35.424249" elapsed="0.000440"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:35.424968" level="INFO">index=6
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:35.425079" level="INFO">${karaf_connection_object} = index=6
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_erro...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:35.424858" elapsed="0.000248"/>
</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="PASS" start="2026-04-11T23:13:35.425252" elapsed="0.002482"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:35.428161" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:35.429324" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:35.427897" elapsed="0.001849">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:35.432756" elapsed="0.000383"/>
</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-11T23:13:35.433297" elapsed="0.000148"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:35.433614" elapsed="0.000102"/>
</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-11T23:13:35.430586" elapsed="0.003183"/>
</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-11T23:13:35.430046" elapsed="0.003769"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:35.416400" elapsed="0.017499">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:36.453169" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:36.453036" elapsed="0.000191"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:36.453011" elapsed="0.000238"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:36.453609" 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-11T23:13:36.453724" 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-11T23:13:36.453414" elapsed="0.000337"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:36.454195" level="INFO">{1: 6}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:36.453899" elapsed="0.000341"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:36.454639" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:36.454385" elapsed="0.000299"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:36.455204" elapsed="0.000181"/>
</kw>
<msg time="2026-04-11T23:13:36.455486" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:36.455532" level="INFO">${old_connection_index} = 6</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-11T23:13:36.454838" elapsed="0.000717"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:36.456380" elapsed="0.000240"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:36.457273" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:36.457105" elapsed="0.000816">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:36.456784" elapsed="0.001267"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:36.458531" elapsed="0.000117"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:36.458215" elapsed="0.000527"/>
</kw>
<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="PASS" start="2026-04-11T23:13:36.455877" elapsed="0.002913"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:36.455654" elapsed="0.003238"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:36.455635" elapsed="0.003284"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:36.459674" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:36.459389" elapsed="0.000312"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:36.459748" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:36.459902" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:36.459122" elapsed="0.000805"/>
</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="PASS" start="2026-04-11T23:13:36.460079" elapsed="0.000401"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:36.460771" level="INFO">index=8
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:36.460871" level="INFO">${karaf_connection_object} = index=8
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_erro...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:36.460663" elapsed="0.000235"/>
</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="PASS" start="2026-04-11T23:13:36.461038" elapsed="0.002365"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:36.463837" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:36.465021" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:36.463559" elapsed="0.001835">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:36.468381" elapsed="0.000393"/>
</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-11T23:13:36.468930" elapsed="0.000142"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:36.469213" elapsed="0.000097"/>
</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-11T23:13:36.466230" elapsed="0.003130"/>
</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-11T23:13:36.465723" elapsed="0.003681"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:36.452685" elapsed="0.016801">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:37.491515" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:37.491365" elapsed="0.000245"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.491337" elapsed="0.000299"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.492000" 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-11T23:13:37.492117" 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-11T23:13:37.491817" elapsed="0.000326"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.492604" level="INFO">{1: 8}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:37.492294" elapsed="0.000356"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.493043" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:37.492795" elapsed="0.000292"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:37.493636" elapsed="0.000183"/>
</kw>
<msg time="2026-04-11T23:13:37.493922" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:37.493967" level="INFO">${old_connection_index} = 8</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-11T23:13:37.493244" elapsed="0.000746"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:37.494804" elapsed="0.000178"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.495730" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.495529" elapsed="0.000832">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:37.495208" elapsed="0.001281"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.496988" elapsed="0.000119"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:37.496671" elapsed="0.000530"/>
</kw>
<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="PASS" start="2026-04-11T23:13:37.494284" elapsed="0.002964"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:37.494066" elapsed="0.003231"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.494045" elapsed="0.003277"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:37.498074" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:37.497810" elapsed="0.000290"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:37.498148" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:37.498301" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:37.497523" elapsed="0.000802"/>
</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="PASS" start="2026-04-11T23:13:37.498472" elapsed="0.000415"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.499151" level="INFO">index=10
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:37.499249" level="INFO">${karaf_connection_object} = index=10
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.499049" elapsed="0.000226"/>
</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="PASS" start="2026-04-11T23:13:37.499416" elapsed="0.002374"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.502207" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:37.503294" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:37.501946" elapsed="0.001740">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:37.506678" elapsed="0.000376"/>
</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-11T23:13:37.507215" elapsed="0.000142"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.507498" elapsed="0.000111"/>
</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-11T23:13:37.504469" elapsed="0.003191"/>
</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-11T23:13:37.503960" elapsed="0.003745"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:37.490973" elapsed="0.016817">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:37.507882" level="FAIL">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-11T23:13:34.368875" elapsed="3.139100">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<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="PASS" start="2026-04-11T23:13:34.368457" elapsed="3.139584"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:34.368321" elapsed="3.139762"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="PASS" start="2026-04-11T23:13:34.368168" elapsed="3.139954"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-11T23:13:33.956686" elapsed="3.551496"/>
</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-11T23:13:37.510861" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:37.510751" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.510732" elapsed="0.000198"/>
</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-11T23:13:37.515601" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:37.515478" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.515460" elapsed="0.000209"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.516608" level="INFO">${return_list_reference} = [1]</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-11T23:13:37.516212" elapsed="0.000424"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.517106" level="INFO">${return_list_copy} = [1]</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-11T23:13:37.516791" elapsed="0.000341"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:37.517176" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:37.517329" level="INFO">${index_list} = [1]</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-11T23:13:37.515886" elapsed="0.001467"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:37.522727" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:37.522607" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.522587" elapsed="0.000208"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:37.524086" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:37.523916" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.523896" elapsed="0.000323"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:37.524765" level="INFO">${karaf_connection_index} = 10</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="PASS" start="2026-04-11T23:13:37.524359" elapsed="0.000445"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.525267" level="INFO">${current_connection_index} = None</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:37.525037" elapsed="0.000269"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.527205" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.526812" elapsed="0.000896">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:37.527865" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:37.527933" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:37.525519" elapsed="0.002450"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.529985" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.529470" elapsed="0.001063">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:37.530711" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:37.530779" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:37.528207" elapsed="0.002608"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.531853" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/ready/netconfready.robot"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.531266" elapsed="0.000748">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/ready/netconfready.robot"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:37.530965" elapsed="0.001178">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/ready/netconfready.robot"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:37.530945" elapsed="0.001247">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/ready/netconfready.robot"</status>
</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-04-11T23:13:37.532348" elapsed="0.000023"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:37.532707" elapsed="0.000061"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:37.532489" elapsed="0.000377"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:37.532470" elapsed="0.000428"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:37.532964" elapsed="0.000018"/>
</return>
<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-11T23:13:37.534728" elapsed="0.000313"/>
</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-11T23:13:37.535235" elapsed="0.000145"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.535559" elapsed="0.000113"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:37.534102" elapsed="0.001668"/>
</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="PASS" start="2026-04-11T23:13:37.533244" elapsed="0.002613"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.523517" elapsed="0.012423">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/ready/netconfready.robot"</status>
</kw>
<msg time="2026-04-11T23:13:37.536039" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:37.536085" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/ready/netconfready.robot"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:37.522939" elapsed="0.013176"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:37.536301" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:37.536194" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.536174" elapsed="0.000192"/>
</if>
<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-11T23:13:37.537289" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:37.537178" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.537160" elapsed="0.000196"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.537797" 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-11T23:13:37.537910" 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-11T23:13:37.537505" elapsed="0.000436"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.538420" level="INFO">{1: 10}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:37.538111" elapsed="0.000357"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.538944" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:37.538655" elapsed="0.000340"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:37.539532" elapsed="0.000351"/>
</kw>
<msg time="2026-04-11T23:13:37.540043" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:37.540089" level="INFO">${old_connection_index} = 10</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-11T23:13:37.539149" elapsed="0.000962"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:37.541321" elapsed="0.000315"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.542681" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.542512" elapsed="0.000588">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:37.541887" elapsed="0.001296"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.544075" elapsed="0.000103"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:37.543435" elapsed="0.000810"/>
</kw>
<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="PASS" start="2026-04-11T23:13:37.540400" elapsed="0.003921"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:37.540187" elapsed="0.004182"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.540167" elapsed="0.004225"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:37.545394" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:37.544918" elapsed="0.000503"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:37.545503" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:13:37.545675" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:37.544633" elapsed="0.001098"/>
</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="PASS" start="2026-04-11T23:13:37.545883" elapsed="0.000451"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.546615" level="INFO">index=13
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:37.546715" level="INFO">${karaf_connection_object} = index=13
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.546497" elapsed="0.000244"/>
</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="PASS" start="2026-04-11T23:13:37.546881" elapsed="0.012459"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.559815" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:37.560773" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:37.559499" elapsed="0.001666">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:37.565908" elapsed="0.000731"/>
</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-11T23:13:37.566891" elapsed="0.000390"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.567517" elapsed="0.000295"/>
</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-11T23:13:37.561969" elapsed="0.005927"/>
</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-11T23:13:37.561432" elapsed="0.006512"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.536911" elapsed="0.031116">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:37.568396" elapsed="0.000026"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:37.568471" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.522306" elapsed="0.046401">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:37.568814" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:37.568858" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:37.517754" elapsed="0.051128"/>
</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-11T23:13:37.569217" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:37.568958" elapsed="0.000313"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.568940" elapsed="0.000354"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:37.517615" elapsed="0.051702"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:37.517414" elapsed="0.051936"/>
</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-11T23:13:37.515196" elapsed="0.054209"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-11T23:13:37.508841" elapsed="0.060617"/>
</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-11T23:13:37.508407" elapsed="0.061090"/>
</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-11T23:13:33.951014" elapsed="3.618530"/>
</kw>
<kw name="Set_Netconf_Connector">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.570258" level="INFO">${streamconnector} = /node/controller-config/yang-ext:mount/config:modules/module/sal-restconf-service:json-restconf-service-impl/json-restconf-service-impl</msg>
<var>${streamconnector}</var>
<arg>/node/controller-config/yang-ext:mount/config:modules/module/sal-restconf-service:json-restconf-service-impl/json-restconf-service-impl</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:37.569998" elapsed="0.000288"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.572498" level="INFO">${connector} = </msg>
<var>${connector}</var>
<arg>${USE_NETCONF_CONNECTOR}</arg>
<arg>${streamconnector}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:37.570442" elapsed="0.002083"/>
</kw>
<return>
<value>${connector}</value>
<status status="PASS" start="2026-04-11T23:13:37.572630" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:37.572783" level="INFO">${connector} = </msg>
<var>${connector}</var>
<doc>Sets netconf connector verify url according to the titanium and False combination</doc>
<status status="PASS" start="2026-04-11T23:13:37.569776" elapsed="0.003031"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.577509" level="INFO">${netconf_connector} = </msg>
<arg>${netconf_connector}</arg>
<arg>${connector}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:37.572965" elapsed="0.004590"/>
</kw>
<kw name="Comment" owner="BuiltIn">
<arg>A workaround for EOF error follows. TODO: Create a test case for the EOF bug, possibly tagged "exclude".</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-11T23:13:37.577739" elapsed="0.000207"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<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-11T23:13:37.591999" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:37.591890" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.591871" elapsed="0.000198"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.592352" 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-11T23:13:37.592454" 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-11T23:13:37.592220" elapsed="0.000260"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.592895" level="INFO">{1: 13}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:37.592642" elapsed="0.000296"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:37.593335" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:37.593099" elapsed="0.000278"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:37.593895" elapsed="0.000179"/>
</kw>
<msg time="2026-04-11T23:13:37.594168" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:37.594213" level="INFO">${old_connection_index} = 13</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-11T23:13:37.593528" elapsed="0.000707"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:37.595031" elapsed="0.000133"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.595802" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.595651" elapsed="0.000577">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:37.595322" elapsed="0.000967"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.596783" elapsed="0.000094"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:37.596449" elapsed="0.000473"/>
</kw>
<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="PASS" start="2026-04-11T23:13:37.594526" elapsed="0.002439"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:37.594310" elapsed="0.002725"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:37.594292" elapsed="0.002768"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:37.597808" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:37.597529" elapsed="0.000305"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:37.597881" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:13:37.598027" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:37.597265" elapsed="0.000787"/>
</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="PASS" start="2026-04-11T23:13:37.598198" elapsed="0.000402"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.598867" level="INFO">index=15
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:37.598965" level="INFO">${karaf_connection_object} = index=15
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.598765" elapsed="0.000226"/>
</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="PASS" start="2026-04-11T23:13:37.599133" elapsed="0.002378"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:37.601977" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:37.603055" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:37.601719" elapsed="0.001700">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:37.606364" elapsed="0.000315"/>
</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-11T23:13:37.606836" elapsed="0.000142"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:37.607120" elapsed="0.000095"/>
</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-11T23:13:37.604203" elapsed="0.003063"/>
</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-11T23:13:37.603704" elapsed="0.003607"/>
</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-11T23:13:37.590203" elapsed="0.017185">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:38.630587" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:38.630419" elapsed="0.000246"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.630383" elapsed="0.000306"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.631116" 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-11T23:13:38.631252" 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-11T23:13:38.630874" elapsed="0.000405"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.631805" level="INFO">{1: 15}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:38.631441" elapsed="0.000410"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.632236" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:38.631998" elapsed="0.000282"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:38.632907" elapsed="0.000186"/>
</kw>
<msg time="2026-04-11T23:13:38.633197" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:38.633243" level="INFO">${old_connection_index} = 15</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-11T23:13:38.632444" elapsed="0.000822"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:38.634089" elapsed="0.000142"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.634916" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.634722" elapsed="0.000747">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:38.634390" elapsed="0.001144"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:38.636029" elapsed="0.000101"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:38.635711" elapsed="0.000465"/>
</kw>
<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="PASS" start="2026-04-11T23:13:38.633560" elapsed="0.002659"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:38.633341" elapsed="0.002926"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.633323" elapsed="0.002969"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:38.637105" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:38.636826" elapsed="0.000305"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:38.637179" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:13:38.637342" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:38.636528" elapsed="0.000838"/>
</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="PASS" start="2026-04-11T23:13:38.637520" elapsed="0.000510"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.638301" level="INFO">index=17
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:38.638407" level="INFO">${karaf_connection_object} = index=17
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:38.638195" elapsed="0.000242"/>
</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="PASS" start="2026-04-11T23:13:38.638594" elapsed="0.002385"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.641404" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:38.642582" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:38.641137" elapsed="0.001819">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:38.645957" elapsed="0.000308"/>
</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-11T23:13:38.646422" elapsed="0.000144"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:38.646726" elapsed="0.000095"/>
</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-11T23:13:38.643763" elapsed="0.003110"/>
</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-11T23:13:38.643232" elapsed="0.003685"/>
</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-11T23:13:38.628564" elapsed="0.018433">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:38.647083" level="FAIL">Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<arg>2x</arg>
<arg>1s</arg>
<arg>KarafKeywords.Open_Controller_Karaf_Console_On_Background</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-11T23:13:37.578100" elapsed="1.069080">Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Starting Netconf readiness test suite</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="NOT RUN" start="2026-04-11T23:13:38.651534" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="${DEBUG_LOGGING_FOR_EVERYTHING}">
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<arg>log:set DEBUG</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:38.651976" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:38.651643" elapsed="0.000390"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:38.651624" elapsed="0.000432"/>
</if>
<kw name="Create Session" owner="RequestsLibrary">
<arg>ses</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="NOT RUN" start="2026-04-11T23:13:38.652198" elapsed="0.000020"/>
</kw>
<kw name="Setup_NetconfKeywords" owner="NetconfKeywords">
<doc>Setup the environment for the other keywords of this Resource to work properly.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:38.652456" elapsed="0.000035"/>
</kw>
<doc>Initialize SetupUtils. Setup requests library and log into karaf.log that the netconf readiness wait starts.</doc>
<status status="FAIL" start="2026-04-11T23:13:33.950592" elapsed="4.702001">Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<test id="s1-s1-s1-t1" name="Check_Whether_Netconf_Topology_Is_Ready" line="84">
<doc>Checks netconf readiness.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.652691" elapsed="0.000500">Parent suite setup failed:
Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</test>
<test id="s1-s1-s1-t2" name="Wait_For_Netconf_Connector" line="97">
<doc>Wait for the Netconf to go up for configurable time.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-11T23:13:38.653425" elapsed="0.000404">Parent suite setup failed:
Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</test>
<test id="s1-s1-s1-t3" name="Wait_Even_Longer" line="105">
<doc>Bugs such as 7175 may require to wait longer till netconf-connector works.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-11T23:13:38.654008" elapsed="0.000384">Parent suite setup failed:
Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</test>
<test id="s1-s1-s1-t4" name="Check_For_Bug_5014" line="114">
<doc>If Netconf appears to be down, it may be due to bug 5014. Check if it is so and fail if yes.
Bug 5014 is about Netconf playing dead on boot until a device
configuration request is sent to it. To uncover this attempt to
configure and then deconfigure a device and then check if Netconf
is now up and running. If that turns out to be true, fail the case
as this signifies the bug 5014 to be present. Skip this testcase
if Netconf is detected to be up and running.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-11T23:13:38.654564" elapsed="0.001063">Parent suite setup failed:
Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</test>
<test id="s1-s1-s1-t5" name="Check_Whether_Netconf_Can_Pretty_Print" line="132">
<doc>Make one request to netconf-connector and see if it works.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-11T23:13:38.655839" elapsed="0.000516">Parent suite setup failed:
Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</test>
<test id="s1-s1-s1-t6" name="Wait_For_MDSAL" line="141">
<doc>Wait for the MDSAL feature to become online</doc>
<status status="FAIL" start="2026-04-11T23:13:38.656652" elapsed="0.000356">Parent suite setup failed:
Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<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-11T23:13:38.664274" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:38.664163" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.664145" elapsed="0.000199"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.665309" level="INFO">${return_list_reference} = [1]</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-11T23:13:38.664924" elapsed="0.000412"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.665806" level="INFO">${return_list_copy} = [1]</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-11T23:13:38.665492" elapsed="0.000340"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:38.665877" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:13:38.666034" level="INFO">${index_list} = [1]</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-11T23:13:38.664594" elapsed="0.001464"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:38.671365" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:38.671257" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.671239" elapsed="0.000196"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:38.672448" elapsed="0.000026"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:38.672341" elapsed="0.000165"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.672324" elapsed="0.000204"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:38.672901" level="INFO">${karaf_connection_index} = 17</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="PASS" start="2026-04-11T23:13:38.672685" elapsed="0.000242"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.673243" level="INFO">${current_connection_index} = None</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:38.673076" elapsed="0.000192"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.673960" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.673763" elapsed="0.000623">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:38.674494" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:38.674539" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:38.673419" elapsed="0.001145"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.675283" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.675086" elapsed="0.000699">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:38.675892" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:38.675936" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:38.674755" elapsed="0.001204"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.676612" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.676251" elapsed="0.000423">Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:38.676034" elapsed="0.000702">Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:38.676015" elapsed="0.000889">Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</if>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.677306" level="INFO">Cannot open session, you need to establish a connection first.</msg>
<arg>${message_wait}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:38.677060" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="'${status_wait}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.677998" level="FAIL">Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</msg>
<arg>Failed to see prompt after sending the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.677683" elapsed="0.000373">Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:38.677452" elapsed="0.000666">Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:38.677433" elapsed="0.000716">Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</if>
<return>
<value>${message_wait}</value>
<status status="PASS" start="2026-04-11T23:13:38.678195" elapsed="0.000027"/>
</return>
<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-11T23:13:38.679290" elapsed="0.000411"/>
</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-11T23:13:38.679862" elapsed="0.000147"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:38.680148" elapsed="0.000094"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:38.678982" elapsed="0.001310"/>
</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="PASS" start="2026-04-11T23:13:38.678470" elapsed="0.001866"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.672095" elapsed="0.008388">Several failures occurred:

1) Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"

2) Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</kw>
<msg time="2026-04-11T23:13:38.680604" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:38.680650" level="INFO">${message} = Several failures occurred:

1) Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"

2) Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Endi...</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:38.671597" elapsed="0.009077"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:38.680858" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:38.680751" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.680731" elapsed="0.000193"/>
</if>
<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-11T23:13:38.681666" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:38.681544" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.681527" elapsed="0.000206"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.682006" 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-11T23:13:38.682106" 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-11T23:13:38.681878" elapsed="0.000253"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.682526" level="INFO">{1: 17}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:38.682276" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.682967" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:38.682731" elapsed="0.000279"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:38.683511" elapsed="0.000193"/>
</kw>
<msg time="2026-04-11T23:13:38.683808" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:38.683853" level="INFO">${old_connection_index} = 17</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-11T23:13:38.683160" elapsed="0.000715"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:38.684688" elapsed="0.000139"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.685466" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.685302" elapsed="0.000601">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:38.684985" elapsed="0.000979"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:38.686437" elapsed="0.000094"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:38.686125" elapsed="0.000465"/>
</kw>
<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="PASS" start="2026-04-11T23:13:38.684162" elapsed="0.002473"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:38.683949" elapsed="0.002768"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.683931" elapsed="0.002812"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:38.687467" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:38.687205" elapsed="0.000289"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:38.687541" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:13:38.687709" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:38.686942" elapsed="0.000791"/>
</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="PASS" start="2026-04-11T23:13:38.687880" elapsed="0.000388"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.688730" level="INFO">index=20
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:38.688834" level="INFO">${karaf_connection_object} = index=20
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:38.688435" elapsed="0.000425"/>
</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="PASS" start="2026-04-11T23:13:38.689003" elapsed="0.002183"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.691615" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:38.692692" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:38.691341" elapsed="0.001709">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:38.696003" elapsed="0.000298"/>
</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-11T23:13:38.696482" elapsed="0.000159"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:38.696784" elapsed="0.000092"/>
</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-11T23:13:38.693835" elapsed="0.003090"/>
</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-11T23:13:38.693311" elapsed="0.003658"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.681305" elapsed="0.015753">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-04-11T23:13:38.697757" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:38.697641" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.697621" elapsed="0.000204"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:38.698174" level="INFO">${karaf_connection_index} = 20</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="PASS" start="2026-04-11T23:13:38.697962" elapsed="0.000237"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.698510" level="INFO">${current_connection_index} = None</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:38.698348" elapsed="0.000187"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.699216" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.699029" elapsed="0.000626">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:38.699769" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:38.699813" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:38.698705" elapsed="0.001131"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.700521" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.700317" elapsed="0.000692">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:38.701115" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:38.701158" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:38.699994" elapsed="0.001219"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.701837" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.701504" elapsed="0.000391">Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:38.701290" elapsed="0.000666">Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:38.701271" elapsed="0.000716">Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</if>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.702379" level="INFO">Cannot open session, you need to establish a connection first.</msg>
<arg>${message_wait}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:38.702137" elapsed="0.000286"/>
</kw>
<if>
<branch type="IF" condition="'${status_wait}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.703021" level="FAIL">Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</msg>
<arg>Failed to see prompt after sending the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.702714" elapsed="0.000364">Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:38.702488" elapsed="0.000652">Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:38.702470" elapsed="0.000702">Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</if>
<return>
<value>${message_wait}</value>
<status status="PASS" start="2026-04-11T23:13:38.703216" elapsed="0.000027"/>
</return>
<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-11T23:13:38.704469" 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-11T23:13:38.704941" elapsed="0.000141"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:38.705223" elapsed="0.000093"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:38.704149" elapsed="0.001218"/>
</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="PASS" start="2026-04-11T23:13:38.703495" elapsed="0.001916"/>
</kw>
<msg time="2026-04-11T23:13:38.705593" level="INFO">${message} = Cannot open session, you need to establish a connection first.</msg>
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.697375" elapsed="0.008247">Several failures occurred:

1) Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"

2) Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</kw>
<return>
<value>${message}</value>
<status status="PASS" start="2026-04-11T23:13:38.705681" elapsed="0.000027"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:38.670971" elapsed="0.034901">Several failures occurred:

1) NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250

2) Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"

3) Failed to see prompt after sending the command: log:log "ROBOT MESSAGE: Ending Netconf readiness test suite"</status>
</kw>
<msg time="2026-04-11T23:13:38.705971" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:38.706015" level="INFO">${output} = Several failures occurred:

1) NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250

2) Failed to send the command: log:log "ROBOT MESSAGE: Ending Netconf readiness te...</msg>
<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="PASS" start="2026-04-11T23:13:38.666455" elapsed="0.039584"/>
</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-11T23:13:38.706361" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:38.706113" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.706095" elapsed="0.000341"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:38.666314" elapsed="0.040145"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:38.666122" elapsed="0.040372"/>
</for>
<arg>Ending Netconf readiness test suite</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-11T23:13:38.662050" elapsed="0.044500"/>
</kw>
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:38.706793" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-11T23:13:38.706712" elapsed="0.000169"/>
</kw>
<doc>Destroy all sessions in the requests library and log into karaf.log that the netconf readiness wait is over.</doc>
<status status="PASS" start="2026-04-11T23:13:38.657613" elapsed="0.049319"/>
</kw>
<doc>netconf-connector readiness test suite.

Copyright (c) 2015,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


Try to detect whether Netconf is up and running and wait for
it for a configurable time if it is not yet up and running.

This is achieved by the test Check_Whether_Netconf_Topology_Is_Ready. This test case
does not use controller-config device. This test case is skipped (Pass Execution) if
the usage of controller-config device is indicated.
Testing itself is done by creating a netconf test device configured
to all odl nodes one by one and check if GET works from mounted
device. GET is done from all the odl nodes and it works for both, 1 or 3 nodes
setup.

The next test cases are basically dedicated to test readiness of the netconf using
controller-config device. This device is created when odl-netconf-connector-ssh|all
feature is installed. Robot variable USE_NETCONF_CONNECTOR should be set to True.
Connector test cases change behavior depending on False. If True,
they check data mounted behind controller-config is readable, if False they only check
topology-netconf is readable.

Some testsuites expect netconf-connector to be ready as soon as possible and will
fail if it is not. We want to see a failure if this is the cause of the failure.


The usage of netconf-connector happens in other suites than netconf,
especially bgpcep to configure odl's bgp peers. Testing the readiness
of the netconf-connector must be invoked by the Robot invocation
argument USE_NETCONF_CONNECTOR. By default it is set to False and
test jobs should be responsible to set it to True if needed. In the
default configuration the affected test cases waits for the netconf
topology to appear only.

If the netconf-connector is not ready upon startup and it's usage is set
to True (as seen by the second test case failing), the next case starts
to repeat the query for a minute to see whether it is going "to fix itself"
within the minute. If yes, then the testcase will pass, which
indicates that the "ODL cooldown" of 1 minute is not long enough
to allow for netconf-connector to initialize properly.
If this fails, one more check with even longer timeout is run.
If the Check_Whether_Netconf_Is_Up_And_Running pass, then the next test
case does nothing.

The other test case then checks whether Netconf can pretty print
data. This sometimes makes problems, most likely due to too
new Robot Requests library with an interface incompatible with
this test suite.</doc>
<status status="FAIL" start="2026-04-11T23:13:33.357067" elapsed="5.349896">Suite setup failed:
Keyword 'KarafKeywords.Open_Controller_Karaf_Console_On_Background' failed after retrying 2 times. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</suite>
<status status="FAIL" start="2026-04-11T23:13:33.355979" elapsed="5.351952"/>
</suite>
<suite id="s1-s2" name="Performance" source="/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/performance.robot">
<kw name="Setup_Everything" type="SETUP">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.799935" level="INFO">${value} = 1658.4</msg>
<var>${value}</var>
<arg>${REQUEST_COUNT}/10+20</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:38.799557" elapsed="0.000408"/>
</kw>
<kw name="Set_User_Configurable_Variable_Default" owner="Utils">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.812072" level="INFO">${value} = 1658.4 s</msg>
<var>${value}</var>
<arg>\${${name}}</arg>
<arg>${value}</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-11T23:13:38.807968" elapsed="0.004132"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.812664" level="INFO">${TESTTOOL_DEVICE_TIMEOUT} = 1658.4 s</msg>
<arg>\${${name}}</arg>
<arg>${value}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:38.812266" elapsed="0.000442"/>
</kw>
<arg>TESTTOOL_DEVICE_TIMEOUT</arg>
<arg>${value} s</arg>
<doc>Set a default value for an user configurable variable.
This keyword is needed if your default value is calculated using
a complex expression which needs BuiltIn.Evaluate or even more
complex keywords. It sets the variable ${name} (the name of the
variable MUST be specified WITHOUT the ${} syntactic sugar due
to limitations of Robot Framework) to 1658.4 but only if the
variable ${name} was not set previously. This keyword is intended
for user configurable variables which are supposed to be set only
with pybot -v; calling this keyword on a variable that was already
set by another keyword will silently turn the call into a NOP and
thus is a bug in the suite or resource trying to call this
keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:38.807659" elapsed="0.005106"/>
</kw>
<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-11T23:13:38.817644" 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-11T23:13:38.813510" elapsed="0.004180"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-11T23:13:38.813283" elapsed="0.004464"/>
</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-11T23:13:38.822463" 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-11T23:13:38.818809" elapsed="0.003681"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:38.822684" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:38.822579" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.822547" elapsed="0.000203"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.823246" 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-11T23:13:38.822901" elapsed="0.000387"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.823765" level="INFO">${cluster_size} = 1</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-11T23:13:38.823446" elapsed="0.000345"/>
</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-11T23:13:38.824277" elapsed="0.000289"/>
</kw>
<msg time="2026-04-11T23:13:38.824677" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:38.824723" level="INFO">${possibly_int_of_members} = 1</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-11T23:13:38.823951" elapsed="0.000795"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.825278" level="INFO">${int_of_members} = 1</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-11T23:13:38.824916" elapsed="0.000388"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.826287" 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-11T23:13:38.826030" elapsed="0.000284"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.826725" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-11T23:13:38.826459" elapsed="0.000293"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.827199" 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-11T23:13:38.826906" elapsed="0.000326"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<kw name="Append To List" owner="Collections">
<arg>${member_index_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:38.830495" elapsed="0.000224"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.831196" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</var>
<arg>${ODL_SYSTEM_${index}_IP}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:38.830877" elapsed="0.000345"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${index_to_ip_mapping}</arg>
<arg>${index}</arg>
<arg>${member_ip}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:38.831372" elapsed="0.000237"/>
</kw>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.832394" level="INFO">${session} = ClusterManagement__session_1</msg>
<var>${session}</var>
<arg>ClusterManagement__session_${member_index}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:38.832094" elapsed="0.000327"/>
</kw>
<return>
<value>${session}</value>
<status status="PASS" start="2026-04-11T23:13:38.832501" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:13:38.832676" level="INFO">${session_alias} = ClusterManagement__session_1</msg>
<var>${session_alias}</var>
<arg>member_index=${index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:38.831802" elapsed="0.000904"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:38.833283" level="INFO">Creating Session using : alias=ClusterManagement__session_1, url=http://10.30.171.250:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f30bd7790&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>${session_alias}</arg>
<arg>http://${member_ip}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=${http_timeout}</arg>
<arg>max_retries=${http_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-11T23:13:38.832858" elapsed="0.000582"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${session_list}</arg>
<arg>${session_alias}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:38.833614" elapsed="0.000197"/>
</kw>
<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="PASS" start="2026-04-11T23:13:38.829932" elapsed="0.003937"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:38.829710" elapsed="0.004203"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="PASS" start="2026-04-11T23:13:38.827291" elapsed="0.006654"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.834495" level="INFO">${ClusterManagement__member_index_list} = [1]</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-11T23:13:38.834104" elapsed="0.000434"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.835102" level="INFO">${ClusterManagement__index_to_ip_mapping} = {1: '10.30.171.250'}</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-11T23:13:38.834712" elapsed="0.000432"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.835693" level="INFO">${ClusterManagement__session_list} = ['ClusterManagement__session_1']</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-11T23:13:38.835301" elapsed="0.000434"/>
</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-11T23:13:38.825585" elapsed="0.010206"/>
</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-11T23:13:38.818451" elapsed="0.017393"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-11T23:13:38.836020" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:38.835909" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.835890" elapsed="0.000196"/>
</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-11T23:13:38.839211" level="INFO">${return_list_reference} = [1]</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-11T23:13:38.838829" elapsed="0.000409"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.839700" level="INFO">${return_list_copy} = [1]</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-11T23:13:38.839394" elapsed="0.000332"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:38.839770" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:38.839922" level="INFO">${index_list} = [1]</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-11T23:13:38.838480" elapsed="0.001466"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:38.840959" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</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="PASS" start="2026-04-11T23:13:38.840698" elapsed="0.000287"/>
</kw>
<kw name="Run_Keyword_Preserve_Connection" owner="SSHKeywords">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.841786" 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-11T23:13:38.841886" 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-11T23:13:38.841636" elapsed="0.000276"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Controller" owner="Utils">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Remote System" owner="Utils">
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot; and &quot;${return_stderr}&quot;!=&quot;True&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>At least one of {return_stdout} or {return_stderr} args should be set to True</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:38.845407" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:38.844889" elapsed="0.000599"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:38.844870" elapsed="0.000653"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.846128" 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-11T23:13:38.846376" level="INFO">${current_ssh_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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:38.845729" elapsed="0.000695"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.847314" level="INFO">Attempting to execute command "iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save" on remote system "10.30.171.250" by user "jenkins" with keyfile pass "any" and prompt "&gt;" and password ""</msg>
<arg>Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:38.846690" elapsed="0.000724"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.848514" level="INFO">${conn_id} = 1</msg>
<var>${conn_id}</var>
<arg>${system}</arg>
<arg>prompt=${prompt}</arg>
<arg>timeout=${prompt_timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-11T23:13:38.847681" elapsed="0.000881"/>
</kw>
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:13:38.850192" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:38.850353" 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-11T23:13:38.849846" elapsed="0.000547"/>
</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-11T23:13:38.850725" elapsed="0.000457"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:38.852271" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:39.160722" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:34 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:38.851952" elapsed="0.308864"/>
</kw>
<msg time="2026-04-11T23:13:39.160882" 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="PASS" start="2026-04-11T23:13:38.851508" elapsed="0.309488"/>
</kw>
<arg>${user}</arg>
<arg>${password}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="PASS" start="2026-04-11T23:13:38.848996" elapsed="0.312126"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:39.161880" level="INFO">Executing command 'iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save'.</msg>
<msg time="2026-04-11T23:13:39.174683" level="INFO">Command exited with return code 4.</msg>
<msg time="2026-04-11T23:13:39.174840" level="INFO">${stdout} = </msg>
<msg time="2026-04-11T23:13:39.174937" level="INFO">${stderr} = iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission ...</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>${cmd}</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:39.161424" elapsed="0.013559"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:39.175265" elapsed="0.000497"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:39.176848" level="INFO">iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root)</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:39.176309" elapsed="0.000638"/>
</kw>
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot;">
<return>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:13:39.177342" elapsed="0.000047"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:39.177109" elapsed="0.000352"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:39.177084" elapsed="0.000415"/>
</if>
<if>
<branch type="IF" condition="&quot;${return_stderr}&quot;!=&quot;True&quot;">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:39.177803" elapsed="0.000058"/>
</return>
<status status="PASS" start="2026-04-11T23:13:39.177591" elapsed="0.000346"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:39.177559" elapsed="0.000416"/>
</if>
<return>
<value>${stdout}</value>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:13:39.178032" elapsed="0.000016"/>
</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-11T23:13:39.182758" elapsed="0.000449"/>
</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-11T23:13:39.183472" elapsed="0.000288"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:39.184007" elapsed="0.000223"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:39.178495" elapsed="0.005804"/>
</kw>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Reduces the common work of running a command on a remote system to a single higher level
robot keyword, taking care to log in with a public key and. The command given is written and the return value
depends on the passed argument values of return_stdout (default: True) and return_stderr (default: False).
At least one should be True, or the keyword will exit and FAIL. If both are True, the resulting return value
will be a two element list containing both. Otherwise the resulting return value is a string.
No test conditions are checked.</doc>
<status status="PASS" start="2026-04-11T23:13:38.843838" elapsed="0.340628"/>
</kw>
<msg time="2026-04-11T23:13:39.184563" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run Command On Remote System</arg>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:38.843227" elapsed="0.341459"/>
</kw>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Call Run Comand On Remote System, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:13:38.842582" elapsed="0.342182"/>
</kw>
<msg time="2026-04-11T23:13:39.184804" 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-11T23:13:38.842073" elapsed="0.342776"/>
</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-11T23:13:39.187444" elapsed="0.000318"/>
</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-11T23:13:39.187921" elapsed="0.000140"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:39.188205" elapsed="0.000105"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:39.185137" elapsed="0.003225"/>
</kw>
<msg time="2026-04-11T23:13:39.188451" level="INFO">${output} = </msg>
<var>${output}</var>
<arg>Utils.Run_Command_On_Controller</arg>
<arg>${member_ip}</arg>
<arg>${command}</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-11T23:13:38.841196" elapsed="0.347280"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:39.188921" level="INFO"/>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:39.188680" elapsed="0.000281"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:39.189002" elapsed="0.000029"/>
</return>
<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="PASS" start="2026-04-11T23:13:38.840302" elapsed="0.348820"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:38.840126" elapsed="0.349033"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:38.839998" elapsed="0.349198"/>
</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-11T23:13:38.836305" elapsed="0.352945"/>
</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-11T23:13:39.189398" elapsed="0.000224"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<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-11T23:13:39.202786" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:39.202679" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:39.202659" elapsed="0.000195"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:39.203138" 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-11T23:13:39.203239" 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-11T23:13:39.203002" elapsed="0.000263"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:39.203677" level="INFO">{}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:39.203412" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:39.204103" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:39.203868" elapsed="0.000277"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:39.204908" 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-11T23:13:39.204690" elapsed="0.000331">Dictionary does not contain key '1'.</status>
</kw>
<msg time="2026-04-11T23:13:39.205124" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:39.205168" 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-11T23:13:39.204321" elapsed="0.000869"/>
</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-11T23:13:39.205484" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:39.205265" elapsed="0.000292"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:39.205246" elapsed="0.000349"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:39.206362" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:39.206058" elapsed="0.000330"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:39.206435" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:39.206598" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:39.205794" elapsed="0.000829"/>
</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="PASS" start="2026-04-11T23:13:39.206774" elapsed="0.000394"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:39.207435" level="INFO">index=4
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:39.207532" level="INFO">${karaf_connection_object} = index=4
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_erro...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:39.207331" elapsed="0.000226"/>
</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="PASS" start="2026-04-11T23:13:39.207719" elapsed="0.002337"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:39.210480" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:39.211494" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:39.210221" elapsed="0.001716">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:39.214932" elapsed="0.000327"/>
</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-11T23:13:39.215418" elapsed="0.000143"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:39.215726" elapsed="0.000094"/>
</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-11T23:13:39.212783" elapsed="0.003086"/>
</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-11T23:13:39.212244" elapsed="0.003669"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:39.202391" elapsed="0.013605">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:40.228945" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:40.228825" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:40.228805" elapsed="0.000212"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:40.229315" 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-11T23:13:40.229422" 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-11T23:13:40.229174" elapsed="0.000274"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:40.229879" level="INFO">{1: 4}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:40.229612" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:40.230306" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:40.230070" elapsed="0.000279"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:40.230882" elapsed="0.000176"/>
</kw>
<msg time="2026-04-11T23:13:40.231153" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:40.231199" level="INFO">${old_connection_index} = 4</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-11T23:13:40.230504" elapsed="0.000720"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:40.232056" elapsed="0.000132"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:40.232840" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:40.232681" elapsed="0.000621">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:40.232349" elapsed="0.001015"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:40.233909" elapsed="0.000097"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:40.233584" elapsed="0.000467"/>
</kw>
<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="PASS" start="2026-04-11T23:13:40.231515" elapsed="0.002579"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:40.231298" elapsed="0.002845"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:40.231280" elapsed="0.002888"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:40.234937" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:40.234656" elapsed="0.000308"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:40.235012" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:13:40.235165" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:40.234372" elapsed="0.000818"/>
</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="PASS" start="2026-04-11T23:13:40.235340" elapsed="0.000431"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:40.236041" level="INFO">index=6
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:40.236140" level="INFO">${karaf_connection_object} = index=6
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_erro...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:40.235937" elapsed="0.000228"/>
</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="PASS" start="2026-04-11T23:13:40.236310" elapsed="0.002336"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:40.239066" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:40.240119" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:40.238806" elapsed="0.001682">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:40.243441" elapsed="0.000359"/>
</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-11T23:13:40.243960" elapsed="0.000142"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:40.244247" elapsed="0.000094"/>
</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-11T23:13:40.241293" elapsed="0.003099"/>
</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-11T23:13:40.240784" elapsed="0.003653"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:40.228516" elapsed="0.016001">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:41.263254" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:41.263126" elapsed="0.000179"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:41.263104" elapsed="0.000224"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:41.263642" 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-11T23:13:41.263751" 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-11T23:13:41.263485" elapsed="0.000292"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:41.264188" level="INFO">{1: 6}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:41.263929" elapsed="0.000303"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:41.264633" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:41.264381" elapsed="0.000295"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:41.265186" elapsed="0.000188"/>
</kw>
<msg time="2026-04-11T23:13:41.265515" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:41.265562" level="INFO">${old_connection_index} = 6</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-11T23:13:41.264831" elapsed="0.000769"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:41.266412" elapsed="0.000133"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:41.267197" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:41.267046" elapsed="0.000631">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:41.266724" elapsed="0.001015"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:41.268221" elapsed="0.000096"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:41.267905" elapsed="0.000456"/>
</kw>
<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="PASS" start="2026-04-11T23:13:41.265914" elapsed="0.002492"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:41.265677" elapsed="0.002780"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:41.265658" elapsed="0.002824"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:41.269243" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:41.268974" elapsed="0.000295"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:41.269316" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:13:41.269468" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:41.268699" elapsed="0.000793"/>
</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="PASS" start="2026-04-11T23:13:41.269658" elapsed="0.000393"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:41.270319" level="INFO">index=8
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:41.270418" level="INFO">${karaf_connection_object} = index=8
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_erro...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:41.270217" elapsed="0.000226"/>
</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="PASS" start="2026-04-11T23:13:41.270606" elapsed="0.002316"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:41.273338" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:41.274411" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:41.273080" elapsed="0.001717">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:41.277775" elapsed="0.000326"/>
</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-11T23:13:41.278260" elapsed="0.000144"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:41.278548" elapsed="0.000115"/>
</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-11T23:13:41.275624" elapsed="0.003090"/>
</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-11T23:13:41.275068" elapsed="0.003690"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:41.262828" elapsed="0.016009">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:42.298505" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:42.298357" elapsed="0.000229"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.298324" elapsed="0.000288"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.299008" 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-11T23:13:42.299209" 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-11T23:13:42.298823" elapsed="0.000415"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:42.299733" level="INFO">{1: 8}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:42.299410" elapsed="0.000370"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:42.300183" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:42.299934" elapsed="0.000294"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:42.300801" elapsed="0.000185"/>
</kw>
<msg time="2026-04-11T23:13:42.301086" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:42.301133" level="INFO">${old_connection_index} = 8</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-11T23:13:42.300395" elapsed="0.000761"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:42.301996" elapsed="0.000137"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.302852" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:42.302656" elapsed="0.000697">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:42.302302" elapsed="0.001116"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:42.303932" elapsed="0.000100"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:42.303609" elapsed="0.000469"/>
</kw>
<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="PASS" start="2026-04-11T23:13:42.301466" elapsed="0.002657"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:42.301233" elapsed="0.002939"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.301214" elapsed="0.002984"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:42.304973" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:42.304699" elapsed="0.000301"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:42.305049" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:13:42.305205" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:42.304403" elapsed="0.000826"/>
</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="PASS" start="2026-04-11T23:13:42.305383" elapsed="0.000441"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.306098" level="INFO">index=10
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:42.306199" level="INFO">${karaf_connection_object} = index=10
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:42.305993" elapsed="0.000232"/>
</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="PASS" start="2026-04-11T23:13:42.306372" elapsed="0.002403"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.309204" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:42.310282" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:42.308939" elapsed="0.001746">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:42.313708" elapsed="0.000355"/>
</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-11T23:13:42.314222" elapsed="0.000150"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:42.314519" elapsed="0.000120"/>
</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-11T23:13:42.311524" elapsed="0.003169"/>
</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-11T23:13:42.311001" elapsed="0.003747"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:42.297956" elapsed="0.016917">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:42.314965" level="FAIL">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-11T23:13:39.190339" elapsed="3.124719">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<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="PASS" start="2026-04-11T23:13:39.189982" elapsed="3.125142"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:39.189844" elapsed="3.125322"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="PASS" start="2026-04-11T23:13:39.189686" elapsed="3.125518"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-11T23:13:38.818020" elapsed="3.497242"/>
</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-11T23:13:42.317874" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:42.317755" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.317736" elapsed="0.000208"/>
</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-11T23:13:42.322622" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:42.322500" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.322482" elapsed="0.000210"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:42.323673" level="INFO">${return_list_reference} = [1]</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-11T23:13:42.323272" elapsed="0.000428"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:42.324159" level="INFO">${return_list_copy} = [1]</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-11T23:13:42.323865" elapsed="0.000319"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:42.324228" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:42.324381" level="INFO">${index_list} = [1]</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-11T23:13:42.322951" elapsed="0.001454"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:42.329786" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:42.329679" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.329659" elapsed="0.000212"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:42.331090" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:42.330962" elapsed="0.000175"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.330944" elapsed="0.000215"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:42.331620" level="INFO">${karaf_connection_index} = 10</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="PASS" start="2026-04-11T23:13:42.331300" elapsed="0.000347"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.332035" level="INFO">${current_connection_index} = None</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:42.331802" elapsed="0.000259"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.333117" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:42.332705" elapsed="0.001101">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:42.333952" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:42.333999" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:42.332217" elapsed="0.001805"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.335094" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:42.334687" elapsed="0.001168">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:42.335996" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:42.336042" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:42.334191" elapsed="0.001874"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:42.337093" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/performance.robot"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:42.336440" elapsed="0.000734">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/performance.robot"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:42.336199" elapsed="0.001104">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/performance.robot"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:42.336178" elapsed="0.001160">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/performance.robot"</status>
</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-04-11T23:13:42.337497" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:42.337740" elapsed="0.000048"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:42.337598" elapsed="0.000280"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:42.337565" elapsed="0.000340"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:42.337940" elapsed="0.000022"/>
</return>
<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-11T23:13:42.339817" elapsed="0.000439"/>
</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-11T23:13:42.340592" elapsed="0.000271"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:42.341182" elapsed="0.000218"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:42.339094" elapsed="0.002389"/>
</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="PASS" start="2026-04-11T23:13:42.338207" elapsed="0.003418"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:42.330636" elapsed="0.011076">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/performance.robot"</status>
</kw>
<msg time="2026-04-11T23:13:42.341814" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:42.341858" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/performance.robot"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:42.330022" elapsed="0.011860"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:42.342073" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:42.341958" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.341938" elapsed="0.000203"/>
</if>
<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-11T23:13:42.342979" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:42.342874" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.342856" elapsed="0.000199"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.343491" 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-11T23:13:42.343613" 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-11T23:13:42.343210" elapsed="0.000432"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:42.344060" level="INFO">{1: 10}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:42.343794" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:42.344503" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:42.344263" elapsed="0.000283"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:42.345070" elapsed="0.000270"/>
</kw>
<msg time="2026-04-11T23:13:42.345436" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:42.345482" level="INFO">${old_connection_index} = 10</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-11T23:13:42.344716" elapsed="0.000788"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:42.346665" elapsed="0.000265"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.348162" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:42.347911" elapsed="0.000708">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:42.347164" elapsed="0.001576"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:42.349680" elapsed="0.000183"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:42.348974" elapsed="0.000961"/>
</kw>
<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="PASS" start="2026-04-11T23:13:42.345815" elapsed="0.004205"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:42.345595" elapsed="0.004475"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.345560" elapsed="0.004534"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:42.351062" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:42.350619" elapsed="0.000469"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:42.351137" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:13:42.351300" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:42.350310" elapsed="0.001014"/>
</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="PASS" start="2026-04-11T23:13:42.351475" elapsed="0.000408"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.352149" level="INFO">index=13
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:42.352257" level="INFO">${karaf_connection_object} = index=13
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:42.352046" elapsed="0.000238"/>
</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="PASS" start="2026-04-11T23:13:42.352429" elapsed="0.002316"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.355181" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:42.356118" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:42.354922" elapsed="0.001568">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:42.359868" elapsed="0.000605"/>
</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-11T23:13:42.360724" elapsed="0.000376"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:42.361301" elapsed="0.000178"/>
</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-11T23:13:42.357289" elapsed="0.004270"/>
</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-11T23:13:42.356772" elapsed="0.004853"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:42.342532" elapsed="0.019180">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:42.362040" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:42.362113" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:42.329374" elapsed="0.032841">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:42.362319" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:42.362371" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:42.324799" elapsed="0.037601"/>
</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-11T23:13:42.362759" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:42.362478" elapsed="0.000339"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.362459" elapsed="0.000381"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:42.324650" elapsed="0.038246"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:42.324458" elapsed="0.038479"/>
</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-11T23:13:42.322215" elapsed="0.040777"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-11T23:13:42.315877" elapsed="0.047169"/>
</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-11T23:13:42.315417" elapsed="0.047670"/>
</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-11T23:13:38.812979" elapsed="3.550157"/>
</kw>
<kw name="Setup_NetconfKeywords" owner="NetconfKeywords">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:42.363935" level="INFO">${tmp} = {}</msg>
<var>${tmp}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:13:42.363660" elapsed="0.000300"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:42.367861" level="INFO">${NetconfKeywords__mounted_device_types} = {}</msg>
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${tmp}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:42.364117" elapsed="0.003790"/>
</kw>
<if>
<branch type="IF" condition="${create_session_for_templated_requests}">
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:42.372144" level="INFO">Creating Session using : alias=default, url=http://10.30.171.250:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f30a35610&gt;, timeout=2, 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-11T23:13:42.371777" elapsed="0.000517"/>
</kw>
<arg>timeout=2</arg>
<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-11T23:13:42.371349" elapsed="0.001013"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:42.367986" elapsed="0.004408"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.367968" elapsed="0.004450"/>
</if>
<kw name="Initialize_Artifact_Deployment_And_Usage" owner="NexusKeywords">
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.377455" level="INFO">${odl_connection} = 15</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-11T23:13:42.377091" elapsed="0.000390"/>
</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-11T23:13:42.379170" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:42.379248" 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-11T23:13:42.378897" elapsed="0.000375"/>
</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-11T23:13:42.379428" elapsed="0.000351"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.380641" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:42.687166" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:39 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:42.380301" elapsed="0.306983"/>
</kw>
<msg time="2026-04-11T23:13:42.687356" 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="PASS" start="2026-04-11T23:13:42.379945" elapsed="0.307479"/>
</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="PASS" start="2026-04-11T23:13:42.378403" elapsed="0.309118"/>
</kw>
<msg time="2026-04-11T23:13:42.687590" 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="PASS" start="2026-04-11T23:13:42.378018" elapsed="0.309620"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:13:42.377680" elapsed="0.310030"/>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-11T23:13:42.687757" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:13:42.687944" level="INFO">${odl} = 15</msg>
<var>${odl}</var>
<doc>Open a connection to the ODL system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:42.376801" elapsed="0.311168"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.697906" level="INFO">[chan 1] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:13:42.706410" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../../tools/deployment/search.sh' -&gt; '/home/jenkins//search.sh'</msg>
<arg>/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../../tools/deployment/search.sh</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="PASS" start="2026-04-11T23:13:42.688160" elapsed="0.018390"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:42.706817" elapsed="0.000340"/>
</kw>
<if>
<branch type="IF" condition="not (${tools_system_connect})">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:42.707455" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:42.707266" elapsed="0.000249"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:42.707235" elapsed="0.000311"/>
</if>
<kw name="Open_Connection_To_Tools_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.714221" level="INFO">${tools_connection} = 16</msg>
<var>${tools_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${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-11T23:13:42.713694" elapsed="0.000565"/>
</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-11T23:13:42.716403" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:42.716480" 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-11T23:13:42.716127" elapsed="0.000377"/>
</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-11T23:13:42.716674" elapsed="0.000326"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:42.717849" level="INFO">Logging into '10.30.171.36:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:43.403362" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-153-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:42 UTC 2026

  System load:  0.23               Processes:             109
  Usage of /:   19.6% of 38.58GB   Users logged in:       0
  Memory usage: 4%                 IPv4 address for ens3: 10.30.171.36
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

9 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:42.717516" elapsed="0.686026"/>
</kw>
<msg time="2026-04-11T23:13:43.403649" 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="PASS" start="2026-04-11T23:13:42.717166" elapsed="0.686580"/>
</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="PASS" start="2026-04-11T23:13:42.715642" elapsed="0.688227"/>
</kw>
<msg time="2026-04-11T23:13:43.403933" 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="PASS" start="2026-04-11T23:13:42.715046" elapsed="0.688938"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="PASS" start="2026-04-11T23:13:42.714523" elapsed="0.689538"/>
</kw>
<return>
<value>${tools_connection}</value>
<status status="PASS" start="2026-04-11T23:13:43.404115" elapsed="0.000042"/>
</return>
<doc>Open a connection to the tools system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:42.713185" elapsed="0.691102"/>
</kw>
<doc>Places search utility to ODL system, which will be needed for version detection.
By default also initialize a SSH connection to Tools system,
as following Keywords assume a working connection towards target system.</doc>
<status status="PASS" start="2026-04-11T23:13:42.372701" elapsed="1.031640"/>
</kw>
<doc>Setup the environment for the other keywords of this Resource to work properly.</doc>
<status status="PASS" start="2026-04-11T23:13:42.363383" elapsed="1.041009"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<kw name="Setup_Restperfclient" owner="RestPerfClient">
<arg>build_version=${NETCONF_TESTTOOL_VERSION}</arg>
<arg>build_location=org/opendaylight/netconf</arg>
<doc>Deploy RestPerfClient and determine the Java command to use to call it.
Open a SSH connection through which the RestPerfClient will be
invoked, deploy RestPerfClient and the data files it needs to do
its work and initialize the internal state for the remaining
keywords.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:43.404997" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:43.404483" elapsed="0.000585"/>
</branch>
<branch type="ELSE">
<kw name="Setup_Restperfclient" owner="RestPerfClient">
<kw name="Open_Connection_To_Tools_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:43.414054" level="INFO">${tools_connection} = 17</msg>
<var>${tools_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${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-11T23:13:43.413644" elapsed="0.000438"/>
</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-11T23:13:43.415782" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:43.415859" 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-11T23:13:43.415489" elapsed="0.000394"/>
</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-11T23:13:43.416037" elapsed="0.000326"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:43.417213" level="INFO">Logging into '10.30.171.36:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:43.742682" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-153-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:42 UTC 2026

  System load:  0.23               Processes:             109
  Usage of /:   19.6% of 38.58GB   Users logged in:       0
  Memory usage: 4%                 IPv4 address for ens3: 10.30.171.36
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

9 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:43 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:43.416897" elapsed="0.325972"/>
</kw>
<msg time="2026-04-11T23:13:43.742938" 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="PASS" start="2026-04-11T23:13:43.416529" elapsed="0.326474"/>
</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="PASS" start="2026-04-11T23:13:43.415056" elapsed="0.328041"/>
</kw>
<msg time="2026-04-11T23:13:43.743148" 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="PASS" start="2026-04-11T23:13:43.414634" elapsed="0.328559"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="PASS" start="2026-04-11T23:13:43.414286" elapsed="0.328980"/>
</kw>
<return>
<value>${tools_connection}</value>
<status status="PASS" start="2026-04-11T23:13:43.743313" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:13:43.743499" level="INFO">${connection} = 17</msg>
<var>${connection}</var>
<doc>Open a connection to the tools system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:43.413283" elapsed="0.330242"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:43.748006" level="INFO">${RestPerfClient__restperfclient} = 17</msg>
<arg>${RestPerfClient__restperfclient}</arg>
<arg>${connection}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:43.743736" elapsed="0.004317"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<msg time="2026-04-11T23:13:43.757790" level="INFO">[chan 1] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:13:43.767277" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/RestPerfClient/request1.json' -&gt; '/home/jenkins//request1.json'</msg>
<arg>/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/RestPerfClient/request1.json</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="PASS" start="2026-04-11T23:13:43.748213" elapsed="0.019194"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<kw name="Set Variable" owner="BuiltIn">
<var>${filename}</var>
<arg>${RESTPERF_FILENAME}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:43.768223" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:43.767627" elapsed="0.000725"/>
</branch>
<branch type="ELSE">
<kw name="Deploy_Test_Tool" owner="NexusKeywords">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:43.791002" level="INFO">${name_prefix} = netconf-testtool-</msg>
<var>${name_prefix}</var>
<arg>${artifact}-</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:43.790696" elapsed="0.000333"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:43.791528" level="INFO">${extension} = jar</msg>
<var>${extension}</var>
<arg>'${component}'=='odl-micro'</arg>
<arg>tar</arg>
<arg>jar</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:43.791190" elapsed="0.000364"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:43.792112" level="INFO">${name_suffix} = -rest-perf-client.jar</msg>
<var>${name_suffix}</var>
<arg>"${suffix}" != ""</arg>
<arg>-${suffix}.${extension}</arg>
<arg>.${extension}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:43.791731" elapsed="0.000407"/>
</kw>
<kw name="Deploy_Artifact" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${explicit_url}""" != ""</arg>
<arg>Deploy_From_Url</arg>
<arg>${explicit_url}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:43.793311" elapsed="0.000316"/>
</kw>
<kw name="Fetch From Left" owner="String">
<msg time="2026-04-11T23:13:43.793996" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${BUNDLE_URL}</arg>
<arg>/org/opendaylight</arg>
<doc>Returns contents of the ``string`` before the first occurrence of ``marker``.</doc>
<status status="PASS" start="2026-04-11T23:13:43.793785" elapsed="0.000237"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:43.794625" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>'${urlbase}' != '${BUNDLE_URL}'</arg>
<arg>${urlbase}</arg>
<arg>${fallback_url}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:43.794203" elapsed="0.000449"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Magnesium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:13:43.813072" elapsed="0.000456"/>
</kw>
<arg>magnesium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'carpeople'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:43.812661" elapsed="0.000969"/>
</kw>
<msg time="2026-04-11T23:13:43.813684" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>magnesium</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-11T23:13:43.804342" elapsed="0.009395"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>carpeople</arg>
<doc>Compare magnesium to titanium and in case titanium is at most magnesium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:43.803997" elapsed="0.009817"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Aluminium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:13:43.831683" elapsed="0.000444"/>
</kw>
<arg>aluminium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'netconf'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:43.831265" elapsed="0.000929"/>
</kw>
<msg time="2026-04-11T23:13:43.832299" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>aluminium</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-11T23:13:43.822971" elapsed="0.009383"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<doc>Compare aluminium to titanium and in case titanium is at most aluminium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:43.822636" elapsed="0.009795"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Silicon" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:13:43.850273" elapsed="0.000477"/>
</kw>
<arg>silicon</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'bgpcep'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:43.849861" elapsed="0.000958"/>
</kw>
<msg time="2026-04-11T23:13:43.850864" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>silicon</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-11T23:13:43.841526" elapsed="0.009386"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>bgpcep</arg>
<doc>Compare silicon to titanium and in case titanium is at most silicon,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:43.841177" elapsed="0.009808"/>
</kw>
<if>
<branch type="IF" condition="'${build_version}'=='${EMPTY}'">
<kw name="NexusKeywords__Detect_Version_To_Pull" owner="NexusKeywords">
<kw name="NexusKeywords__Get_Items_To_Look_At" owner="NexusKeywords">
<kw name="Dictionary Should Contain Key" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<arg>Component not supported by NexusKeywords version detection: ${component}</arg>
<doc>Fails if ``key`` is not found from ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:43.855171" elapsed="0.000249"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<status status="PASS" start="2026-04-11T23:13:43.855938" elapsed="0.000176"/>
</kw>
<msg time="2026-04-11T23:13:43.856160" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Collections.Get_From_Dictionary</arg>
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:43.855597" elapsed="0.000612"/>
</kw>
<msg time="2026-04-11T23:13:43.856327" level="INFO">${itemlist} = netconf-api</msg>
<var>${itemlist}</var>
<arg>${component}</arg>
<doc>Get a list of items that might contain the version number that we are looking for.</doc>
<status status="PASS" start="2026-04-11T23:13:43.854906" elapsed="0.001445"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:43.856651" level="INFO">index=17
host=10.30.171.36
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-11T23:13:43.856754" level="INFO">${current_ssh_connection} = index=17
host=10.30.171.36
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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:43.856508" elapsed="0.000273"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:43.861633" level="INFO">${odl_connection} = 18</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-11T23:13:43.861237" elapsed="0.000423"/>
</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-11T23:13:43.863922" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:43.864102" 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-11T23:13:43.863302" elapsed="0.000839"/>
</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-11T23:13:43.864368" elapsed="0.000767"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:43.866867" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:44.176660" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:42 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:43.866418" elapsed="0.310400"/>
</kw>
<msg time="2026-04-11T23:13:44.176931" 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="PASS" start="2026-04-11T23:13:43.865407" elapsed="0.311668"/>
</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="PASS" start="2026-04-11T23:13:43.862561" elapsed="0.314687"/>
</kw>
<msg time="2026-04-11T23:13:44.177349" 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="PASS" start="2026-04-11T23:13:43.862179" elapsed="0.315219"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:13:43.861841" elapsed="0.315630"/>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-11T23:13:44.177515" elapsed="0.000036"/>
</return>
<doc>Open a connection to the ODL system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:43.860940" elapsed="0.316747"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:44.178139" level="INFO">Executing command 'sh search.sh /tmp/netconf-karaf-9.0.3-SNAPSHOT/system netconf-api'.</msg>
<msg time="2026-04-11T23:13:44.211027" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:44.211275" level="INFO">${version} = 9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<msg time="2026-04-11T23:13:44.211378" level="INFO">${result} = 0</msg>
<var>${version}</var>
<var>${result}</var>
<arg>sh search.sh ${WORKSPACE}/${BUNDLEFOLDER}/system ${itemlist}</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:44.177875" elapsed="0.033552"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:44.211833" elapsed="0.000476"/>
</kw>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords">
<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-11T23:13:44.217369" elapsed="0.000262"/>
</kw>
<msg time="2026-04-11T23:13:44.217693" 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-11T23:13:44.216665" elapsed="0.001098"/>
</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-11T23:13:44.218036" elapsed="0.000035"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.218309" elapsed="0.000041"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:44.212904" elapsed="0.005538"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.219038" level="INFO">9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<arg>${version}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.218673" elapsed="0.000430"/>
</kw>
<if>
<branch type="IF" condition="${result}!=0">
<kw name="Fail" owner="BuiltIn">
<arg>Component "${component}": searching for "${itemlist}" found no version, cannot locate test tool.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.219529" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:44.219219" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.219188" elapsed="0.000477"/>
</if>
<kw name="Split String" owner="String">
<msg time="2026-04-11T23:13:44.220207" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:13:44.220275" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${version}</arg>
<arg>max_split=1</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-11T23:13:44.219872" elapsed="0.000436"/>
</kw>
<return>
<value>${version}</value>
<value>${location}</value>
<status status="PASS" start="2026-04-11T23:13:44.220381" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:13:44.220677" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:13:44.220740" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${component}</arg>
<doc>Determine the exact Nexus directory to be used as a source for a particular test tool
Figure out what version of the tool needs to be pulled out of the
Nexus by looking at the version directory of the subsystem from
which the tool is being pulled. This code is REALLY UGLY but there
is no way around it until the bug
https://bugs.opendaylight.org/show_bug.cgi?id=5206 gets fixed.
I also don't want to depend on maven-metadata-local.xml and other
bits and pieces of ODL distribution which are not required for ODL
to function properly.</doc>
<status status="PASS" start="2026-04-11T23:13:43.854508" elapsed="0.366264"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:43.851060" elapsed="0.369770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${version}</var>
<var>${location}</var>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.221095" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:44.220865" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:43.851039" elapsed="0.370182"/>
</if>
<if>
<branch type="IF" condition="'SNAPSHOT' in '${version}'">
<kw name="Remove Values From List" owner="Collections">
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<arg>bgpcep</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:44.221634" elapsed="0.000297"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:44.221305" elapsed="0.000683"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.221280" elapsed="0.000742"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.222814" level="INFO">${is_staged} = "FALSE"</msg>
<var>${is_staged}</var>
<arg>"opendaylight.release" not in '${urlbase}' and "opendaylight.snapshot" not in '${urlbase}'</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:44.222254" elapsed="0.000597"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.223664" level="INFO">${is_mri_component} = "FALSE"</msg>
<var>${is_mri_component}</var>
<arg>'${component}' in ${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:44.223085" elapsed="0.000617"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.224502" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${is_mri_component} == "TRUE" and ${is_staged} == "FALSE"</arg>
<arg>${NEXUS_RELEASE_BASE_URL}</arg>
<arg>${urlbase}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:44.223933" elapsed="0.000608"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.225397" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT</msg>
<var>${url}</var>
<arg>${urlbase}/${location}/${artifact}/${version}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:44.224789" elapsed="0.000708"/>
</kw>
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:44.227833" level="INFO">Executing command 'curl -L https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/maven-metadata.xml'.</msg>
<msg time="2026-04-11T23:13:44.332081" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:44.332339" level="INFO">${stdout} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<msg time="2026-04-11T23:13:44.332447" level="INFO">${stderr} =   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0   ...</msg>
<msg time="2026-04-11T23:13:44.332540" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:44.227646" elapsed="0.104984"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.334888" level="INFO">Length is 316.</msg>
<msg time="2026-04-11T23:13:44.335098" level="FAIL">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  35484      0 --:--:-- --:--:-- --:--:-- 35883' should be empty.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="FAIL" start="2026-04-11T23:13:44.333881" elapsed="0.001369">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  35484      0 --:--:-- --:--:-- --:--:-- 35883' should be empty.</status>
</kw>
<msg time="2026-04-11T23:13:44.335905" level="INFO">${emptiness_status} = FAIL</msg>
<msg time="2026-04-11T23:13:44.336027" level="INFO">${result} = '  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0  ...</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:44.333051" elapsed="0.003032"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.337473" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:44.336466" elapsed="0.001067"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.340519" level="INFO">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.339400" elapsed="0.001338"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.342227" level="INFO">  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  35484      0 --:--:-- --:--:-- --:--:-- 35883</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.341091" elapsed="0.001297"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.343025" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.342539" elapsed="0.000532"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:13:44.338564" elapsed="0.004571"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:44.337746" elapsed="0.005427"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.337699" elapsed="0.005500"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:13:44.343361" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:44.343258" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.343239" elapsed="0.000189"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:44.343583" elapsed="0.000030"/>
</return>
<status status="PASS" start="2026-04-11T23:13:44.343479" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.343464" elapsed="0.000206"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.343814" elapsed="0.000022"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:13:44.227059" elapsed="0.116874"/>
</kw>
<msg time="2026-04-11T23:13:44.344000" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:44.226384" elapsed="0.117663"/>
</kw>
<msg time="2026-04-11T23:13:44.344213" level="INFO">${metadata} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<var>${metadata}</var>
<arg>curl -L ${url}/maven-metadata.xml</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:13:44.225881" elapsed="0.118362"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:44.346666" level="INFO">Executing command 'echo "&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1'.</msg>
<msg time="2026-04-11T23:13:44.381144" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:44.381394" level="INFO">${stdout} = 9.0.3-20260411.052747-35</msg>
<msg time="2026-04-11T23:13:44.381490" level="INFO">${stderr} = </msg>
<msg time="2026-04-11T23:13:44.381617" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:44.346421" elapsed="0.035264"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.384639" level="INFO">Length is 0.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="PASS" start="2026-04-11T23:13:44.382912" elapsed="0.001885"/>
</kw>
<msg time="2026-04-11T23:13:44.385181" level="INFO">${emptiness_status} = PASS</msg>
<msg time="2026-04-11T23:13:44.385282" level="INFO">${result} = None</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:44.382106" elapsed="0.003226"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.386918" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:44.385734" elapsed="0.001222"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.389163" level="INFO">9.0.3-20260411.052747-35</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.388365" elapsed="0.000945"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.390491" level="INFO"/>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.389708" elapsed="0.000949"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.391808" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.391045" elapsed="0.000918"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:13:44.387538" elapsed="0.004632"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:44.387066" elapsed="0.005158"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.387038" elapsed="0.005221"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:13:44.392483" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:44.392340" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.392315" elapsed="0.000333"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:44.392855" elapsed="0.000039"/>
</return>
<status status="PASS" start="2026-04-11T23:13:44.392728" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.392706" elapsed="0.000280"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.393187" elapsed="0.000031"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:13:44.345865" elapsed="0.047487"/>
</kw>
<msg time="2026-04-11T23:13:44.393424" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:44.345229" elapsed="0.048259"/>
</kw>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:13:44.344817" elapsed="0.048801"/>
</kw>
<msg time="2026-04-11T23:13:44.393751" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:44.393833" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${status}</var>
<var>${namepart}</var>
<arg>SSHKeywords.Execute_Command_Should_Pass</arg>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:44.344409" elapsed="0.049456"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.394466" level="INFO">Length is 24.</msg>
<msg time="2026-04-11T23:13:44.394591" level="INFO">${length} = 24</msg>
<var>${length}</var>
<arg>${namepart}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-11T23:13:44.394098" elapsed="0.000530"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.395418" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${namepart}</var>
<arg>"${status}" != "PASS" or ${length} == 0</arg>
<arg>${version}</arg>
<arg>${namepart}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:44.394851" elapsed="0.000604"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.396191" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${filename}</var>
<arg>${name_prefix}${namepart}${name_suffix}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:44.395698" elapsed="0.000532"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.396897" level="INFO">netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<arg>${filename}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.396444" elapsed="0.000516"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.397652" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${url}</var>
<arg>${url}/${filename}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:44.397187" elapsed="0.000504"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:44.398192" level="INFO">Executing command 'wget -q -N 'https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar' 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:13:44.641285" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:44.641542" level="INFO">${response} = </msg>
<msg time="2026-04-11T23:13:44.641720" level="INFO">${result} = 0</msg>
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:44.397945" elapsed="0.243833"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.642880" level="INFO"/>
<arg>${response}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.642239" elapsed="0.000737"/>
</kw>
<if>
<branch type="IF" condition="${result} == 0">
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:13:44.643376" elapsed="0.000061"/>
</return>
<status status="PASS" start="2026-04-11T23:13:44.643133" elapsed="0.000381"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.643089" elapsed="0.000478"/>
</if>
<kw name="Replace String Using Regexp" owner="String">
<var>${release_url}</var>
<arg>${url}</arg>
<arg>autorelease-[0-9]{4}</arg>
<arg>opendaylight.release</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.643946" elapsed="0.000051"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${release_url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.644352" elapsed="0.000046"/>
</kw>
<if>
<branch type="IF" condition="${result} != 0">
<kw name="Fail" owner="BuiltIn">
<arg>Artifact "${artifact}" in component "${component}" could not be downloaded from ${release_url} nor ${url}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.644921" elapsed="0.000048"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:44.644557" elapsed="0.000484"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:44.644520" elapsed="0.000572"/>
</if>
<return>
<value>${filename}</value>
<status status="NOT RUN" start="2026-04-11T23:13:44.645164" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:13:44.645477" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${filename}</var>
<arg>${component}</arg>
<arg>${artifact}</arg>
<arg>${name_prefix}</arg>
<arg>${name_suffix}</arg>
<arg>${fallback_url}</arg>
<arg>${explicit_url}</arg>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Deploy the specified artifact from Nexus to the cwd of the machine to which the active SSHLibrary connection points.
netconf is a name part of an artifact present in system/ of ODl installation with the same version as netconf-testtool should have.
Must have https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-karaf/9.0.3-SNAPSHOT/netconf-karaf-9.0.3-20260411.052747-35.zip variable set to the URL from which the
tested ODL distribution was downloaded and this place must be
inside a repository created by a standard distribution
construction job. If this is detected to ne be the case, fallback URL is used.
If  is non-empty, Deploy_From_Utrl is called instead.
TODO: Allow deploying to a specific directory, we have SSHKeywords.Execute_Command_At_Cwd_Should_Pass now.</doc>
<status status="PASS" start="2026-04-11T23:13:43.792715" elapsed="0.852818"/>
</kw>
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:13:44.645746" elapsed="0.000072"/>
</return>
<msg time="2026-04-11T23:13:44.646093" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${filename}</var>
<arg>netconf</arg>
<arg>netconf-testtool</arg>
<arg>rest-perf-client</arg>
<doc>Deploy a test tool.
The test tools have naming convention of the form
"&lt;repository_url&gt;/some/dir/somewhere/&lt;tool-name&gt;/&lt;tool-name&gt;-&lt;version-tag&gt;-${suffix}.jar"
where "&lt;tool-name&gt;" is the name of the tool and "&lt;version-tag&gt;" is
the version tag that is digged out of the maven metadata. This
keyword calculates ${name_prefix} and ${name_suffix} for
"Deploy_Artifact" and then calls "Deploy_Artifact" to do the real
work of deploying the artifact.</doc>
<status status="PASS" start="2026-04-11T23:13:43.785122" elapsed="0.861026"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:43.768406" elapsed="0.877839"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:43.767536" elapsed="0.878757"/>
</if>
<kw name="Compose_Full_Java_Command" owner="NexusKeywords">
<kw name="Compose_Base_Java_Command" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk8"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_8_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_8_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:44.648809" elapsed="0.000728"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk11"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_11_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_11_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:44.650105" elapsed="0.000513"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk17"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_17_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_17_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:44.650787" elapsed="0.000314"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Compose_Dilemma_Filepath" owner="NexusKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:44.652295" level="INFO">Executing command 'ls -lA /usr/lib/jvm/java-21-openjdk-amd64/bin/java 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:13:44.685126" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:44.685369" level="INFO">${out} = -rwxr-xr-x 1 root root 14456 Jul 16  2025 /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<msg time="2026-04-11T23:13:44.685483" level="INFO">${rc} = 0</msg>
<var>${out}</var>
<var>${rc}</var>
<arg>ls -lA ${specific_path} 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:44.652113" elapsed="0.033422"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${specific_path}</value>
<status status="PASS" start="2026-04-11T23:13:44.686032" elapsed="0.000064"/>
</return>
<status status="PASS" start="2026-04-11T23:13:44.685790" elapsed="0.000383"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:44.685743" elapsed="0.000483"/>
</if>
<return>
<value>${default_path}</value>
<status status="NOT RUN" start="2026-04-11T23:13:44.686301" elapsed="0.000031"/>
</return>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Query active SSH connection, return specific path if it exists else default path.</doc>
<status status="PASS" start="2026-04-11T23:13:44.651765" elapsed="0.034793"/>
</kw>
<msg time="2026-04-11T23:13:44.686695" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>"""${openjdk}""" == "openjdk21"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:44.651264" elapsed="0.035539"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>java -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.687188" elapsed="0.000049"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>java</value>
<status status="NOT RUN" start="2026-04-11T23:13:44.687496" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:44.687398" elapsed="0.000298"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:44.687359" elapsed="0.000398"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<var>${java}</var>
<arg>echo $JAVA_HOME/bin/java 2&gt;&amp;1</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.688090" elapsed="0.000047"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.688490" elapsed="0.000050"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:13:44.688816" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:44.688737" elapsed="0.000169"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:44.688697" elapsed="0.000256"/>
</if>
<kw name="Get Environment Variable" owner="OperatingSystem">
<var>${JAVA_HOME}</var>
<arg>JAVA_HOME</arg>
<arg>${EMPTY}</arg>
<doc>Returns the value of an environment variable with the given name.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.689265" elapsed="0.000047"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${java}</var>
<arg>"""${JAVA_HOME}"""!=""</arg>
<arg>${JAVA_HOME}/bin/java</arg>
<arg>false</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.689746" elapsed="0.000053"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.690149" elapsed="0.000044"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:13:44.690427" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:44.690348" elapsed="0.000173"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:44.690312" elapsed="0.000465"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Unable to find Java; specify \${JDKVERSION}, put it to your PATH or set JAVA_HOME environment variable.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:44.691108" elapsed="0.000047"/>
</kw>
<msg time="2026-04-11T23:13:44.691379" level="INFO">${base_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<var>${base_command}</var>
<arg>openjdk=${openjdk}</arg>
<doc>Return string suitable for launching Java programs over SSHLibrary, depending on JRE version needed.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
Commands composed for one SSH connection shall not be reused on other SSH connections as the two connections may have different Java setups.
Not directly related to Nexus, but versioned Java tools may need this.</doc>
<status status="PASS" start="2026-04-11T23:13:44.648064" elapsed="0.043372"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.692610" level="INFO">${full_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx4G -jar netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${full_command}</var>
<arg>${base_command} ${options}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:44.691830" elapsed="0.000857"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.693610" level="INFO">/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx4G -jar netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<arg>${full_command}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:44.693029" elapsed="0.000754"/>
</kw>
<return>
<value>${full_command}</value>
<status status="PASS" start="2026-04-11T23:13:44.693879" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:13:44.694217" level="INFO">${prefix} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx4G -jar netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${prefix}</var>
<arg>-Xmx4G -jar ${filename}</arg>
<doc>Return full Bash command to run Java with given options.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
The options may include JVM options, application command line arguments, Bash redirects and other constructs.</doc>
<status status="PASS" start="2026-04-11T23:13:44.646824" elapsed="0.047449"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:44.699697" level="INFO">${RestPerfClient__restperfclient_invocation_command_prefix} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx4G -jar netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<arg>${RestPerfClient__restperfclient_invocation_command_prefix}</arg>
<arg>${prefix}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:44.694518" elapsed="0.005259"/>
</kw>
<doc>Deploy RestPerfClient and determine the Java command to use to call it.
Open a SSH connection through which the RestPerfClient will be
invoked, deploy RestPerfClient and the data files it needs to do
its work and initialize the internal state for the remaining
keywords.</doc>
<status status="PASS" start="2026-04-11T23:13:43.405643" elapsed="1.294223"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:43.405095" elapsed="1.294815"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:43.404461" elapsed="1.295483"/>
</if>
<kw name="Open_Connection_To_Tools_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:44.706592" level="INFO">${tools_connection} = 19</msg>
<var>${tools_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${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-11T23:13:44.706121" elapsed="0.000499"/>
</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-11T23:13:44.708256" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:44.708331" 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-11T23:13:44.707984" elapsed="0.000371"/>
</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-11T23:13:44.708513" elapsed="0.000333"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:44.709709" level="INFO">Logging into '10.30.171.36:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:45.043946" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-153-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:42 UTC 2026

  System load:  0.23               Processes:             109
  Usage of /:   19.6% of 38.58GB   Users logged in:       0
  Memory usage: 4%                 IPv4 address for ens3: 10.30.171.36
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

9 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:43 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:44.709367" elapsed="0.334953"/>
</kw>
<msg time="2026-04-11T23:13:45.044474" 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="PASS" start="2026-04-11T23:13:44.709017" elapsed="0.335622"/>
</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="PASS" start="2026-04-11T23:13:44.707521" elapsed="0.337325"/>
</kw>
<msg time="2026-04-11T23:13:45.044958" 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="PASS" start="2026-04-11T23:13:44.707137" elapsed="0.337922"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="PASS" start="2026-04-11T23:13:44.706803" elapsed="0.338416"/>
</kw>
<return>
<value>${tools_connection}</value>
<status status="PASS" start="2026-04-11T23:13:45.045316" elapsed="0.000073"/>
</return>
<msg time="2026-04-11T23:13:45.045786" level="INFO">${testtool} = 19</msg>
<var>${testtool}</var>
<doc>Open a connection to the tools system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:44.705592" elapsed="0.340253"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.046713" level="INFO">${testtool} = 19</msg>
<arg>${testtool}</arg>
<arg>${testtool}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:45.046263" elapsed="0.000494"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.047346" level="INFO">${device_type} = full-uri-device</msg>
<var>${device_type}</var>
<arg>${USE_NETCONF_CONNECTOR}==${True}</arg>
<arg>default</arg>
<arg>${device_type}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.046923" elapsed="0.000449"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.047854" level="INFO">${device_type} = full-uri-device</msg>
<arg>${device_type}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:45.047538" elapsed="0.000357"/>
</kw>
<doc>Setup everything needed for the test cases.</doc>
<status status="PASS" start="2026-04-11T23:13:38.799319" elapsed="6.248632"/>
</kw>
<test id="s1-s2-t1" name="Start_Testtool" line="47">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.051503" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:45.051277" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.051255" elapsed="0.000347"/>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="PASS" start="2026-04-11T23:13:45.051081" elapsed="0.000568"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:45.052639" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:45.052517" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.052499" elapsed="0.000209"/>
</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-11T23:13:45.057566" elapsed="0.000030"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:45.057438" elapsed="0.000189"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.057420" elapsed="0.000230"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.058643" level="INFO">${return_list_reference} = [1]</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-11T23:13:45.058249" elapsed="0.000421"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.059120" level="INFO">${return_list_copy} = [1]</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-11T23:13:45.058827" elapsed="0.000318"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:45.059190" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:13:45.059341" level="INFO">${index_list} = [1]</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-11T23:13:45.057881" elapsed="0.001484"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:45.064697" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:45.064589" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.064556" elapsed="0.000208"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:45.065926" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:45.065822" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.065805" elapsed="0.000188"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:45.066431" level="INFO">${karaf_connection_index} = 13</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="PASS" start="2026-04-11T23:13:45.066134" elapsed="0.000323"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.066849" level="INFO">${current_connection_index} = 19</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:45.066635" elapsed="0.000239"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.067798" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:45.067401" elapsed="0.001078">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:45.068680" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:45.068727" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:45.067069" elapsed="0.001681"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.069514" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:45.069250" elapsed="0.000912">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:45.070345" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:45.070390" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:45.068917" elapsed="0.001496"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.071323" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Start_Testtool"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:45.070729" elapsed="0.000657">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Start_Testtool"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:45.070490" elapsed="0.000965">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Start_Testtool"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:45.070471" elapsed="0.001017">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Start_Testtool"</status>
</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-04-11T23:13:45.071661" elapsed="0.000024"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.071889" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:45.071749" elapsed="0.000192"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:45.071732" elapsed="0.000232"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:45.071997" elapsed="0.000015"/>
</return>
<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">
<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-11T23:13:45.074455" elapsed="0.000169"/>
</kw>
<msg time="2026-04-11T23:13:45.074685" 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-11T23:13:45.073398" elapsed="0.001410"/>
</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-11T23:13:45.075076" elapsed="0.000074"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.075401" elapsed="0.000072"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:45.072798" elapsed="0.002795"/>
</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="PASS" start="2026-04-11T23:13:45.072261" elapsed="0.003398"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:45.065502" elapsed="0.010241">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Start_Testtool"</status>
</kw>
<msg time="2026-04-11T23:13:45.075845" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:45.075889" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Start_Testtool"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:45.064910" elapsed="0.011003"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:45.076095" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:45.075989" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.075969" elapsed="0.000191"/>
</if>
<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-11T23:13:45.076963" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:45.076859" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.076841" elapsed="0.000188"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.077291" level="INFO">index=19
host=10.30.171.36
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-11T23:13:45.077393" level="INFO">${current_ssh_connection_object} = index=19
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:45.077175" elapsed="0.000246"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.077853" level="INFO">{1: 13}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.077593" elapsed="0.000345"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.078333" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.078090" elapsed="0.000287"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:45.078962" elapsed="0.000258"/>
</kw>
<msg time="2026-04-11T23:13:45.079432" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:45.079481" level="INFO">${old_connection_index} = 13</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-11T23:13:45.078532" elapsed="0.000973"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:45.080321" elapsed="0.000194"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.081754" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:45.081166" elapsed="0.001530">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:45.080699" elapsed="0.002096"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:45.083418" elapsed="0.000317"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:45.082964" elapsed="0.000852"/>
</kw>
<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="PASS" start="2026-04-11T23:13:45.079820" elapsed="0.004041"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:45.079598" elapsed="0.004313"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.079564" elapsed="0.004371"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:45.084776" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:45.084458" elapsed="0.000345"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:45.084851" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:45.085003" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:45.084139" elapsed="0.000888"/>
</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="PASS" start="2026-04-11T23:13:45.085179" elapsed="0.000441"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.085896" level="INFO">index=20
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:45.085993" level="INFO">${karaf_connection_object} = index=20
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:45.085785" elapsed="0.000234"/>
</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="PASS" start="2026-04-11T23:13:45.086163" elapsed="0.002241"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.088836" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:45.089828" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:45.088563" elapsed="0.001630">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:45.103521" elapsed="0.000396"/>
</kw>
<msg time="2026-04-11T23:13:45.104004" 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-11T23:13:45.102001" elapsed="0.002146"/>
</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-11T23:13:45.104304" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.104464" elapsed="0.000020"/>
</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-11T23:13:45.091042" elapsed="0.013502"/>
</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-11T23:13:45.090458" elapsed="0.014150"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:45.076554" elapsed="0.028134">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.105058" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:45.105131" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:45.064246" elapsed="0.040988">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:45.105337" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:45.105381" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:45.059756" elapsed="0.045648"/>
</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-11T23:13:45.105761" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:45.105494" elapsed="0.000320"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.105475" elapsed="0.000363"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:45.059615" elapsed="0.046246"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:45.059423" elapsed="0.046468"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:45.057084" elapsed="0.048863"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:45.052229" elapsed="0.053773"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:45.051799" elapsed="0.054249"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:45.048616" elapsed="0.057484"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${testtool}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:45.106255" elapsed="0.000135"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'True'">
<kw name="Install_And_Start_Testtool" owner="NetconfKeywords">
<kw name="Deploy_Test_Tool" owner="NexusKeywords">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.127442" level="INFO">${name_prefix} = netconf-testtool-</msg>
<var>${name_prefix}</var>
<arg>${artifact}-</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:45.127135" elapsed="0.000334"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.127976" level="INFO">${extension} = jar</msg>
<var>${extension}</var>
<arg>'${component}'=='odl-micro'</arg>
<arg>tar</arg>
<arg>jar</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.127644" elapsed="0.000358"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.128548" level="INFO">${name_suffix} = -executable.jar</msg>
<var>${name_suffix}</var>
<arg>"${suffix}" != ""</arg>
<arg>-${suffix}.${extension}</arg>
<arg>.${extension}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.128164" elapsed="0.000425"/>
</kw>
<kw name="Deploy_Artifact" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${explicit_url}""" != ""</arg>
<arg>Deploy_From_Url</arg>
<arg>${explicit_url}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:45.129831" elapsed="0.000303"/>
</kw>
<kw name="Fetch From Left" owner="String">
<msg time="2026-04-11T23:13:45.130497" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${BUNDLE_URL}</arg>
<arg>/org/opendaylight</arg>
<doc>Returns contents of the ``string`` before the first occurrence of ``marker``.</doc>
<status status="PASS" start="2026-04-11T23:13:45.130292" elapsed="0.000232"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.131081" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>'${urlbase}' != '${BUNDLE_URL}'</arg>
<arg>${urlbase}</arg>
<arg>${fallback_url}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.130699" elapsed="0.000409"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Magnesium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:13:45.149480" elapsed="0.000424"/>
</kw>
<arg>magnesium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople'], 'carpeople'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:45.149006" elapsed="0.000965"/>
</kw>
<msg time="2026-04-11T23:13:45.150016" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>magnesium</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-11T23:13:45.140432" elapsed="0.009631"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>carpeople</arg>
<doc>Compare magnesium to titanium and in case titanium is at most magnesium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:45.140046" elapsed="0.010095"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Aluminium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:13:45.168186" elapsed="0.000422"/>
</kw>
<arg>aluminium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople'], 'netconf'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:45.167741" elapsed="0.000971"/>
</kw>
<msg time="2026-04-11T23:13:45.168758" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>aluminium</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-11T23:13:45.159377" elapsed="0.009430"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<doc>Compare aluminium to titanium and in case titanium is at most aluminium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:45.158992" elapsed="0.009889"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Silicon" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:13:45.187301" elapsed="0.000407"/>
</kw>
<arg>silicon</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople'], 'bgpcep'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:45.186853" elapsed="0.000922"/>
</kw>
<msg time="2026-04-11T23:13:45.187819" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>silicon</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-11T23:13:45.178356" elapsed="0.009510"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>bgpcep</arg>
<doc>Compare silicon to titanium and in case titanium is at most silicon,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:45.177972" elapsed="0.009966"/>
</kw>
<if>
<branch type="IF" condition="'${build_version}'=='${EMPTY}'">
<kw name="NexusKeywords__Detect_Version_To_Pull" owner="NexusKeywords">
<kw name="NexusKeywords__Get_Items_To_Look_At" owner="NexusKeywords">
<kw name="Dictionary Should Contain Key" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<arg>Component not supported by NexusKeywords version detection: ${component}</arg>
<doc>Fails if ``key`` is not found from ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:45.190880" elapsed="0.000237"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<status status="PASS" start="2026-04-11T23:13:45.191623" elapsed="0.000175"/>
</kw>
<msg time="2026-04-11T23:13:45.191841" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Collections.Get_From_Dictionary</arg>
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:45.191275" elapsed="0.000613"/>
</kw>
<msg time="2026-04-11T23:13:45.191986" level="INFO">${itemlist} = netconf-api</msg>
<var>${itemlist}</var>
<arg>${component}</arg>
<doc>Get a list of items that might contain the version number that we are looking for.</doc>
<status status="PASS" start="2026-04-11T23:13:45.190559" elapsed="0.001451"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.192269" level="INFO">index=19
host=10.30.171.36
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-11T23:13:45.192365" level="INFO">${current_ssh_connection} = index=19
host=10.30.171.36
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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:45.192163" elapsed="0.000228"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.197148" level="INFO">${odl_connection} = 21</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-11T23:13:45.196780" elapsed="0.000394"/>
</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-11T23:13:45.199023" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:45.199100" 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-11T23:13:45.198643" elapsed="0.000481"/>
</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-11T23:13:45.199277" elapsed="0.000468"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.200988" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:45.515898" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:44 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:45.200312" elapsed="0.315746"/>
</kw>
<msg time="2026-04-11T23:13:45.516374" 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="PASS" start="2026-04-11T23:13:45.199914" elapsed="0.316525"/>
</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="PASS" start="2026-04-11T23:13:45.198144" elapsed="0.318382"/>
</kw>
<msg time="2026-04-11T23:13:45.516589" 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="PASS" start="2026-04-11T23:13:45.197767" elapsed="0.318870"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:13:45.197350" elapsed="0.319359"/>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-11T23:13:45.516751" elapsed="0.000034"/>
</return>
<doc>Open a connection to the ODL system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:45.196432" elapsed="0.320458"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.517311" level="INFO">Executing command 'sh search.sh /tmp/netconf-karaf-9.0.3-SNAPSHOT/system netconf-api'.</msg>
<msg time="2026-04-11T23:13:45.550153" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:45.550396" level="INFO">${version} = 9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<msg time="2026-04-11T23:13:45.550494" level="INFO">${result} = 0</msg>
<var>${version}</var>
<var>${result}</var>
<arg>sh search.sh ${WORKSPACE}/${BUNDLEFOLDER}/system ${itemlist}</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:45.517056" elapsed="0.033488"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:45.550943" elapsed="0.000476"/>
</kw>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords">
<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-11T23:13:45.558492" elapsed="0.000346"/>
</kw>
<msg time="2026-04-11T23:13:45.558932" 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-11T23:13:45.557147" elapsed="0.001893"/>
</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-11T23:13:45.559379" elapsed="0.000047"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.559759" elapsed="0.000047"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:45.551992" elapsed="0.007947"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.560833" level="INFO">9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<arg>${version}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.560256" elapsed="0.000687"/>
</kw>
<if>
<branch type="IF" condition="${result}!=0">
<kw name="Fail" owner="BuiltIn">
<arg>Component "${component}": searching for "${itemlist}" found no version, cannot locate test tool.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.561647" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:45.561100" elapsed="0.000669"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.561054" elapsed="0.000768"/>
</if>
<kw name="Split String" owner="String">
<msg time="2026-04-11T23:13:45.562481" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:13:45.562525" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${version}</arg>
<arg>max_split=1</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-11T23:13:45.562130" elapsed="0.000417"/>
</kw>
<return>
<value>${version}</value>
<value>${location}</value>
<status status="PASS" start="2026-04-11T23:13:45.562611" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:45.562800" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:13:45.562843" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${component}</arg>
<doc>Determine the exact Nexus directory to be used as a source for a particular test tool
Figure out what version of the tool needs to be pulled out of the
Nexus by looking at the version directory of the subsystem from
which the tool is being pulled. This code is REALLY UGLY but there
is no way around it until the bug
https://bugs.opendaylight.org/show_bug.cgi?id=5206 gets fixed.
I also don't want to depend on maven-metadata-local.xml and other
bits and pieces of ODL distribution which are not required for ODL
to function properly.</doc>
<status status="PASS" start="2026-04-11T23:13:45.190150" elapsed="0.372715"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:45.188009" elapsed="0.374895"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${version}</var>
<var>${location}</var>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.563073" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:45.562929" elapsed="0.000202"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.187991" elapsed="0.375161"/>
</if>
<if>
<branch type="IF" condition="'SNAPSHOT' in '${version}'">
<kw name="Remove Values From List" owner="Collections">
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<arg>bgpcep</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:45.563416" elapsed="0.000208"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:45.563207" elapsed="0.000457"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.563191" elapsed="0.000496"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.564202" level="INFO">${is_staged} = "FALSE"</msg>
<var>${is_staged}</var>
<arg>"opendaylight.release" not in '${urlbase}' and "opendaylight.snapshot" not in '${urlbase}'</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.563836" elapsed="0.000392"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.564778" level="INFO">${is_mri_component} = "FALSE"</msg>
<var>${is_mri_component}</var>
<arg>'${component}' in ${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.564390" elapsed="0.000414"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.565362" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${is_mri_component} == "TRUE" and ${is_staged} == "FALSE"</arg>
<arg>${NEXUS_RELEASE_BASE_URL}</arg>
<arg>${urlbase}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.564963" elapsed="0.000461"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.565966" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT</msg>
<var>${url}</var>
<arg>${urlbase}/${location}/${artifact}/${version}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:45.565599" elapsed="0.000393"/>
</kw>
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.567878" level="INFO">Executing command 'curl -L https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/maven-metadata.xml'.</msg>
<msg time="2026-04-11T23:13:45.651839" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:45.652091" level="INFO">${stdout} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<msg time="2026-04-11T23:13:45.652198" level="INFO">${stderr} =   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0   ...</msg>
<msg time="2026-04-11T23:13:45.652308" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:45.567700" elapsed="0.084660"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.654601" level="INFO">Length is 395.</msg>
<msg time="2026-04-11T23:13:45.654790" level="FAIL">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  42422      0 --:--:-- --:--:-- --:--:-- 41863' should be empty.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="FAIL" start="2026-04-11T23:13:45.653600" elapsed="0.001336">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  42422      0 --:--:-- --:--:-- --:--:-- 41863' should be empty.</status>
</kw>
<msg time="2026-04-11T23:13:45.655168" level="INFO">${emptiness_status} = FAIL</msg>
<msg time="2026-04-11T23:13:45.655265" level="INFO">${result} = '  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0  ...</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:45.652801" elapsed="0.002518"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.656653" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.655715" elapsed="0.000999"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.659123" level="INFO">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.658550" elapsed="0.000846"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.660293" level="INFO">  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  42422      0 --:--:-- --:--:-- --:--:-- 41863</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.659761" elapsed="0.000636"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.661321" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.660754" elapsed="0.000664"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:13:45.657679" elapsed="0.003858"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:45.656883" elapsed="0.004765"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.656841" elapsed="0.004863"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:13:45.662052" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:45.661831" elapsed="0.000318"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.661792" elapsed="0.000405"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:45.662426" elapsed="0.000026"/>
</return>
<status status="PASS" start="2026-04-11T23:13:45.662309" elapsed="0.000175"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.662276" elapsed="0.000231"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.662660" elapsed="0.000021"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:13:45.567106" elapsed="0.095670"/>
</kw>
<msg time="2026-04-11T23:13:45.662842" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:45.566588" elapsed="0.096300"/>
</kw>
<msg time="2026-04-11T23:13:45.663040" level="INFO">${metadata} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<var>${metadata}</var>
<arg>curl -L ${url}/maven-metadata.xml</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:13:45.566192" elapsed="0.096876"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.665541" level="INFO">Executing command 'echo "&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1'.</msg>
<msg time="2026-04-11T23:13:45.705105" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:45.705430" level="INFO">${stdout} = 9.0.3-20260411.052747-35</msg>
<msg time="2026-04-11T23:13:45.705528" level="INFO">${stderr} = </msg>
<msg time="2026-04-11T23:13:45.705662" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:45.665361" elapsed="0.040354"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.707485" level="INFO">Length is 0.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="PASS" start="2026-04-11T23:13:45.706863" elapsed="0.000762"/>
</kw>
<msg time="2026-04-11T23:13:45.707837" level="INFO">${emptiness_status} = PASS</msg>
<msg time="2026-04-11T23:13:45.707932" level="INFO">${result} = None</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:45.706098" elapsed="0.001883"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.709323" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.708340" elapsed="0.001041"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.711415" level="INFO">9.0.3-20260411.052747-35</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.710917" elapsed="0.000559"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.712191" level="INFO"/>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.711699" elapsed="0.000547"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.712966" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.712446" elapsed="0.000580"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:13:45.710317" elapsed="0.002782"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:45.709550" elapsed="0.003610"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.709507" elapsed="0.003688"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:13:45.713412" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:45.713272" elapsed="0.000201"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.713248" elapsed="0.000254"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:45.713717" elapsed="0.000036"/>
</return>
<status status="PASS" start="2026-04-11T23:13:45.713593" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.713551" elapsed="0.000279"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:45.714021" elapsed="0.000030"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:13:45.664759" elapsed="0.049421"/>
</kw>
<msg time="2026-04-11T23:13:45.714250" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:45.664234" elapsed="0.050079"/>
</kw>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:13:45.663777" elapsed="0.050640"/>
</kw>
<msg time="2026-04-11T23:13:45.714545" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:45.714633" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${status}</var>
<var>${namepart}</var>
<arg>SSHKeywords.Execute_Command_Should_Pass</arg>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:45.663225" elapsed="0.051441"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.715249" level="INFO">Length is 24.</msg>
<msg time="2026-04-11T23:13:45.715349" level="INFO">${length} = 24</msg>
<var>${length}</var>
<arg>${namepart}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-11T23:13:45.714892" elapsed="0.000489"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.716164" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${namepart}</var>
<arg>"${status}" != "PASS" or ${length} == 0</arg>
<arg>${version}</arg>
<arg>${namepart}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:45.715624" elapsed="0.000583"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.716915" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${filename}</var>
<arg>${name_prefix}${namepart}${name_suffix}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:45.716422" elapsed="0.000529"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.717502" level="INFO">netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<arg>${filename}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:45.717174" elapsed="0.000433"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:45.718233" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${url}</var>
<arg>${url}/${filename}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:45.717813" elapsed="0.000457"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:45.720535" level="INFO">Executing command 'wget -q -N 'https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-executable.jar' 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:13:46.000009" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:46.000397" level="INFO">${response} = </msg>
<msg time="2026-04-11T23:13:46.000500" level="INFO">${result} = 0</msg>
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:45.718490" elapsed="0.282063"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.001845" level="INFO"/>
<arg>${response}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:46.001111" elapsed="0.000830"/>
</kw>
<if>
<branch type="IF" condition="${result} == 0">
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:13:46.002405" elapsed="0.000075"/>
</return>
<status status="PASS" start="2026-04-11T23:13:46.002120" elapsed="0.000440"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:46.002065" elapsed="0.000583"/>
</if>
<kw name="Replace String Using Regexp" owner="String">
<var>${release_url}</var>
<arg>${url}</arg>
<arg>autorelease-[0-9]{4}</arg>
<arg>opendaylight.release</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.002985" elapsed="0.000050"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${release_url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.003396" elapsed="0.000046"/>
</kw>
<if>
<branch type="IF" condition="${result} != 0">
<kw name="Fail" owner="BuiltIn">
<arg>Artifact "${artifact}" in component "${component}" could not be downloaded from ${release_url} nor ${url}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.003943" elapsed="0.000043"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:46.003631" elapsed="0.000425"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:46.003564" elapsed="0.000543"/>
</if>
<return>
<value>${filename}</value>
<status status="NOT RUN" start="2026-04-11T23:13:46.004177" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:13:46.004497" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${filename}</var>
<arg>${component}</arg>
<arg>${artifact}</arg>
<arg>${name_prefix}</arg>
<arg>${name_suffix}</arg>
<arg>${fallback_url}</arg>
<arg>${explicit_url}</arg>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Deploy the specified artifact from Nexus to the cwd of the machine to which the active SSHLibrary connection points.
netconf is a name part of an artifact present in system/ of ODl installation with the same version as netconf-testtool should have.
Must have https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-karaf/9.0.3-SNAPSHOT/netconf-karaf-9.0.3-20260411.052747-35.zip variable set to the URL from which the
tested ODL distribution was downloaded and this place must be
inside a repository created by a standard distribution
construction job. If this is detected to ne be the case, fallback URL is used.
If  is non-empty, Deploy_From_Utrl is called instead.
TODO: Allow deploying to a specific directory, we have SSHKeywords.Execute_Command_At_Cwd_Should_Pass now.</doc>
<status status="PASS" start="2026-04-11T23:13:45.129155" elapsed="0.875399"/>
</kw>
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:13:46.004737" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:13:46.005112" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${filename}</var>
<arg>netconf</arg>
<arg>netconf-testtool</arg>
<doc>Deploy a test tool.
The test tools have naming convention of the form
"&lt;repository_url&gt;/some/dir/somewhere/&lt;tool-name&gt;/&lt;tool-name&gt;-&lt;version-tag&gt;-${suffix}.jar"
where "&lt;tool-name&gt;" is the name of the tool and "&lt;version-tag&gt;" is
the version tag that is digged out of the maven metadata. This
keyword calculates ${name_prefix} and ${name_suffix} for
"Deploy_Artifact" and then calls "Deploy_Artifact" to do the real
work of deploying the artifact.</doc>
<status status="PASS" start="2026-04-11T23:13:45.121369" elapsed="0.883802"/>
</kw>
<kw name="Start_Testtool" owner="NetconfKeywords">
<kw name="NetconfKeywords__Deploy_Additional_Schemas" owner="NetconfKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:46.007525" level="INFO">Executing command 'rm -rf schemas 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:13:46.045460" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:46.045708" level="INFO">${response} = </msg>
<var>${response}</var>
<arg>rm -rf schemas 2&gt;&amp;1</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:46.007383" elapsed="0.038381"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.046727" level="INFO"/>
<arg>${response}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:46.046123" elapsed="0.000698"/>
</kw>
<if>
<branch type="IF" condition="'${schemas}' == 'none'">
<return>
<value>${EMPTY}</value>
<status status="NOT RUN" start="2026-04-11T23:13:46.047220" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:46.046972" elapsed="0.000349"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:46.046929" elapsed="0.000440"/>
</if>
<kw name="Put Directory" owner="SSHLibrary">
<msg time="2026-04-11T23:13:46.095094" level="INFO">[chan 5] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:13:46.194592" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/yang-ext@2013-07-09.yang' -&gt; '/home/jenkins/./schemas/yang-ext@2013-07-09.yang'</msg>
<msg time="2026-04-11T23:13:46.194656" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/example-action@2016-07-07.yang' -&gt; '/home/jenkins/./schemas/example-action@2016-07-07.yang'</msg>
<msg time="2026-04-11T23:13:46.194696" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/car@2014-08-18.yang' -&gt; '/home/jenkins/./schemas/car@2014-08-18.yang'</msg>
<msg time="2026-04-11T23:13:46.194733" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/car-purchase@2014-08-18.yang' -&gt; '/home/jenkins/./schemas/car-purchase@2014-08-18.yang'</msg>
<msg time="2026-04-11T23:13:46.194769" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/ncmount-l2fib@2016-03-07.yang' -&gt; '/home/jenkins/./schemas/ncmount-l2fib@2016-03-07.yang'</msg>
<msg time="2026-04-11T23:13:46.194803" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/augment-main-a@2014-01-21.yang' -&gt; '/home/jenkins/./schemas/augment-main-a@2014-01-21.yang'</msg>
<msg time="2026-04-11T23:13:46.194837" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/ietf-netconf-monitoring@2010-10-04.yang' -&gt; '/home/jenkins/./schemas/ietf-netconf-monitoring@2010-10-04.yang'</msg>
<msg time="2026-04-11T23:13:46.194870" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/ietf-netconf-monitoring-extension@2013-12-10.yang' -&gt; '/home/jenkins/./schemas/ietf-netconf-monitoring-extension@2013-12-10.yang'</msg>
<msg time="2026-04-11T23:13:46.194972" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/people@2014-08-18.yang' -&gt; '/home/jenkins/./schemas/people@2014-08-18.yang'</msg>
<msg time="2026-04-11T23:13:46.195009" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/test@2014-10-18.yang' -&gt; '/home/jenkins/./schemas/test@2014-10-18.yang'</msg>
<msg time="2026-04-11T23:13:46.195043" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/car-people@2014-08-18.yang' -&gt; '/home/jenkins/./schemas/car-people@2014-08-18.yang'</msg>
<msg time="2026-04-11T23:13:46.195076" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/ietf-inet-types@2010-09-24.yang' -&gt; '/home/jenkins/./schemas/ietf-inet-types@2010-09-24.yang'</msg>
<msg time="2026-04-11T23:13:46.195109" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas/main@2014-01-21.yang' -&gt; '/home/jenkins/./schemas/main@2014-01-21.yang'</msg>
<arg>${schemas}</arg>
<arg>destination=./schemas</arg>
<doc>Uploads a directory, including its content, from the local machine to the remote machine.</doc>
<status status="PASS" start="2026-04-11T23:13:46.047716" elapsed="0.147459"/>
</kw>
<kw name="List Directory" owner="SSHLibrary">
<msg time="2026-04-11T23:13:46.199227" level="INFO">13 items:
augment-main-a@2014-01-21.yang
car-people@2014-08-18.yang
car-purchase@2014-08-18.yang
car@2014-08-18.yang
example-action@2016-07-07.yang
ietf-inet-types@2010-09-24.yang
ietf-netconf-monitoring-extension@2013-12-10.yang
ietf-netconf-monitoring@2010-10-04.yang
main@2014-01-21.yang
ncmount-l2fib@2016-03-07.yang
people@2014-08-18.yang
test@2014-10-18.yang
yang-ext@2013-07-09.yang</msg>
<arg>./schemas</arg>
<doc>Returns and logs items in the remote ``path``, optionally filtered with ``pattern``.</doc>
<status status="PASS" start="2026-04-11T23:13:46.195414" elapsed="0.003891"/>
</kw>
<return>
<value>--schemas-dir ./schemas</value>
<status status="PASS" start="2026-04-11T23:13:46.199369" elapsed="0.000048"/>
</return>
<msg time="2026-04-11T23:13:46.199565" level="INFO">${schemas_option} = --schemas-dir ./schemas</msg>
<var>${schemas_option}</var>
<arg>${schemas}</arg>
<doc>Internal keyword for Install_And_Start_TestTool
This deploys the additional schemas if any and returns a
command line argument to be added to the testtool commandline
to tell it to load them. While this code could be integrated
into its only user, I considered the resulting code to be too
unreadable as the actions are quite different in the two
possibilities (additional schemas present versus no additional
schemas present), therefore a separate keyword is used.</doc>
<status status="PASS" start="2026-04-11T23:13:46.006932" elapsed="0.192697"/>
</kw>
<kw name="NetconfKeywords__Deploy_Custom_RPC" owner="NetconfKeywords">
<if>
<branch type="IF" condition="'${rpc_config}' == 'none'">
<return>
<value>${EMPTY}</value>
<status status="PASS" start="2026-04-11T23:13:46.200474" elapsed="0.000036"/>
</return>
<status status="PASS" start="2026-04-11T23:13:46.200321" elapsed="0.000236"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:46.200294" elapsed="0.000320"/>
</if>
<kw name="Copy_File_To_Tools_System" owner="SSHKeywords">
<arg>${TOOLS_SYSTEM_1_IP}</arg>
<arg>${rpc_config}</arg>
<arg>/tmp</arg>
<doc>Wrapper keyword to make it easier to copy a file to an Tools specific system</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.200880" elapsed="0.000050"/>
</kw>
<return>
<value>--rpc-config /tmp/customaction.xml</value>
<status status="NOT RUN" start="2026-04-11T23:13:46.200998" elapsed="0.000022"/>
</return>
<msg time="2026-04-11T23:13:46.203787" level="INFO">${rpc_config_option} = </msg>
<var>${rpc_config_option}</var>
<arg>${rpc_config}</arg>
<doc>Internal keyword for Install_And_Start_TestTool
This deploys the optional custom rpc file.
Drop out of the keyword, returning no command line argument when there
is no rpc file to deploy.</doc>
<status status="PASS" start="2026-04-11T23:13:46.199978" elapsed="0.003845"/>
</kw>
<kw name="Compose_Full_Java_Command" owner="NexusKeywords">
<kw name="Compose_Base_Java_Command" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk8"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_8_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_8_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:46.205783" elapsed="0.000468"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk11"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_11_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_11_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:46.206479" elapsed="0.000446"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk17"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_17_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_17_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:46.207151" elapsed="0.000413"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Compose_Dilemma_Filepath" owner="NexusKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:46.209302" level="INFO">Executing command 'ls -lA /usr/lib/jvm/java-21-openjdk-amd64/bin/java 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:13:46.253782" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:46.254016" level="INFO">${out} = -rwxr-xr-x 1 root root 14456 Jul 16  2025 /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<msg time="2026-04-11T23:13:46.254083" level="INFO">${rc} = 0</msg>
<var>${out}</var>
<var>${rc}</var>
<arg>ls -lA ${specific_path} 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:46.209056" elapsed="0.045059"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${specific_path}</value>
<status status="PASS" start="2026-04-11T23:13:46.254479" elapsed="0.000051"/>
</return>
<status status="PASS" start="2026-04-11T23:13:46.254284" elapsed="0.000334"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:46.254235" elapsed="0.000421"/>
</if>
<return>
<value>${default_path}</value>
<status status="NOT RUN" start="2026-04-11T23:13:46.254708" elapsed="0.000021"/>
</return>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Query active SSH connection, return specific path if it exists else default path.</doc>
<status status="PASS" start="2026-04-11T23:13:46.208481" elapsed="0.046400"/>
</kw>
<msg time="2026-04-11T23:13:46.254947" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>"""${openjdk}""" == "openjdk21"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:46.207810" elapsed="0.047211"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>java -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.255307" elapsed="0.000034"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>java</value>
<status status="NOT RUN" start="2026-04-11T23:13:46.255491" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:46.255442" elapsed="0.000213"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:46.255418" elapsed="0.000274"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<var>${java}</var>
<arg>echo $JAVA_HOME/bin/java 2&gt;&amp;1</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.255896" elapsed="0.000029"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.256133" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:13:46.256304" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:46.256257" elapsed="0.000102"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:46.256235" elapsed="0.000153"/>
</if>
<kw name="Get Environment Variable" owner="OperatingSystem">
<var>${JAVA_HOME}</var>
<arg>JAVA_HOME</arg>
<arg>${EMPTY}</arg>
<doc>Returns the value of an environment variable with the given name.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.256597" elapsed="0.000030"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${java}</var>
<arg>"""${JAVA_HOME}"""!=""</arg>
<arg>${JAVA_HOME}/bin/java</arg>
<arg>false</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.256847" elapsed="0.000060"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.257127" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:13:46.257299" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:46.257252" elapsed="0.000102"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:46.257229" elapsed="0.000157"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Unable to find Java; specify \${JDKVERSION}, put it to your PATH or set JAVA_HOME environment variable.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.257718" elapsed="0.000046"/>
</kw>
<msg time="2026-04-11T23:13:46.257991" level="INFO">${base_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<var>${base_command}</var>
<arg>openjdk=${openjdk}</arg>
<doc>Return string suitable for launching Java programs over SSHLibrary, depending on JRE version needed.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
Commands composed for one SSH connection shall not be reused on other SSH connections as the two connections may have different Java setups.
Not directly related to Nexus, but versioned Java tools may need this.</doc>
<status status="PASS" start="2026-04-11T23:13:46.205242" elapsed="0.052805"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.259219" level="INFO">${full_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 1 --debug false --schemas-dir ....</msg>
<var>${full_command}</var>
<arg>${base_command} ${options}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:46.258384" elapsed="0.000896"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.260201" level="INFO">/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 1 --debug false --schemas-dir ./schemas  --md-sal true</msg>
<arg>${full_command}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:46.259657" elapsed="0.000645"/>
</kw>
<return>
<value>${full_command}</value>
<status status="PASS" start="2026-04-11T23:13:46.260398" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:13:46.260767" level="INFO">${command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 1 --debug false --schemas-dir ....</msg>
<var>${command}</var>
<arg>${java_options} -jar ${filename} ${tool_options} --device-count ${device-count} --debug ${debug} ${schemas_option} ${rpc_config_option} --md-sal ${mdsal}</arg>
<doc>Return full Bash command to run Java with given options.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
The options may include JVM options, application command line arguments, Bash redirects and other constructs.</doc>
<status status="PASS" start="2026-04-11T23:13:46.204140" elapsed="0.056686"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.261771" level="INFO">Running testtool: /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 1 --debug false --schemas-dir ./schemas  --md-sal true</msg>
<arg>Running testtool: ${command}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:46.261191" elapsed="0.000680"/>
</kw>
<kw name="Get Log File Name" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.268049" level="INFO">${name} = netconf-scale-txt-Performance</msg>
<var>${name}</var>
<arg>"""${SUITE_NAME}""".replace(" ","-").replace("/","-").replace(".","-")</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:46.267213" elapsed="0.000897"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.271286" level="INFO">${suffix} = </msg>
<var>${suffix}</var>
<arg>'${testcase}' != ''</arg>
<arg>--${testcase}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:46.268468" elapsed="0.002844"/>
</kw>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:13:46.271681" level="INFO">${date} = 2026-04-11 23:13:46.272</msg>
<var>${date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:13:46.271475" elapsed="0.000232"/>
</kw>
<kw name="Convert Date" owner="DateTime">
<msg time="2026-04-11T23:13:46.274914" level="INFO">${timestamp} = 1775949226.272</msg>
<var>${timestamp}</var>
<arg>${date}</arg>
<arg>epoch</arg>
<doc>Converts between supported `date formats`.</doc>
<status status="PASS" start="2026-04-11T23:13:46.271855" elapsed="0.003087"/>
</kw>
<return>
<value>${testtool}--${name}${suffix}.${timestamp}.log</value>
<status status="PASS" start="2026-04-11T23:13:46.274992" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:46.275233" level="INFO">${logfile} = testtool--netconf-scale-txt-Performance.1775949226.272.log</msg>
<var>${logfile}</var>
<arg>testtool</arg>
<doc>Get the name of the suite sanitized to be usable as a part of filename.
These names are used to constructs names of the log files produced
by the testing tools so two suites using a tool wont overwrite the
log files if they happen to run in one job.</doc>
<status status="PASS" start="2026-04-11T23:13:46.262402" elapsed="0.012856"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.279938" level="INFO">${testtool_log} = testtool--netconf-scale-txt-Performance.1775949226.272.log</msg>
<arg>${testtool_log}</arg>
<arg>${logfile}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:46.275422" elapsed="0.004598"/>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:46.297064" level="INFO">/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 1 --debug false --schemas-dir ./schemas  --md-sal true &gt;testtool--netconf-scale-txt-Performance.1775949226.272.log 2&gt;&amp;1</msg>
<arg>${command} &gt;${logfile} 2&gt;&amp;1</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="PASS" start="2026-04-11T23:13:46.280176" elapsed="0.016949"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.301194" level="INFO">${NetconfKeywords__testtool_device_count} = 1</msg>
<arg>${NetconfKeywords__testtool_device_count}</arg>
<arg>${device-count}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:46.297294" elapsed="0.003947"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:13:46.302080" level="INFO">${current_Date} = 2026-04-11 23:13:46.302</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:13:46.301926" elapsed="0.000180"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:13:46.302598" level="INFO">${deadline_Date} = 2026-04-11 23:58:46.302</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:13:46.302254" elapsed="0.000371"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.307158" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:46.302788" elapsed="0.004416"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.307695" level="INFO">Repeating keyword, round 1/1.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:46.308818" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:46.308707" elapsed="0.000178"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:46.308687" elapsed="0.000221"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:13:46.309205" level="INFO">${current_Date} = 2026-04-11 23:13:46.309</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:13:46.309052" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:13:46.309702" level="INFO">${ellapsed_seconds} = 2699.993</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:13:46.309377" elapsed="0.000351"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.310036" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:46.309798" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:46.309779" elapsed="0.000334"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:13:46.308453" elapsed="0.001705"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.310680" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:46.310302" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.312101" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:46.311768" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.313820" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:46.313175" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:46.316412" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:13:46.328743" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:46.328855" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:46.316313" elapsed="0.012570"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:46.329312" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:13:46.329382" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:13:46.328961" elapsed="0.000647">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:46.328938" elapsed="0.000775">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:46.316037" elapsed="0.013966">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:46.315496" elapsed="0.014650"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:46.331148" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:13:46.381218" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:46.381320" level="INFO">${output} = 0</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:46.330655" elapsed="0.050689"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:46.381437" elapsed="0.000069"/>
</return>
<msg time="2026-04-11T23:13:46.381820" level="INFO">${count} = 0</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:13:46.314692" elapsed="0.067231"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<msg time="2026-04-11T23:13:46.383094" level="FAIL">0 != 1</msg>
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="FAIL" start="2026-04-11T23:13:46.382200" elapsed="0.001117">0 != 1</status>
</kw>
<arg>${device-port}</arg>
<status status="FAIL" start="2026-04-11T23:13:46.314061" elapsed="0.069417">0 != 1</status>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:46.312799" elapsed="0.070821">0 != 1</status>
</kw>
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:47.387185" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:47.385606" elapsed="0.001651"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:47.391636" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:13:47.405706" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:47.405933" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:47.391463" elapsed="0.014508"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:47.406702" elapsed="0.000041"/>
</kw>
<msg time="2026-04-11T23:13:47.406792" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:13:47.406145" elapsed="0.000832">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:47.406095" elapsed="0.000948">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:47.391077" elapsed="0.016159">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:47.390466" elapsed="0.016861"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:47.407981" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:13:47.453542" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:47.453788" level="INFO">${output} = 0</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:47.407671" elapsed="0.046172"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:47.454032" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:13:47.454871" level="INFO">${count} = 0</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:13:47.389248" elapsed="0.065843"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<msg time="2026-04-11T23:13:47.457695" level="FAIL">0 != 1</msg>
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="FAIL" start="2026-04-11T23:13:47.455725" elapsed="0.002419">0 != 1</status>
</kw>
<arg>${device-port}</arg>
<status status="FAIL" start="2026-04-11T23:13:47.387783" elapsed="0.070714">0 != 1</status>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:47.384484" elapsed="0.074331">0 != 1</status>
</kw>
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:48.463126" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:48.461481" elapsed="0.001719"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:48.467335" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:13:48.480618" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:48.480761" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:48.467182" elapsed="0.013616"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:48.481398" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:13:48.481483" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:13:48.480922" elapsed="0.000734">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:48.480884" elapsed="0.000843">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:48.466794" elapsed="0.015123">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:48.466161" elapsed="0.015849"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:48.482659" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:13:48.529683" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:48.529897" level="INFO">${output} = 0</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:48.482310" elapsed="0.047642"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:48.530148" elapsed="0.000165"/>
</return>
<msg time="2026-04-11T23:13:48.531038" level="INFO">${count} = 0</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:13:48.464980" elapsed="0.066286"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<msg time="2026-04-11T23:13:48.534024" level="FAIL">0 != 1</msg>
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="FAIL" start="2026-04-11T23:13:48.531981" elapsed="0.002537">0 != 1</status>
</kw>
<arg>${device-port}</arg>
<status status="FAIL" start="2026-04-11T23:13:48.463752" elapsed="0.071176">0 != 1</status>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:48.460427" elapsed="0.074802">0 != 1</status>
</kw>
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:49.538795" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:49.537132" elapsed="0.001734"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:49.544923" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:13:49.558507" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:49.558629" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:49.544676" elapsed="0.013982"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:49.559118" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:13:49.559182" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:13:49.558752" elapsed="0.000538">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:49.558723" elapsed="0.000640">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:49.544008" elapsed="0.015557">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:49.542917" elapsed="0.016831"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:49.560804" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:13:49.633612" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:49.633834" level="INFO">${output} = 0</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:49.560258" elapsed="0.073632"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:49.634095" elapsed="0.000175"/>
</return>
<msg time="2026-04-11T23:13:49.634999" level="INFO">${count} = 0</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:13:49.540944" elapsed="0.094299"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<msg time="2026-04-11T23:13:49.638038" level="FAIL">0 != 1</msg>
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="FAIL" start="2026-04-11T23:13:49.635981" elapsed="0.002552">0 != 1</status>
</kw>
<arg>${device-port}</arg>
<status status="FAIL" start="2026-04-11T23:13:49.539400" elapsed="0.099527">0 != 1</status>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:49.536076" elapsed="0.103140">0 != 1</status>
</kw>
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:50.642872" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:50.641176" elapsed="0.001776"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:50.646747" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:13:50.659666" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:50.659810" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:50.646593" elapsed="0.013254"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:50.660428" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:13:50.660512" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:13:50.659965" elapsed="0.000716">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:50.659930" elapsed="0.000816">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:50.646179" elapsed="0.014751">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:50.645563" elapsed="0.015457"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:50.661660" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:13:50.744537" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:50.744806" level="INFO">${output} = 0</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:50.661321" elapsed="0.083542"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:50.745066" elapsed="0.000153"/>
</return>
<msg time="2026-04-11T23:13:50.745927" level="INFO">${count} = 0</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:13:50.644404" elapsed="0.101749"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<msg time="2026-04-11T23:13:50.748835" level="FAIL">0 != 1</msg>
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="FAIL" start="2026-04-11T23:13:50.746858" elapsed="0.002436">0 != 1</status>
</kw>
<arg>${device-port}</arg>
<status status="FAIL" start="2026-04-11T23:13:50.643442" elapsed="0.106236">0 != 1</status>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:50.640165" elapsed="0.109803">0 != 1</status>
</kw>
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.753371" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:51.751832" elapsed="0.001607"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:51.757970" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:13:51.771181" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:51.771327" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:51.757813" elapsed="0.013553"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.772003" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:13:51.772091" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:13:51.771489" elapsed="0.000740">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:51.771453" elapsed="0.000843">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.757372" elapsed="0.015113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:51.756767" elapsed="0.015832"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:51.773241" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:13:51.821373" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:51.821672" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:51.772914" elapsed="0.048817"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:51.821956" elapsed="0.000164"/>
</return>
<msg time="2026-04-11T23:13:51.822855" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:13:51.755499" elapsed="0.067578"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:13:51.823773" elapsed="0.001877"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:13:51.753942" elapsed="0.071949"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:13:51.750848" elapsed="0.075187"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:13:46.312285" elapsed="5.513851"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:13:46.311308" elapsed="5.514975"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:13:46.310860" elapsed="5.515524"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.827514" level="INFO">${next} = 17831</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:51.826760" elapsed="0.000865"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.828916" level="INFO">${current_port} = 17831</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:51.827987" elapsed="0.001024"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:13:46.307895" elapsed="5.521242"/>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="PASS" start="2026-04-11T23:13:46.307363" elapsed="5.521884"/>
</kw>
<arg>NetconfKeywords__Wait_Device_Is_Up_And_Running</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:13:46.301448" elapsed="5.527934"/>
</kw>
<arg>${filename}</arg>
<arg>${device-count}</arg>
<arg>${debug}</arg>
<arg>${schemas}</arg>
<arg>${rpc_config}</arg>
<arg>${tool_options}</arg>
<arg>${java_options}</arg>
<arg>${mdsal}</arg>
<arg>log_response=${log_response}</arg>
<doc>Arrange to collect tool's output into a log file.
Will use specific /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas unless argument resolves to 'none',
which signifies that there are no additional schemas to be deployed.
If so the directory for the additional schemas is deleted on the
remote machine and the additional schemas argument is left out.</doc>
<status status="PASS" start="2026-04-11T23:13:46.005712" elapsed="5.823783"/>
</kw>
<arg>device-count=1</arg>
<arg>schemas=/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas</arg>
<arg>debug=false</arg>
<doc>Install and run testtool.</doc>
<status status="PASS" start="2026-04-11T23:13:45.107026" elapsed="6.722784"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:45.106458" elapsed="6.723434"/>
</branch>
<branch type="ELSE">
<kw name="Start_Testtool" owner="NetconfKeywords">
<arg>${NETCONF_FILENAME}</arg>
<arg>device-count=1</arg>
<arg>schemas=/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/CRUD/schemas</arg>
<arg>debug=false</arg>
<doc>Arrange to collect tool's output into a log file.
Will use specific ${schemas} unless argument resolves to 'none',
which signifies that there are no additional schemas to be deployed.
If so the directory for the additional schemas is deleted on the
remote machine and the additional schemas argument is left out.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.836232" elapsed="0.000040"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:51.829953" elapsed="0.006387"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:45.106441" elapsed="6.729933"/>
</if>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:51.837261" elapsed="0.000375"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.838900" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:51.838315" elapsed="0.000675"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.838286" elapsed="0.000740"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:51.839241" elapsed="0.000479"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.846015" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:51.845326" elapsed="0.000717"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="PASS" start="2026-04-11T23:13:51.846285" elapsed="0.000029"/>
</return>
<status status="PASS" start="2026-04-11T23:13:51.846119" elapsed="0.000226"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.846099" elapsed="0.000270"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.846518" elapsed="0.000022"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.846705" elapsed="0.000020"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.846875" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.847040" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.847203" elapsed="0.000019"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.847366" elapsed="0.000019"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.847528" elapsed="0.000019"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:51.845008" elapsed="0.002609"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:51.837980" elapsed="0.009688"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:51.836805" elapsed="0.010905"/>
</kw>
<doc>Deploy and start test tool, then wait for all its devices to become online.</doc>
<status status="PASS" start="2026-04-11T23:13:45.048021" elapsed="6.799728"/>
</test>
<test id="s1-s2-t2" name="Configure_Device_On_Netconf" line="64">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.851353" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:51.851133" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.851114" elapsed="0.000319"/>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="PASS" start="2026-04-11T23:13:51.850946" elapsed="0.000534"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:51.852532" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:51.852425" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.852407" elapsed="0.000209"/>
</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-11T23:13:51.857491" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:51.857384" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.857366" elapsed="0.000194"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.858585" level="INFO">${return_list_reference} = [1]</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-11T23:13:51.858176" elapsed="0.000438"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.859068" level="INFO">${return_list_copy} = [1]</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-11T23:13:51.858773" elapsed="0.000321"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:51.859139" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:51.859295" level="INFO">${index_list} = [1]</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-11T23:13:51.857803" elapsed="0.001517"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:51.864696" elapsed="0.000197"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:51.864586" elapsed="0.000339"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.864553" elapsed="0.000395"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:51.866178" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:51.866071" elapsed="0.000177"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.866052" elapsed="0.000221"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:51.866738" level="INFO">${karaf_connection_index} = 20</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="PASS" start="2026-04-11T23:13:51.866418" elapsed="0.000347"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:51.867135" level="INFO">${current_connection_index} = 19</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:51.866921" elapsed="0.000240"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:51.867921" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.867665" elapsed="0.001084">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:51.868934" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:51.868980" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:51.867315" elapsed="0.001689"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:51.869778" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.869504" elapsed="0.000922">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:51.870626" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:51.870673" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:51.869170" elapsed="0.001526"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.871602" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Configure_Device_On_Netconf"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.870990" elapsed="0.000675">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Configure_Device_On_Netconf"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:51.870772" elapsed="0.000961">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Configure_Device_On_Netconf"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:51.870753" elapsed="0.001013">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Configure_Device_On_Netconf"</status>
</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-04-11T23:13:51.871924" elapsed="0.000023"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.872150" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:51.872011" elapsed="0.000191"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:51.871994" elapsed="0.000231"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:51.872258" elapsed="0.000016"/>
</return>
<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">
<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-11T23:13:51.874895" elapsed="0.000147"/>
</kw>
<msg time="2026-04-11T23:13:51.875108" 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-11T23:13:51.873751" elapsed="0.001480"/>
</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-11T23:13:51.875495" elapsed="0.000088"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.875838" elapsed="0.000073"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:51.873116" elapsed="0.002901"/>
</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="PASS" start="2026-04-11T23:13:51.872585" elapsed="0.003496"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.865767" elapsed="0.010397">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Configure_Device_On_Netconf"</status>
</kw>
<msg time="2026-04-11T23:13:51.876266" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:51.876310" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Configure_Device_On_Netconf"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:51.865113" elapsed="0.011220"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:51.876516" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:51.876409" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.876391" elapsed="0.000214"/>
</if>
<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-11T23:13:51.877385" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:51.877281" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.877263" elapsed="0.000189"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:51.877747" level="INFO">index=19
host=10.30.171.36
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-11T23:13:51.877849" level="INFO">${current_ssh_connection_object} = index=19
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:51.877626" elapsed="0.000250"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.878316" level="INFO">{1: 20}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:51.878022" elapsed="0.000340"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.878826" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:51.878510" elapsed="0.000361"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:51.879377" elapsed="0.000271"/>
</kw>
<msg time="2026-04-11T23:13:51.879746" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:51.879792" level="INFO">${old_connection_index} = 20</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-11T23:13:51.879025" elapsed="0.000790"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:51.880625" elapsed="0.000193"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:51.882086" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.881484" elapsed="0.001613">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:51.880982" elapsed="0.002214"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:51.883843" elapsed="0.000274"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:51.883366" elapsed="0.000834"/>
</kw>
<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="PASS" start="2026-04-11T23:13:51.880107" elapsed="0.004139"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:51.879890" elapsed="0.004405"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.879872" elapsed="0.004448"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:51.885163" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:51.884860" elapsed="0.000330"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:51.885285" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:51.885443" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:51.884523" elapsed="0.000945"/>
</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="PASS" start="2026-04-11T23:13:51.885650" elapsed="0.000417"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:51.886357" level="INFO">index=22
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:51.886457" level="INFO">${karaf_connection_object} = index=22
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:51.886250" elapsed="0.000234"/>
</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="PASS" start="2026-04-11T23:13:51.886667" elapsed="0.002373"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:51.889464" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:51.890766" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:51.889202" elapsed="0.001938">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:51.904907" elapsed="0.000380"/>
</kw>
<msg time="2026-04-11T23:13:51.905376" 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-11T23:13:51.903393" elapsed="0.002130"/>
</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-11T23:13:51.905696" elapsed="0.000023"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.905857" elapsed="0.000021"/>
</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-11T23:13:51.891948" elapsed="0.013992"/>
</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-11T23:13:51.891416" elapsed="0.014571"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.876994" elapsed="0.029076">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.906438" elapsed="0.000026"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:51.906514" elapsed="0.000019"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.864235" elapsed="0.042404">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:51.906897" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:51.906941" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:51.859709" elapsed="0.047256"/>
</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-11T23:13:51.907298" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:51.907046" elapsed="0.000307"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.907027" elapsed="0.000349"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:51.859549" elapsed="0.047852"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:51.859375" elapsed="0.048059"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:51.857025" elapsed="0.050467"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:51.852132" elapsed="0.055419"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:51.851689" elapsed="0.055942"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:51.848469" elapsed="0.059218"/>
</kw>
<kw name="Configure_Device_In_Netconf" owner="NetconfKeywords">
<kw name="Set_Variable_If_At_Least_Scandium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Set_Variable_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Set Variable If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:51.929117" elapsed="0.000424"/>
</kw>
<msg time="2026-04-11T23:13:51.929610" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>BuiltIn.Set_Variable_If</arg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:51.928758" elapsed="0.000904"/>
</kw>
<arg>scandium</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Compare ${lower_bound} to titanium and return scandium if titanium is at least ${lower_bound},
return calcium otherwise.</doc>
<status status="PASS" start="2026-04-11T23:13:51.928357" elapsed="0.001381"/>
</kw>
<msg time="2026-04-11T23:13:51.929781" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Set_Variable_If_At_Least</arg>
<arg>scandium</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:51.919649" elapsed="0.010176"/>
</kw>
<msg time="2026-04-11T23:13:51.929929" level="INFO">${version} = scandium</msg>
<var>${version}</var>
<arg>scandium</arg>
<arg>calcium</arg>
<doc>Compare scandium to titanium and return ${value_if_true} if titanium is at least scandium, return ${value_if_false} otherwise.</doc>
<status status="PASS" start="2026-04-11T23:13:51.919315" elapsed="0.010639"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.930884" level="INFO">${mapping} = {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': '17830-sim-device', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY': '/tmp/s...</msg>
<var>${mapping}</var>
<arg>DEVICE_IP=${device_address}</arg>
<arg>DEVICE_NAME=${device_name}</arg>
<arg>DEVICE_PORT=${device_port}</arg>
<arg>DEVICE_USER=${device_user}</arg>
<arg>DEVICE_PASSWORD=${device_password}</arg>
<arg>DEVICE_KEY=${device_key}</arg>
<arg>SCHEMA_DIRECTORY=${schema_directory}</arg>
<arg>RESTCONF_ROOT=${RESTCONF_ROOT}</arg>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.930116" elapsed="0.000798"/>
</kw>
<if>
<branch type="IF" condition="'${http_method}'=='post'">
<kw name="Post_As_Xml_Templated" owner="TemplatedRequests">
<arg>folder=${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${version}${/}${device_type}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Add arguments sensible for XML data, return Post_Templated response text.
Optionally, verification against response.xml (no iteration) is called.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.931327" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:51.931008" elapsed="0.000385"/>
</branch>
<branch type="ELSE">
<kw name="Put_As_Xml_Templated" owner="TemplatedRequests">
<kw name="Put_Templated" owner="TemplatedRequests">
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.962889" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/location.uri</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:51.962483" elapsed="0.000436"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:13:51.963713" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/location.uri' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.963413" elapsed="0.000375">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/location.uri' does not exist.</status>
</kw>
<msg time="2026-04-11T23:13:51.963881" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:51.963082" elapsed="0.000824"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.964450" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/location.uri</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:51.964066" elapsed="0.000411"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:13:51.964792" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/location.uri"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/location.uri&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:13:51.964964" level="INFO">${template} = $RESTCONF_ROOT/data/network-topology:network-topology/topology=topology-netconf/node=$DEVICE_NAME
</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:13:51.964650" elapsed="0.000340"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.965387" level="INFO">$RESTCONF_ROOT/data/network-topology:network-topology/topology=topology-netconf/node=$DEVICE_NAME
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:51.965144" elapsed="0.000289"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.966407" level="INFO">mapping: {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': '17830-sim-device', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY': '/tmp/schema', 'RESTCONF_ROOT': '/rests'}</msg>
<arg>mapping: ${mapping}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:51.966132" elapsed="0.000322"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.966893" level="INFO">${encoded_mapping} = {}</msg>
<var>${encoded_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.966626" elapsed="0.000294"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.967760" level="INFO">${value} = 10.30.171.36</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:13:51.967286" elapsed="0.000500"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:51.968894" level="INFO">${encoded} = 10.30.171.36</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.968409" elapsed="0.000582"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:13:51.969256" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:13:51.969419" level="INFO">${encoded_value} = 10.30.171.36</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:13:51.967971" elapsed="0.001474"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.969611" elapsed="0.001306"/>
</kw>
<var name="${key}">DEVICE_IP</var>
<var name="${value}">10.30.171.36</var>
<status status="PASS" start="2026-04-11T23:13:51.967154" elapsed="0.003840"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.971758" level="INFO">${value} = 17830-sim-device</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:13:51.971302" elapsed="0.000483"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:51.972771" level="INFO">${encoded} = 17830-sim-device</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.972361" elapsed="0.000507"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:13:51.973135" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:13:51.973299" level="INFO">${encoded_value} = 17830-sim-device</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:13:51.971977" elapsed="0.001347"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.973472" elapsed="0.000403"/>
</kw>
<var name="${key}">DEVICE_NAME</var>
<var name="${value}">17830-sim-device</var>
<status status="PASS" start="2026-04-11T23:13:51.971137" elapsed="0.002781"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.974618" level="INFO">${value} = 17830</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:13:51.974160" elapsed="0.000486"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:51.975848" level="INFO">${encoded} = 17830</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.975206" elapsed="0.000737"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:13:51.976202" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:51.976360" level="INFO">${encoded_value} = 17830</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:13:51.974832" elapsed="0.001553"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.976532" elapsed="0.000401"/>
</kw>
<var name="${key}">DEVICE_PORT</var>
<var name="${value}">17830</var>
<status status="PASS" start="2026-04-11T23:13:51.974031" elapsed="0.002943"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.977630" level="INFO">${value} = admin</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:13:51.977215" elapsed="0.000441"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:51.978645" level="INFO">${encoded} = admin</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.978235" elapsed="0.000514"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:13:51.979014" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:51.979171" level="INFO">${encoded_value} = admin</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:13:51.977840" elapsed="0.001357"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.979344" elapsed="0.000472"/>
</kw>
<var name="${key}">DEVICE_USER</var>
<var name="${value}">admin</var>
<status status="PASS" start="2026-04-11T23:13:51.977086" elapsed="0.002771"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.980499" level="INFO">${value} = topsecret</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:13:51.980099" elapsed="0.000426"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:51.981476" level="INFO">${encoded} = topsecret</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.981098" elapsed="0.000487"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:13:51.981855" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:51.982011" level="INFO">${encoded_value} = topsecret</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:13:51.980724" elapsed="0.001312"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.982214" elapsed="0.000420"/>
</kw>
<var name="${key}">DEVICE_PASSWORD</var>
<var name="${value}">topsecret</var>
<status status="PASS" start="2026-04-11T23:13:51.979969" elapsed="0.002707"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.983318" level="INFO">${value} = device-key</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:13:51.982917" elapsed="0.000428"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:51.984446" level="INFO">${encoded} = device-key</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.984057" elapsed="0.000486"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:13:51.984819" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:51.984978" level="INFO">${encoded_value} = device-key</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:13:51.983529" elapsed="0.001474"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.985152" elapsed="0.000389"/>
</kw>
<var name="${key}">DEVICE_KEY</var>
<var name="${value}">device-key</var>
<status status="PASS" start="2026-04-11T23:13:51.982789" elapsed="0.002809"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.986266" level="INFO">${value} = /tmp/schema</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:13:51.985843" elapsed="0.000450"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:51.987258" level="INFO">${encoded} = /tmp/schema</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.986881" elapsed="0.000478"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:13:51.987663" elapsed="0.000205"/>
</return>
<msg time="2026-04-11T23:13:51.988000" level="INFO">${encoded_value} = /tmp/schema</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:13:51.986478" elapsed="0.001547"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.988175" elapsed="0.000390"/>
</kw>
<var name="${key}">SCHEMA_DIRECTORY</var>
<var name="${value}">/tmp/schema</var>
<status status="PASS" start="2026-04-11T23:13:51.985714" elapsed="0.002912"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:13:51.989279" level="INFO">${value} = /rests</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:13:51.988871" elapsed="0.000435"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:51.990299" level="INFO">${encoded} = /rests</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.989888" elapsed="0.000511"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:13:51.990698" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:51.990856" level="INFO">${encoded_value} = /rests</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:13:51.989491" elapsed="0.001389"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:51.991028" elapsed="0.000390"/>
</kw>
<var name="${key}">RESTCONF_ROOT</var>
<var name="${value}">/rests</var>
<status status="PASS" start="2026-04-11T23:13:51.988741" elapsed="0.002719"/>
</iter>
<var>${key}</var>
<var>${value}</var>
<value>&amp;{mapping}</value>
<status status="PASS" start="2026-04-11T23:13:51.966971" elapsed="0.024523"/>
</for>
<return>
<value>${encoded_mapping}</value>
<status status="PASS" start="2026-04-11T23:13:51.991538" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:51.991782" level="INFO">${mapping_to_use} = {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': '17830-sim-device', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY': '/tmp/s...</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="PASS" start="2026-04-11T23:13:51.965814" elapsed="0.025995"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:51.965503" elapsed="0.026338"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:51.992013" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:51.991867" elapsed="0.000200"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:51.965483" elapsed="0.026606"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.006478" level="INFO">${final_text} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:51.992229" elapsed="0.014282"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:13:52.006592" elapsed="0.000037"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:13:51.961819" elapsed="0.045111"/>
</kw>
<msg time="2026-04-11T23:13:52.006987" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:51.949212" elapsed="0.057827"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.020029" elapsed="0.000030"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.032515" elapsed="0.000028"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.044859" elapsed="0.000028"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.045065" elapsed="0.000022"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.045243" elapsed="0.000020"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.045654" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.045487" elapsed="0.000223"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:52.045469" elapsed="0.000266"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.045875" elapsed="0.000020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.046040" elapsed="0.000021"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.046231" elapsed="0.000022"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:13:52.045436" elapsed="0.000850"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.045325" elapsed="0.000987"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.046457" elapsed="0.000020"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.046533" elapsed="0.000017"/>
</return>
<msg time="2026-04-11T23:13:52.046678" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device</msg>
<var>${uri}</var>
<arg>folder=${folder}</arg>
<arg>base_name=location</arg>
<arg>extension=uri</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=True</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:13:51.945006" elapsed="0.101700"/>
</kw>
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.072991" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/data.xml</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:52.072609" elapsed="0.000410"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:13:52.073808" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/data.xml' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.073509" elapsed="0.000372">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/data.xml' does not exist.</status>
</kw>
<msg time="2026-04-11T23:13:52.073977" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:52.073178" elapsed="0.000824"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.074582" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/data.xml</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:52.074178" elapsed="0.000433"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:13:52.074912" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/data.xml"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/data.xml&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:13:52.075119" level="INFO">${template} = &lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;$DEVICE_NAME&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;$DEVICE_IP&lt;/host&gt;
    &lt;port&gt;$DEVI...</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:13:52.074771" elapsed="0.000377"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.075553" level="INFO">&lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;$DEVICE_NAME&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;$DEVICE_IP&lt;/host&gt;
    &lt;port&gt;$DEVICE_PORT&lt;/port&gt;
    &lt;login-password-unencrypted&gt;
      &lt;username&gt;$DEVICE_USER&lt;/username&gt;
      &lt;password&gt;$DEVICE_PASSWORD&lt;/password&gt;
    &lt;/login-password-unencrypted&gt;
    &lt;tcp-only&gt;false&lt;/tcp-only&gt;
    &lt;keepalive-delay&gt;0&lt;/keepalive-delay&gt;
  &lt;/netconf-node&gt;
&lt;/node&gt;
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.075305" elapsed="0.000319"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="NOT RUN" start="2026-04-11T23:13:52.075988" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.075693" elapsed="0.000354"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.076511" level="INFO">${mapping_to_use} = {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': '17830-sim-device', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY': '/tmp/s...</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:52.076215" elapsed="0.000323"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:52.076071" elapsed="0.000522"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.075674" elapsed="0.000942"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.077461" level="INFO">${final_text} = &lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;17830-sim-device&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;10.30.171.36&lt;/host&gt;
    &lt;port...</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.076760" elapsed="0.000732"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:13:52.077542" elapsed="0.000045"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:13:52.071982" elapsed="0.005706"/>
</kw>
<msg time="2026-04-11T23:13:52.077745" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:52.059387" elapsed="0.018405"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.090419" elapsed="0.000028"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.102943" elapsed="0.000027"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.115284" elapsed="0.000028"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.115477" elapsed="0.000022"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.115670" elapsed="0.000021"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.116032" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.115891" elapsed="0.000197"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:52.115876" elapsed="0.000266"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.116287" elapsed="0.000021"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.116455" elapsed="0.000021"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.116637" elapsed="0.000021"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:13:52.115847" elapsed="0.000845"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.115745" elapsed="0.000973"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.116863" elapsed="0.000021"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.116938" elapsed="0.000016"/>
</return>
<msg time="2026-04-11T23:13:52.117063" level="INFO">${data} = &lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;17830-sim-device&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;10.30.171.36&lt;/host&gt;
    &lt;port...</msg>
<var>${data}</var>
<arg>folder=${folder}</arg>
<arg>base_name=${base_name}</arg>
<arg>extension=${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>endline=${endline}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:13:52.056703" elapsed="0.060389"/>
</kw>
<kw name="Resolve_Jmes_Path" owner="TemplatedRequests">
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:13:52.118375" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/jmespath.expr' does not exist.</msg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.118097" elapsed="0.000342">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/jmespath.expr' does not exist.</status>
</kw>
<msg time="2026-04-11T23:13:52.118532" level="INFO">${read_jmes_file} = False</msg>
<var>${read_jmes_file}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:52.117765" elapsed="0.000792"/>
</kw>
<if>
<branch type="IF" condition="${read_jmes_file} == ${true}">
<kw name="Get File" owner="OperatingSystem">
<var>${jmes_expression}</var>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.118889" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.118644" elapsed="0.000302"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.119427" level="INFO">${jmes_expression} = None</msg>
<var>${jmes_expression}</var>
<arg>${None}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:52.119135" elapsed="0.000319"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:52.118970" elapsed="0.000519"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.118625" elapsed="0.000885"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.121840" level="INFO">${expression} = </msg>
<var>${expression}</var>
<arg>${read_jmes_file} == ${true}</arg>
<arg>${jmes_expression}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:52.119675" elapsed="0.002192"/>
</kw>
<return>
<value>${expression}</value>
<status status="PASS" start="2026-04-11T23:13:52.121919" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:52.122072" level="INFO">${jmes_expression} = </msg>
<var>${jmes_expression}</var>
<arg>${folder}</arg>
<doc>Reads JMES path from file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/jmespath.expr if the file exists and
returns the JMES path. Empty string is returned otherwise.</doc>
<status status="PASS" start="2026-04-11T23:13:52.117424" elapsed="0.004673"/>
</kw>
<kw name="Put_To_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.123478" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.123233" elapsed="0.000291"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.123929" level="INFO">&lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;17830-sim-device&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;10.30.171.36&lt;/host&gt;
    &lt;port&gt;17830&lt;/port&gt;
    &lt;login-password-unencrypted&gt;
      &lt;username&gt;admin&lt;/username&gt;
      &lt;password&gt;topsecret&lt;/password&gt;
    &lt;/login-password-unencrypted&gt;
    &lt;tcp-only&gt;false&lt;/tcp-only&gt;
    &lt;keepalive-delay&gt;0&lt;/keepalive-delay&gt;
  &lt;/netconf-node&gt;
&lt;/node&gt;</msg>
<arg>${data}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.123689" elapsed="0.000291"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.124368" level="INFO">{'Content-Type': 'application/xml'}</msg>
<arg>${content_type}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.124128" elapsed="0.000284"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.124819" level="INFO">{'Accept': 'application/xml'}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.124559" elapsed="0.000303"/>
</kw>
<kw name="Join_Two_Headers" owner="TemplatedRequests">
<kw name="Copy Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:52.125691" level="INFO">${accumulator} = {'Content-Type': 'application/xml'}</msg>
<var>${accumulator}</var>
<arg>${first}</arg>
<doc>Returns a copy of the given dictionary.</doc>
<status status="PASS" start="2026-04-11T23:13:52.125459" elapsed="0.000258"/>
</kw>
<kw name="Get Dictionary Items" owner="Collections">
<msg time="2026-04-11T23:13:52.126080" level="INFO">${items_to_add} = ['Accept', 'application/xml']</msg>
<var>${items_to_add}</var>
<arg>${second}</arg>
<doc>Returns items of the given ``dictionary`` as a list.</doc>
<status status="PASS" start="2026-04-11T23:13:52.125866" elapsed="0.000264"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${accumulator}</arg>
<arg>@{items_to_add}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:52.126282" elapsed="0.000205"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.126904" level="INFO">{'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<arg>${accumulator}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.126656" elapsed="0.000293"/>
</kw>
<return>
<value>${accumulator}</value>
<status status="PASS" start="2026-04-11T23:13:52.126991" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:52.127146" level="INFO">${headers} = {'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<var>${headers}</var>
<arg>first=${content_type}</arg>
<arg>second=${accept}</arg>
<doc>Take two dicts, join them, return result. Second argument values take precedence.</doc>
<status status="PASS" start="2026-04-11T23:13:52.125059" elapsed="0.002112"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:52.132801" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.129481" elapsed="0.007829">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:52.127243" elapsed="0.010159">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="PUT On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.137617" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.137438" elapsed="0.000249"/>
</branch>
<status status="FAIL" start="2026-04-11T23:13:52.127225" elapsed="0.010485">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.138083" elapsed="0.000043"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.138231" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.138194" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:52.138176" elapsed="0.000117"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.138439" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.138506" elapsed="0.000015"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>data=${data}</arg>
<arg>content_type=${content_type}</arg>
<arg>accept=${accept}</arg>
<arg>session=${session}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>normalize_json=${normalize_json}</arg>
<arg>jmes_path=${jmes_expression}</arg>
<doc>PUT data to given URI, check status code and return response text.
${content_type} and ${accept} are mandatory Python objects with headers to use.
If ${normalize_json}, normalize text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.122434" elapsed="0.016198">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.138709" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>folder=${folder}</arg>
<arg>base_name=data</arg>
<arg>extension=xml</arg>
<arg>accept=${ACCEPT_XML}</arg>
<arg>content_type=${HEADERS_XML}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=False</arg>
<arg>endline=${\n}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve URI and data from folder, call Put_To_Uri, return response text.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.934259" elapsed="0.204545">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<if>
<branch type="IF" condition="${verify}">
<kw name="Verify_Response_As_Xml_Templated" owner="TemplatedRequests">
<arg>response=${response_text}</arg>
<arg>folder=${folder}</arg>
<arg>base_name=response</arg>
<arg>mapping=${mapping}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve expected XML data, should be equal to provided ${response}.
Endline set to empty, as this Resource does not support indented XML comparison.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.139087" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.138911" elapsed="0.000242"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:52.138894" elapsed="0.000281"/>
</if>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.139207" elapsed="0.000014"/>
</return>
<arg>folder=${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${version}${/}${device_type}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Add arguments sensible for XML data, return Put_Templated response text.
Optionally, verification against response.xml (no iteration) is called.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.931666" elapsed="0.207634">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:51.931418" elapsed="0.207988">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:51.930987" elapsed="0.208450">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Set To Dictionary" owner="Collections">
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${device_name}</arg>
<arg>${device_type}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.139610" elapsed="0.000023"/>
</kw>
<arg>${DEVICE_NAME}</arg>
<arg>device_type=${device_type}</arg>
<doc>Tell Netconf about the specified device so it can add it into its configuration.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.907967" elapsed="0.231756">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.141051" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:52.140739" elapsed="0.000355"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:52.140352" elapsed="0.000792"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.141962" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.141562" elapsed="0.000463"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.141544" elapsed="0.000504"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:52.142206" elapsed="0.000304"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.147673" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.147250" elapsed="0.000451"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:52.147914" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.147774" elapsed="0.000182"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.147756" elapsed="0.000221"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.148412" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.148120" elapsed="0.000319"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:52.148941" level="INFO">${reference} = netconf_scale_txt_Performance_Configure_Device_On_Netconf</msg>
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:52.148609" elapsed="0.000359"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<msg time="2026-04-11T23:13:52.149297" level="INFO">${reference} = netconf_scale_txt_performance_configure_device_on_netconf</msg>
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="PASS" start="2026-04-11T23:13:52.149124" elapsed="0.000199"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.149829" level="INFO">${msg} = ... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_performance_configure_device_on_netconf"
reference somewhere inside)</msg>
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:52.149472" elapsed="0.000383"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.150325" level="INFO">${bugs} = "https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_performance_configure_device_on_netconf&amp;order=bug_status"</msg>
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:52.150006" elapsed="0.000346"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.150952" level="INFO">Set test message to:
... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_performance_configure_device_on_netconf"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_performance_configure_device_on_netconf&amp;order=bug_status"

ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:13:52.150501" elapsed="0.000534"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.151495" level="INFO">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_performance_configure_device_on_netconf"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_performance_configure_device_on_netconf&amp;order=bug_status"</msg>
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.151189" elapsed="0.000354"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:52.146948" elapsed="0.004667"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:52.141354" elapsed="0.010313"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:52.140050" elapsed="0.011660"/>
</kw>
<doc>Configure the testtool device on Netconf connector.</doc>
<status status="FAIL" start="2026-04-11T23:13:51.847987" elapsed="0.303763">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_performance_configure_device_on_netconf"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_performance_configure_device_on_netconf&amp;order=bug_status"

ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</test>
<test id="s1-s2-t3" name="Wait_For_Device_To_Become_Connected" line="68">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.155659" level="FAIL">SKIPPED due to a failure in a previous fundamental test case.</msg>
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.155376" elapsed="0.000345">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:52.155158" elapsed="0.000624">SKIPPED due to a failure in a previous fundamental test case.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:52.155140" elapsed="0.000673">SKIPPED due to a failure in a previous fundamental test case.</status>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.154977" elapsed="0.000918">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.156056" elapsed="0.000021"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.152803" elapsed="0.003359">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.157407" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:52.157105" elapsed="0.000344"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:52.156752" elapsed="0.000746"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.158321" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.157928" elapsed="0.000454"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.157910" elapsed="0.000495"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:52.158546" elapsed="0.000323"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.163928" level="INFO">${test_skipped} = True</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.163516" elapsed="0.000439"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="PASS" start="2026-04-11T23:13:52.164169" elapsed="0.000027"/>
</return>
<status status="PASS" start="2026-04-11T23:13:52.164027" elapsed="0.000199"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.164009" elapsed="0.000241"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.164394" elapsed="0.000021"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.164559" elapsed="0.000035"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.164743" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.164904" elapsed="0.000019"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.165107" elapsed="0.000020"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.165270" elapsed="0.000020"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.165431" elapsed="0.000019"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:52.163218" elapsed="0.002287"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:52.157720" elapsed="0.007834"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:52.156443" elapsed="0.009167"/>
</kw>
<doc>Wait until the device becomes available through Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.152236" elapsed="0.013412">Setup failed:
SKIPPED due to a failure in a previous fundamental test case.</status>
</test>
<test id="s1-s2-t4" name="Create_Device_Data" line="72">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.169283" level="FAIL">SKIPPED due to a failure in a previous fundamental test case.</msg>
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.169017" elapsed="0.000326">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:52.168806" elapsed="0.000597">SKIPPED due to a failure in a previous fundamental test case.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:52.168788" elapsed="0.000645">SKIPPED due to a failure in a previous fundamental test case.</status>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.168624" elapsed="0.000892">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.169690" elapsed="0.000022"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.166473" elapsed="0.003323">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.171068" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:52.170761" elapsed="0.000349"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:52.170397" elapsed="0.000763"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.171965" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.171590" elapsed="0.000435"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.171557" elapsed="0.000492"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:52.172191" elapsed="0.000303"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.177542" level="INFO">${test_skipped} = True</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.177147" elapsed="0.000436"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="PASS" start="2026-04-11T23:13:52.177800" elapsed="0.000027"/>
</return>
<status status="PASS" start="2026-04-11T23:13:52.177659" elapsed="0.000198"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.177640" elapsed="0.000240"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.178024" elapsed="0.000022"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.178208" elapsed="0.000021"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.178376" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.178542" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.178724" elapsed="0.000021"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.178922" elapsed="0.000021"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.179085" elapsed="0.000020"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:52.176849" elapsed="0.002312"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:52.171367" elapsed="0.007844"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:52.170066" elapsed="0.009186"/>
</kw>
<doc>Send some sample test data into the device and check that the request went OK.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.165935" elapsed="0.013354">Setup failed:
SKIPPED due to a failure in a previous fundamental test case.</status>
</test>
<test id="s1-s2-t5" name="Run_Restperfclient" line="79">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.183012" level="FAIL">SKIPPED due to a failure in a previous fundamental test case.</msg>
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.182744" elapsed="0.000330">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:52.182517" elapsed="0.000619">SKIPPED due to a failure in a previous fundamental test case.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:52.182499" elapsed="0.000669">SKIPPED due to a failure in a previous fundamental test case.</status>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.182336" elapsed="0.000916">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.183411" elapsed="0.000021"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.180180" elapsed="0.003336">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.184773" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:52.184450" elapsed="0.000365"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:52.184094" elapsed="0.000771"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.185661" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.185281" elapsed="0.000441"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.185263" elapsed="0.000482"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:52.185887" elapsed="0.000315"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.191273" level="INFO">${test_skipped} = True</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.190872" elapsed="0.000429"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="PASS" start="2026-04-11T23:13:52.191515" elapsed="0.000026"/>
</return>
<status status="PASS" start="2026-04-11T23:13:52.191374" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.191356" elapsed="0.000254"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.191760" elapsed="0.000022"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.191928" elapsed="0.000021"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.192097" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.192258" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.192423" elapsed="0.000020"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.192598" elapsed="0.000021"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.192761" elapsed="0.000049"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:52.190555" elapsed="0.002315"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:52.185073" elapsed="0.007848"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:52.183799" elapsed="0.009163"/>
</kw>
<doc>Deploy and execute restperfclient, asking it to send the specified amount of requests to the netconf connector of the device.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.179590" elapsed="0.013409">Setup failed:
SKIPPED due to a failure in a previous fundamental test case.</status>
</test>
<test id="s1-s2-t6" name="Check_For_Failed_Requests" line="85">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.196954" level="FAIL">SKIPPED due to a failure in a previous fundamental test case.</msg>
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.196685" elapsed="0.000329">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:52.196458" elapsed="0.000618">SKIPPED due to a failure in a previous fundamental test case.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:52.196440" elapsed="0.000667">SKIPPED due to a failure in a previous fundamental test case.</status>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.196277" elapsed="0.000914">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.197350" elapsed="0.000021"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.194138" elapsed="0.003318">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.198721" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:52.198401" elapsed="0.000361"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:52.198036" elapsed="0.000776"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.199607" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.199226" elapsed="0.000441"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.199208" elapsed="0.000482"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:52.199831" elapsed="0.000299"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.205288" level="INFO">${test_skipped} = True</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.204893" elapsed="0.000422"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="PASS" start="2026-04-11T23:13:52.205528" elapsed="0.000026"/>
</return>
<status status="PASS" start="2026-04-11T23:13:52.205389" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.205371" elapsed="0.000258"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.205774" elapsed="0.000022"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.205942" elapsed="0.000020"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.206123" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.206283" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.206442" elapsed="0.000020"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.206622" elapsed="0.000021"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.206786" elapsed="0.000020"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:52.204459" elapsed="0.002401"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:52.199019" elapsed="0.007924"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:52.197743" elapsed="0.009242"/>
</kw>
<doc>Make sure there are no failed requests in the restperfclient log.
This is a separate test case to distinguish between restperfclient
failure and failed requests. Failed requests are rejected because
we don't want to test performance of ODL rejecting our requests.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.193286" elapsed="0.013737">Setup failed:
SKIPPED due to a failure in a previous fundamental test case.</status>
</test>
<test id="s1-s2-t7" name="Cleanup_And_Collect" line="97">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:13:52.210009" elapsed="0.000220"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:13:52.209755" elapsed="0.000527"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:52.211285" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.211179" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.211161" elapsed="0.000191"/>
</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-11T23:13:52.216167" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.216064" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.216046" elapsed="0.000188"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.217216" level="INFO">${return_list_reference} = [1]</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-11T23:13:52.216844" elapsed="0.000399"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.217704" level="INFO">${return_list_copy} = [1]</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-11T23:13:52.217397" elapsed="0.000333"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:52.217774" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:52.217926" level="INFO">${index_list} = [1]</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-11T23:13:52.216453" elapsed="0.001497"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:52.223435" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.223329" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.223310" elapsed="0.000192"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:52.224671" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.224538" elapsed="0.000178"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.224520" elapsed="0.000218"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:52.225173" level="INFO">${karaf_connection_index} = 22</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="PASS" start="2026-04-11T23:13:52.224879" elapsed="0.000321"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.225566" level="INFO">${current_connection_index} = 19</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:52.225353" elapsed="0.000254"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.226365" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.226113" elapsed="0.000856">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:52.227152" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:52.227197" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:52.225761" elapsed="0.001459"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.227969" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.227730" elapsed="0.000890">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:52.228802" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:52.228848" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:52.227381" elapsed="0.001490"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.229769" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Cleanup_And_Collect"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.229162" elapsed="0.000669">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Cleanup_And_Collect"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:52.228946" elapsed="0.000949">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Cleanup_And_Collect"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:52.228927" elapsed="0.001030">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Cleanup_And_Collect"</status>
</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-04-11T23:13:52.230131" elapsed="0.000024"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.230359" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.230218" elapsed="0.000193"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:52.230201" elapsed="0.000232"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.230466" elapsed="0.000017"/>
</return>
<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">
<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-11T23:13:52.233003" elapsed="0.000142"/>
</kw>
<msg time="2026-04-11T23:13:52.233204" 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-11T23:13:52.231879" elapsed="0.001447"/>
</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-11T23:13:52.233655" elapsed="0.000075"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.233980" elapsed="0.000087"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:52.231267" elapsed="0.002907"/>
</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="PASS" start="2026-04-11T23:13:52.230745" elapsed="0.003492"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.224242" elapsed="0.010076">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Cleanup_And_Collect"</status>
</kw>
<msg time="2026-04-11T23:13:52.234417" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:52.234460" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Performance.Cleanup_And_Collect"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:52.223669" elapsed="0.010814"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.234682" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.234558" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.234540" elapsed="0.000206"/>
</if>
<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-11T23:13:52.235706" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.235600" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.235565" elapsed="0.000209"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.236037" level="INFO">index=19
host=10.30.171.36
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-11T23:13:52.236138" level="INFO">${current_ssh_connection_object} = index=19
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:52.235919" elapsed="0.000246"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.236564" level="INFO">{1: 22}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.236311" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.237021" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.236783" elapsed="0.000281"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:52.237562" elapsed="0.000332"/>
</kw>
<msg time="2026-04-11T23:13:52.238117" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:52.238163" level="INFO">${old_connection_index} = 22</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-11T23:13:52.237216" elapsed="0.000969"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:52.238997" elapsed="0.000189"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.240221" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.239829" elapsed="0.001242">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:52.239348" elapsed="0.001819"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:52.241846" elapsed="0.000286"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:52.241332" elapsed="0.000881"/>
</kw>
<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="PASS" start="2026-04-11T23:13:52.238478" elapsed="0.003813"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:52.238261" elapsed="0.004080"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.238242" elapsed="0.004124"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:52.243201" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:52.242899" elapsed="0.000328"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:52.243275" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:52.243424" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:52.242582" elapsed="0.000866"/>
</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="PASS" start="2026-04-11T23:13:52.243617" elapsed="0.000410"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.244292" level="INFO">index=23
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:52.244389" level="INFO">${karaf_connection_object} = index=23
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:52.244190" elapsed="0.000225"/>
</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="PASS" start="2026-04-11T23:13:52.244558" elapsed="0.003282"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.248263" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:52.249167" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:52.248001" elapsed="0.001532">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:52.263272" elapsed="0.000397"/>
</kw>
<msg time="2026-04-11T23:13:52.263758" 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-11T23:13:52.261790" elapsed="0.002113"/>
</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-11T23:13:52.264061" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.264221" elapsed="0.000020"/>
</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-11T23:13:52.250409" elapsed="0.013893"/>
</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-11T23:13:52.249869" elapsed="0.014478"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.235293" elapsed="0.029133">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.264781" elapsed="0.000026"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.264856" elapsed="0.000018"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.222995" elapsed="0.041967">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:52.265066" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:52.265111" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:52.218320" elapsed="0.046814"/>
</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-11T23:13:52.265459" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.265212" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.265193" elapsed="0.000343"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:52.218183" elapsed="0.047376"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:52.218001" elapsed="0.047606"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:52.215712" elapsed="0.049952"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:52.210897" elapsed="0.054862"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:52.210426" elapsed="0.055378"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:13:52.207665" elapsed="0.058191"/>
</kw>
<kw name="Collect_From_Restperfclient" owner="RestPerfClient">
<kw name="Should Not Be Equal" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.266721" level="FAIL">'' == ''</msg>
<arg>'${RestPerfClient__restperfclientlog}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are equal.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.266360" elapsed="0.000422">'' == ''</status>
</kw>
<kw name="Get File" owner="SSHLibrary">
<arg>${RestPerfClient__restperfclientlog}</arg>
<doc>Downloads file(s) from the remote machine to the local machine.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.266944" elapsed="0.000022"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${RestPerfClient__restperfclientlog}</arg>
<arg>${EMPTY}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.267116" elapsed="0.000020"/>
</kw>
<doc>Collect useful data produced by restperfclient</doc>
<status status="FAIL" start="2026-04-11T23:13:52.266096" elapsed="0.001127">'' == ''</status>
</kw>
<kw name="Remove_Device_From_Netconf" owner="NetconfKeywords">
<arg>${DEVICE_NAME}</arg>
<doc>Tell Netconf to deconfigure the specified device</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.267439" elapsed="0.000024"/>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.268725" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:52.268399" elapsed="0.000369"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:52.268051" elapsed="0.000768"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.269624" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.269239" elapsed="0.000446"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.269220" elapsed="0.000489"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:52.269850" elapsed="0.000319"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.275473" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.275070" elapsed="0.000431"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:52.275773" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.275626" elapsed="0.000188"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.275557" elapsed="0.000279"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.276275" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.275980" elapsed="0.000323"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:52.276735" level="INFO">${reference} = netconf_scale_txt_Performance_Cleanup_And_Collect</msg>
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:52.276456" elapsed="0.000306"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<msg time="2026-04-11T23:13:52.277090" level="INFO">${reference} = netconf_scale_txt_performance_cleanup_and_collect</msg>
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="PASS" start="2026-04-11T23:13:52.276916" elapsed="0.000200"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.277616" level="INFO">${msg} = ... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_performance_cleanup_and_collect"
reference somewhere inside)</msg>
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:52.277262" elapsed="0.000382"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.278129" level="INFO">${bugs} = "https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_performance_cleanup_and_collect&amp;order=bug_status"</msg>
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:52.277795" elapsed="0.000362"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.278755" level="INFO">Set test message to:
... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_performance_cleanup_and_collect"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_performance_cleanup_and_collect&amp;order=bug_status"

'' == ''</msg>
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:13:52.278305" elapsed="0.000500"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.279245" level="INFO">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_performance_cleanup_and_collect"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_performance_cleanup_and_collect&amp;order=bug_status"</msg>
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.278955" elapsed="0.000371"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:52.274767" elapsed="0.004615"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:52.269030" elapsed="0.010402"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:52.267757" elapsed="0.011717"/>
</kw>
<doc>Deconfigure the testtool device on Netconf connector.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.207217" elapsed="0.072294">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_performance_cleanup_and_collect"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_performance_cleanup_and_collect&amp;order=bug_status"

'' == ''</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:52.280315" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-11T23:13:52.280241" elapsed="0.000159"/>
</kw>
<kw name="Teardown_Restperfclient" owner="RestPerfClient">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${RestPerfClient__restperfclient}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:52.280807" elapsed="0.000153"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:52.281105" elapsed="0.000389"/>
</kw>
<doc>Free resources allocated during the RestPerfClient setup</doc>
<status status="PASS" start="2026-04-11T23:13:52.280605" elapsed="0.000943"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${testtool}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:52.281840" elapsed="0.000176"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Stop_Testtool" owner="NetconfKeywords">
<kw name="Write_Bare_Ctrl_C" owner="RemoteBash">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.283380" level="INFO">${ctrl_c} = </msg>
<var>${ctrl_c}</var>
<arg>chr(int(3))</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:52.283083" elapsed="0.000324"/>
</kw>
<kw name="Write Bare" owner="SSHLibrary">
<arg>${ctrl_c}</arg>
<doc>Writes the given ``text`` on the remote machine without appending a newline.</doc>
<status status="PASS" start="2026-04-11T23:13:52.283553" elapsed="0.000231"/>
</kw>
<doc>Construct ctrl+c character and SSH-write it (without endline) to the current SSH connection.
Do not read anything yet.</doc>
<status status="PASS" start="2026-04-11T23:13:52.282861" elapsed="0.000991"/>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.618315" level="INFO">[?2004l^C[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</msg>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="PASS" start="2026-04-11T23:13:52.283994" elapsed="0.334428"/>
</kw>
<kw name="Get File" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.625117" level="INFO">'testtool--netconf-scale-txt-Performance.1775949226.272.log' -&gt; '/w/workspace/netconf-csit-1node-scale-only-titanium/testtool--netconf-scale-txt-Performance.1775949226.272.log'</msg>
<arg>${testtool_log}</arg>
<doc>Downloads file(s) from the remote machine to the local machine.</doc>
<status status="PASS" start="2026-04-11T23:13:52.618657" elapsed="0.006523"/>
</kw>
<doc>Stop testtool and download its log.</doc>
<status status="PASS" start="2026-04-11T23:13:52.282609" elapsed="0.342638"/>
</kw>
<arg>NetconfKeywords.Stop_Testtool</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:52.282195" elapsed="0.343097"/>
</kw>
<doc>Teardown the test infrastructure, perform cleanup and release all resources.</doc>
<status status="PASS" start="2026-04-11T23:13:52.280034" elapsed="0.345311"/>
</kw>
<doc>netconf-restperfclient Update performance test suite.

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


Perform given count of update operations on device data mounted onto a
netconf connector (using the netconf-testtool-restperfclient tool) and
see how much time it took. More exactly, it sends the data to a restconf
mountpoint of the netconf connector belonging to the device, which turns
out to turn the first request sent to a "create" request and the
remaining requests to "update" requests (due to how the testtool device
behavior is implemented).</doc>
<status status="FAIL" start="2026-04-11T23:13:38.708515" elapsed="13.916861"/>
</suite>
<suite id="s1-s3" name="Mdsal" source="/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/mdsal.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-11T23:13:52.714176" 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-11T23:13:52.709929" elapsed="0.004296"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-11T23:13:52.709697" elapsed="0.004588"/>
</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-11T23:13:52.719072" 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-11T23:13:52.715388" elapsed="0.003712"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:52.719298" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.719181" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.719159" elapsed="0.000206"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.719884" 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-11T23:13:52.719516" elapsed="0.000411"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.720394" level="INFO">${cluster_size} = 1</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-11T23:13:52.720086" elapsed="0.000334"/>
</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-11T23:13:52.720989" elapsed="0.000278"/>
</kw>
<msg time="2026-04-11T23:13:52.721366" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:52.721413" level="INFO">${possibly_int_of_members} = 1</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-11T23:13:52.720596" elapsed="0.000840"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.722005" level="INFO">${int_of_members} = 1</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-11T23:13:52.721620" elapsed="0.000412"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.723007" 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-11T23:13:52.722742" elapsed="0.000292"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.723436" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-11T23:13:52.723181" elapsed="0.000281"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.723928" 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-11T23:13:52.723635" elapsed="0.000321"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<kw name="Append To List" owner="Collections">
<arg>${member_index_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:52.727000" elapsed="0.000208"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.727702" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</var>
<arg>${ODL_SYSTEM_${index}_IP}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:52.727363" elapsed="0.000366"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${index_to_ip_mapping}</arg>
<arg>${index}</arg>
<arg>${member_ip}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:52.727879" elapsed="0.000227"/>
</kw>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.728896" level="INFO">${session} = ClusterManagement__session_1</msg>
<var>${session}</var>
<arg>ClusterManagement__session_${member_index}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:52.728604" elapsed="0.000318"/>
</kw>
<return>
<value>${session}</value>
<status status="PASS" start="2026-04-11T23:13:52.728967" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:13:52.729125" level="INFO">${session_alias} = ClusterManagement__session_1</msg>
<var>${session_alias}</var>
<arg>member_index=${index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:52.728300" elapsed="0.000850"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:52.729917" level="INFO">Creating Session using : alias=ClusterManagement__session_1, url=http://10.30.171.250:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f3018d590&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>${session_alias}</arg>
<arg>http://${member_ip}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=${http_timeout}</arg>
<arg>max_retries=${http_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-11T23:13:52.729301" elapsed="0.000754"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${session_list}</arg>
<arg>${session_alias}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:52.730219" elapsed="0.000297"/>
</kw>
<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="PASS" start="2026-04-11T23:13:52.726419" elapsed="0.004183"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:52.726233" elapsed="0.004416"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="PASS" start="2026-04-11T23:13:52.724010" elapsed="0.006671"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.731247" level="INFO">${ClusterManagement__member_index_list} = [1]</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-11T23:13:52.730846" elapsed="0.000445"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.731866" level="INFO">${ClusterManagement__index_to_ip_mapping} = {1: '10.30.171.250'}</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-11T23:13:52.731453" elapsed="0.000456"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.732450" level="INFO">${ClusterManagement__session_list} = ['ClusterManagement__session_1']</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-11T23:13:52.732070" elapsed="0.000422"/>
</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-11T23:13:52.722277" elapsed="0.010273"/>
</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-11T23:13:52.715053" elapsed="0.017569"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-11T23:13:52.732802" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:52.732689" elapsed="0.000164"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.732670" 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-11T23:13:52.735919" level="INFO">${return_list_reference} = [1]</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-11T23:13:52.735528" elapsed="0.000418"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.736438" level="INFO">${return_list_copy} = [1]</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-11T23:13:52.736142" elapsed="0.000322"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:52.736509" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:52.736686" level="INFO">${index_list} = [1]</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-11T23:13:52.735198" elapsed="0.001513"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:52.737699" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</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="PASS" start="2026-04-11T23:13:52.737420" elapsed="0.000306"/>
</kw>
<kw name="Run_Keyword_Preserve_Connection" owner="SSHKeywords">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.738429" level="INFO">index=19
host=10.30.171.36
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-11T23:13:52.738529" level="INFO">${current_connection} = index=19
host=10.30.171.36
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-11T23:13:52.738311" elapsed="0.000245"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Controller" owner="Utils">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Remote System" owner="Utils">
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot; and &quot;${return_stderr}&quot;!=&quot;True&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>At least one of {return_stdout} or {return_stderr} args should be set to True</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:52.741780" elapsed="0.000057"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:52.741229" elapsed="0.000657"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:52.741210" elapsed="0.000713"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.742370" level="INFO">index=19
host=10.30.171.36
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-11T23:13:52.742603" level="INFO">${current_ssh_connection} = index=19
host=10.30.171.36
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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:52.742116" elapsed="0.000538"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.743531" level="INFO">Attempting to execute command "iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save" on remote system "10.30.171.250" by user "jenkins" with keyfile pass "any" and prompt "&gt;" and password ""</msg>
<arg>Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:52.742905" elapsed="0.000741"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.744767" level="INFO">${conn_id} = 24</msg>
<var>${conn_id}</var>
<arg>${system}</arg>
<arg>prompt=${prompt}</arg>
<arg>timeout=${prompt_timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-11T23:13:52.743903" elapsed="0.000913"/>
</kw>
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:13:52.746450" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:52.746639" 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-11T23:13:52.746108" elapsed="0.000574"/>
</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-11T23:13:52.747007" elapsed="0.000613"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:52.748733" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:53.062301" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:45 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:52.748393" elapsed="0.314028"/>
</kw>
<msg time="2026-04-11T23:13:53.062494" 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="PASS" start="2026-04-11T23:13:52.747956" elapsed="0.314686"/>
</kw>
<arg>${user}</arg>
<arg>${password}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="PASS" start="2026-04-11T23:13:52.745230" elapsed="0.317552"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:53.063558" level="INFO">Executing command 'iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save'.</msg>
<msg time="2026-04-11T23:13:53.076648" level="INFO">Command exited with return code 4.</msg>
<msg time="2026-04-11T23:13:53.077008" level="INFO">${stdout} = </msg>
<msg time="2026-04-11T23:13:53.077224" level="INFO">${stderr} = iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission ...</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>${cmd}</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:53.063113" elapsed="0.014214"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:53.078032" elapsed="0.001087"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:53.081503" level="INFO">iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root)</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:53.080323" elapsed="0.001488"/>
</kw>
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot;">
<return>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:13:53.082669" elapsed="0.000068"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:53.082157" elapsed="0.000683"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:53.082105" elapsed="0.000785"/>
</if>
<if>
<branch type="IF" condition="&quot;${return_stderr}&quot;!=&quot;True&quot;">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:53.083300" elapsed="0.000082"/>
</return>
<status status="PASS" start="2026-04-11T23:13:53.082999" elapsed="0.000490"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:53.082975" elapsed="0.000567"/>
</if>
<return>
<value>${stdout}</value>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:13:53.083645" elapsed="0.000022"/>
</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-11T23:13:53.088899" elapsed="0.000207"/>
</kw>
<msg time="2026-04-11T23:13:53.089165" 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-11T23:13:53.087981" elapsed="0.001774"/>
</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-11T23:13:53.090121" elapsed="0.000047"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:53.090502" elapsed="0.000045"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:53.084281" elapsed="0.006395"/>
</kw>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Reduces the common work of running a command on a remote system to a single higher level
robot keyword, taking care to log in with a public key and. The command given is written and the return value
depends on the passed argument values of return_stdout (default: True) and return_stderr (default: False).
At least one should be True, or the keyword will exit and FAIL. If both are True, the resulting return value
will be a two element list containing both. Otherwise the resulting return value is a string.
No test conditions are checked.</doc>
<status status="PASS" start="2026-04-11T23:13:52.740324" elapsed="0.350583"/>
</kw>
<msg time="2026-04-11T23:13:53.090980" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run Command On Remote System</arg>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:52.739715" elapsed="0.351334"/>
</kw>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Call Run Comand On Remote System, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:13:52.739223" elapsed="0.351931"/>
</kw>
<msg time="2026-04-11T23:13:53.091208" 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-11T23:13:52.738727" elapsed="0.352543"/>
</kw>
<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-11T23:13:53.095532" elapsed="0.000198"/>
</kw>
<msg time="2026-04-11T23:13:53.095772" 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-11T23:13:53.095047" elapsed="0.000786"/>
</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-11T23:13:53.095985" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:53.096145" 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-11T23:13:53.091723" elapsed="0.004501"/>
</kw>
<msg time="2026-04-11T23:13:53.096314" level="INFO">${output} = </msg>
<var>${output}</var>
<arg>Utils.Run_Command_On_Controller</arg>
<arg>${member_ip}</arg>
<arg>${command}</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-11T23:13:52.737957" elapsed="0.358382"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:53.096771" level="INFO"/>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:53.096508" elapsed="0.000303"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:53.096853" elapsed="0.000027"/>
</return>
<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="PASS" start="2026-04-11T23:13:52.737067" elapsed="0.359905"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:52.736887" elapsed="0.360121"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:52.736761" elapsed="0.360283"/>
</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-11T23:13:52.733093" elapsed="0.364005"/>
</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-11T23:13:53.097287" elapsed="0.000209"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<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-11T23:13:53.110770" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:53.110662" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:53.110642" elapsed="0.000195"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:53.111098" level="INFO">index=19
host=10.30.171.36
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-11T23:13:53.111200" level="INFO">${current_ssh_connection_object} = index=19
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:53.110985" elapsed="0.000242"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:53.111639" level="INFO">{}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:53.111374" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:53.112066" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:53.111830" elapsed="0.000279"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:53.112841" 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-11T23:13:53.112622" elapsed="0.000324">Dictionary does not contain key '1'.</status>
</kw>
<msg time="2026-04-11T23:13:53.113050" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:53.113095" 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-11T23:13:53.112260" elapsed="0.000857"/>
</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-11T23:13:53.113415" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:53.113191" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:53.113173" elapsed="0.000339"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:53.114276" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:53.114007" elapsed="0.000295"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:53.114348" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:13:53.114495" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:53.113739" elapsed="0.000780"/>
</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="PASS" start="2026-04-11T23:13:53.114685" elapsed="0.000404"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:53.115360" level="INFO">index=25
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:53.115457" level="INFO">${karaf_connection_object} = index=25
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:53.115256" elapsed="0.000227"/>
</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="PASS" start="2026-04-11T23:13:53.115642" elapsed="0.002322"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:53.118383" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:53.119389" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:53.118124" elapsed="0.001703">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:53.123279" elapsed="0.000218"/>
</kw>
<msg time="2026-04-11T23:13:53.123554" 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-11T23:13:53.122775" elapsed="0.000862"/>
</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-11T23:13:53.123790" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:53.123947" elapsed="0.000020"/>
</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-11T23:13:53.120617" elapsed="0.003409"/>
</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-11T23:13:53.120100" elapsed="0.004006"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:53.110374" elapsed="0.013811">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:54.143624" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:54.143470" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:54.143444" elapsed="0.000265"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:54.144042" level="INFO">index=19
host=10.30.171.36
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-11T23:13:54.144158" level="INFO">${current_ssh_connection_object} = index=19
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:54.143890" elapsed="0.000296"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:54.144648" level="INFO">{1: 25}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:54.144339" elapsed="0.000355"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:54.145083" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:54.144843" elapsed="0.000284"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:54.145699" elapsed="0.000183"/>
</kw>
<msg time="2026-04-11T23:13:54.145980" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:54.146026" level="INFO">${old_connection_index} = 25</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-11T23:13:54.145300" elapsed="0.000749"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:54.146864" elapsed="0.000136"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:54.147667" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:54.147483" elapsed="0.000696">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:54.147163" elapsed="0.001078"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:54.148747" elapsed="0.000101"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:54.148408" elapsed="0.000484"/>
</kw>
<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="PASS" start="2026-04-11T23:13:54.146344" elapsed="0.002592"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:54.146124" elapsed="0.002861"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:54.146105" elapsed="0.002905"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:54.149791" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:54.149509" elapsed="0.000309"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:54.149866" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:54.150020" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:54.149233" elapsed="0.000812"/>
</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="PASS" start="2026-04-11T23:13:54.150197" elapsed="0.000608"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:54.151082" level="INFO">index=26
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:54.151183" level="INFO">${karaf_connection_object} = index=26
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:54.150974" elapsed="0.000236"/>
</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="PASS" start="2026-04-11T23:13:54.151357" elapsed="0.002157"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:54.153948" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:54.155008" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:54.153689" elapsed="0.001746">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:54.159067" elapsed="0.000217"/>
</kw>
<msg time="2026-04-11T23:13:54.159342" 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-11T23:13:54.158462" elapsed="0.000942"/>
</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-11T23:13:54.159557" elapsed="0.000038"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:54.159733" elapsed="0.000020"/>
</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-11T23:13:54.156270" elapsed="0.003543"/>
</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-11T23:13:54.155741" elapsed="0.004120"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:54.143098" elapsed="0.016840">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:55.179038" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:55.178899" elapsed="0.000202"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:55.178873" elapsed="0.000251"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:55.179452" level="INFO">index=19
host=10.30.171.36
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-11T23:13:55.179582" level="INFO">${current_ssh_connection_object} = index=19
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:55.179300" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:55.180059" level="INFO">{1: 26}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:55.179766" elapsed="0.000338"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:55.180489" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:55.180251" elapsed="0.000283"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:55.181096" elapsed="0.000182"/>
</kw>
<msg time="2026-04-11T23:13:55.181376" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:55.181422" level="INFO">${old_connection_index} = 26</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-11T23:13:55.180722" elapsed="0.000722"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:55.182255" elapsed="0.000135"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:55.183052" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:55.182887" elapsed="0.000649">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:55.182551" elapsed="0.001063"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:55.184099" elapsed="0.000099"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:55.183781" elapsed="0.000461"/>
</kw>
<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="PASS" start="2026-04-11T23:13:55.181752" elapsed="0.002533"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:55.181519" elapsed="0.002815"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:55.181500" elapsed="0.002859"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:55.185125" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:55.184859" elapsed="0.000292"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:55.185198" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:13:55.185351" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:55.184560" elapsed="0.000816"/>
</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="PASS" start="2026-04-11T23:13:55.185537" elapsed="0.000669"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:55.186478" level="INFO">index=27
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:55.186590" level="INFO">${karaf_connection_object} = index=27
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:55.186373" elapsed="0.000245"/>
</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="PASS" start="2026-04-11T23:13:55.186763" elapsed="0.002147"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:55.189326" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:55.190386" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:55.189068" elapsed="0.001712">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:55.194302" elapsed="0.000220"/>
</kw>
<msg time="2026-04-11T23:13:55.194595" 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-11T23:13:55.193730" elapsed="0.000928"/>
</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-11T23:13:55.194812" elapsed="0.000021"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:55.194969" elapsed="0.000020"/>
</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-11T23:13:55.191591" elapsed="0.003457"/>
</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-11T23:13:55.191054" elapsed="0.004040"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:55.178517" elapsed="0.016654">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:56.213171" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:56.213029" elapsed="0.000204"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.212999" elapsed="0.000258"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.213626" level="INFO">index=19
host=10.30.171.36
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-11T23:13:56.213745" level="INFO">${current_ssh_connection_object} = index=19
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:56.213442" elapsed="0.000331"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:56.214236" level="INFO">{1: 27}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:56.213939" elapsed="0.000342"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:56.214688" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:56.214430" elapsed="0.000301"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:56.215263" elapsed="0.000180"/>
</kw>
<msg time="2026-04-11T23:13:56.215541" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:56.215601" level="INFO">${old_connection_index} = 27</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-11T23:13:56.214890" elapsed="0.000735"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:56.216462" elapsed="0.000152"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.217282" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:56.217114" elapsed="0.000755">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:56.216778" elapsed="0.001153"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:56.218417" elapsed="0.000100"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:56.218097" elapsed="0.000464"/>
</kw>
<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="PASS" start="2026-04-11T23:13:56.215919" elapsed="0.002766"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:56.215700" elapsed="0.003035"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.215682" elapsed="0.003078"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:56.219730" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:56.219261" elapsed="0.000496"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:56.219807" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:13:56.219982" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:56.218981" elapsed="0.001026"/>
</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="PASS" start="2026-04-11T23:13:56.220162" elapsed="0.000440"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.220877" level="INFO">index=28
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:56.220976" level="INFO">${karaf_connection_object} = index=28
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:56.220771" elapsed="0.000232"/>
</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="PASS" start="2026-04-11T23:13:56.221148" elapsed="0.002188"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.223778" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:56.225114" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:56.223501" elapsed="0.001980">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:56.229112" elapsed="0.000222"/>
</kw>
<msg time="2026-04-11T23:13:56.229394" 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-11T23:13:56.228488" elapsed="0.000968"/>
</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-11T23:13:56.229626" elapsed="0.000023"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:56.229790" elapsed="0.000020"/>
</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-11T23:13:56.226313" elapsed="0.003558"/>
</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-11T23:13:56.225778" elapsed="0.004139"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:56.212597" elapsed="0.017399">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:56.230084" level="FAIL">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-11T23:13:53.098224" elapsed="3.131978">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<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="PASS" start="2026-04-11T23:13:53.097864" elapsed="3.132429"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:53.097727" elapsed="3.132616"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="PASS" start="2026-04-11T23:13:53.097552" elapsed="3.132831"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-11T23:13:52.714613" elapsed="3.515840"/>
</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-11T23:13:56.233196" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:56.233085" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.233066" elapsed="0.000199"/>
</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-11T23:13:56.237976" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:56.237852" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.237828" elapsed="0.000265"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:56.239057" level="INFO">${return_list_reference} = [1]</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-11T23:13:56.238664" elapsed="0.000420"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:56.239540" level="INFO">${return_list_copy} = [1]</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-11T23:13:56.239244" elapsed="0.000321"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:56.239627" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:13:56.239789" level="INFO">${index_list} = [1]</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-11T23:13:56.238319" elapsed="0.001495"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:56.246213" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:56.246104" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.246085" elapsed="0.000198"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:56.247483" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:56.247357" elapsed="0.000173"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.247339" elapsed="0.000213"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:56.248028" level="INFO">${karaf_connection_index} = 28</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="PASS" start="2026-04-11T23:13:56.247719" elapsed="0.000335"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.248466" level="INFO">${current_connection_index} = 19</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:56.248239" elapsed="0.000254"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.249547" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:56.249144" elapsed="0.001095">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:56.250374" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:56.250419" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:56.248668" elapsed="0.001774"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.251472" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:56.251098" elapsed="0.001143">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:56.252374" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:56.252419" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:56.250623" elapsed="0.001819"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:56.253406" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/mdsal.robot"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:56.252775" elapsed="0.000709">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/mdsal.robot"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:56.252516" elapsed="0.001110">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/mdsal.robot"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:56.252497" elapsed="0.001164">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/mdsal.robot"</status>
</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-04-11T23:13:56.253854" elapsed="0.000030"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:56.254140" elapsed="0.000067"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:56.253965" elapsed="0.000354"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:56.253945" elapsed="0.000405"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:56.254390" elapsed="0.000019"/>
</return>
<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">
<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-11T23:13:56.257022" elapsed="0.000145"/>
</kw>
<msg time="2026-04-11T23:13:56.257210" 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-11T23:13:56.256392" elapsed="0.000930"/>
</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-11T23:13:56.257754" elapsed="0.000076"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:56.258140" elapsed="0.000059"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:56.255646" elapsed="0.002648"/>
</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="PASS" start="2026-04-11T23:13:56.254732" elapsed="0.003688"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:56.247071" elapsed="0.011433">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/mdsal.robot"</status>
</kw>
<msg time="2026-04-11T23:13:56.258623" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:56.258667" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/mdsal.robot"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:56.246435" elapsed="0.012256"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:56.258880" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:56.258773" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.258754" elapsed="0.000193"/>
</if>
<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-11T23:13:56.259857" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:56.259747" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.259726" elapsed="0.000198"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.260216" level="INFO">index=19
host=10.30.171.36
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-11T23:13:56.260318" level="INFO">${current_ssh_connection_object} = index=19
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:56.260072" elapsed="0.000273"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:56.260828" level="INFO">{1: 28}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:56.260492" elapsed="0.000380"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:56.261259" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:56.261019" elapsed="0.000283"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:56.261820" elapsed="0.000266"/>
</kw>
<msg time="2026-04-11T23:13:56.262183" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:56.262229" level="INFO">${old_connection_index} = 28</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-11T23:13:56.261454" elapsed="0.000797"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:56.263315" elapsed="0.000249"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.264848" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:56.264531" elapsed="0.000745">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:56.263800" elapsed="0.001562"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:56.266272" elapsed="0.000184"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:56.265606" elapsed="0.000918"/>
</kw>
<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="PASS" start="2026-04-11T23:13:56.262542" elapsed="0.004096"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:56.262326" elapsed="0.004362"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.262307" elapsed="0.004405"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:56.267614" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:56.267178" elapsed="0.000463"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:56.267688" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:56.267839" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:56.266913" elapsed="0.000949"/>
</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="PASS" start="2026-04-11T23:13:56.268012" elapsed="0.000403"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.268733" level="INFO">index=29
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:56.268832" level="INFO">${karaf_connection_object} = index=29
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:56.268627" elapsed="0.000231"/>
</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="PASS" start="2026-04-11T23:13:56.269007" elapsed="0.002219"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.271655" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:56.272690" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:56.271383" elapsed="0.001678">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:56.277224" elapsed="0.000199"/>
</kw>
<msg time="2026-04-11T23:13:56.277482" 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-11T23:13:56.276342" elapsed="0.001296"/>
</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-11T23:13:56.277869" elapsed="0.000070"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:56.278133" elapsed="0.000069"/>
</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-11T23:13:56.273845" elapsed="0.004442"/>
</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-11T23:13:56.273327" elapsed="0.005007"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:56.259331" elapsed="0.019082">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:56.278761" elapsed="0.000026"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:56.278835" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:56.245804" elapsed="0.033136">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:56.279047" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:56.279089" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:56.240194" elapsed="0.038918"/>
</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-11T23:13:56.279434" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:56.279187" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.279169" elapsed="0.000341"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:56.240040" elapsed="0.039495"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:56.239868" elapsed="0.039696"/>
</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-11T23:13:56.237533" elapsed="0.042103"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-11T23:13:56.231158" elapsed="0.048530"/>
</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-11T23:13:56.230668" elapsed="0.049059"/>
</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-11T23:13:52.709371" elapsed="3.570403"/>
</kw>
<kw name="Setup_NetconfKeywords" owner="NetconfKeywords">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:56.280562" level="INFO">${tmp} = {}</msg>
<var>${tmp}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:13:56.280288" elapsed="0.000314"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:56.284414" level="INFO">${NetconfKeywords__mounted_device_types} = {}</msg>
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${tmp}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:56.280763" elapsed="0.003696"/>
</kw>
<if>
<branch type="IF" condition="${create_session_for_templated_requests}">
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:56.288718" level="INFO">Creating Session using : alias=default, url=http://10.30.171.250:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f30a50f50&gt;, timeout=2, 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-11T23:13:56.288334" elapsed="0.000519"/>
</kw>
<arg>timeout=2</arg>
<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-11T23:13:56.287912" elapsed="0.001008"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:56.284530" elapsed="0.004421"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.284511" elapsed="0.004465"/>
</if>
<kw name="Initialize_Artifact_Deployment_And_Usage" owner="NexusKeywords">
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.294013" level="INFO">${odl_connection} = 30</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-11T23:13:56.293633" 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-11T23:13:56.295661" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:56.295739" 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-11T23:13:56.295383" 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-11T23:13:56.295919" elapsed="0.000330"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.297100" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:56.610188" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:53 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:56.296782" elapsed="0.313512"/>
</kw>
<msg time="2026-04-11T23:13:56.610361" 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="PASS" start="2026-04-11T23:13:56.296415" elapsed="0.314010"/>
</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="PASS" start="2026-04-11T23:13:56.294947" elapsed="0.315570"/>
</kw>
<msg time="2026-04-11T23:13:56.610567" 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="PASS" start="2026-04-11T23:13:56.294547" elapsed="0.316089"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:13:56.294218" elapsed="0.316494"/>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-11T23:13:56.610758" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:13:56.610941" level="INFO">${odl} = 30</msg>
<var>${odl}</var>
<doc>Open a connection to the ODL system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:56.293327" elapsed="0.317639"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.621531" level="INFO">[chan 1] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:13:56.629750" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../../tools/deployment/search.sh' -&gt; '/home/jenkins//search.sh'</msg>
<arg>/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../../tools/deployment/search.sh</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="PASS" start="2026-04-11T23:13:56.611149" elapsed="0.018745"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:56.630303" elapsed="0.000691"/>
</kw>
<if>
<branch type="IF" condition="not (${tools_system_connect})">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:56.631460" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:56.631180" elapsed="0.000373"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:56.631133" elapsed="0.000506"/>
</if>
<kw name="Open_Connection_To_Tools_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.638886" level="INFO">${tools_connection} = 31</msg>
<var>${tools_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${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-11T23:13:56.638301" elapsed="0.000634"/>
</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-11T23:13:56.641241" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:56.641348" 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-11T23:13:56.640871" elapsed="0.000511"/>
</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-11T23:13:56.641618" elapsed="0.000458"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.643334" level="INFO">Logging into '10.30.171.36:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:56.968749" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-153-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:42 UTC 2026

  System load:  0.23               Processes:             109
  Usage of /:   19.6% of 38.58GB   Users logged in:       0
  Memory usage: 4%                 IPv4 address for ens3: 10.30.171.36
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

9 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:44 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:56.642892" elapsed="0.325986"/>
</kw>
<msg time="2026-04-11T23:13:56.968952" 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="PASS" start="2026-04-11T23:13:56.642374" elapsed="0.326651"/>
</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="PASS" start="2026-04-11T23:13:56.640251" elapsed="0.328877"/>
</kw>
<msg time="2026-04-11T23:13:56.969179" 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="PASS" start="2026-04-11T23:13:56.639673" elapsed="0.329552"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="PASS" start="2026-04-11T23:13:56.639195" elapsed="0.330104"/>
</kw>
<return>
<value>${tools_connection}</value>
<status status="PASS" start="2026-04-11T23:13:56.969348" elapsed="0.000041"/>
</return>
<doc>Open a connection to the tools system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:56.637817" elapsed="0.331705"/>
</kw>
<doc>Places search utility to ODL system, which will be needed for version detection.
By default also initialize a SSH connection to Tools system,
as following Keywords assume a working connection towards target system.</doc>
<status status="PASS" start="2026-04-11T23:13:56.289229" elapsed="0.680362"/>
</kw>
<doc>Setup the environment for the other keywords of this Resource to work properly.</doc>
<status status="PASS" start="2026-04-11T23:13:56.280012" elapsed="0.689631"/>
</kw>
<kw name="Setup_Restperfclient" owner="RestPerfClient">
<kw name="Open_Connection_To_Tools_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.978621" level="INFO">${tools_connection} = 32</msg>
<var>${tools_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${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-11T23:13:56.978205" elapsed="0.000445"/>
</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-11T23:13:56.980336" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:56.980411" 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-11T23:13:56.980062" elapsed="0.000373"/>
</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-11T23:13:56.980607" elapsed="0.000328"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:56.981782" level="INFO">Logging into '10.30.171.36:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:57.309111" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-153-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:42 UTC 2026

  System load:  0.23               Processes:             109
  Usage of /:   19.6% of 38.58GB   Users logged in:       0
  Memory usage: 4%                 IPv4 address for ens3: 10.30.171.36
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

9 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:56 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:56.981451" elapsed="0.327753"/>
</kw>
<msg time="2026-04-11T23:13:57.309264" 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="PASS" start="2026-04-11T23:13:56.981100" elapsed="0.328224"/>
</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="PASS" start="2026-04-11T23:13:56.979608" elapsed="0.329804"/>
</kw>
<msg time="2026-04-11T23:13:57.309460" 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="PASS" start="2026-04-11T23:13:56.979170" elapsed="0.330334"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="PASS" start="2026-04-11T23:13:56.978842" elapsed="0.330756"/>
</kw>
<return>
<value>${tools_connection}</value>
<status status="PASS" start="2026-04-11T23:13:57.309642" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:13:57.309820" level="INFO">${connection} = 32</msg>
<var>${connection}</var>
<doc>Open a connection to the tools system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:56.977861" elapsed="0.331984"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.314285" level="INFO">${RestPerfClient__restperfclient} = 32</msg>
<arg>${RestPerfClient__restperfclient}</arg>
<arg>${connection}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:57.310082" elapsed="0.004249"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<msg time="2026-04-11T23:13:57.322085" level="INFO">[chan 1] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:13:57.329616" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/RestPerfClient/request1.json' -&gt; '/home/jenkins//request1.json'</msg>
<arg>/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/RestPerfClient/request1.json</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="PASS" start="2026-04-11T23:13:57.314489" elapsed="0.015210"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<kw name="Set Variable" owner="BuiltIn">
<var>${filename}</var>
<arg>${RESTPERF_FILENAME}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:57.330202" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:57.329812" elapsed="0.000470"/>
</branch>
<branch type="ELSE">
<kw name="Deploy_Test_Tool" owner="NexusKeywords">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.351951" level="INFO">${name_prefix} = netconf-testtool-</msg>
<var>${name_prefix}</var>
<arg>${artifact}-</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:57.351649" elapsed="0.000329"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.352472" level="INFO">${extension} = jar</msg>
<var>${extension}</var>
<arg>'${component}'=='odl-micro'</arg>
<arg>tar</arg>
<arg>jar</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:57.352140" elapsed="0.000358"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.353056" level="INFO">${name_suffix} = -rest-perf-client.jar</msg>
<var>${name_suffix}</var>
<arg>"${suffix}" != ""</arg>
<arg>-${suffix}.${extension}</arg>
<arg>.${extension}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:57.352675" elapsed="0.000407"/>
</kw>
<kw name="Deploy_Artifact" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${explicit_url}""" != ""</arg>
<arg>Deploy_From_Url</arg>
<arg>${explicit_url}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:57.354275" elapsed="0.000315"/>
</kw>
<kw name="Fetch From Left" owner="String">
<msg time="2026-04-11T23:13:57.354954" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${BUNDLE_URL}</arg>
<arg>/org/opendaylight</arg>
<doc>Returns contents of the ``string`` before the first occurrence of ``marker``.</doc>
<status status="PASS" start="2026-04-11T23:13:57.354749" elapsed="0.000231"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.355524" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>'${urlbase}' != '${BUNDLE_URL}'</arg>
<arg>${urlbase}</arg>
<arg>${fallback_url}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:57.355140" elapsed="0.000411"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Magnesium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:13:57.373347" elapsed="0.000412"/>
</kw>
<arg>magnesium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'carpeople'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:57.372943" elapsed="0.000884"/>
</kw>
<msg time="2026-04-11T23:13:57.373872" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>magnesium</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-11T23:13:57.364655" elapsed="0.009266"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>carpeople</arg>
<doc>Compare magnesium to titanium and in case titanium is at most magnesium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:57.364302" elapsed="0.009693"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Aluminium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:13:57.391843" elapsed="0.000395"/>
</kw>
<arg>aluminium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'netconf'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:57.391403" elapsed="0.000902"/>
</kw>
<msg time="2026-04-11T23:13:57.392350" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>aluminium</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-11T23:13:57.383011" elapsed="0.009388"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<doc>Compare aluminium to titanium and in case titanium is at most aluminium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:57.382676" elapsed="0.009796"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Silicon" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:13:57.410120" elapsed="0.000400"/>
</kw>
<arg>silicon</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'bgpcep'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:57.409719" elapsed="0.000883"/>
</kw>
<msg time="2026-04-11T23:13:57.410684" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>silicon</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-11T23:13:57.401471" elapsed="0.009264"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>bgpcep</arg>
<doc>Compare silicon to titanium and in case titanium is at most silicon,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:13:57.401131" elapsed="0.009679"/>
</kw>
<if>
<branch type="IF" condition="'${build_version}'=='${EMPTY}'">
<kw name="NexusKeywords__Detect_Version_To_Pull" owner="NexusKeywords">
<kw name="NexusKeywords__Get_Items_To_Look_At" owner="NexusKeywords">
<kw name="Dictionary Should Contain Key" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<arg>Component not supported by NexusKeywords version detection: ${component}</arg>
<doc>Fails if ``key`` is not found from ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:57.413623" elapsed="0.000244"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<status status="PASS" start="2026-04-11T23:13:57.414360" elapsed="0.000174"/>
</kw>
<msg time="2026-04-11T23:13:57.414593" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Collections.Get_From_Dictionary</arg>
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:57.414026" elapsed="0.000617"/>
</kw>
<msg time="2026-04-11T23:13:57.414742" level="INFO">${itemlist} = netconf-api</msg>
<var>${itemlist}</var>
<arg>${component}</arg>
<doc>Get a list of items that might contain the version number that we are looking for.</doc>
<status status="PASS" start="2026-04-11T23:13:57.413348" elapsed="0.001419"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:57.415039" level="INFO">index=32
host=10.30.171.36
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-11T23:13:57.415137" level="INFO">${current_ssh_connection} = index=32
host=10.30.171.36
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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:57.414922" elapsed="0.000242"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:57.419821" level="INFO">${odl_connection} = 33</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-11T23:13:57.419424" elapsed="0.000424"/>
</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-11T23:13:57.421818" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:57.421938" 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-11T23:13:57.421279" elapsed="0.000684"/>
</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-11T23:13:57.422144" elapsed="0.000681"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:57.425007" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:57.738447" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:56 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:57.424290" elapsed="0.314336"/>
</kw>
<msg time="2026-04-11T23:13:57.738741" 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="PASS" start="2026-04-11T23:13:57.423047" elapsed="0.315860"/>
</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="PASS" start="2026-04-11T23:13:57.420785" elapsed="0.318279"/>
</kw>
<msg time="2026-04-11T23:13:57.739113" 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="PASS" start="2026-04-11T23:13:57.420387" elapsed="0.318773"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:13:57.420023" elapsed="0.319208"/>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-11T23:13:57.739270" elapsed="0.000033"/>
</return>
<doc>Open a connection to the ODL system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:13:57.419125" elapsed="0.320278"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:57.739847" level="INFO">Executing command 'sh search.sh /tmp/netconf-karaf-9.0.3-SNAPSHOT/system netconf-api'.</msg>
<msg time="2026-04-11T23:13:57.772662" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:57.772900" level="INFO">${version} = 9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<msg time="2026-04-11T23:13:57.772999" level="INFO">${result} = 0</msg>
<var>${version}</var>
<var>${result}</var>
<arg>sh search.sh ${WORKSPACE}/${BUNDLEFOLDER}/system ${itemlist}</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:57.739612" elapsed="0.033436"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:57.773491" elapsed="0.000480"/>
</kw>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords">
<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-11T23:13:57.780731" elapsed="0.000310"/>
</kw>
<msg time="2026-04-11T23:13:57.781135" 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-11T23:13:57.779504" elapsed="0.001739"/>
</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-11T23:13:57.781705" elapsed="0.000055"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:57.782075" elapsed="0.000044"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:57.774506" elapsed="0.007746"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.783157" level="INFO">9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<arg>${version}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:57.782603" elapsed="0.000654"/>
</kw>
<if>
<branch type="IF" condition="${result}!=0">
<kw name="Fail" owner="BuiltIn">
<arg>Component "${component}": searching for "${itemlist}" found no version, cannot locate test tool.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:57.783928" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:57.783410" elapsed="0.000573"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.783366" elapsed="0.000641"/>
</if>
<kw name="Split String" owner="String">
<msg time="2026-04-11T23:13:57.784369" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:13:57.784414" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${version}</arg>
<arg>max_split=1</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-11T23:13:57.784148" elapsed="0.000288"/>
</kw>
<return>
<value>${version}</value>
<value>${location}</value>
<status status="PASS" start="2026-04-11T23:13:57.784484" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:57.784693" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:13:57.784736" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${component}</arg>
<doc>Determine the exact Nexus directory to be used as a source for a particular test tool
Figure out what version of the tool needs to be pulled out of the
Nexus by looking at the version directory of the subsystem from
which the tool is being pulled. This code is REALLY UGLY but there
is no way around it until the bug
https://bugs.opendaylight.org/show_bug.cgi?id=5206 gets fixed.
I also don't want to depend on maven-metadata-local.xml and other
bits and pieces of ODL distribution which are not required for ODL
to function properly.</doc>
<status status="PASS" start="2026-04-11T23:13:57.412988" elapsed="0.371771"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:57.410883" elapsed="0.373916"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${version}</var>
<var>${location}</var>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:57.784970" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:57.784824" elapsed="0.000204"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.410864" elapsed="0.374184"/>
</if>
<if>
<branch type="IF" condition="'SNAPSHOT' in '${version}'">
<kw name="Remove Values From List" owner="Collections">
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<arg>bgpcep</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:57.785311" elapsed="0.000376"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:57.785103" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.785087" elapsed="0.000666"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.786278" level="INFO">${is_staged} = "FALSE"</msg>
<var>${is_staged}</var>
<arg>"opendaylight.release" not in '${urlbase}' and "opendaylight.snapshot" not in '${urlbase}'</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:57.785913" elapsed="0.000391"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.786863" level="INFO">${is_mri_component} = "FALSE"</msg>
<var>${is_mri_component}</var>
<arg>'${component}' in ${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:57.786467" elapsed="0.000422"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.787444" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${is_mri_component} == "TRUE" and ${is_staged} == "FALSE"</arg>
<arg>${NEXUS_RELEASE_BASE_URL}</arg>
<arg>${urlbase}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:57.787050" elapsed="0.000422"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.787994" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT</msg>
<var>${url}</var>
<arg>${urlbase}/${location}/${artifact}/${version}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:57.787641" elapsed="0.000380"/>
</kw>
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:57.789808" level="INFO">Executing command 'curl -L https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/maven-metadata.xml'.</msg>
<msg time="2026-04-11T23:13:57.873836" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:57.874121" level="INFO">${stdout} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<msg time="2026-04-11T23:13:57.874229" level="INFO">${stderr} =   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0   ...</msg>
<msg time="2026-04-11T23:13:57.874322" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:57.789630" elapsed="0.084743"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.876304" level="INFO">Length is 316.</msg>
<msg time="2026-04-11T23:13:57.876491" level="FAIL">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  42503      0 --:--:-- --:--:-- --:--:-- 43171' should be empty.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="FAIL" start="2026-04-11T23:13:57.875724" elapsed="0.000947">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  42503      0 --:--:-- --:--:-- --:--:-- 43171' should be empty.</status>
</kw>
<msg time="2026-04-11T23:13:57.876905" level="INFO">${emptiness_status} = FAIL</msg>
<msg time="2026-04-11T23:13:57.877002" level="INFO">${result} = '  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0  ...</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:57.874920" elapsed="0.002135"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.878369" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:57.877425" elapsed="0.001002"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.880859" level="INFO">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:57.880219" elapsed="0.000816"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.881987" level="INFO">  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  42503      0 --:--:-- --:--:-- --:--:-- 43171</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:57.881365" elapsed="0.000726"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.883069" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:57.882416" elapsed="0.000753"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:13:57.879399" elapsed="0.003887"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:57.878630" elapsed="0.004735"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.878554" elapsed="0.004913"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:13:57.883866" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:57.883632" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.883557" elapsed="0.000377"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:57.884073" elapsed="0.000027"/>
</return>
<status status="PASS" start="2026-04-11T23:13:57.883985" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.883970" elapsed="0.000187"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:57.884341" elapsed="0.000022"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:13:57.789082" elapsed="0.095380"/>
</kw>
<msg time="2026-04-11T23:13:57.884532" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:57.788554" elapsed="0.096042"/>
</kw>
<msg time="2026-04-11T23:13:57.884755" level="INFO">${metadata} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<var>${metadata}</var>
<arg>curl -L ${url}/maven-metadata.xml</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:13:57.788217" elapsed="0.096567"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:57.887019" level="INFO">Executing command 'echo "&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1'.</msg>
<msg time="2026-04-11T23:13:57.925868" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:57.926111" level="INFO">${stdout} = 9.0.3-20260411.052747-35</msg>
<msg time="2026-04-11T23:13:57.926207" level="INFO">${stderr} = </msg>
<msg time="2026-04-11T23:13:57.926295" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:57.886836" elapsed="0.039510"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.928644" level="INFO">Length is 0.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="PASS" start="2026-04-11T23:13:57.927545" elapsed="0.001205"/>
</kw>
<msg time="2026-04-11T23:13:57.928958" level="INFO">${emptiness_status} = PASS</msg>
<msg time="2026-04-11T23:13:57.929053" level="INFO">${result} = None</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:57.926771" elapsed="0.002330"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.930410" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:57.929462" elapsed="0.001006"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.932968" level="INFO">9.0.3-20260411.052747-35</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:57.932239" elapsed="0.000843"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.934128" level="INFO"/>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:57.933399" elapsed="0.000822"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.935180" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:57.934490" elapsed="0.000802"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:13:57.931454" elapsed="0.003992"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:57.930669" elapsed="0.004828"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.930625" elapsed="0.004906"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:13:57.935769" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:57.935630" elapsed="0.000200"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.935605" elapsed="0.000254"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:57.936047" elapsed="0.000036"/>
</return>
<status status="PASS" start="2026-04-11T23:13:57.935928" elapsed="0.000200"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.935908" elapsed="0.000251"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:57.936353" elapsed="0.000030"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:13:57.886270" elapsed="0.050243"/>
</kw>
<msg time="2026-04-11T23:13:57.936603" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:57.885756" elapsed="0.050914"/>
</kw>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:13:57.885327" elapsed="0.051448"/>
</kw>
<msg time="2026-04-11T23:13:57.936905" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:57.936964" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${status}</var>
<var>${namepart}</var>
<arg>SSHKeywords.Execute_Command_Should_Pass</arg>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:57.884943" elapsed="0.052052"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.937600" level="INFO">Length is 24.</msg>
<msg time="2026-04-11T23:13:57.937705" level="INFO">${length} = 24</msg>
<var>${length}</var>
<arg>${namepart}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-11T23:13:57.937213" elapsed="0.000524"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.938497" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${namepart}</var>
<arg>"${status}" != "PASS" or ${length} == 0</arg>
<arg>${version}</arg>
<arg>${namepart}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:57.937961" elapsed="0.000572"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.939609" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${filename}</var>
<arg>${name_prefix}${namepart}${name_suffix}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:57.938835" elapsed="0.000813"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.940194" level="INFO">netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<arg>${filename}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:57.939860" elapsed="0.000394"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:57.940905" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${url}</var>
<arg>${url}/${filename}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:57.940456" elapsed="0.000485"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:57.941379" level="INFO">Executing command 'wget -q -N 'https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar' 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:13:58.001161" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:58.001392" level="INFO">${response} = </msg>
<msg time="2026-04-11T23:13:58.001489" level="INFO">${result} = 0</msg>
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:57.941154" elapsed="0.060384"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.002503" level="INFO"/>
<arg>${response}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.001955" elapsed="0.000674"/>
</kw>
<if>
<branch type="IF" condition="${result} == 0">
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:13:58.003022" elapsed="0.000059"/>
</return>
<status status="PASS" start="2026-04-11T23:13:58.002780" elapsed="0.000374"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.002739" elapsed="0.000468"/>
</if>
<kw name="Replace String Using Regexp" owner="String">
<var>${release_url}</var>
<arg>${url}</arg>
<arg>autorelease-[0-9]{4}</arg>
<arg>opendaylight.release</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.003553" elapsed="0.000079"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${release_url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.003983" elapsed="0.000046"/>
</kw>
<if>
<branch type="IF" condition="${result} != 0">
<kw name="Fail" owner="BuiltIn">
<arg>Artifact "${artifact}" in component "${component}" could not be downloaded from ${release_url} nor ${url}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.004489" elapsed="0.000044"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.004184" elapsed="0.000532"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.004148" elapsed="0.000623"/>
</if>
<return>
<value>${filename}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.004845" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:13:58.005155" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${filename}</var>
<arg>${component}</arg>
<arg>${artifact}</arg>
<arg>${name_prefix}</arg>
<arg>${name_suffix}</arg>
<arg>${fallback_url}</arg>
<arg>${explicit_url}</arg>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Deploy the specified artifact from Nexus to the cwd of the machine to which the active SSHLibrary connection points.
netconf is a name part of an artifact present in system/ of ODl installation with the same version as netconf-testtool should have.
Must have https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-karaf/9.0.3-SNAPSHOT/netconf-karaf-9.0.3-20260411.052747-35.zip variable set to the URL from which the
tested ODL distribution was downloaded and this place must be
inside a repository created by a standard distribution
construction job. If this is detected to ne be the case, fallback URL is used.
If  is non-empty, Deploy_From_Utrl is called instead.
TODO: Allow deploying to a specific directory, we have SSHKeywords.Execute_Command_At_Cwd_Should_Pass now.</doc>
<status status="PASS" start="2026-04-11T23:13:57.353676" elapsed="0.651535"/>
</kw>
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:13:58.005357" elapsed="0.000059"/>
</return>
<msg time="2026-04-11T23:13:58.005717" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${filename}</var>
<arg>netconf</arg>
<arg>netconf-testtool</arg>
<arg>rest-perf-client</arg>
<doc>Deploy a test tool.
The test tools have naming convention of the form
"&lt;repository_url&gt;/some/dir/somewhere/&lt;tool-name&gt;/&lt;tool-name&gt;-&lt;version-tag&gt;-${suffix}.jar"
where "&lt;tool-name&gt;" is the name of the tool and "&lt;version-tag&gt;" is
the version tag that is digged out of the maven metadata. This
keyword calculates ${name_prefix} and ${name_suffix} for
"Deploy_Artifact" and then calls "Deploy_Artifact" to do the real
work of deploying the artifact.</doc>
<status status="PASS" start="2026-04-11T23:13:57.345901" elapsed="0.659872"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:57.330318" elapsed="0.675553"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:57.329782" elapsed="0.676136"/>
</if>
<kw name="Compose_Full_Java_Command" owner="NexusKeywords">
<kw name="Compose_Base_Java_Command" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk8"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_8_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_8_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.008336" elapsed="0.000730"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk11"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_11_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_11_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.009430" elapsed="0.000710"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk17"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_17_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_17_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.010500" elapsed="0.000699"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Compose_Dilemma_Filepath" owner="NexusKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.012812" level="INFO">Executing command 'ls -lA /usr/lib/jvm/java-21-openjdk-amd64/bin/java 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:13:58.052959" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:13:58.053189" level="INFO">${out} = -rwxr-xr-x 1 root root 14456 Jul 16  2025 /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<msg time="2026-04-11T23:13:58.053287" level="INFO">${rc} = 0</msg>
<var>${out}</var>
<var>${rc}</var>
<arg>ls -lA ${specific_path} 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:58.012641" elapsed="0.040696"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${specific_path}</value>
<status status="PASS" start="2026-04-11T23:13:58.053836" elapsed="0.000062"/>
</return>
<status status="PASS" start="2026-04-11T23:13:58.053542" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.053496" elapsed="0.000529"/>
</if>
<return>
<value>${default_path}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.054099" elapsed="0.000032"/>
</return>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Query active SSH connection, return specific path if it exists else default path.</doc>
<status status="PASS" start="2026-04-11T23:13:58.012288" elapsed="0.042051"/>
</kw>
<msg time="2026-04-11T23:13:58.054433" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>"""${openjdk}""" == "openjdk21"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.011637" elapsed="0.042895"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>java -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.054935" elapsed="0.000048"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>java</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.055219" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.055140" elapsed="0.000201"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.055102" elapsed="0.000289"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<var>${java}</var>
<arg>echo $JAVA_HOME/bin/java 2&gt;&amp;1</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.055735" elapsed="0.000048"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.056114" elapsed="0.000044"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.056396" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.056320" elapsed="0.000164"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.056273" elapsed="0.000257"/>
</if>
<kw name="Get Environment Variable" owner="OperatingSystem">
<var>${JAVA_HOME}</var>
<arg>JAVA_HOME</arg>
<arg>${EMPTY}</arg>
<doc>Returns the value of an environment variable with the given name.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.056859" elapsed="0.000046"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${java}</var>
<arg>"""${JAVA_HOME}"""!=""</arg>
<arg>${JAVA_HOME}/bin/java</arg>
<arg>false</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.057263" elapsed="0.000046"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.057753" elapsed="0.000047"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.058031" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.057955" elapsed="0.000163"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.057918" elapsed="0.000247"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Unable to find Java; specify \${JDKVERSION}, put it to your PATH or set JAVA_HOME environment variable.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.058461" elapsed="0.000044"/>
</kw>
<msg time="2026-04-11T23:13:58.058754" level="INFO">${base_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<var>${base_command}</var>
<arg>openjdk=${openjdk}</arg>
<doc>Return string suitable for launching Java programs over SSHLibrary, depending on JRE version needed.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
Commands composed for one SSH connection shall not be reused on other SSH connections as the two connections may have different Java setups.
Not directly related to Nexus, but versioned Java tools may need this.</doc>
<status status="PASS" start="2026-04-11T23:13:58.007634" elapsed="0.051177"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.059913" level="INFO">${full_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx4G -jar netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${full_command}</var>
<arg>${base_command} ${options}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.059142" elapsed="0.000830"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.060883" level="INFO">/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx4G -jar netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<arg>${full_command}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.060321" elapsed="0.000660"/>
</kw>
<return>
<value>${full_command}</value>
<status status="PASS" start="2026-04-11T23:13:58.061074" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:13:58.061414" level="INFO">${prefix} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx4G -jar netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<var>${prefix}</var>
<arg>-Xmx4G -jar ${filename}</arg>
<doc>Return full Bash command to run Java with given options.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
The options may include JVM options, application command line arguments, Bash redirects and other constructs.</doc>
<status status="PASS" start="2026-04-11T23:13:58.006404" elapsed="0.055065"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.066608" level="INFO">${RestPerfClient__restperfclient_invocation_command_prefix} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx4G -jar netconf-testtool-9.0.3-20260411.052747-35-rest-perf-client.jar</msg>
<arg>${RestPerfClient__restperfclient_invocation_command_prefix}</arg>
<arg>${prefix}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.061853" elapsed="0.004803"/>
</kw>
<doc>Deploy RestPerfClient and determine the Java command to use to call it.
Open a SSH connection through which the RestPerfClient will be
invoked, deploy RestPerfClient and the data files it needs to do
its work and initialize the internal state for the remaining
keywords.</doc>
<status status="PASS" start="2026-04-11T23:13:56.970006" elapsed="1.096711"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.067276" level="INFO">${device_type} = full-uri-device</msg>
<var>${device_type}</var>
<arg>${USE_NETCONF_CONNECTOR}==${True}</arg>
<arg>default</arg>
<arg>${device_type}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:58.066879" elapsed="0.000434"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.067797" level="INFO">${device_type} = full-uri-device</msg>
<arg>${device_type}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.067479" elapsed="0.000359"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.068315" level="INFO">${value} = 337.68</msg>
<var>${value}</var>
<arg>${REQUEST_COUNT}/50+10</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.067991" elapsed="0.000350"/>
</kw>
<kw name="Set_User_Configurable_Variable_Default" owner="Utils">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.080773" level="INFO">${value} = 337.68 s</msg>
<var>${value}</var>
<arg>\${${name}}</arg>
<arg>${value}</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-11T23:13:58.076541" elapsed="0.004259"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.081318" level="INFO">${DIRECT_MDSAL_TIMEOUT} = 337.68 s</msg>
<arg>\${${name}}</arg>
<arg>${value}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.080961" elapsed="0.000399"/>
</kw>
<arg>DIRECT_MDSAL_TIMEOUT</arg>
<arg>${value} s</arg>
<doc>Set a default value for an user configurable variable.
This keyword is needed if your default value is calculated using
a complex expression which needs BuiltIn.Evaluate or even more
complex keywords. It sets the variable ${name} (the name of the
variable MUST be specified WITHOUT the ${} syntactic sugar due
to limitations of Robot Framework) to 337.68 but only if the
variable ${name} was not set previously. This keyword is intended
for user configurable variables which are supposed to be set only
with pybot -v; calling this keyword on a variable that was already
set by another keyword will silently turn the call into a NOP and
thus is a bug in the suite or resource trying to call this
keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.076237" elapsed="0.005179"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.081911" level="INFO">${value} = 1658.4</msg>
<var>${value}</var>
<arg>${REQUEST_COUNT}/10+20</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.081584" elapsed="0.000353"/>
</kw>
<kw name="Set_User_Configurable_Variable_Default" owner="Utils">
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.094123" level="INFO">${value} = 1658.4 s</msg>
<var>${value}</var>
<arg>\${${name}}</arg>
<arg>${value}</arg>
<doc>Returns variable value or ``default`` if the variable does not exist.</doc>
<status status="PASS" start="2026-04-11T23:13:58.090180" elapsed="0.003971"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.094693" level="INFO">${NETCONF_CONNECTOR_MDSAL_TIMEOUT} = 1658.4 s</msg>
<arg>\${${name}}</arg>
<arg>${value}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.094312" elapsed="0.000424"/>
</kw>
<arg>NETCONF_CONNECTOR_MDSAL_TIMEOUT</arg>
<arg>${value} s</arg>
<doc>Set a default value for an user configurable variable.
This keyword is needed if your default value is calculated using
a complex expression which needs BuiltIn.Evaluate or even more
complex keywords. It sets the variable ${name} (the name of the
variable MUST be specified WITHOUT the ${} syntactic sugar due
to limitations of Robot Framework) to 1658.4 but only if the
variable ${name} was not set previously. This keyword is intended
for user configurable variables which are supposed to be set only
with pybot -v; calling this keyword on a variable that was already
set by another keyword will silently turn the call into a NOP and
thus is a bug in the suite or resource trying to call this
keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.089877" elapsed="0.004915"/>
</kw>
<doc>Setup everything needed for the test cases.</doc>
<status status="PASS" start="2026-04-11T23:13:52.709087" elapsed="5.385805"/>
</kw>
<test id="s1-s3-t1" name="Create_Test_Data_For_Direct_Access" line="45">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.098150" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.097930" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.097912" elapsed="0.000317"/>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.097748" elapsed="0.000527"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:58.099258" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.099149" elapsed="0.000166"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.099131" elapsed="0.000206"/>
</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-11T23:13:58.104155" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.104045" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.104027" elapsed="0.000194"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.105210" level="INFO">${return_list_reference} = [1]</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-11T23:13:58.104829" elapsed="0.000407"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.105698" level="INFO">${return_list_copy} = [1]</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-11T23:13:58.105391" elapsed="0.000333"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:58.105767" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:13:58.105922" level="INFO">${index_list} = [1]</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-11T23:13:58.104440" elapsed="0.001506"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:58.111429" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.111322" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.111303" elapsed="0.000193"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:58.112646" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.112518" elapsed="0.000174"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.112499" elapsed="0.000215"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.113146" level="INFO">${karaf_connection_index} = 29</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="PASS" start="2026-04-11T23:13:58.112854" elapsed="0.000318"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.113536" level="INFO">${current_connection_index} = 32</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.113326" elapsed="0.000235"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.114302" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.114058" elapsed="0.000884">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.115120" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:58.115165" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.113733" elapsed="0.001455"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.115956" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.115715" elapsed="0.000885">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.116780" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:58.116824" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.115362" elapsed="0.001485"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.117783" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Direct_Access"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.117171" elapsed="0.000679">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Direct_Access"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.116922" elapsed="0.000996">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Direct_Access"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.116904" elapsed="0.001055">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Direct_Access"</status>
</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-04-11T23:13:58.118131" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.118354" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.118216" elapsed="0.000189"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.118200" elapsed="0.000227"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.118460" elapsed="0.000015"/>
</return>
<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">
<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-11T23:13:58.120934" elapsed="0.000150"/>
</kw>
<msg time="2026-04-11T23:13:58.121146" 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-11T23:13:58.119905" elapsed="0.001365"/>
</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-11T23:13:58.121532" elapsed="0.000109"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.121890" elapsed="0.000070"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.119261" elapsed="0.002805"/>
</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="PASS" start="2026-04-11T23:13:58.118741" elapsed="0.003388"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.112222" elapsed="0.009989">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Direct_Access"</status>
</kw>
<msg time="2026-04-11T23:13:58.122311" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.122354" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Direct_Access"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:58.111659" elapsed="0.010724"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.122565" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.122458" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.122439" elapsed="0.000209"/>
</if>
<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-11T23:13:58.124782" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.124672" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.124652" elapsed="0.000198"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.125116" level="INFO">index=32
host=10.30.171.36
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-11T23:13:58.125218" level="INFO">${current_ssh_connection_object} = index=32
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.125001" elapsed="0.000244"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.125664" level="INFO">{1: 29}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.125393" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.126101" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.125858" elapsed="0.000286"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:58.126666" elapsed="0.000256"/>
</kw>
<msg time="2026-04-11T23:13:58.127020" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:58.127066" level="INFO">${old_connection_index} = 29</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-11T23:13:58.126298" elapsed="0.000791"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.127921" elapsed="0.000215"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.129274" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.128887" elapsed="0.001218">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.128307" elapsed="0.001927"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.130896" elapsed="0.000265"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.130422" elapsed="0.000819"/>
</kw>
<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="PASS" start="2026-04-11T23:13:58.127394" elapsed="0.003921"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.127163" elapsed="0.004202"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.127145" elapsed="0.004245"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.132229" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:58.131928" elapsed="0.000327"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:58.132303" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.132453" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.131609" elapsed="0.000868"/>
</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="PASS" start="2026-04-11T23:13:58.132644" elapsed="0.000415"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.133329" level="INFO">index=34
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:58.133427" level="INFO">${karaf_connection_object} = index=34
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.133224" elapsed="0.000229"/>
</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="PASS" start="2026-04-11T23:13:58.133635" elapsed="0.002214"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.136266" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:58.137257" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:58.136009" elapsed="0.001631">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:58.151316" elapsed="0.000400"/>
</kw>
<msg time="2026-04-11T23:13:58.151803" 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-11T23:13:58.149998" elapsed="0.001950"/>
</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-11T23:13:58.152107" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.152267" elapsed="0.000020"/>
</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-11T23:13:58.138408" elapsed="0.013938"/>
</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-11T23:13:58.137907" elapsed="0.014484"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.124306" elapsed="0.028164">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.153004" elapsed="0.000027"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.153080" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.110976" elapsed="0.042208">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:58.153285" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.153328" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:58.106317" elapsed="0.047033"/>
</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-11T23:13:58.153689" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.153425" elapsed="0.000350"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.153407" elapsed="0.000394"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:58.106175" elapsed="0.047650"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:58.106003" elapsed="0.047853"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:58.103688" elapsed="0.050222"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:58.098862" elapsed="0.055101"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.098420" elapsed="0.055585"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:58.095646" elapsed="0.058408"/>
</kw>
<kw name="Post_As_Xml_Templated" owner="TemplatedRequests">
<kw name="Post_Templated" owner="TemplatedRequests">
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.188833" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/location.uri</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.188446" elapsed="0.000415"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.189602" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars.titanium/location.uri' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.189346" elapsed="0.000320">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars.titanium/location.uri' does not exist.</status>
</kw>
<msg time="2026-04-11T23:13:58.189760" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:58.189020" elapsed="0.000763"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.190316" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/location.uri</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:58.189942" elapsed="0.000401"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.190656" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/location.uri"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/location.uri&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:13:58.190810" level="INFO">${template} = rests/data
</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.190500" elapsed="0.000335"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.191226" level="INFO">rests/data
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.190987" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.192223" level="INFO">mapping: {}</msg>
<arg>mapping: ${mapping}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.191976" elapsed="0.000290"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.192709" level="INFO">${encoded_mapping} = {}</msg>
<var>${encoded_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.192420" elapsed="0.000315"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Convert To String" owner="BuiltIn">
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.193075" elapsed="0.000021"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.193454" elapsed="0.000026"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.193649" elapsed="0.000022"/>
</kw>
<var name="${key}"/>
<var name="${value}"/>
<status status="NOT RUN" start="2026-04-11T23:13:58.192939" elapsed="0.000769"/>
</iter>
<var>${key}</var>
<var>${value}</var>
<value>&amp;{mapping}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.192782" elapsed="0.000957"/>
</for>
<return>
<value>${encoded_mapping}</value>
<status status="PASS" start="2026-04-11T23:13:58.193781" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.193956" level="INFO">${mapping_to_use} = {}</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="PASS" start="2026-04-11T23:13:58.191661" elapsed="0.002321"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.191353" elapsed="0.002661"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.194184" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.194039" elapsed="0.000200"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.191334" elapsed="0.002925"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.194855" level="INFO">${final_text} = rests/data</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.194399" elapsed="0.000485"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:13:58.194932" elapsed="0.000029"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:13:58.187838" elapsed="0.007220"/>
</kw>
<msg time="2026-04-11T23:13:58.195156" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.175490" elapsed="0.019716"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.207503" elapsed="0.000028"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.219511" elapsed="0.000028"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.231525" elapsed="0.000028"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.231732" elapsed="0.000022"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.231904" elapsed="0.000019"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.232262" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.232120" elapsed="0.000197"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.232106" elapsed="0.000234"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.232477" elapsed="0.000020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.232655" elapsed="0.000021"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.232819" elapsed="0.000028"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:13:58.232078" elapsed="0.000810"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.231976" elapsed="0.000939"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.233060" elapsed="0.000026"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.233140" elapsed="0.000016"/>
</return>
<msg time="2026-04-11T23:13:58.233250" level="INFO">${uri} = rests/data</msg>
<var>${uri}</var>
<arg>folder=${folder}</arg>
<arg>base_name=location</arg>
<arg>extension=uri</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=True</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:13:58.171346" elapsed="0.061929"/>
</kw>
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.257106" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/post_data.xml</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.256734" elapsed="0.000432"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.257879" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars.titanium/post_data.xml' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.257673" elapsed="0.000269">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars.titanium/post_data.xml' does not exist.</status>
</kw>
<msg time="2026-04-11T23:13:58.258035" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:58.257327" elapsed="0.000732"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.258611" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/post_data.xml</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:58.258218" elapsed="0.000421"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.258929" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/post_data.xml"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/post_data.xml&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:13:58.259056" level="INFO">${template} = &lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;
</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.258796" elapsed="0.000287"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.259499" level="INFO">&lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.259254" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="NOT RUN" start="2026-04-11T23:13:58.259924" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.259629" elapsed="0.000353"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.260433" level="INFO">${mapping_to_use} = {}</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.260148" elapsed="0.000310"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.260006" elapsed="0.000487"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.259609" elapsed="0.000905"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.261081" level="INFO">${final_text} = &lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.260670" elapsed="0.000439"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:13:58.261157" elapsed="0.000028"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:13:58.256119" elapsed="0.005159"/>
</kw>
<msg time="2026-04-11T23:13:58.261330" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.243895" elapsed="0.017479"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.273616" elapsed="0.000028"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.285661" elapsed="0.000027"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.297676" elapsed="0.000026"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.297898" elapsed="0.000022"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.298070" elapsed="0.000020"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.298452" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.298285" elapsed="0.000223"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.298271" elapsed="0.000261"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.298683" elapsed="0.000021"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.298849" elapsed="0.000019"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.299010" elapsed="0.000020"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:13:58.298242" elapsed="0.000820"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.298142" elapsed="0.000946"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.299251" elapsed="0.000021"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.299328" elapsed="0.000016"/>
</return>
<msg time="2026-04-11T23:13:58.299445" level="INFO">${data} = &lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;</msg>
<var>${data}</var>
<arg>folder=${folder}</arg>
<arg>name_prefix=post_</arg>
<arg>base_name=${base_name}</arg>
<arg>extension=${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>endline=${endline}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:13:58.243026" elapsed="0.056446"/>
</kw>
<kw name="Resolve_Jmes_Path" owner="TemplatedRequests">
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.300747" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/jmespath.expr' does not exist.</msg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.300479" elapsed="0.000331">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/jmespath.expr' does not exist.</status>
</kw>
<msg time="2026-04-11T23:13:58.300901" level="INFO">${read_jmes_file} = False</msg>
<var>${read_jmes_file}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:58.300148" elapsed="0.000778"/>
</kw>
<if>
<branch type="IF" condition="${read_jmes_file} == ${true}">
<kw name="Get File" owner="OperatingSystem">
<var>${jmes_expression}</var>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.301234" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.300995" elapsed="0.000293"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.301778" level="INFO">${jmes_expression} = None</msg>
<var>${jmes_expression}</var>
<arg>${None}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.301469" elapsed="0.000334"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.301311" elapsed="0.000527"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.300977" elapsed="0.000881"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.304340" level="INFO">${expression} = </msg>
<var>${expression}</var>
<arg>${read_jmes_file} == ${true}</arg>
<arg>${jmes_expression}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:58.302011" elapsed="0.002355"/>
</kw>
<return>
<value>${expression}</value>
<status status="PASS" start="2026-04-11T23:13:58.304417" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:13:58.304566" level="INFO">${jmes_expression} = </msg>
<var>${jmes_expression}</var>
<arg>${folder}</arg>
<doc>Reads JMES path from file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/jmespath.expr if the file exists and
returns the JMES path. Empty string is returned otherwise.</doc>
<status status="PASS" start="2026-04-11T23:13:58.299827" elapsed="0.004785"/>
</kw>
<kw name="Post_To_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.306112" level="INFO">rests/data</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.305869" elapsed="0.000288"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.306536" level="INFO">&lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;</msg>
<arg>${data}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.306304" elapsed="0.000292"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.307019" level="INFO">{'Content-Type': 'application/xml'}</msg>
<arg>${content_type}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.306779" elapsed="0.000283"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.307473" level="INFO">{'Accept': 'application/xml'}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.307236" elapsed="0.000279"/>
</kw>
<kw name="Join_Two_Headers" owner="TemplatedRequests">
<kw name="Copy Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.308327" level="INFO">${accumulator} = {'Content-Type': 'application/xml'}</msg>
<var>${accumulator}</var>
<arg>${first}</arg>
<doc>Returns a copy of the given dictionary.</doc>
<status status="PASS" start="2026-04-11T23:13:58.308130" elapsed="0.000223"/>
</kw>
<kw name="Get Dictionary Items" owner="Collections">
<msg time="2026-04-11T23:13:58.308692" level="INFO">${items_to_add} = ['Accept', 'application/xml']</msg>
<var>${items_to_add}</var>
<arg>${second}</arg>
<doc>Returns items of the given ``dictionary`` as a list.</doc>
<status status="PASS" start="2026-04-11T23:13:58.308502" elapsed="0.000215"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${accumulator}</arg>
<arg>@{items_to_add}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.308863" elapsed="0.000197"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.309459" level="INFO">{'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<arg>${accumulator}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.309216" elapsed="0.000286"/>
</kw>
<return>
<value>${accumulator}</value>
<status status="PASS" start="2026-04-11T23:13:58.309544" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:13:58.309713" level="INFO">${headers} = {'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<var>${headers}</var>
<arg>first=${content_type}</arg>
<arg>second=${accept}</arg>
<doc>Take two dicts, join them, return result. Second argument values take precedence.</doc>
<status status="PASS" start="2026-04-11T23:13:58.307729" elapsed="0.002008"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:58.314706" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.312039" elapsed="0.004286">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.309807" elapsed="0.006602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="POST On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.316609" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.316442" elapsed="0.000234"/>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.309789" elapsed="0.006910">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>additional_allowed_status_codes=${additional_allowed_status_codes}</arg>
<arg>explicit_status_codes=${explicit_status_codes}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.317070" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.317201" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.317167" elapsed="0.000074"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.317150" elapsed="0.000112"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.317401" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.317466" elapsed="0.000015"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>data=${data}</arg>
<arg>content_type=${content_type}</arg>
<arg>accept=${accept}</arg>
<arg>session=${session}</arg>
<arg>jmes_path=${jmes_expression}</arg>
<arg>normalize_json=${normalize_json}</arg>
<arg>additional_allowed_status_codes=${additional_allowed_status_codes}</arg>
<arg>explicit_status_codes=${explicit_status_codes}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>POST data to given URI, check status code and return response text.
${content_type} and ${accept} are mandatory Python objects with headers to use.
If ${normalize_json}, normalize text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.304940" elapsed="0.012625">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.317660" elapsed="0.000015"/>
</return>
<var>${response_text}</var>
<arg>folder=${folder}</arg>
<arg>base_name=data</arg>
<arg>extension=xml</arg>
<arg>accept=${ACCEPT_XML}</arg>
<arg>content_type=${HEADERS_XML}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=False</arg>
<arg>endline=${\n}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>additional_allowed_status_codes=${additional_allowed_status_codes}</arg>
<arg>explicit_status_codes=${explicit_status_codes}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve URI and data from folder, call Post_To_Uri, return response text.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.160395" elapsed="0.157356">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<if>
<branch type="IF" condition="${verify}">
<kw name="Verify_Response_As_Xml_Templated" owner="TemplatedRequests">
<arg>response=${response_text}</arg>
<arg>folder=${folder}</arg>
<arg>base_name=response</arg>
<arg>mapping=${mapping}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve expected XML data, should be equal to provided ${response}.
Endline set to empty, as this Resource does not support indented XML comparison.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.318092" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.317897" elapsed="0.000264"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.317880" elapsed="0.000304"/>
</if>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.318217" elapsed="0.000015"/>
</return>
<arg>${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}cars</arg>
<doc>Add arguments sensible for XML data, return Post_Templated response text.
Optionally, verification against response.xml (no iteration) is called.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.154303" elapsed="0.164007">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.319665" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.319332" elapsed="0.000376"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.318932" elapsed="0.000826"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.320580" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.320182" elapsed="0.000461"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.320164" elapsed="0.000502"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.320808" elapsed="0.000315"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.326117" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.325718" elapsed="0.000426"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:58.326355" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.326216" elapsed="0.000179"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.326198" elapsed="0.000219"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.326866" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.326559" elapsed="0.000333"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:58.327312" level="INFO">${reference} = netconf_scale_txt_Mdsal_Create_Test_Data_For_Direct_Access</msg>
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.327044" elapsed="0.000293"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<msg time="2026-04-11T23:13:58.327680" level="INFO">${reference} = netconf_scale_txt_mdsal_create_test_data_for_direct_access</msg>
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.327491" elapsed="0.000214"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.328240" level="INFO">${msg} = ... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_create_test_data_for_direct_access"
reference somewhere inside)</msg>
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.327860" elapsed="0.000407"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.328747" level="INFO">${bugs} = "https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_create_test_data_for_direct_access&amp;order=bug_status"</msg>
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.328419" elapsed="0.000355"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.329353" level="INFO">Set test message to:
... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_create_test_data_for_direct_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_create_test_data_for_direct_access&amp;order=bug_status"

ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.328923" elapsed="0.000480"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.329851" level="INFO">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_create_test_data_for_direct_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_create_test_data_for_direct_access&amp;order=bug_status"</msg>
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.329550" elapsed="0.000347"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.325404" elapsed="0.004545"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.319974" elapsed="0.010059"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.318628" elapsed="0.011447"/>
</kw>
<doc>Send some sample test data into the device and check that the request went OK.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.094957" elapsed="0.235157">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_create_test_data_for_direct_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_create_test_data_for_direct_access&amp;order=bug_status"

ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</test>
<test id="s1-s3-t2" name="Run_RestPerfClient_Directly_On_MDSAL" line="49">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.333938" level="FAIL">SKIPPED due to a failure in a previous fundamental test case.</msg>
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.333670" elapsed="0.000327">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.333440" elapsed="0.000619">SKIPPED due to a failure in a previous fundamental test case.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.333422" elapsed="0.000667">SKIPPED due to a failure in a previous fundamental test case.</status>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.333259" elapsed="0.000913">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.334330" elapsed="0.000022"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.331078" elapsed="0.003357">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.335714" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.335397" elapsed="0.000359"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.335029" elapsed="0.000776"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.336607" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.336224" elapsed="0.000445"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.336206" elapsed="0.000487"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.336834" elapsed="0.000301"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.342106" level="INFO">${test_skipped} = True</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.341718" elapsed="0.000414"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="PASS" start="2026-04-11T23:13:58.342345" elapsed="0.000026"/>
</return>
<status status="PASS" start="2026-04-11T23:13:58.342205" elapsed="0.000195"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.342187" elapsed="0.000236"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.342565" elapsed="0.000036"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.342747" elapsed="0.000020"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.342912" elapsed="0.000019"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.343072" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.343257" elapsed="0.000021"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.343419" elapsed="0.000020"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.343591" elapsed="0.000020"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.341406" elapsed="0.002260"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.336012" elapsed="0.007737"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.334734" elapsed="0.009057"/>
</kw>
<doc>Deploy and execute restperfclient, asking it to send the specified amount of requests to the MDSAL via Restconf.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.330440" elapsed="0.013388">Setup failed:
SKIPPED due to a failure in a previous fundamental test case.</status>
</test>
<test id="s1-s3-t3" name="Check_For_Failed_Direct_MDSAL_Requests" line="54">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:13:58.347319" elapsed="0.000202"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:13:58.347046" elapsed="0.000542"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:58.348532" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.348425" elapsed="0.000166"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.348407" elapsed="0.000207"/>
</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-11T23:13:58.353440" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.353337" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.353319" elapsed="0.000188"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.354485" level="INFO">${return_list_reference} = [1]</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-11T23:13:58.354107" elapsed="0.000405"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.354974" level="INFO">${return_list_copy} = [1]</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-11T23:13:58.354683" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:58.355043" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:13:58.355224" level="INFO">${index_list} = [1]</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-11T23:13:58.353743" elapsed="0.001506"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:58.360730" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.360622" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.360603" elapsed="0.000195"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:58.361977" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.361871" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.361853" elapsed="0.000191"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.362475" level="INFO">${karaf_connection_index} = 34</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="PASS" start="2026-04-11T23:13:58.362184" elapsed="0.000317"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.362886" level="INFO">${current_connection_index} = 32</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.362672" elapsed="0.000239"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.363666" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.363409" elapsed="0.000827">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.364415" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:58.364459" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.363064" elapsed="0.001418"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.365226" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.364990" elapsed="0.000879">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.366049" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:58.366094" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.364659" elapsed="0.001457"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.367011" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Direct_MDSAL_Requests"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.366405" elapsed="0.000665">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Direct_MDSAL_Requests"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.366191" elapsed="0.000943">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Direct_MDSAL_Requests"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.366172" elapsed="0.001054">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Direct_MDSAL_Requests"</status>
</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-04-11T23:13:58.367388" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.367631" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.367476" elapsed="0.000213"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.367460" elapsed="0.000252"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.367745" elapsed="0.000016"/>
</return>
<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">
<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-11T23:13:58.370157" elapsed="0.000142"/>
</kw>
<msg time="2026-04-11T23:13:58.370359" 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-11T23:13:58.369132" elapsed="0.001352"/>
</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-11T23:13:58.370779" elapsed="0.000074"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.371103" elapsed="0.000090"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.368526" elapsed="0.002775"/>
</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="PASS" start="2026-04-11T23:13:58.367998" elapsed="0.003365"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.361550" elapsed="0.009893">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Direct_MDSAL_Requests"</status>
</kw>
<msg time="2026-04-11T23:13:58.371541" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.371602" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Direct_MDSAL_Requests"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:58.360993" elapsed="0.010634"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.371816" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.371703" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.371684" elapsed="0.000196"/>
</if>
<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-11T23:13:58.372832" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.372729" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.372710" elapsed="0.000188"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.373161" level="INFO">index=32
host=10.30.171.36
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-11T23:13:58.373262" level="INFO">${current_ssh_connection_object} = index=32
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.373044" elapsed="0.000244"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.373701" level="INFO">{1: 34}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.373434" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.374131" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.373895" elapsed="0.000278"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:58.374717" elapsed="0.000254"/>
</kw>
<msg time="2026-04-11T23:13:58.375067" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:58.375112" level="INFO">${old_connection_index} = 34</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-11T23:13:58.374325" elapsed="0.000809"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.375978" elapsed="0.000188"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.377203" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.376815" elapsed="0.001212">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.376328" elapsed="0.001794"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.378838" elapsed="0.000265"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.378289" elapsed="0.000923"/>
</kw>
<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="PASS" start="2026-04-11T23:13:58.375440" elapsed="0.003817"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.375223" elapsed="0.004122"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.375205" elapsed="0.004165"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.380203" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:58.379902" elapsed="0.000327"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:58.380277" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.380426" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.379585" elapsed="0.000865"/>
</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="PASS" start="2026-04-11T23:13:58.380615" elapsed="0.000405"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.381287" level="INFO">index=35
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:58.381385" level="INFO">${karaf_connection_object} = index=35
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.381183" elapsed="0.000227"/>
</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="PASS" start="2026-04-11T23:13:58.381554" elapsed="0.002407"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.384377" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:58.385189" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:58.384118" elapsed="0.001434">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:58.398860" elapsed="0.000414"/>
</kw>
<msg time="2026-04-11T23:13:58.399359" 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-11T23:13:58.397297" elapsed="0.002206"/>
</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-11T23:13:58.399675" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.399834" elapsed="0.000020"/>
</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-11T23:13:58.386330" elapsed="0.013583"/>
</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-11T23:13:58.385833" elapsed="0.014124"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.372425" elapsed="0.027609">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.400361" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.400432" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.360275" elapsed="0.040259">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:58.400652" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.400695" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:58.355621" elapsed="0.045096"/>
</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-11T23:13:58.401039" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.400793" elapsed="0.000299"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.400775" elapsed="0.000339"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:58.355468" elapsed="0.045669"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:58.355300" elapsed="0.045865"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:58.352986" elapsed="0.048232"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:58.348143" elapsed="0.053169"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.347733" elapsed="0.053623"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:13:58.344971" elapsed="0.056436"/>
</kw>
<kw name="Grep_Restperfclient_Log" owner="RestPerfClient">
<kw name="Should Not Be Equal" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.402270" level="FAIL">'' == ''</msg>
<arg>'${RestPerfClient__restperfclientlog}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are equal.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.401929" elapsed="0.000401">'' == ''</status>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${result}</var>
<arg>grep '${pattern}' ${RestPerfClient__restperfclientlog}</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.402495" elapsed="0.000021"/>
</kw>
<return>
<value>${result}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.402559" elapsed="0.000272"/>
</return>
<var>${result}</var>
<arg>thread timed out</arg>
<doc>Search for the specified string in the log file produced by latest invocation of RestPerfClient</doc>
<status status="FAIL" start="2026-04-11T23:13:58.401639" elapsed="0.001281">'' == ''</status>
</kw>
<kw name="Should Be Equal" owner="BuiltIn">
<arg>'${result}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are unequal.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.403077" elapsed="0.000027"/>
</kw>
<kw name="Grep_Restperfclient_Log" owner="RestPerfClient">
<var>${result}</var>
<arg>Request failed</arg>
<doc>Search for the specified string in the log file produced by latest invocation of RestPerfClient</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.403331" elapsed="0.000023"/>
</kw>
<kw name="Should Be Equal" owner="BuiltIn">
<arg>'${result}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are unequal.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.403499" elapsed="0.000020"/>
</kw>
<kw name="Grep_Restperfclient_Log" owner="RestPerfClient">
<var>${result}</var>
<arg>Status code</arg>
<doc>Search for the specified string in the log file produced by latest invocation of RestPerfClient</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.403735" elapsed="0.000022"/>
</kw>
<kw name="Should Be Equal" owner="BuiltIn">
<arg>'${result}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are unequal.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.403909" elapsed="0.000021"/>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.405172" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.404870" elapsed="0.000344"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.404504" elapsed="0.000759"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.406090" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.405704" elapsed="0.000445"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.405686" elapsed="0.000487"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.406314" elapsed="0.000454"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.411936" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.411528" elapsed="0.000435"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:58.412175" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.412036" elapsed="0.000179"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.412018" elapsed="0.000218"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.412683" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.412377" elapsed="0.000332"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:58.413112" level="INFO">${reference} = netconf_scale_txt_Mdsal_Check_For_Failed_Direct_MDSAL_Requests</msg>
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.412860" elapsed="0.000277"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<msg time="2026-04-11T23:13:58.413458" level="INFO">${reference} = netconf_scale_txt_mdsal_check_for_failed_direct_mdsal_requests</msg>
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.413290" elapsed="0.000193"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.413992" level="INFO">${msg} = ... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_check_for_failed_direct_mdsal_requests"
reference somewhere inside)</msg>
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.413643" elapsed="0.000376"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.414473" level="INFO">${bugs} = "https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_check_for_failed_direct_mdsal_requests&amp;order=bug_status"</msg>
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.414167" elapsed="0.000334"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.415162" level="INFO">Set test message to:
... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_check_for_failed_direct_mdsal_requests"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_check_for_failed_direct_mdsal_requests&amp;order=bug_status"

'' == ''</msg>
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.414714" elapsed="0.000498"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.415667" level="INFO">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_check_for_failed_direct_mdsal_requests"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_check_for_failed_direct_mdsal_requests&amp;order=bug_status"</msg>
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.415360" elapsed="0.000354"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.411227" elapsed="0.004540"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.405470" elapsed="0.010346"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.404202" elapsed="0.011654"/>
</kw>
<doc>Make sure there are no failed requests in the restperfclient log.
This is a separate test case to distinguish between restperfclient
failure and failed requests. Failed requests are rejected because
we don't want to test performance of ODL rejecting our requests.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.344113" elapsed="0.071780">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_check_for_failed_direct_mdsal_requests"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_check_for_failed_direct_mdsal_requests&amp;order=bug_status"

'' == ''</status>
</test>
<test id="s1-s3-t4" name="Cleanup_And_Collect_For_Direct_Access" line="67">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:13:58.419180" elapsed="0.000205"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:13:58.418888" elapsed="0.000550"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:58.420417" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.420304" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.420286" elapsed="0.000198"/>
</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-11T23:13:58.425315" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.425202" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.425184" elapsed="0.000199"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.426371" level="INFO">${return_list_reference} = [1]</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-11T23:13:58.425992" elapsed="0.000406"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.426866" level="INFO">${return_list_copy} = [1]</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-11T23:13:58.426553" elapsed="0.000338"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:58.426936" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:13:58.427086" level="INFO">${index_list} = [1]</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-11T23:13:58.425612" elapsed="0.001498"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:58.432566" elapsed="0.000030"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.432458" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.432439" elapsed="0.000211"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:58.433790" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.433685" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.433667" elapsed="0.000190"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.434281" level="INFO">${karaf_connection_index} = 35</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="PASS" start="2026-04-11T23:13:58.433996" elapsed="0.000311"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.434690" level="INFO">${current_connection_index} = 32</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.434464" elapsed="0.000251"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.435448" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.435213" elapsed="0.000820">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.436211" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:58.436287" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.434869" elapsed="0.001443"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.437063" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.436826" elapsed="0.000879">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.437885" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:58.437930" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.436476" elapsed="0.001476"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.438849" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Direct_Access"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.438246" elapsed="0.000663">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Direct_Access"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.438027" elapsed="0.000948">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Direct_Access"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.438009" elapsed="0.000997">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Direct_Access"</status>
</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-04-11T23:13:58.439180" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.439403" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.439266" elapsed="0.000188"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.439250" elapsed="0.000226"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.439508" elapsed="0.000015"/>
</return>
<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">
<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-11T23:13:58.441896" elapsed="0.000141"/>
</kw>
<msg time="2026-04-11T23:13:58.442095" 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-11T23:13:58.440898" elapsed="0.001320"/>
</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-11T23:13:58.442476" elapsed="0.000073"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.442827" elapsed="0.000071"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.440291" elapsed="0.002712"/>
</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="PASS" start="2026-04-11T23:13:58.439774" elapsed="0.003290"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.433365" elapsed="0.009804">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Direct_Access"</status>
</kw>
<msg time="2026-04-11T23:13:58.443271" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.443313" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Direct_Access"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:58.432798" elapsed="0.010538"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.443517" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.443411" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.443393" elapsed="0.000207"/>
</if>
<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-11T23:13:58.445714" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.445605" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.445586" elapsed="0.000196"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.446041" level="INFO">index=32
host=10.30.171.36
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-11T23:13:58.446142" level="INFO">${current_ssh_connection_object} = index=32
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.445929" elapsed="0.000240"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.446633" level="INFO">{1: 35}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.446316" elapsed="0.000365"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.447070" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.446831" elapsed="0.000295"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:58.447713" elapsed="0.000253"/>
</kw>
<msg time="2026-04-11T23:13:58.448064" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:58.448109" level="INFO">${old_connection_index} = 35</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-11T23:13:58.447281" elapsed="0.000851"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.448935" elapsed="0.000186"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.450146" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.449758" elapsed="0.001303">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.449284" elapsed="0.001888"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.451802" elapsed="0.000263"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.451340" elapsed="0.000805"/>
</kw>
<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="PASS" start="2026-04-11T23:13:58.448422" elapsed="0.003769"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.448207" elapsed="0.004032"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.448188" elapsed="0.004075"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.453095" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:58.452793" elapsed="0.000328"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:58.453168" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.453316" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.452462" elapsed="0.000878"/>
</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="PASS" start="2026-04-11T23:13:58.453489" elapsed="0.000406"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.454162" level="INFO">index=36
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:58.454260" level="INFO">${karaf_connection_object} = index=36
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.454058" elapsed="0.000229"/>
</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="PASS" start="2026-04-11T23:13:58.454429" elapsed="0.002271"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.457116" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:58.458010" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:58.456861" elapsed="0.001509">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:58.471899" elapsed="0.000377"/>
</kw>
<msg time="2026-04-11T23:13:58.472361" 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-11T23:13:58.470322" elapsed="0.002182"/>
</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-11T23:13:58.472678" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.472839" elapsed="0.000020"/>
</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-11T23:13:58.459170" elapsed="0.013749"/>
</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-11T23:13:58.458650" elapsed="0.014314"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.445299" elapsed="0.027742">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.473363" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.473467" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.432121" elapsed="0.041462">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:58.473687" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.473731" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:58.427484" elapsed="0.046269"/>
</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-11T23:13:58.474072" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.473828" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.473811" elapsed="0.000337"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:58.427343" elapsed="0.046828"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:58.427178" elapsed="0.047021"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:58.424849" elapsed="0.049402"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:58.420010" elapsed="0.054294"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.419599" elapsed="0.054748"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:13:58.416759" elapsed="0.057637"/>
</kw>
<kw name="Collect_From_Restperfclient" owner="RestPerfClient">
<kw name="Should Not Be Equal" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.475224" level="FAIL">'' == ''</msg>
<arg>'${RestPerfClient__restperfclientlog}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are equal.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.474875" elapsed="0.000408">'' == ''</status>
</kw>
<kw name="Get File" owner="SSHLibrary">
<arg>${RestPerfClient__restperfclientlog}</arg>
<doc>Downloads file(s) from the remote machine to the local machine.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.475444" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${RestPerfClient__restperfclientlog}</arg>
<arg>${EMPTY}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.475900" elapsed="0.000022"/>
</kw>
<doc>Collect useful data produced by restperfclient</doc>
<status status="FAIL" start="2026-04-11T23:13:58.474612" elapsed="0.001397">'' == ''</status>
</kw>
<kw name="Delete_Templated" owner="TemplatedRequests">
<arg>${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}cars-delete</arg>
<doc>Resolve URI from folder, issue DELETE request.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.476224" elapsed="0.000023"/>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.477466" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.477166" elapsed="0.000342"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.476824" elapsed="0.000733"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.478352" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.477988" elapsed="0.000423"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.477970" elapsed="0.000464"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.478588" elapsed="0.000307"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.483864" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.483455" elapsed="0.000436"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:58.484102" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.483964" elapsed="0.000178"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.483946" elapsed="0.000217"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.484607" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.484303" elapsed="0.000331"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:58.485036" level="INFO">${reference} = netconf_scale_txt_Mdsal_Cleanup_And_Collect_For_Direct_Access</msg>
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.484785" elapsed="0.000276"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<msg time="2026-04-11T23:13:58.485381" level="INFO">${reference} = netconf_scale_txt_mdsal_cleanup_and_collect_for_direct_access</msg>
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.485213" elapsed="0.000225"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.485942" level="INFO">${msg} = ... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_cleanup_and_collect_for_direct_access"
reference somewhere inside)</msg>
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.485602" elapsed="0.000366"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.486412" level="INFO">${bugs} = "https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_cleanup_and_collect_for_direct_access&amp;order=bug_status"</msg>
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.486114" elapsed="0.000325"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.487025" level="INFO">Set test message to:
... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_cleanup_and_collect_for_direct_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_cleanup_and_collect_for_direct_access&amp;order=bug_status"

'' == ''</msg>
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.486600" elapsed="0.000474"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.487521" level="INFO">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_cleanup_and_collect_for_direct_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_cleanup_and_collect_for_direct_access&amp;order=bug_status"</msg>
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.487237" elapsed="0.000344"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.483156" elapsed="0.004481"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.477781" elapsed="0.009904"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.476517" elapsed="0.011208"/>
</kw>
<doc>Cleanup the test data produced by the direct MDSAL access.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.416217" elapsed="0.071545">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_cleanup_and_collect_for_direct_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_cleanup_and_collect_for_direct_access&amp;order=bug_status"

'' == ''</status>
</test>
<test id="s1-s3-t5" name="Create_Test_Data_For_Connector_Access" line="73">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:13:58.491048" elapsed="0.000233"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:13:58.490791" elapsed="0.000542"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:58.492297" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.492191" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.492172" elapsed="0.000194"/>
</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-11T23:13:58.497157" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.497051" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.497033" elapsed="0.000191"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.498201" level="INFO">${return_list_reference} = [1]</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-11T23:13:58.497829" elapsed="0.000398"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.498687" level="INFO">${return_list_copy} = [1]</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-11T23:13:58.498383" elapsed="0.000329"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:58.498756" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.498907" level="INFO">${index_list} = [1]</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-11T23:13:58.497443" elapsed="0.001489"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:58.504213" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.504108" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.504089" elapsed="0.000191"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:58.505392" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.505288" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.505269" elapsed="0.000190"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.505910" level="INFO">${karaf_connection_index} = 36</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="PASS" start="2026-04-11T23:13:58.505621" elapsed="0.000345"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.506335" level="INFO">${current_connection_index} = 32</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.506123" elapsed="0.000238"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.507112" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.506860" elapsed="0.000959">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.508005" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:58.508050" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.506516" elapsed="0.001557"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.508815" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.508581" elapsed="0.000895">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.509672" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:58.509717" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.508238" elapsed="0.001502"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.510639" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Connector_Access"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.510033" elapsed="0.000667">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Connector_Access"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.509814" elapsed="0.000950">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Connector_Access"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.509795" elapsed="0.001000">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Connector_Access"</status>
</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-04-11T23:13:58.510949" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.511189" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.511034" elapsed="0.000207"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.511018" elapsed="0.000245"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.511295" elapsed="0.000015"/>
</return>
<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">
<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-11T23:13:58.513701" elapsed="0.000138"/>
</kw>
<msg time="2026-04-11T23:13:58.513898" 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-11T23:13:58.512686" elapsed="0.001335"/>
</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-11T23:13:58.514427" elapsed="0.000076"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.514795" elapsed="0.000072"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.512075" elapsed="0.002897"/>
</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="PASS" start="2026-04-11T23:13:58.511545" elapsed="0.003490"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.504992" elapsed="0.010143">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Connector_Access"</status>
</kw>
<msg time="2026-04-11T23:13:58.515236" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.515279" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Create_Test_Data_For_Connector_Access"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:58.504427" elapsed="0.010875"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.515483" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.515376" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.515358" elapsed="0.000189"/>
</if>
<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-11T23:13:58.516359" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.516255" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.516237" elapsed="0.000188"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.516697" level="INFO">index=32
host=10.30.171.36
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-11T23:13:58.516863" level="INFO">${current_ssh_connection_object} = index=32
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.516585" elapsed="0.000306"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.517290" level="INFO">{1: 36}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.517040" elapsed="0.000293"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.517735" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.517482" elapsed="0.000296"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:58.518309" elapsed="0.000253"/>
</kw>
<msg time="2026-04-11T23:13:58.518723" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:58.518770" level="INFO">${old_connection_index} = 36</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-11T23:13:58.517937" elapsed="0.000855"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.519607" elapsed="0.000190"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.520827" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.520424" elapsed="0.001399">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.519966" elapsed="0.001955"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.522536" elapsed="0.000368"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.522089" elapsed="0.000896"/>
</kw>
<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="PASS" start="2026-04-11T23:13:58.519100" elapsed="0.003930"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.518867" elapsed="0.004237"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.518849" elapsed="0.004283"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.523966" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:58.523666" elapsed="0.000327"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:58.524041" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.524189" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.523334" elapsed="0.000879"/>
</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="PASS" start="2026-04-11T23:13:58.524361" elapsed="0.000420"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.525094" level="INFO">index=37
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:58.525194" level="INFO">${karaf_connection_object} = index=37
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.524980" elapsed="0.000239"/>
</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="PASS" start="2026-04-11T23:13:58.525363" elapsed="0.002222"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.528002" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:58.528850" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:58.527745" elapsed="0.001466">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:58.542333" elapsed="0.000447"/>
</kw>
<msg time="2026-04-11T23:13:58.542866" 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-11T23:13:58.541125" elapsed="0.001885"/>
</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-11T23:13:58.543192" elapsed="0.000023"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.543353" elapsed="0.000021"/>
</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-11T23:13:58.529995" elapsed="0.013438"/>
</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-11T23:13:58.529476" elapsed="0.014037"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.515944" elapsed="0.027665">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.543941" elapsed="0.000026"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.544013" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.503778" elapsed="0.040335">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:58.544214" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.544256" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:58.499300" elapsed="0.044979"/>
</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-11T23:13:58.544792" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.544355" elapsed="0.000493"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.544336" elapsed="0.000535"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:58.499162" elapsed="0.045733"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:58.498981" elapsed="0.045943"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:58.496696" elapsed="0.048280"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:58.491909" elapsed="0.053121"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.491480" elapsed="0.053593"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:13:58.488470" elapsed="0.056653"/>
</kw>
<kw name="Post_As_Xml_Templated" owner="TemplatedRequests">
<kw name="Post_Templated" owner="TemplatedRequests">
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.580177" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/location.uri</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.579807" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.580916" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars.titanium/location.uri' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.580702" elapsed="0.000276">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars.titanium/location.uri' does not exist.</status>
</kw>
<msg time="2026-04-11T23:13:58.581071" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:58.580363" elapsed="0.000732"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.581641" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/location.uri</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:58.581250" elapsed="0.000417"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.581957" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/location.uri"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/location.uri&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:13:58.582096" level="INFO">${template} = rests/data
</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.581823" elapsed="0.000298"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.582507" level="INFO">rests/data
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.582270" elapsed="0.000280"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.583525" level="INFO">mapping: {}</msg>
<arg>mapping: ${mapping}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.583276" elapsed="0.000307"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.584000" level="INFO">${encoded_mapping} = {}</msg>
<var>${encoded_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.583739" elapsed="0.000286"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Convert To String" owner="BuiltIn">
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.584371" elapsed="0.000021"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.584592" elapsed="0.000025"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.584764" elapsed="0.000021"/>
</kw>
<var name="${key}"/>
<var name="${value}"/>
<status status="NOT RUN" start="2026-04-11T23:13:58.584240" elapsed="0.000581"/>
</iter>
<var>${key}</var>
<var>${value}</var>
<value>&amp;{mapping}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.584071" elapsed="0.000779"/>
</for>
<return>
<value>${encoded_mapping}</value>
<status status="PASS" start="2026-04-11T23:13:58.584892" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.585051" level="INFO">${mapping_to_use} = {}</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="PASS" start="2026-04-11T23:13:58.582943" elapsed="0.002132"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.582631" elapsed="0.002476"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.585273" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.585131" elapsed="0.000196"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.582612" elapsed="0.002736"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.586013" level="INFO">${final_text} = rests/data</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.585484" elapsed="0.000560"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:13:58.586099" elapsed="0.000032"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:13:58.579190" elapsed="0.007050"/>
</kw>
<msg time="2026-04-11T23:13:58.586299" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.566826" elapsed="0.019532"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.598619" elapsed="0.000027"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.610673" elapsed="0.000029"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.622916" elapsed="0.000028"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.623143" elapsed="0.000022"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.623318" elapsed="0.000020"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.623693" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.623536" elapsed="0.000212"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.623521" elapsed="0.000250"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.623923" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.624090" elapsed="0.000020"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.624289" elapsed="0.000020"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:13:58.623493" elapsed="0.000850"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.623393" elapsed="0.000975"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.624510" elapsed="0.000020"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.624599" elapsed="0.000017"/>
</return>
<msg time="2026-04-11T23:13:58.624712" level="INFO">${uri} = rests/data</msg>
<var>${uri}</var>
<arg>folder=${folder}</arg>
<arg>base_name=location</arg>
<arg>extension=uri</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=True</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:13:58.562657" elapsed="0.062080"/>
</kw>
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.648690" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/post_data.xml</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.648308" elapsed="0.000411"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.649400" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars.titanium/post_data.xml' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.649198" elapsed="0.000265">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars.titanium/post_data.xml' does not exist.</status>
</kw>
<msg time="2026-04-11T23:13:58.649554" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:58.648876" elapsed="0.000716"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.650145" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/post_data.xml</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:58.649753" elapsed="0.000419"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.650460" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/post_data.xml"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/post_data.xml&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:13:58.650657" level="INFO">${template} = &lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;
</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.650328" elapsed="0.000361"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.651101" level="INFO">&lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.650843" elapsed="0.000304"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="NOT RUN" start="2026-04-11T23:13:58.651497" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.651213" elapsed="0.000340"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.652037" level="INFO">${mapping_to_use} = {}</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.651747" elapsed="0.000315"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.651603" elapsed="0.000494"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.651195" elapsed="0.000923"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.652683" level="INFO">${final_text} = &lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.652259" elapsed="0.000453"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:13:58.652761" elapsed="0.000029"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:13:58.647703" elapsed="0.005181"/>
</kw>
<msg time="2026-04-11T23:13:58.652936" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.635491" elapsed="0.017529"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.665198" elapsed="0.000027"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.677225" elapsed="0.000026"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.689260" elapsed="0.000027"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.689449" elapsed="0.000022"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.689634" elapsed="0.000021"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.689990" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.689850" elapsed="0.000195"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.689835" elapsed="0.000232"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.690204" elapsed="0.000020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.690367" elapsed="0.000019"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.690527" elapsed="0.000020"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:13:58.689807" elapsed="0.000786"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.689708" elapsed="0.000911"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.690761" elapsed="0.000020"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.690835" elapsed="0.000015"/>
</return>
<msg time="2026-04-11T23:13:58.690951" level="INFO">${data} = &lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;</msg>
<var>${data}</var>
<arg>folder=${folder}</arg>
<arg>name_prefix=post_</arg>
<arg>base_name=${base_name}</arg>
<arg>extension=${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>endline=${endline}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:13:58.634629" elapsed="0.056350"/>
</kw>
<kw name="Resolve_Jmes_Path" owner="TemplatedRequests">
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:13:58.692214" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/jmespath.expr' does not exist.</msg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.691985" elapsed="0.000291">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/RestPerfClient/cars/jmespath.expr' does not exist.</status>
</kw>
<msg time="2026-04-11T23:13:58.692367" level="INFO">${read_jmes_file} = False</msg>
<var>${read_jmes_file}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:58.691655" elapsed="0.000736"/>
</kw>
<if>
<branch type="IF" condition="${read_jmes_file} == ${true}">
<kw name="Get File" owner="OperatingSystem">
<var>${jmes_expression}</var>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.692753" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.692495" elapsed="0.000315"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.693277" level="INFO">${jmes_expression} = None</msg>
<var>${jmes_expression}</var>
<arg>${None}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.692990" elapsed="0.000313"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.692833" elapsed="0.000504"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.692476" elapsed="0.000882"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.695685" level="INFO">${expression} = </msg>
<var>${expression}</var>
<arg>${read_jmes_file} == ${true}</arg>
<arg>${jmes_expression}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:58.693505" elapsed="0.002214"/>
</kw>
<return>
<value>${expression}</value>
<status status="PASS" start="2026-04-11T23:13:58.695771" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.695924" level="INFO">${jmes_expression} = </msg>
<var>${jmes_expression}</var>
<arg>${folder}</arg>
<doc>Reads JMES path from file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/restperfclient/../../../variables/netconf/RestPerfClient/cars/jmespath.expr if the file exists and
returns the JMES path. Empty string is returned otherwise.</doc>
<status status="PASS" start="2026-04-11T23:13:58.691322" elapsed="0.004627"/>
</kw>
<kw name="Post_To_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.697447" level="INFO">rests/data</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.697204" elapsed="0.000288"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.697888" level="INFO">&lt;cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"&gt;
  &lt;car-entry&gt;
    &lt;id&gt;KEEP&lt;/id&gt;
  &lt;/car-entry&gt;
&lt;/cars&gt;</msg>
<arg>${data}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.697655" elapsed="0.000278"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.698315" level="INFO">{'Content-Type': 'application/xml'}</msg>
<arg>${content_type}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.698078" elapsed="0.000279"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.698760" level="INFO">{'Accept': 'application/xml'}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.698508" elapsed="0.000295"/>
</kw>
<kw name="Join_Two_Headers" owner="TemplatedRequests">
<kw name="Copy Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.699608" level="INFO">${accumulator} = {'Content-Type': 'application/xml'}</msg>
<var>${accumulator}</var>
<arg>${first}</arg>
<doc>Returns a copy of the given dictionary.</doc>
<status status="PASS" start="2026-04-11T23:13:58.699403" elapsed="0.000232"/>
</kw>
<kw name="Get Dictionary Items" owner="Collections">
<msg time="2026-04-11T23:13:58.699957" level="INFO">${items_to_add} = ['Accept', 'application/xml']</msg>
<var>${items_to_add}</var>
<arg>${second}</arg>
<doc>Returns items of the given ``dictionary`` as a list.</doc>
<status status="PASS" start="2026-04-11T23:13:58.699782" elapsed="0.000200"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${accumulator}</arg>
<arg>@{items_to_add}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.700125" elapsed="0.000196"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.700728" level="INFO">{'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<arg>${accumulator}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.700470" elapsed="0.000301"/>
</kw>
<return>
<value>${accumulator}</value>
<status status="PASS" start="2026-04-11T23:13:58.700813" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.700969" level="INFO">${headers} = {'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<var>${headers}</var>
<arg>first=${content_type}</arg>
<arg>second=${accept}</arg>
<doc>Take two dicts, join them, return result. Second argument values take precedence.</doc>
<status status="PASS" start="2026-04-11T23:13:58.699011" elapsed="0.001983"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="POST On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:58.705769" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.703275" elapsed="0.004114">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.701063" elapsed="0.006409">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="POST On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.707677" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.707505" elapsed="0.000238"/>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.701046" elapsed="0.006720">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>additional_allowed_status_codes=${additional_allowed_status_codes}</arg>
<arg>explicit_status_codes=${explicit_status_codes}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.708131" elapsed="0.000024"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.708263" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.708227" elapsed="0.000076"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.708210" elapsed="0.000145"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.708499" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.708564" elapsed="0.000031"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>data=${data}</arg>
<arg>content_type=${content_type}</arg>
<arg>accept=${accept}</arg>
<arg>session=${session}</arg>
<arg>jmes_path=${jmes_expression}</arg>
<arg>normalize_json=${normalize_json}</arg>
<arg>additional_allowed_status_codes=${additional_allowed_status_codes}</arg>
<arg>explicit_status_codes=${explicit_status_codes}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>POST data to given URI, check status code and return response text.
${content_type} and ${accept} are mandatory Python objects with headers to use.
If ${normalize_json}, normalize text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.696270" elapsed="0.012414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.708763" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>folder=${folder}</arg>
<arg>base_name=data</arg>
<arg>extension=xml</arg>
<arg>accept=${ACCEPT_XML}</arg>
<arg>content_type=${HEADERS_XML}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=False</arg>
<arg>endline=${\n}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>additional_allowed_status_codes=${additional_allowed_status_codes}</arg>
<arg>explicit_status_codes=${explicit_status_codes}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve URI and data from folder, call Post_To_Uri, return response text.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.551756" elapsed="0.157100">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<if>
<branch type="IF" condition="${verify}">
<kw name="Verify_Response_As_Xml_Templated" owner="TemplatedRequests">
<arg>response=${response_text}</arg>
<arg>folder=${folder}</arg>
<arg>base_name=response</arg>
<arg>mapping=${mapping}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve expected XML data, should be equal to provided ${response}.
Endline set to empty, as this Resource does not support indented XML comparison.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.709140" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.708966" elapsed="0.000239"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.708949" elapsed="0.000279"/>
</if>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.709260" elapsed="0.000014"/>
</return>
<arg>${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}cars</arg>
<doc>Add arguments sensible for XML data, return Post_Templated response text.
Optionally, verification against response.xml (no iteration) is called.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.545369" elapsed="0.163983">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.710630" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.710310" elapsed="0.000363"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.709952" elapsed="0.000770"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.711526" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.711156" elapsed="0.000448"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.711138" elapsed="0.000491"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.711772" elapsed="0.000302"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.716956" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.716545" elapsed="0.000438"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:58.717197" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.717057" elapsed="0.000179"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.717039" elapsed="0.000218"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.717711" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.717397" elapsed="0.000340"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:58.718157" level="INFO">${reference} = netconf_scale_txt_Mdsal_Create_Test_Data_For_Connector_Access</msg>
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.717887" elapsed="0.000296"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<msg time="2026-04-11T23:13:58.718514" level="INFO">${reference} = netconf_scale_txt_mdsal_create_test_data_for_connector_access</msg>
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.718336" elapsed="0.000203"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.719061" level="INFO">${msg} = ... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_create_test_data_for_connector_access"
reference somewhere inside)</msg>
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.718703" elapsed="0.000420"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.719600" level="INFO">${bugs} = "https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_create_test_data_for_connector_access&amp;order=bug_status"</msg>
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.719277" elapsed="0.000351"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.720223" level="INFO">Set test message to:
... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_create_test_data_for_connector_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_create_test_data_for_connector_access&amp;order=bug_status"

ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.719779" elapsed="0.000495"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.720725" level="INFO">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_create_test_data_for_connector_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_create_test_data_for_connector_access&amp;order=bug_status"</msg>
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.720422" elapsed="0.000349"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.716243" elapsed="0.004582"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.710931" elapsed="0.009944"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.709655" elapsed="0.011270"/>
</kw>
<doc>Create the test data container again so it is ready for the netconf connector test.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.487956" elapsed="0.233007">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_create_test_data_for_connector_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_create_test_data_for_connector_access&amp;order=bug_status"

ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</test>
<test id="s1-s3-t6" name="Configure_ODL_As_A_Device_On_Netconf" line="78">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.725055" level="FAIL">SKIPPED due to a failure in a previous fundamental test case.</msg>
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.724790" elapsed="0.000325">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.724555" elapsed="0.000621">SKIPPED due to a failure in a previous fundamental test case.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.724536" elapsed="0.000671">SKIPPED due to a failure in a previous fundamental test case.</status>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.724371" elapsed="0.000920">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.725455" elapsed="0.000022"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.722008" elapsed="0.003554">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.726809" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.726491" elapsed="0.000359"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.726146" elapsed="0.000754"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.727714" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.727332" elapsed="0.000443"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.727315" elapsed="0.000483"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.727939" elapsed="0.000352"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.733149" level="INFO">${test_skipped} = True</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.732739" elapsed="0.000467"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="PASS" start="2026-04-11T23:13:58.733427" elapsed="0.000027"/>
</return>
<status status="PASS" start="2026-04-11T23:13:58.733283" elapsed="0.000201"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.733264" elapsed="0.000244"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.733669" elapsed="0.000022"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.733839" elapsed="0.000020"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.734006" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.734167" elapsed="0.000019"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.734328" elapsed="0.000019"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.734487" elapsed="0.000020"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.734661" elapsed="0.000020"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.732428" elapsed="0.002308"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.727124" elapsed="0.007661"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.725851" elapsed="0.008975"/>
</kw>
<doc>Configure ODL MDSAL Northbound as a Netconf device on a Netconf connector.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.721280" elapsed="0.013582">Setup failed:
SKIPPED due to a failure in a previous fundamental test case.</status>
</test>
<test id="s1-s3-t7" name="Run_RestPerfClient_Through_Netconf_Connector" line="89">
<kw name="Setup_Test_With_Logging_And_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Fail_This_Fast_On_Previous_Error" owner="FailFast">
<if>
<branch type="IF" condition="'''${SuiteFastFail}'''=='True'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.738728" level="FAIL">SKIPPED due to a failure in a previous fundamental test case.</msg>
<arg>SKIPPED due to a failure in a previous fundamental test case.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.738448" elapsed="0.000340">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.738238" elapsed="0.000610">SKIPPED due to a failure in a previous fundamental test case.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.738220" elapsed="0.000660">SKIPPED due to a failure in a previous fundamental test case.</status>
</if>
<doc>Mark (immediately) this test case as failed when fast-fail is enabled in suite.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.738057" elapsed="0.000907">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.739134" elapsed="0.000022"/>
</kw>
<doc>Test case setup which skips on previous failure. If not, logs test case name to Karaf log.
Recommended to be used as the default test case setup.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.735779" elapsed="0.003460">SKIPPED due to a failure in a previous fundamental test case.</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.740461" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.740158" elapsed="0.000347"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.739810" elapsed="0.000776"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.741376" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.741011" elapsed="0.000426"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.740992" elapsed="0.000468"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.741617" elapsed="0.000303"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.746738" level="INFO">${test_skipped} = True</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.746331" elapsed="0.000434"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="PASS" start="2026-04-11T23:13:58.747034" elapsed="0.000029"/>
</return>
<status status="PASS" start="2026-04-11T23:13:58.746838" elapsed="0.000257"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.746820" elapsed="0.000298"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.747264" elapsed="0.000021"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.747430" elapsed="0.000020"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.747613" elapsed="0.000020"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.747777" elapsed="0.000019"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.747938" elapsed="0.000020"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.748097" elapsed="0.000020"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.748256" elapsed="0.000019"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.746031" elapsed="0.002305"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.740802" elapsed="0.007583"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.739504" elapsed="0.008922"/>
</kw>
<doc>Ask RestPerfClient to send the requests to the MDSAL mapped via netconf topology device.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.735180" elapsed="0.013281">Setup failed:
SKIPPED due to a failure in a previous fundamental test case.</status>
</test>
<test id="s1-s3-t8" name="Check_For_Failed_Netconf_Connector_Requests" line="95">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:13:58.752187" elapsed="0.000203"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:13:58.751929" elapsed="0.000515"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:58.753408" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.753301" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.753282" elapsed="0.000192"/>
</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-11T23:13:58.758269" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.758166" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.758147" elapsed="0.000189"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.759335" level="INFO">${return_list_reference} = [1]</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-11T23:13:58.758934" elapsed="0.000428"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.759823" level="INFO">${return_list_copy} = [1]</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-11T23:13:58.759518" elapsed="0.000331"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:58.759893" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:13:58.760045" level="INFO">${index_list} = [1]</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-11T23:13:58.758552" elapsed="0.001517"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:58.765318" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.765204" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.765185" elapsed="0.000200"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:58.766523" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.766413" elapsed="0.000175"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.766394" elapsed="0.000219"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.767062" level="INFO">${karaf_connection_index} = 37</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="PASS" start="2026-04-11T23:13:58.766754" elapsed="0.000334"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.767453" level="INFO">${current_connection_index} = 32</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.767242" elapsed="0.000236"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.768262" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.768019" elapsed="0.002004">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.770205" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:58.770251" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.767687" elapsed="0.002587"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.771059" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.770792" elapsed="0.000904">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.771876" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:58.771922" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.770439" elapsed="0.001506"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.772838" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Netconf_Connector_Requests"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.772237" elapsed="0.000666">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Netconf_Connector_Requests"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.772021" elapsed="0.000947">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Netconf_Connector_Requests"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.772002" elapsed="0.000997">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Netconf_Connector_Requests"</status>
</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-04-11T23:13:58.773155" elapsed="0.000023"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.773379" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.773241" elapsed="0.000190"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.773225" elapsed="0.000228"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.773485" elapsed="0.000015"/>
</return>
<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">
<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-11T23:13:58.775919" elapsed="0.000143"/>
</kw>
<msg time="2026-04-11T23:13:58.776122" 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-11T23:13:58.774877" elapsed="0.001367"/>
</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-11T23:13:58.776508" elapsed="0.000105"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.776865" elapsed="0.000071"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.774270" elapsed="0.002772"/>
</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="PASS" start="2026-04-11T23:13:58.773752" elapsed="0.003353"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.766109" elapsed="0.011076">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Netconf_Connector_Requests"</status>
</kw>
<msg time="2026-04-11T23:13:58.777283" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.777326" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Check_For_Failed_Netconf_Connector_Requests"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:58.765536" elapsed="0.011812"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.777530" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.777424" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.777405" elapsed="0.000209"/>
</if>
<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-11T23:13:58.778392" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.778288" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.778270" elapsed="0.000188"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.778734" level="INFO">index=32
host=10.30.171.36
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-11T23:13:58.778834" level="INFO">${current_ssh_connection_object} = index=32
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.778619" elapsed="0.000242"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.779343" level="INFO">{1: 37}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.779088" elapsed="0.000299"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.779843" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.779533" elapsed="0.000356"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:58.780397" elapsed="0.000267"/>
</kw>
<msg time="2026-04-11T23:13:58.780762" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:58.780807" level="INFO">${old_connection_index} = 37</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-11T23:13:58.780045" elapsed="0.000785"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.781693" elapsed="0.000197"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.782941" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.782516" elapsed="0.001525">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.782055" elapsed="0.002085"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.784777" elapsed="0.000271"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.784311" elapsed="0.000818"/>
</kw>
<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="PASS" start="2026-04-11T23:13:58.781122" elapsed="0.004054"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.780906" elapsed="0.004320"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.780887" elapsed="0.004363"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.786094" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:58.785794" elapsed="0.000326"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:58.786168" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.786319" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.785452" elapsed="0.000891"/>
</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="PASS" start="2026-04-11T23:13:58.786495" elapsed="0.000429"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.787211" level="INFO">index=38
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:58.787308" level="INFO">${karaf_connection_object} = index=38
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.787106" elapsed="0.000229"/>
</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="PASS" start="2026-04-11T23:13:58.787479" elapsed="0.002190"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.790086" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:58.790989" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:58.789829" elapsed="0.001521">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:58.804432" elapsed="0.000394"/>
</kw>
<msg time="2026-04-11T23:13:58.804912" 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-11T23:13:58.803173" elapsed="0.001882"/>
</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-11T23:13:58.805211" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.805370" elapsed="0.000020"/>
</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-11T23:13:58.792131" elapsed="0.013318"/>
</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-11T23:13:58.791632" elapsed="0.013863"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.778002" elapsed="0.027585">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.805949" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.806022" elapsed="0.000016"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.764867" elapsed="0.041256">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:58.806225" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.806268" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:58.760420" elapsed="0.045871"/>
</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-11T23:13:58.806903" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.806367" elapsed="0.000620"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.806349" elapsed="0.000662"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:58.760283" elapsed="0.046751"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:58.760119" elapsed="0.046944"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:58.757812" elapsed="0.049306"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:58.753020" elapsed="0.054153"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.752606" elapsed="0.054610"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:13:58.749656" elapsed="0.057611"/>
</kw>
<kw name="Set_Known_Bug_Id" owner="SetupUtils">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.808116" level="INFO">${SetupUtils__Known_Bug_ID} = 5581</msg>
<arg>${SetupUtils__Known_Bug_ID}</arg>
<arg>${id}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.807768" elapsed="0.000390"/>
</kw>
<arg>5581</arg>
<doc>Tell the Teardown keywords that any failure from now on is due to the specified known bug.</doc>
<status status="PASS" start="2026-04-11T23:13:58.807440" elapsed="0.000776"/>
</kw>
<kw name="Grep_Restperfclient_Log" owner="RestPerfClient">
<kw name="Should Not Be Equal" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.809057" level="FAIL">'' == ''</msg>
<arg>'${RestPerfClient__restperfclientlog}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are equal.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.808726" elapsed="0.000392">'' == ''</status>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${result}</var>
<arg>grep '${pattern}' ${RestPerfClient__restperfclientlog}</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.809283" elapsed="0.000021"/>
</kw>
<return>
<value>${result}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.809347" elapsed="0.000015"/>
</return>
<var>${result}</var>
<arg>thread timed out</arg>
<doc>Search for the specified string in the log file produced by latest invocation of RestPerfClient</doc>
<status status="FAIL" start="2026-04-11T23:13:58.808427" elapsed="0.001015">'' == ''</status>
</kw>
<kw name="Should Be Equal" owner="BuiltIn">
<arg>'${result}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are unequal.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.809614" elapsed="0.000021"/>
</kw>
<kw name="Set_Unknown_Bug_Id" owner="SetupUtils">
<doc>Tell the Teardown keywords that from now on there is no longer known bug causing the failure so it should use linked bugs.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.809802" elapsed="0.000023"/>
</kw>
<kw name="Grep_Restperfclient_Log" owner="RestPerfClient">
<var>${result}</var>
<arg>Request failed</arg>
<doc>Search for the specified string in the log file produced by latest invocation of RestPerfClient</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.810023" elapsed="0.000022"/>
</kw>
<kw name="Should Be Equal" owner="BuiltIn">
<arg>'${result}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are unequal.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.810190" elapsed="0.000020"/>
</kw>
<kw name="Grep_Restperfclient_Log" owner="RestPerfClient">
<var>${result}</var>
<arg>Status code</arg>
<doc>Search for the specified string in the log file produced by latest invocation of RestPerfClient</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.810410" elapsed="0.000022"/>
</kw>
<kw name="Should Be Equal" owner="BuiltIn">
<arg>'${result}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are unequal.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.810785" elapsed="0.000022"/>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.812276" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.811968" elapsed="0.000350"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.811387" elapsed="0.000981"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.813972" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.813554" elapsed="0.000445"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:58.814211" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.814072" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.814054" elapsed="0.000256"/>
</if>
<kw name="Comment" owner="BuiltIn">
<arg>Jira tickets are {PROJECT}-{NUMBER} while Bugzilla tickets are {NUMBER}</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-11T23:13:58.814467" elapsed="0.000321"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="Should Contain" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.815663" level="FAIL">'5581' does not contain '-'</msg>
<arg>${number}</arg>
<arg>-</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.815308" elapsed="0.000413">'5581' does not contain '-'</status>
</kw>
<msg time="2026-04-11T23:13:58.815810" level="INFO">${match} = False</msg>
<var>${match}</var>
<arg>Should Contain</arg>
<arg>${number}</arg>
<arg>-</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:13:58.814959" elapsed="0.000875"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.816320" level="INFO">${bug_url} = https://bugs.opendaylight.org/show_bug.cgi?id=5581</msg>
<var>${bug_url}</var>
<arg>${match}</arg>
<arg>https://jira.opendaylight.org/browse/${number}</arg>
<arg>https://bugs.opendaylight.org/show_bug.cgi?id=${number}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:13:58.815995" elapsed="0.000351"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.816805" level="INFO">${msg} = This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=5581</msg>
<var>${msg}</var>
<arg>This test fails due to ${bug_url}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.816502" elapsed="0.000330"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.817267" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.816983" elapsed="0.000310"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.817840" level="INFO">Set test message to:
This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=5581

'' == ''</msg>
<arg>${msg}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.817439" elapsed="0.000447"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.818290" level="INFO">This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=5581</msg>
<arg>${msg}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.818051" elapsed="0.000283"/>
</kw>
<if>
<branch type="IF" condition="&quot;${include_bug_in_tags}&quot;==&quot;True&quot;">
<kw name="Set Tags" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.819046" level="INFO">Set tag 'https://bugs.opendaylight.org/show_bug.cgi?id=5581'.</msg>
<arg>${bug_url}</arg>
<doc>Adds given ``tags`` for the current test or all tests in a suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.818649" elapsed="0.000445"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.818399" elapsed="0.000729"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.818381" elapsed="0.000771"/>
</if>
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.813181" elapsed="0.006015"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.812809" elapsed="0.006420"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.812790" elapsed="0.006461"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Set_Known_Bug_Id" owner="SetupUtils">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.822330" level="INFO">${SetupUtils__Known_Bug_ID} = </msg>
<arg>${SetupUtils__Known_Bug_ID}</arg>
<arg>${id}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.821958" elapsed="0.000414"/>
</kw>
<arg>${EMPTY}</arg>
<doc>Tell the Teardown keywords that any failure from now on is due to the specified known bug.</doc>
<status status="PASS" start="2026-04-11T23:13:58.819840" elapsed="0.002588"/>
</kw>
<msg time="2026-04-11T23:13:58.822464" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.819394" elapsed="0.003128"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.826640" elapsed="0.000026"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.812595" elapsed="0.014139"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.811096" elapsed="0.015681"/>
</kw>
<doc>Make sure there are no failed requests in the restperfclient log.
This is a separate test case to distinguish between restperfclient
failure and failed requests. Failed requests are rejected because
we don't want to test performance of ODL rejecting our requests.</doc>
<tag>https://bugs.opendaylight.org/show_bug.cgi?id=5581</tag>
<status status="FAIL" start="2026-04-11T23:13:58.748792" elapsed="0.078021">This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=5581

'' == ''</status>
</test>
<test id="s1-s3-t9" name="Deconfigure_ODL_From_Netconf" line="110">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:13:58.830407" elapsed="0.000219"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:13:58.830149" elapsed="0.000532"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:58.831681" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.831558" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.831539" elapsed="0.000209"/>
</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-11T23:13:58.836559" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.836455" elapsed="0.000196"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.836438" elapsed="0.000238"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.837655" level="INFO">${return_list_reference} = [1]</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-11T23:13:58.837267" elapsed="0.000415"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.838132" level="INFO">${return_list_copy} = [1]</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-11T23:13:58.837837" elapsed="0.000328"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:58.838217" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.838371" level="INFO">${index_list} = [1]</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-11T23:13:58.836900" elapsed="0.001495"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:58.843683" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.843562" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.843543" elapsed="0.000207"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:58.844864" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.844760" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.844742" elapsed="0.000188"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.845358" level="INFO">${karaf_connection_index} = 38</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="PASS" start="2026-04-11T23:13:58.845070" elapsed="0.000314"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.845763" level="INFO">${current_connection_index} = 32</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.845537" elapsed="0.000251"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.846496" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.846264" elapsed="0.000958">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.847402" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:58.847447" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.845941" elapsed="0.001529"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.848215" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.847985" elapsed="0.000860">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.849023" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:58.849067" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.847651" elapsed="0.001439"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.849984" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Deconfigure_ODL_From_Netconf"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.849378" elapsed="0.000665">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Deconfigure_ODL_From_Netconf"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.849163" elapsed="0.000943">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Deconfigure_ODL_From_Netconf"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.849144" elapsed="0.000994">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Deconfigure_ODL_From_Netconf"</status>
</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-04-11T23:13:58.850292" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.850514" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.850377" elapsed="0.000188"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.850360" elapsed="0.000244"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.850637" elapsed="0.000015"/>
</return>
<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">
<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-11T23:13:58.853029" elapsed="0.000144"/>
</kw>
<msg time="2026-04-11T23:13:58.853231" 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-11T23:13:58.852025" elapsed="0.001328"/>
</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-11T23:13:58.853644" elapsed="0.000104"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.853999" elapsed="0.000073"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.851415" elapsed="0.002760"/>
</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="PASS" start="2026-04-11T23:13:58.850886" elapsed="0.003351"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.844441" elapsed="0.009875">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Deconfigure_ODL_From_Netconf"</status>
</kw>
<msg time="2026-04-11T23:13:58.854414" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.854456" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Deconfigure_ODL_From_Netconf"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:58.843896" elapsed="0.010584"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.854680" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.854554" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.854535" elapsed="0.000209"/>
</if>
<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-11T23:13:58.855542" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.855438" elapsed="0.000164"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.855421" elapsed="0.000205"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.855882" level="INFO">index=32
host=10.30.171.36
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-11T23:13:58.855982" level="INFO">${current_ssh_connection_object} = index=32
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.855773" elapsed="0.000235"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.856405" level="INFO">{1: 38}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.856156" elapsed="0.000292"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.856847" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.856610" elapsed="0.000286"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:58.857398" elapsed="0.000318"/>
</kw>
<msg time="2026-04-11T23:13:58.857813" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:58.857860" level="INFO">${old_connection_index} = 38</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-11T23:13:58.857049" elapsed="0.000835"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.858678" elapsed="0.000187"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.859897" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.859497" elapsed="0.001376">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.859040" elapsed="0.001930"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.861681" elapsed="0.000267"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.861136" elapsed="0.000892"/>
</kw>
<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="PASS" start="2026-04-11T23:13:58.858172" elapsed="0.003901"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.857958" elapsed="0.004163"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.857940" elapsed="0.004205"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.862990" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:58.862678" elapsed="0.000339"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:58.863064" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.863214" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.862345" elapsed="0.000893"/>
</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="PASS" start="2026-04-11T23:13:58.863388" elapsed="0.000405"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.864065" level="INFO">index=39
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:58.864197" level="INFO">${karaf_connection_object} = index=39
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.863961" elapsed="0.000263"/>
</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="PASS" start="2026-04-11T23:13:58.864369" elapsed="0.002183"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.867026" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:58.867743" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:58.866734" elapsed="0.001369">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:58.881264" elapsed="0.000624"/>
</kw>
<msg time="2026-04-11T23:13:58.881974" 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-11T23:13:58.879987" elapsed="0.002130"/>
</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-11T23:13:58.882274" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.882434" elapsed="0.000020"/>
</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-11T23:13:58.868889" elapsed="0.013623"/>
</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-11T23:13:58.868368" elapsed="0.014189"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.855153" elapsed="0.027499">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.883017" elapsed="0.000026"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.883092" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.843232" elapsed="0.039962">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:58.883296" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.883338" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:58.838769" elapsed="0.044592"/>
</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-11T23:13:58.883701" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.883436" elapsed="0.000318"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.883418" elapsed="0.000359"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:58.838629" elapsed="0.045170"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:58.838447" elapsed="0.045381"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:58.836100" elapsed="0.047781"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:58.831277" elapsed="0.052657"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.830828" elapsed="0.053149"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:13:58.827906" elapsed="0.056122"/>
</kw>
<kw name="Remove_Device_From_Netconf" owner="NetconfKeywords">
<kw name="Pop From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.884850" level="FAIL">Dictionary does not contain key 'odl-mdsal-northbound-via-netconf-connector'.</msg>
<var>${device_type}</var>
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${device_name}</arg>
<doc>Pops the given ``key`` from the ``dictionary`` and returns its value.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.884615" elapsed="0.000297">Dictionary does not contain key 'odl-mdsal-northbound-via-netconf-connector'.</status>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<var>${mapping}</var>
<arg>DEVICE_NAME=${device_name}</arg>
<arg>RESTCONF_ROOT=${RESTCONF_ROOT}</arg>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.885083" elapsed="0.000021"/>
</kw>
<kw name="Set_Variable_If_At_Least_Scandium" owner="CompareStream">
<var>${version}</var>
<arg>scandium</arg>
<arg>calcium</arg>
<doc>Compare scandium to titanium and return ${value_if_true} if titanium is at least scandium, return ${value_if_false} otherwise.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.893922" elapsed="0.000028"/>
</kw>
<kw name="Delete_Templated" owner="TemplatedRequests">
<arg>${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${version}${/}${device_type}</arg>
<arg>${mapping}</arg>
<arg>session=${session}</arg>
<arg>location=${location}</arg>
<doc>Resolve URI from folder, issue DELETE request.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.894211" elapsed="0.000024"/>
</kw>
<arg>${test_device}</arg>
<doc>Tell Netconf to deconfigure the specified device</doc>
<status status="FAIL" start="2026-04-11T23:13:58.884243" elapsed="0.010089">Dictionary does not contain key 'odl-mdsal-northbound-via-netconf-connector'.</status>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.895631" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.895308" elapsed="0.000368"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.894952" elapsed="0.000773"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.896530" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.896161" elapsed="0.000445"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.896142" elapsed="0.000488"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.896774" elapsed="0.000301"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.901872" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.901453" elapsed="0.000446"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:58.902111" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.901972" elapsed="0.000179"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.901953" elapsed="0.000220"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.902617" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.902313" elapsed="0.000332"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:58.903078" level="INFO">${reference} = netconf_scale_txt_Mdsal_Deconfigure_ODL_From_Netconf</msg>
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.902797" elapsed="0.000308"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<msg time="2026-04-11T23:13:58.903430" level="INFO">${reference} = netconf_scale_txt_mdsal_deconfigure_odl_from_netconf</msg>
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.903259" elapsed="0.000196"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.903955" level="INFO">${msg} = ... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_deconfigure_odl_from_netconf"
reference somewhere inside)</msg>
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.903618" elapsed="0.000363"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.904431" level="INFO">${bugs} = "https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_deconfigure_odl_from_netconf&amp;order=bug_status"</msg>
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.904132" elapsed="0.000326"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.905057" level="INFO">Set test message to:
... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_deconfigure_odl_from_netconf"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_deconfigure_odl_from_netconf&amp;order=bug_status"

Dictionary does not contain key 'odl-mdsal-northbound-via-netconf-connector'.</msg>
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.904622" elapsed="0.000484"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.905539" level="INFO">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_deconfigure_odl_from_netconf"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_deconfigure_odl_from_netconf&amp;order=bug_status"</msg>
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.905254" elapsed="0.000345"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.901152" elapsed="0.004501"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.895949" elapsed="0.009751"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.894632" elapsed="0.011107"/>
</kw>
<doc>Deconfigure the ODL MDSAL Northbound attached to a Netconf connector.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.827358" elapsed="0.078417">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_deconfigure_odl_from_netconf"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_deconfigure_odl_from_netconf&amp;order=bug_status"

Dictionary does not contain key 'odl-mdsal-northbound-via-netconf-connector'.</status>
</test>
<test id="s1-s3-t10" name="Cleanup_And_Collect_For_Connector_Access" line="115">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:13:58.909033" elapsed="0.000201"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:13:58.908776" elapsed="0.000510"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:13:58.910251" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.910144" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.910125" elapsed="0.000199"/>
</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-11T23:13:58.915377" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.915271" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.915253" elapsed="0.000192"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.916420" level="INFO">${return_list_reference} = [1]</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-11T23:13:58.916049" elapsed="0.000397"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.916908" level="INFO">${return_list_copy} = [1]</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-11T23:13:58.916618" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:58.916977" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:58.917130" level="INFO">${index_list} = [1]</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-11T23:13:58.915680" elapsed="0.001474"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:13:58.922473" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.922366" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.922347" elapsed="0.000194"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:13:58.923727" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.923614" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.923595" elapsed="0.000200"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.924223" level="INFO">${karaf_connection_index} = 39</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="PASS" start="2026-04-11T23:13:58.923935" elapsed="0.000314"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.924634" level="INFO">${current_connection_index} = 32</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.924402" elapsed="0.000258"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.925378" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.925142" elapsed="0.000817">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.926138" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:13:58.926182" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.924817" elapsed="0.001388"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.926964" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.926709" elapsed="0.001059">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:13:58.927951" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:13:58.927996" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.926368" elapsed="0.001651"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.928965" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Connector_Access"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.928347" elapsed="0.000816">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Connector_Access"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:13:58.928122" elapsed="0.001109">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Connector_Access"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:13:58.928100" elapsed="0.001163">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Connector_Access"</status>
</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-04-11T23:13:58.929419" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.929661" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.929505" elapsed="0.000249"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:13:58.929488" elapsed="0.000291"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.929812" elapsed="0.000016"/>
</return>
<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">
<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-11T23:13:58.932321" elapsed="0.000142"/>
</kw>
<msg time="2026-04-11T23:13:58.932523" 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-11T23:13:58.931251" elapsed="0.001433"/>
</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-11T23:13:58.932966" elapsed="0.000073"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.933290" elapsed="0.000071"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.930616" elapsed="0.002850"/>
</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="PASS" start="2026-04-11T23:13:58.930070" elapsed="0.003458"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.923295" elapsed="0.010331">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Connector_Access"</status>
</kw>
<msg time="2026-04-11T23:13:58.933733" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.933777" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Mdsal.Cleanup_And_Collect_For_Connector_Access"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:13:58.922706" elapsed="0.011094"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.933983" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.933876" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.933857" elapsed="0.000190"/>
</if>
<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-11T23:13:58.934830" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.934727" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.934710" elapsed="0.000208"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.935177" level="INFO">index=32
host=10.30.171.36
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-11T23:13:58.935276" level="INFO">${current_ssh_connection_object} = index=32
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.935068" elapsed="0.000234"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.935717" level="INFO">{1: 39}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.935448" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.936143" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.935907" elapsed="0.000278"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:13:58.936752" elapsed="0.000259"/>
</kw>
<msg time="2026-04-11T23:13:58.937107" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:58.937152" level="INFO">${old_connection_index} = 39</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-11T23:13:58.936336" elapsed="0.000838"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.937974" elapsed="0.000193"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.939208" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.938808" elapsed="0.001227">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.938331" elapsed="0.001800"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.940856" elapsed="0.000267"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.940296" elapsed="0.000906"/>
</kw>
<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="PASS" start="2026-04-11T23:13:58.937463" elapsed="0.003784"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.937248" elapsed="0.004047"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.937229" elapsed="0.004090"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:58.942186" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:58.941884" elapsed="0.000329"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:58.942263" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:13:58.942416" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:58.941517" elapsed="0.000923"/>
</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="PASS" start="2026-04-11T23:13:58.942604" elapsed="0.000418"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.943296" level="INFO">index=40
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:58.943394" level="INFO">${karaf_connection_object} = index=40
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.943192" elapsed="0.000228"/>
</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="PASS" start="2026-04-11T23:13:58.943564" elapsed="0.002448"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:58.946428" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:58.947336" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:58.946172" elapsed="0.001541">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:13:58.960827" elapsed="0.000379"/>
</kw>
<msg time="2026-04-11T23:13:58.961297" 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-11T23:13:58.959416" elapsed="0.002024"/>
</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-11T23:13:58.961612" elapsed="0.000023"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.961774" elapsed="0.000020"/>
</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-11T23:13:58.948474" elapsed="0.013378"/>
</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-11T23:13:58.947980" elapsed="0.013917"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.934424" elapsed="0.027550">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.962299" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:13:58.962370" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.922030" elapsed="0.040440">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:13:58.962761" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:58.962809" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:13:58.917508" elapsed="0.045324"/>
</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-11T23:13:58.963180" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.962927" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.962906" elapsed="0.000350"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:58.917369" elapsed="0.045910"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:58.917204" elapsed="0.046103"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:13:58.914914" elapsed="0.048447"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:13:58.909863" elapsed="0.053550"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:13:58.909431" elapsed="0.054031"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:13:58.906679" elapsed="0.056868"/>
</kw>
<kw name="Collect_From_Restperfclient" owner="RestPerfClient">
<kw name="Should Not Be Equal" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.964373" level="FAIL">'' == ''</msg>
<arg>'${RestPerfClient__restperfclientlog}'</arg>
<arg>''</arg>
<doc>Fails if the given objects are equal.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.964034" elapsed="0.000398">'' == ''</status>
</kw>
<kw name="Get File" owner="SSHLibrary">
<arg>${RestPerfClient__restperfclientlog}</arg>
<doc>Downloads file(s) from the remote machine to the local machine.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.964614" elapsed="0.000022"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${RestPerfClient__restperfclientlog}</arg>
<arg>${EMPTY}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.964788" elapsed="0.000020"/>
</kw>
<doc>Collect useful data produced by restperfclient</doc>
<status status="FAIL" start="2026-04-11T23:13:58.963770" elapsed="0.001125">'' == ''</status>
</kw>
<kw name="Delete_Templated" owner="TemplatedRequests">
<arg>${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}cars-delete</arg>
<doc>Resolve URI from folder, issue DELETE request.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.965108" elapsed="0.000023"/>
</kw>
<kw name="Teardown_Test_Show_Bugs_And_Start_Fast_Failing_If_Test_Failed" owner="SetupUtils" type="TEARDOWN">
<kw name="Run Keyword If Test Failed" owner="BuiltIn">
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.966376" level="INFO">${SuiteFastFail} = True</msg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:13:58.966074" elapsed="0.000343"/>
</kw>
<arg>BuiltIn.Set_Suite_Variable</arg>
<arg>${SuiteFastFail}</arg>
<arg>True</arg>
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<status status="PASS" start="2026-04-11T23:13:58.965730" elapsed="0.000737"/>
</kw>
<kw name="SetupUtils__Report_Bugs_Causing_Failure" owner="SetupUtils">
<if>
<branch type="IF" condition="'${SetupUtils__Known_Bug_ID}' != ''">
<kw name="Report Failure Due To Bug" owner="Utils">
<arg>${SetupUtils__Known_Bug_ID}</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:58.967544" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:58.967158" elapsed="0.000461"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.967140" elapsed="0.000503"/>
</if>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>'${SetupUtils__Known_Bug_ID}' != ''</arg>
<arg>Set_Known_Bug_Id</arg>
<arg>${EMPTY}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:58.967784" elapsed="0.000301"/>
</kw>
<kw name="Report_Failure_And_Point_To_Linked_Bugs" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.973215" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.972822" elapsed="0.000419"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:58.973454" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:58.973315" elapsed="0.000179"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:58.973297" elapsed="0.000219"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.973965" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:13:58.973673" elapsed="0.000318"/>
</kw>
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:13:58.974395" level="INFO">${reference} = netconf_scale_txt_Mdsal_Cleanup_And_Collect_For_Connector_Access</msg>
<var>${reference}</var>
<arg>${SUITE_NAME}_${TEST_NAME}</arg>
<arg>[ /\.-]</arg>
<arg>_</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:13:58.974143" elapsed="0.000277"/>
</kw>
<kw name="Convert To Lower Case" owner="String">
<msg time="2026-04-11T23:13:58.974760" level="INFO">${reference} = netconf_scale_txt_mdsal_cleanup_and_collect_for_connector_access</msg>
<var>${reference}</var>
<arg>${reference}</arg>
<doc>Converts string to lower case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.974588" elapsed="0.000197"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.975293" level="INFO">${msg} = ... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_cleanup_and_collect_for_connector_access"
reference somewhere inside)</msg>
<var>${msg}</var>
<arg>... click for list of related bugs or create a new one if needed (with the${newline}"${reference}"${newline}reference somewhere inside)</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.974944" elapsed="0.000375"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.975785" level="INFO">${bugs} = "https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_cleanup_and_collect_for_connector_access&amp;order=bug_status"</msg>
<var>${bugs}</var>
<arg>"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=${reference}&amp;order=bug_status"</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:58.975467" elapsed="0.000345"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.976382" level="INFO">Set test message to:
... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_cleanup_and_collect_for_connector_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_cleanup_and_collect_for_connector_access&amp;order=bug_status"

'' == ''</msg>
<arg>${msg}${newline}${bugs}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:13:58.975960" elapsed="0.000469"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:58.976882" level="INFO">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_cleanup_and_collect_for_connector_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_cleanup_and_collect_for_connector_access&amp;order=bug_status"</msg>
<arg>${msg}${newline}${bugs}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:58.976595" elapsed="0.000333"/>
</kw>
<doc>Report that a test failed and point to linked Bugzilla bug(s).
Linked bugs must contain the ${reference} inside comments (workaround
becasue of currently missing suitable field for external references and
not correctly working the CONTENT MATCHES filter).
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:13:58.972506" elapsed="0.004475"/>
</kw>
<status status="PASS" start="2026-04-11T23:13:58.966937" elapsed="0.010128"/>
</kw>
<doc>Test case teardown. Show linked bugs and start fast failing in case of failure.</doc>
<status status="PASS" start="2026-04-11T23:13:58.965411" elapsed="0.011695"/>
</kw>
<doc>Delete the test data produced by the Netconf connector MDSAL access.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.906108" elapsed="0.071034">... click for list of related bugs or create a new one if needed (with the
"netconf_scale_txt_mdsal_cleanup_and_collect_for_connector_access"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&amp;o1=substring&amp;v1=netconf_scale_txt_mdsal_cleanup_and_collect_for_connector_access&amp;order=bug_status"

'' == ''</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:58.977971" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-11T23:13:58.977896" elapsed="0.000226"/>
</kw>
<kw name="Teardown_Restperfclient" owner="RestPerfClient">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${RestPerfClient__restperfclient}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:13:58.978529" elapsed="0.000157"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:58.978830" elapsed="0.000383"/>
</kw>
<doc>Free resources allocated during the RestPerfClient setup</doc>
<status status="PASS" start="2026-04-11T23:13:58.978318" elapsed="0.000951"/>
</kw>
<doc>Teardown the test infrastructure, perform cleanup and release all resources.</doc>
<status status="PASS" start="2026-04-11T23:13:58.977686" elapsed="0.001629"/>
</kw>
<doc>netconf-restperfclient MDSAL performance test suite.

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


Perform given count of update operations on ODL MDSAL. In first half the
requests are directed directly to MDSAL via Restconf and in the second
half the MDSAL is mounted onto a netconf connector and the reqursts are
directed to that connector. In both cases the netconf-testtool-restperfclient
tool is used to generate and send the requests and the requests are sent
synchronously as the netconf connector mounted MDSAL does not support
asynchronous requests. The restperfclient is used to generate the "update"
requests, the "create" request is issued in a sepate test case.</doc>
<status status="FAIL" start="2026-04-11T23:13:52.626263" elapsed="6.353080"/>
</suite>
<suite id="s1-s4" name="Getmulti" source="/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getmulti.robot">
<kw name="Setup_Everything" type="SETUP">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:59.060006" level="INFO">Creating Session using : alias=operational, url=http://10.30.171.250:8181/rests/data, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f22674ed0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<arg>operational</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}${REST_API}</arg>
<arg>auth=${AUTH}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-11T23:13:59.059703" elapsed="0.000473"/>
</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-11T23:13:59.060334" elapsed="0.000278"/>
</kw>
<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-11T23:13:59.065487" 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-11T23:13:59.061353" elapsed="0.004180"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-11T23:13:59.061145" elapsed="0.004459"/>
</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-11T23:13:59.070254" 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-11T23:13:59.066651" elapsed="0.003631"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-11T23:13:59.070460" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:59.070358" elapsed="0.000144"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:59.070338" elapsed="0.000186"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.071047" 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-11T23:13:59.070685" elapsed="0.000404"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.071547" level="INFO">${cluster_size} = 1</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-11T23:13:59.071243" elapsed="0.000343"/>
</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-11T23:13:59.072071" elapsed="0.000269"/>
</kw>
<msg time="2026-04-11T23:13:59.072436" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:13:59.072482" level="INFO">${possibly_int_of_members} = 1</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-11T23:13:59.071746" elapsed="0.000759"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.073042" level="INFO">${int_of_members} = 1</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-11T23:13:59.072681" elapsed="0.000387"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.074014" 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-11T23:13:59.073757" elapsed="0.000284"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.074434" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-11T23:13:59.074182" elapsed="0.000278"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.074936" 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-11T23:13:59.074625" elapsed="0.000338"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<kw name="Append To List" owner="Collections">
<arg>${member_index_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:59.078196" elapsed="0.000204"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.078898" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</var>
<arg>${ODL_SYSTEM_${index}_IP}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:59.078551" elapsed="0.000373"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${index_to_ip_mapping}</arg>
<arg>${index}</arg>
<arg>${member_ip}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:13:59.079071" elapsed="0.000220"/>
</kw>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.080069" level="INFO">${session} = ClusterManagement__session_1</msg>
<var>${session}</var>
<arg>ClusterManagement__session_${member_index}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:13:59.079781" elapsed="0.000314"/>
</kw>
<return>
<value>${session}</value>
<status status="PASS" start="2026-04-11T23:13:59.080140" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:13:59.080293" level="INFO">${session_alias} = ClusterManagement__session_1</msg>
<var>${session_alias}</var>
<arg>member_index=${index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:59.079480" elapsed="0.000837"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:13:59.080887" level="INFO">Creating Session using : alias=ClusterManagement__session_1, url=http://10.30.171.250:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f22635c50&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>${session_alias}</arg>
<arg>http://${member_ip}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=${http_timeout}</arg>
<arg>max_retries=${http_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-11T23:13:59.080462" elapsed="0.000530"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${session_list}</arg>
<arg>${session_alias}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:13:59.081146" elapsed="0.000187"/>
</kw>
<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="PASS" start="2026-04-11T23:13:59.077643" elapsed="0.003749"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:59.077441" elapsed="0.003995"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="PASS" start="2026-04-11T23:13:59.075052" elapsed="0.006413"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.082027" level="INFO">${ClusterManagement__member_index_list} = [1]</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-11T23:13:59.081634" elapsed="0.000435"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.082626" level="INFO">${ClusterManagement__index_to_ip_mapping} = {1: '10.30.171.250'}</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-11T23:13:59.082224" elapsed="0.000445"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.083230" level="INFO">${ClusterManagement__session_list} = ['ClusterManagement__session_1']</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-11T23:13:59.082838" elapsed="0.000434"/>
</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-11T23:13:59.073302" elapsed="0.010026"/>
</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-11T23:13:59.066304" elapsed="0.017078"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-11T23:13:59.083555" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:59.083445" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:59.083427" 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-11T23:13:59.086607" level="INFO">${return_list_reference} = [1]</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-11T23:13:59.086222" elapsed="0.000412"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.087096" level="INFO">${return_list_copy} = [1]</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-11T23:13:59.086786" elapsed="0.000336"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:13:59.087165" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:59.087316" level="INFO">${index_list} = [1]</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-11T23:13:59.085907" elapsed="0.001433"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:59.088299" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</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="PASS" start="2026-04-11T23:13:59.088042" elapsed="0.000282"/>
</kw>
<kw name="Run_Keyword_Preserve_Connection" owner="SSHKeywords">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:59.089031" 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-11T23:13:59.089165" 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-11T23:13:59.088893" elapsed="0.000299"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Controller" owner="Utils">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Remote System" owner="Utils">
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot; and &quot;${return_stderr}&quot;!=&quot;True&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>At least one of {return_stdout} or {return_stderr} args should be set to True</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:13:59.092515" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:59.091999" elapsed="0.000614"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:59.091979" elapsed="0.000671"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:59.093234" 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-11T23:13:59.093448" level="INFO">${current_ssh_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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:59.092837" elapsed="0.000659"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.094372" level="INFO">Attempting to execute command "iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save" on remote system "10.30.171.250" by user "jenkins" with keyfile pass "any" and prompt "&gt;" and password ""</msg>
<arg>Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:59.093757" elapsed="0.000712"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:59.095566" level="INFO">${conn_id} = 41</msg>
<var>${conn_id}</var>
<arg>${system}</arg>
<arg>prompt=${prompt}</arg>
<arg>timeout=${prompt_timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-11T23:13:59.094737" elapsed="0.000894"/>
</kw>
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.097208" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:13:59.097375" 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-11T23:13:59.096870" elapsed="0.000545"/>
</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-11T23:13:59.097747" elapsed="0.000432"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:13:59.099287" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:13:59.408565" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:57 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:13:59.098964" elapsed="0.309702"/>
</kw>
<msg time="2026-04-11T23:13:59.408729" 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="PASS" start="2026-04-11T23:13:59.098499" elapsed="0.310337"/>
</kw>
<arg>${user}</arg>
<arg>${password}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="PASS" start="2026-04-11T23:13:59.096033" elapsed="0.312922"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:13:59.409671" level="INFO">Executing command 'iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save'.</msg>
<msg time="2026-04-11T23:13:59.422758" level="INFO">Command exited with return code 4.</msg>
<msg time="2026-04-11T23:13:59.423114" level="INFO">${stdout} = </msg>
<msg time="2026-04-11T23:13:59.423330" level="INFO">${stderr} = iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission ...</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>${cmd}</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:13:59.409245" elapsed="0.014188"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:59.424107" elapsed="0.001054"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.427497" level="INFO">iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root)</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:59.426321" elapsed="0.001429"/>
</kw>
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot;">
<return>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:13:59.428728" elapsed="0.000106"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:59.428131" elapsed="0.000865"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:59.428049" elapsed="0.001028"/>
</if>
<if>
<branch type="IF" condition="&quot;${return_stderr}&quot;!=&quot;True&quot;">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:13:59.429752" elapsed="0.000131"/>
</return>
<status status="PASS" start="2026-04-11T23:13:59.429252" elapsed="0.000800"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:59.429214" elapsed="0.000997"/>
</if>
<return>
<value>${stdout}</value>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:13:59.430349" elapsed="0.000038"/>
</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-11T23:13:59.435150" elapsed="0.000619"/>
</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-11T23:13:59.436131" elapsed="0.000364"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:59.436938" elapsed="0.000287"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:59.431274" elapsed="0.006044"/>
</kw>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Reduces the common work of running a command on a remote system to a single higher level
robot keyword, taking care to log in with a public key and. The command given is written and the return value
depends on the passed argument values of return_stdout (default: True) and return_stderr (default: False).
At least one should be True, or the keyword will exit and FAIL. If both are True, the resulting return value
will be a two element list containing both. Otherwise the resulting return value is a string.
No test conditions are checked.</doc>
<status status="PASS" start="2026-04-11T23:13:59.091107" elapsed="0.346443"/>
</kw>
<msg time="2026-04-11T23:13:59.437648" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run Command On Remote System</arg>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:13:59.090322" elapsed="0.347398"/>
</kw>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Call Run Comand On Remote System, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:13:59.089852" elapsed="0.347976"/>
</kw>
<msg time="2026-04-11T23:13:59.437884" 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-11T23:13:59.089345" elapsed="0.348600"/>
</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-11T23:13:59.441566" elapsed="0.000471"/>
</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-11T23:13:59.442257" elapsed="0.000198"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:59.442698" elapsed="0.000136"/>
</kw>
<arg>${current_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:13:59.438338" elapsed="0.004583"/>
</kw>
<msg time="2026-04-11T23:13:59.443068" level="INFO">${output} = </msg>
<var>${output}</var>
<arg>Utils.Run_Command_On_Controller</arg>
<arg>${member_ip}</arg>
<arg>${command}</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-11T23:13:59.088534" elapsed="0.354564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.443508" level="INFO"/>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:59.443268" elapsed="0.000280"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:13:59.443604" elapsed="0.000030"/>
</return>
<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="PASS" start="2026-04-11T23:13:59.087699" elapsed="0.356026"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:59.087511" elapsed="0.356250"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:13:59.087389" elapsed="0.356406"/>
</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-11T23:13:59.083854" elapsed="0.359994"/>
</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-11T23:13:59.443997" elapsed="0.000206"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<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-11T23:13:59.457469" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:13:59.457362" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:59.457342" elapsed="0.000196"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:59.457837" 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-11T23:13:59.457938" 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-11T23:13:59.457706" elapsed="0.000258"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.458358" level="INFO">{}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:59.458109" elapsed="0.000291"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:13:59.458808" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:13:59.458545" elapsed="0.000306"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:59.459566" 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-11T23:13:59.459348" elapsed="0.000351">Dictionary does not contain key '1'.</status>
</kw>
<msg time="2026-04-11T23:13:59.459851" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:13:59.459896" 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-11T23:13:59.459001" elapsed="0.000918"/>
</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-11T23:13:59.460216" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:13:59.459994" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:13:59.459976" elapsed="0.000339"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:13:59.461059" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:13:59.460796" elapsed="0.000289"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:13:59.461133" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:13:59.461282" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:13:59.460513" elapsed="0.000793"/>
</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="PASS" start="2026-04-11T23:13:59.461455" elapsed="0.000411"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:13:59.462135" level="INFO">index=44
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:13:59.462233" level="INFO">${karaf_connection_object} = index=44
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:13:59.462028" elapsed="0.000230"/>
</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="PASS" start="2026-04-11T23:13:59.462401" elapsed="0.002318"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:13:59.465421" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:13:59.466264" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:13:59.464877" elapsed="0.001835">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:13:59.469630" elapsed="0.000327"/>
</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-11T23:13:59.470114" elapsed="0.000142"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:13:59.470398" elapsed="0.000093"/>
</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-11T23:13:59.467489" elapsed="0.003052"/>
</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-11T23:13:59.466988" elapsed="0.003624"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:13:59.457090" elapsed="0.013618">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:14:00.492353" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:00.492210" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:00.492183" elapsed="0.000260"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:00.492819" 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-11T23:14:00.492934" 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-11T23:14:00.492638" elapsed="0.000324"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:00.493411" level="INFO">{1: 44}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:00.493115" elapsed="0.000341"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:00.493857" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:00.493616" elapsed="0.000285"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:14:00.494451" elapsed="0.000198"/>
</kw>
<msg time="2026-04-11T23:14:00.494830" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:14:00.494877" level="INFO">${old_connection_index} = 44</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-11T23:14:00.494055" elapsed="0.000846"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:14:00.495717" elapsed="0.000136"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:14:00.496516" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:14:00.496343" elapsed="0.000681">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:00.496020" elapsed="0.001067"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:00.497586" elapsed="0.000101"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:00.497253" elapsed="0.000481"/>
</kw>
<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="PASS" start="2026-04-11T23:14:00.495196" elapsed="0.002582"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:00.494977" elapsed="0.002850"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:00.494958" elapsed="0.002895"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:14:00.498644" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:14:00.498357" elapsed="0.000314"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:14:00.498720" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:14:00.498877" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:14:00.498054" elapsed="0.000847"/>
</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="PASS" start="2026-04-11T23:14:00.499051" elapsed="0.000403"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:00.499750" level="INFO">index=46
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:14:00.499849" level="INFO">${karaf_connection_object} = index=46
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:14:00.499640" elapsed="0.000236"/>
</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="PASS" start="2026-04-11T23:14:00.500019" elapsed="0.002352"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:14:00.502808" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:14:00.504261" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:14:00.502530" elapsed="0.002141">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:14:00.507595" elapsed="0.000346"/>
</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-11T23:14:00.508101" elapsed="0.000143"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:00.508386" elapsed="0.000094"/>
</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-11T23:14:00.505451" elapsed="0.003078"/>
</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-11T23:14:00.504946" elapsed="0.003644"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:14:00.491815" elapsed="0.016857">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:14:01.526611" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:01.526448" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:01.526416" elapsed="0.000289"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:01.527093" 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-11T23:14:01.527289" 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-11T23:14:01.526896" elapsed="0.000420"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:01.527819" level="INFO">{1: 46}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:01.527484" elapsed="0.000382"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:01.528260" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:01.528015" elapsed="0.000289"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:14:01.528879" elapsed="0.000187"/>
</kw>
<msg time="2026-04-11T23:14:01.529165" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:14:01.529212" level="INFO">${old_connection_index} = 46</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-11T23:14:01.528471" elapsed="0.000764"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:14:01.530117" elapsed="0.000138"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:14:01.530942" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:14:01.530764" elapsed="0.000684">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:01.530416" elapsed="0.001103"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:01.532020" elapsed="0.000101"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:01.531699" elapsed="0.000468"/>
</kw>
<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="PASS" start="2026-04-11T23:14:01.529557" elapsed="0.002653"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:01.529311" elapsed="0.002948"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:01.529292" elapsed="0.002991"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:14:01.533063" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:14:01.532795" elapsed="0.000296"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:14:01.533138" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:14:01.533296" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:14:01.532496" elapsed="0.000825"/>
</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="PASS" start="2026-04-11T23:14:01.533477" elapsed="0.000449"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:01.534197" level="INFO">index=48
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:14:01.534297" level="INFO">${karaf_connection_object} = index=48
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:14:01.534090" elapsed="0.000233"/>
</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="PASS" start="2026-04-11T23:14:01.534469" elapsed="0.002375"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:14:01.537270" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:14:01.538379" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:14:01.537005" elapsed="0.001790">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:14:01.541834" elapsed="0.000339"/>
</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-11T23:14:01.542329" elapsed="0.000145"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:01.542633" elapsed="0.000105"/>
</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-11T23:14:01.539636" elapsed="0.003154"/>
</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-11T23:14:01.539090" elapsed="0.003745"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:14:01.526028" elapsed="0.016925">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:14:02.566452" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:02.566266" elapsed="0.000268"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.566230" elapsed="0.000355"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.567060" 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-11T23:14:02.567217" 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-11T23:14:02.566829" elapsed="0.000425"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:02.567885" level="INFO">{1: 48}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:02.567462" elapsed="0.000486"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:02.568487" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:02.568152" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:14:02.569418" elapsed="0.000286"/>
</kw>
<msg time="2026-04-11T23:14:02.569843" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:14:02.569906" level="INFO">${old_connection_index} = 48</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-11T23:14:02.568787" elapsed="0.001151"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:14:02.571073" elapsed="0.000190"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.572184" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:14:02.571959" elapsed="0.000926">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:02.571486" elapsed="0.001486"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:02.573702" elapsed="0.000139"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:02.573235" elapsed="0.000669"/>
</kw>
<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="PASS" start="2026-04-11T23:14:02.570347" elapsed="0.003628"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:02.570043" elapsed="0.004018"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.570016" elapsed="0.004078"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:14:02.574853" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:14:02.574584" elapsed="0.000296"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:14:02.574928" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:14:02.575083" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:14:02.574302" elapsed="0.000806"/>
</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="PASS" start="2026-04-11T23:14:02.575257" elapsed="0.000414"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.575940" level="INFO">index=50
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:14:02.576040" level="INFO">${karaf_connection_object} = index=50
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:14:02.575834" elapsed="0.000231"/>
</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="PASS" start="2026-04-11T23:14:02.576209" elapsed="0.002450"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.579074" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:14:02.580111" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:14:02.578816" elapsed="0.001667">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:14:02.583483" elapsed="0.000367"/>
</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-11T23:14:02.584006" elapsed="0.000150"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:02.584298" elapsed="0.000096"/>
</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-11T23:14:02.581361" elapsed="0.003084"/>
</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-11T23:14:02.580780" elapsed="0.003711"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:14:02.565754" elapsed="0.018832">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:14:02.584677" level="FAIL">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-11T23:13:59.444930" elapsed="3.139839">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<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="PASS" start="2026-04-11T23:13:59.444529" elapsed="3.140305"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:13:59.444397" elapsed="3.140479"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="PASS" start="2026-04-11T23:13:59.444257" elapsed="3.140654"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-11T23:13:59.065877" elapsed="3.519091"/>
</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-11T23:14:02.587582" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:02.587458" elapsed="0.000173"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.587440" elapsed="0.000214"/>
</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-11T23:14:02.592297" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:02.592191" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.592173" elapsed="0.000191"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:02.593312" level="INFO">${return_list_reference} = [1]</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-11T23:14:02.592919" elapsed="0.000419"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:14:02.593802" level="INFO">${return_list_copy} = [1]</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-11T23:14:02.593492" elapsed="0.000335"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:14:02.593872" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:14:02.594025" level="INFO">${index_list} = [1]</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-11T23:14:02.592597" elapsed="0.001452"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:14:02.599370" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:02.599263" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.599244" elapsed="0.000195"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:14:02.600601" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:02.600458" elapsed="0.000191"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.600439" elapsed="0.000232"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:14:02.601108" level="INFO">${karaf_connection_index} = 50</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="PASS" start="2026-04-11T23:14:02.600809" elapsed="0.000325"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.601515" level="INFO">${current_connection_index} = None</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:14:02.601301" elapsed="0.000239"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.602590" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:14:02.602180" elapsed="0.001057">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:14:02.603371" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:14:02.603451" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:14:02.601711" elapsed="0.001765"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.604501" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:14:02.604126" elapsed="0.001132">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:14:02.605390" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:14:02.605435" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:14:02.603655" elapsed="0.001803"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:14:02.606408" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getmulti.robot"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:14:02.605792" elapsed="0.000693">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getmulti.robot"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:14:02.605534" elapsed="0.001094">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getmulti.robot"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:02.605515" elapsed="0.001148">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getmulti.robot"</status>
</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-04-11T23:14:02.606821" elapsed="0.000023"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:02.607043" elapsed="0.000046"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:02.606907" elapsed="0.000271"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:14:02.606891" elapsed="0.000312"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:14:02.607236" elapsed="0.000016"/>
</return>
<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-11T23:14:02.609037" elapsed="0.000457"/>
</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-11T23:14:02.609846" elapsed="0.000268"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:02.610416" elapsed="0.000230"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:14:02.608310" elapsed="0.002419"/>
</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="PASS" start="2026-04-11T23:14:02.607486" elapsed="0.003369"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:14:02.600178" elapsed="0.010761">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getmulti.robot"</status>
</kw>
<msg time="2026-04-11T23:14:02.611040" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:14:02.611084" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getmulti.robot"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:14:02.599599" elapsed="0.011508"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:14:02.611288" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:02.611183" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.611163" elapsed="0.000189"/>
</if>
<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-11T23:14:02.612100" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:02.611990" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.611973" elapsed="0.000193"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.612618" 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-11T23:14:02.612723" 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-11T23:14:02.612319" elapsed="0.000431"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:02.613164" level="INFO">{1: 50}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:02.612896" elapsed="0.000314"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:02.613673" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:02.613356" elapsed="0.000362"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:14:02.614217" elapsed="0.000265"/>
</kw>
<msg time="2026-04-11T23:14:02.614629" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:14:02.614677" level="INFO">${old_connection_index} = 50</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-11T23:14:02.613871" elapsed="0.000829"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:14:02.615754" elapsed="0.000241"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.617194" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:14:02.616940" elapsed="0.000764">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:02.616213" elapsed="0.001579"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:02.618708" elapsed="0.000180"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:02.618027" elapsed="0.000930"/>
</kw>
<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="PASS" start="2026-04-11T23:14:02.614996" elapsed="0.004038"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:02.614776" elapsed="0.004308"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.614758" elapsed="0.004351"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:14:02.620007" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:14:02.619584" elapsed="0.000450"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:14:02.620082" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:14:02.620231" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:14:02.619305" elapsed="0.000950"/>
</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="PASS" start="2026-04-11T23:14:02.620409" elapsed="0.000403"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.621085" level="INFO">index=53
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:14:02.621207" level="INFO">${karaf_connection_object} = index=53
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:14:02.620978" elapsed="0.000256"/>
</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="PASS" start="2026-04-11T23:14:02.621376" elapsed="0.002187"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.623991" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:14:02.624702" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:14:02.623736" elapsed="0.001339">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:14:02.628307" elapsed="0.000610"/>
</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-11T23:14:02.629162" elapsed="0.000377"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:02.629789" elapsed="0.000165"/>
</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-11T23:14:02.625912" elapsed="0.004121"/>
</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-11T23:14:02.625355" elapsed="0.004725"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:14:02.611751" elapsed="0.018409">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:02.630479" elapsed="0.000026"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:14:02.630552" elapsed="0.000031"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:14:02.598976" elapsed="0.031694">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:14:02.630808" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:14:02.630851" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:14:02.594412" elapsed="0.036462"/>
</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-11T23:14:02.631196" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:02.630950" elapsed="0.000299"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.630932" elapsed="0.000340"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:14:02.594275" elapsed="0.037020"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:14:02.594104" elapsed="0.037219"/>
</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-11T23:14:02.591905" elapsed="0.039471"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-11T23:14:02.585591" elapsed="0.045839"/>
</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-11T23:14:02.585119" elapsed="0.046350"/>
</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-11T23:13:59.060843" elapsed="3.570674"/>
</kw>
<kw name="Setup_NetconfKeywords" owner="NetconfKeywords">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:14:02.632291" level="INFO">${tmp} = {}</msg>
<var>${tmp}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:14:02.632018" elapsed="0.000299"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:02.636141" level="INFO">${NetconfKeywords__mounted_device_types} = {}</msg>
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${tmp}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:02.632468" elapsed="0.003718"/>
</kw>
<if>
<branch type="IF" condition="${create_session_for_templated_requests}">
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:14:02.640336" level="INFO">Creating Session using : alias=default, url=http://10.30.171.250:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f2267b590&gt;, timeout=2, 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-11T23:14:02.639972" elapsed="0.000505"/>
</kw>
<arg>timeout=2</arg>
<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-11T23:14:02.639554" elapsed="0.000989"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:02.636256" elapsed="0.004332"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:02.636238" elapsed="0.004375"/>
</if>
<kw name="Initialize_Artifact_Deployment_And_Usage" owner="NexusKeywords">
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.645656" level="INFO">${odl_connection} = 55</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-11T23:14:02.645274" elapsed="0.000408"/>
</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-11T23:14:02.647278" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:14:02.647354" 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-11T23:14:02.647019" elapsed="0.000359"/>
</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-11T23:14:02.647528" elapsed="0.000337"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:14:02.648708" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:14:02.997537" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:59 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:14:02.648376" elapsed="0.349295"/>
</kw>
<msg time="2026-04-11T23:14:02.997739" 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="PASS" start="2026-04-11T23:14:02.648026" elapsed="0.349781"/>
</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="PASS" start="2026-04-11T23:14:02.646587" elapsed="0.351314"/>
</kw>
<msg time="2026-04-11T23:14:02.998025" 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="PASS" start="2026-04-11T23:14:02.646196" elapsed="0.351881"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:14:02.645857" elapsed="0.352298"/>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-11T23:14:02.998200" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:14:02.998378" level="INFO">${odl} = 55</msg>
<var>${odl}</var>
<doc>Open a connection to the ODL system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:14:02.644951" elapsed="0.353454"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.008248" level="INFO">[chan 1] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:14:03.015371" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../../tools/deployment/search.sh' -&gt; '/home/jenkins//search.sh'</msg>
<arg>/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../../tools/deployment/search.sh</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="PASS" start="2026-04-11T23:14:02.998598" elapsed="0.016856"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:03.015696" elapsed="0.000352"/>
</kw>
<if>
<branch type="IF" condition="not (${tools_system_connect})">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:03.016326" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:03.016150" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.016122" elapsed="0.000292"/>
</if>
<kw name="Open_Connection_To_Tools_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.023160" level="INFO">${tools_connection} = 56</msg>
<var>${tools_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${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-11T23:14:03.022644" elapsed="0.000553"/>
</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-11T23:14:03.025486" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:14:03.025612" 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-11T23:14:03.025117" elapsed="0.000530"/>
</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-11T23:14:03.025862" elapsed="0.000442"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.027463" level="INFO">Logging into '10.30.171.36:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:14:03.345182" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-153-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:42 UTC 2026

  System load:  0.23               Processes:             109
  Usage of /:   19.6% of 38.58GB   Users logged in:       0
  Memory usage: 4%                 IPv4 address for ens3: 10.30.171.36
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

9 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:13:57 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</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="PASS" start="2026-04-11T23:14:03.027032" elapsed="0.318234"/>
</kw>
<msg time="2026-04-11T23:14:03.345325" 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="PASS" start="2026-04-11T23:14:03.026528" elapsed="0.318852"/>
</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="PASS" start="2026-04-11T23:14:03.024478" elapsed="0.320985"/>
</kw>
<msg time="2026-04-11T23:14:03.345511" 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="PASS" start="2026-04-11T23:14:03.023925" elapsed="0.321630"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="PASS" start="2026-04-11T23:14:03.023451" elapsed="0.322196"/>
</kw>
<return>
<value>${tools_connection}</value>
<status status="PASS" start="2026-04-11T23:14:03.345690" elapsed="0.000035"/>
</return>
<doc>Open a connection to the tools system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:14:03.022145" elapsed="0.323686"/>
</kw>
<doc>Places search utility to ODL system, which will be needed for version detection.
By default also initialize a SSH connection to Tools system,
as following Keywords assume a working connection towards target system.</doc>
<status status="PASS" start="2026-04-11T23:14:02.640859" elapsed="0.705024"/>
</kw>
<doc>Setup the environment for the other keywords of this Resource to work properly.</doc>
<status status="PASS" start="2026-04-11T23:14:02.631769" elapsed="0.714165"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.353008" level="INFO">[chan 1] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:14:03.362181" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/../../../../tools/netconf_tools/getter.py' -&gt; '/home/jenkins//getter.py'</msg>
<arg>/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/../../../../tools/netconf_tools/getter.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="PASS" start="2026-04-11T23:14:03.346088" elapsed="0.016221"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.372714" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/../../../libraries/AuthStandalone.py' -&gt; '/home/jenkins//AuthStandalone.py'</msg>
<arg>/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/../../../libraries/AuthStandalone.py</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="PASS" start="2026-04-11T23:14:03.362706" elapsed="0.010118"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.373745" level="INFO">${device_type} = full-uri-device</msg>
<var>${device_type}</var>
<arg>${USE_NETCONF_CONNECTOR}==${True}</arg>
<arg>default</arg>
<arg>${device_type}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:03.373113" elapsed="0.000670"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.374447" level="INFO">${device_type} = full-uri-device</msg>
<arg>${device_type}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:03.374013" elapsed="0.000492"/>
</kw>
<doc>Setup everything needed for the test cases.</doc>
<status status="PASS" start="2026-04-11T23:13:59.059465" elapsed="4.315139"/>
</kw>
<test id="s1-s4-t1" name="Start_Test_Tool" line="42">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:14:03.378814" elapsed="0.000288"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:14:03.378423" elapsed="0.000753"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:14:03.380618" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:03.380439" elapsed="0.000246"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.380409" elapsed="0.000307"/>
</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-11T23:14:03.385677" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:03.385551" elapsed="0.000172"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.385532" elapsed="0.000213"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.386745" level="INFO">${return_list_reference} = [1]</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-11T23:14:03.386333" elapsed="0.000439"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.387222" level="INFO">${return_list_copy} = [1]</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-11T23:14:03.386927" elapsed="0.000321"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:14:03.387293" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:14:03.387457" level="INFO">${index_list} = [1]</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-11T23:14:03.385967" elapsed="0.001520"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:14:03.393174" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:03.393061" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.393041" elapsed="0.000202"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:14:03.394393" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:03.394287" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.394268" elapsed="0.000192"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:14:03.394926" level="INFO">${karaf_connection_index} = 53</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="PASS" start="2026-04-11T23:14:03.394629" elapsed="0.000323"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.395327" level="INFO">${current_connection_index} = 56</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:14:03.395106" elapsed="0.000247"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.396113" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:14:03.395868" elapsed="0.000896">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:14:03.396965" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:14:03.397010" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:14:03.395506" elapsed="0.001527"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.397786" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:14:03.397525" elapsed="0.000880">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:14:03.398599" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:14:03.398651" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:14:03.397194" elapsed="0.001480"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.399588" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Start_Test_Tool"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:14:03.398980" elapsed="0.000679">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Start_Test_Tool"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:14:03.398763" elapsed="0.001001">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Start_Test_Tool"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:03.398743" elapsed="0.001056">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Start_Test_Tool"</status>
</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-04-11T23:14:03.399956" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:03.400182" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:03.400043" elapsed="0.000192"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:14:03.400026" elapsed="0.000231"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:14:03.400291" elapsed="0.000016"/>
</return>
<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">
<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-11T23:14:03.402740" elapsed="0.000144"/>
</kw>
<msg time="2026-04-11T23:14:03.402946" 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-11T23:14:03.401772" elapsed="0.001295"/>
</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-11T23:14:03.403328" elapsed="0.000072"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:03.403660" elapsed="0.000082"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:14:03.401150" elapsed="0.002701"/>
</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="PASS" start="2026-04-11T23:14:03.400553" elapsed="0.003360"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:14:03.393985" elapsed="0.010013">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Start_Test_Tool"</status>
</kw>
<msg time="2026-04-11T23:14:03.404099" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:14:03.404143" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Start_Test_Tool"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:14:03.393389" elapsed="0.010776"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:14:03.404349" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:03.404243" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.404223" elapsed="0.000192"/>
</if>
<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-11T23:14:03.405541" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:03.405430" elapsed="0.000199"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.405409" elapsed="0.000244"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.405931" level="INFO">index=56
host=10.30.171.36
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-11T23:14:03.406034" level="INFO">${current_ssh_connection_object} = index=56
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:14:03.405811" elapsed="0.000251"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.406469" level="INFO">{1: 53}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:03.406209" elapsed="0.000304"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.406931" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:03.406678" elapsed="0.000297"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:14:03.407482" elapsed="0.000274"/>
</kw>
<msg time="2026-04-11T23:14:03.407864" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:14:03.407910" level="INFO">${old_connection_index} = 53</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-11T23:14:03.407128" elapsed="0.000805"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:14:03.408752" elapsed="0.000213"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.410039" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:14:03.409655" elapsed="0.001210">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:03.409129" elapsed="0.001831"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:03.411675" elapsed="0.000272"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:03.411124" elapsed="0.000902"/>
</kw>
<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="PASS" start="2026-04-11T23:14:03.408224" elapsed="0.003886"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:03.408010" elapsed="0.004150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.407991" elapsed="0.004193"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:14:03.413086" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:14:03.412759" elapsed="0.000354"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:14:03.413162" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:14:03.413314" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:14:03.412386" elapsed="0.000953"/>
</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="PASS" start="2026-04-11T23:14:03.413489" elapsed="0.000437"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.414201" level="INFO">index=57
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:14:03.414301" level="INFO">${karaf_connection_object} = index=57
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:14:03.414092" elapsed="0.000234"/>
</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="PASS" start="2026-04-11T23:14:03.414471" elapsed="0.002203"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.417133" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:14:03.418191" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:14:03.416864" elapsed="0.001702">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:14:03.431062" elapsed="0.000373"/>
</kw>
<msg time="2026-04-11T23:14:03.431518" 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-11T23:14:03.429857" elapsed="0.001821"/>
</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-11T23:14:03.431834" elapsed="0.000023"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:03.431991" elapsed="0.000021"/>
</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-11T23:14:03.419360" elapsed="0.012711"/>
</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-11T23:14:03.418848" elapsed="0.013274"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:14:03.404968" elapsed="0.027238">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:03.432533" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:14:03.432643" elapsed="0.000018"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:14:03.392686" elapsed="0.040061">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:14:03.432864" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:14:03.432908" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:14:03.387879" elapsed="0.045051"/>
</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-11T23:14:03.433259" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:03.433007" elapsed="0.000307"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.432988" elapsed="0.000349"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:14:03.387739" elapsed="0.045621"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:14:03.387545" elapsed="0.045845"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:14:03.385183" elapsed="0.048261"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:14:03.380020" elapsed="0.053517"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:03.379402" elapsed="0.054348"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:14:03.375439" elapsed="0.058368"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'True'">
<kw name="Install_And_Start_Testtool" owner="NetconfKeywords">
<kw name="Deploy_Test_Tool" owner="NexusKeywords">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.454289" level="INFO">${name_prefix} = netconf-testtool-</msg>
<var>${name_prefix}</var>
<arg>${artifact}-</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:14:03.453987" elapsed="0.000328"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.454836" level="INFO">${extension} = jar</msg>
<var>${extension}</var>
<arg>'${component}'=='odl-micro'</arg>
<arg>tar</arg>
<arg>jar</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:03.454482" elapsed="0.000380"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.455411" level="INFO">${name_suffix} = -executable.jar</msg>
<var>${name_suffix}</var>
<arg>"${suffix}" != ""</arg>
<arg>-${suffix}.${extension}</arg>
<arg>.${extension}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:03.455023" elapsed="0.000417"/>
</kw>
<kw name="Deploy_Artifact" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${explicit_url}""" != ""</arg>
<arg>Deploy_From_Url</arg>
<arg>${explicit_url}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:14:03.456717" elapsed="0.000323"/>
</kw>
<kw name="Fetch From Left" owner="String">
<msg time="2026-04-11T23:14:03.457397" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${BUNDLE_URL}</arg>
<arg>/org/opendaylight</arg>
<doc>Returns contents of the ``string`` before the first occurrence of ``marker``.</doc>
<status status="PASS" start="2026-04-11T23:14:03.457198" elapsed="0.000225"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.457990" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>'${urlbase}' != '${BUNDLE_URL}'</arg>
<arg>${urlbase}</arg>
<arg>${fallback_url}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:03.457603" elapsed="0.000414"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Magnesium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:14:03.476998" elapsed="0.000476"/>
</kw>
<arg>magnesium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'carpeople'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:14:03.476416" elapsed="0.001149"/>
</kw>
<msg time="2026-04-11T23:14:03.477639" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>magnesium</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-11T23:14:03.467370" elapsed="0.010337"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>carpeople</arg>
<doc>Compare magnesium to titanium and in case titanium is at most magnesium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:14:03.466935" elapsed="0.010858"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Aluminium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:14:03.496709" elapsed="0.000441"/>
</kw>
<arg>aluminium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'netconf'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:14:03.496244" elapsed="0.000976"/>
</kw>
<msg time="2026-04-11T23:14:03.497268" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>aluminium</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-11T23:14:03.487294" elapsed="0.010030"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<doc>Compare aluminium to titanium and in case titanium is at most aluminium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:14:03.486874" elapsed="0.010525"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Silicon" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:14:03.515633" elapsed="0.000403"/>
</kw>
<arg>silicon</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'bgpcep'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:14:03.515159" elapsed="0.000945"/>
</kw>
<msg time="2026-04-11T23:14:03.516149" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>silicon</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-11T23:14:03.506747" elapsed="0.009451"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>bgpcep</arg>
<doc>Compare silicon to titanium and in case titanium is at most silicon,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:14:03.506345" elapsed="0.009933"/>
</kw>
<if>
<branch type="IF" condition="'${build_version}'=='${EMPTY}'">
<kw name="NexusKeywords__Detect_Version_To_Pull" owner="NexusKeywords">
<kw name="NexusKeywords__Get_Items_To_Look_At" owner="NexusKeywords">
<kw name="Dictionary Should Contain Key" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<arg>Component not supported by NexusKeywords version detection: ${component}</arg>
<doc>Fails if ``key`` is not found from ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:14:03.519419" elapsed="0.000279"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<status status="PASS" start="2026-04-11T23:14:03.520195" elapsed="0.000183"/>
</kw>
<msg time="2026-04-11T23:14:03.520424" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Collections.Get_From_Dictionary</arg>
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:14:03.519857" elapsed="0.000616"/>
</kw>
<msg time="2026-04-11T23:14:03.520594" level="INFO">${itemlist} = netconf-api</msg>
<var>${itemlist}</var>
<arg>${component}</arg>
<doc>Get a list of items that might contain the version number that we are looking for.</doc>
<status status="PASS" start="2026-04-11T23:14:03.519097" elapsed="0.001524"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.520931" level="INFO">index=56
host=10.30.171.36
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-11T23:14:03.521033" level="INFO">${current_ssh_connection} = index=56
host=10.30.171.36
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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:14:03.520793" elapsed="0.000268"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.526094" level="INFO">${odl_connection} = 58</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-11T23:14:03.525698" elapsed="0.000423"/>
</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-11T23:14:03.528004" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:14:03.528081" 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-11T23:14:03.527586" elapsed="0.000518"/>
</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-11T23:14:03.528256" elapsed="0.000509"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.530015" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:14:03.834989" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:13:32 UTC 2026

  System load:  0.05               Processes:             122
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:14:02 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:14:03.529340" elapsed="0.305878"/>
</kw>
<msg time="2026-04-11T23:14:03.835503" 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="PASS" start="2026-04-11T23:14:03.528931" elapsed="0.306681"/>
</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="PASS" start="2026-04-11T23:14:03.527087" elapsed="0.308650"/>
</kw>
<msg time="2026-04-11T23:14:03.835793" 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="PASS" start="2026-04-11T23:14:03.526702" elapsed="0.309142"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:14:03.526298" elapsed="0.309625"/>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-11T23:14:03.835981" elapsed="0.000051"/>
</return>
<doc>Open a connection to the ODL system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:14:03.525335" elapsed="0.310838"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.836781" level="INFO">Executing command 'sh search.sh /tmp/netconf-karaf-9.0.3-SNAPSHOT/system netconf-api'.</msg>
<msg time="2026-04-11T23:14:03.868802" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:03.869042" level="INFO">${version} = 9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<msg time="2026-04-11T23:14:03.869139" level="INFO">${result} = 0</msg>
<var>${version}</var>
<var>${result}</var>
<arg>sh search.sh ${WORKSPACE}/${BUNDLEFOLDER}/system ${itemlist}</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:03.836413" elapsed="0.032776"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:14:03.869544" elapsed="0.000489"/>
</kw>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords">
<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-11T23:14:03.877474" elapsed="0.000345"/>
</kw>
<msg time="2026-04-11T23:14:03.877913" 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-11T23:14:03.876227" elapsed="0.001886"/>
</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-11T23:14:03.878459" elapsed="0.000048"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:03.878844" elapsed="0.000045"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:14:03.870612" elapsed="0.008409"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.879920" level="INFO">9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<arg>${version}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:03.879337" elapsed="0.000681"/>
</kw>
<if>
<branch type="IF" condition="${result}!=0">
<kw name="Fail" owner="BuiltIn">
<arg>Component "${component}": searching for "${itemlist}" found no version, cannot locate test tool.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:03.880697" elapsed="0.000047"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:03.880176" elapsed="0.000641"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.880131" elapsed="0.000739"/>
</if>
<kw name="Split String" owner="String">
<msg time="2026-04-11T23:14:03.881693" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:14:03.881794" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${version}</arg>
<arg>max_split=1</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-11T23:14:03.881174" elapsed="0.000670"/>
</kw>
<return>
<value>${version}</value>
<value>${location}</value>
<status status="PASS" start="2026-04-11T23:14:03.881953" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:14:03.882369" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:14:03.882463" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${component}</arg>
<doc>Determine the exact Nexus directory to be used as a source for a particular test tool
Figure out what version of the tool needs to be pulled out of the
Nexus by looking at the version directory of the subsystem from
which the tool is being pulled. This code is REALLY UGLY but there
is no way around it until the bug
https://bugs.opendaylight.org/show_bug.cgi?id=5206 gets fixed.
I also don't want to depend on maven-metadata-local.xml and other
bits and pieces of ODL distribution which are not required for ODL
to function properly.</doc>
<status status="PASS" start="2026-04-11T23:14:03.518682" elapsed="0.363830"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:03.516448" elapsed="0.366181"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${version}</var>
<var>${location}</var>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:03.883002" elapsed="0.000045"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:03.882686" elapsed="0.000445"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.516419" elapsed="0.366758"/>
</if>
<if>
<branch type="IF" condition="'SNAPSHOT' in '${version}'">
<kw name="Remove Values From List" owner="Collections">
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<arg>bgpcep</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-11T23:14:03.883786" elapsed="0.000410"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:03.883297" elapsed="0.000987"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.883263" elapsed="0.001074"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.885231" level="INFO">${is_staged} = "FALSE"</msg>
<var>${is_staged}</var>
<arg>"opendaylight.release" not in '${urlbase}' and "opendaylight.snapshot" not in '${urlbase}'</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:03.884721" elapsed="0.000536"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.885810" level="INFO">${is_mri_component} = "FALSE"</msg>
<var>${is_mri_component}</var>
<arg>'${component}' in ${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:03.885417" elapsed="0.000419"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.886384" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${is_mri_component} == "TRUE" and ${is_staged} == "FALSE"</arg>
<arg>${NEXUS_RELEASE_BASE_URL}</arg>
<arg>${urlbase}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:03.885995" elapsed="0.000415"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.886946" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT</msg>
<var>${url}</var>
<arg>${urlbase}/${location}/${artifact}/${version}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:14:03.886565" elapsed="0.000407"/>
</kw>
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.888912" level="INFO">Executing command 'curl -L https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/maven-metadata.xml'.</msg>
<msg time="2026-04-11T23:14:03.972224" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:03.972469" level="INFO">${stdout} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<msg time="2026-04-11T23:14:03.972625" level="INFO">${stderr} =   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0   ...</msg>
<msg time="2026-04-11T23:14:03.972722" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:03.888724" elapsed="0.084047"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.974486" level="INFO">Length is 316.</msg>
<msg time="2026-04-11T23:14:03.974691" level="FAIL">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  43672      0 --:--:-- --:--:-- --:--:-- 43857' should be empty.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="FAIL" start="2026-04-11T23:14:03.973911" elapsed="0.001010">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  43672      0 --:--:-- --:--:-- --:--:-- 43857' should be empty.</status>
</kw>
<msg time="2026-04-11T23:14:03.975162" level="INFO">${emptiness_status} = FAIL</msg>
<msg time="2026-04-11T23:14:03.975256" level="INFO">${result} = '  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0  ...</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:03.973156" elapsed="0.002152"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.976653" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:03.975695" elapsed="0.001017"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.979065" level="INFO">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:03.978501" elapsed="0.000737"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.980106" level="INFO">  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  43672      0 --:--:-- --:--:-- --:--:-- 43857</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:03.979560" elapsed="0.000645"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:03.981046" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:03.980564" elapsed="0.000524"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:14:03.977644" elapsed="0.003496"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:03.976881" elapsed="0.004295"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.976839" elapsed="0.004361"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:14:03.981355" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:03.981255" elapsed="0.000144"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.981238" elapsed="0.000182"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:14:03.981557" elapsed="0.000041"/>
</return>
<status status="PASS" start="2026-04-11T23:14:03.981470" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.981455" elapsed="0.000200"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:03.981792" elapsed="0.000021"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:14:03.888119" elapsed="0.093789"/>
</kw>
<msg time="2026-04-11T23:14:03.982003" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:14:03.887551" elapsed="0.094501"/>
</kw>
<msg time="2026-04-11T23:14:03.982209" level="INFO">${metadata} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<var>${metadata}</var>
<arg>curl -L ${url}/maven-metadata.xml</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:14:03.887170" elapsed="0.095068"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:03.984742" level="INFO">Executing command 'echo "&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1'.</msg>
<msg time="2026-04-11T23:14:04.021545" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:04.021837" level="INFO">${stdout} = 9.0.3-20260411.052747-35</msg>
<msg time="2026-04-11T23:14:04.021936" level="INFO">${stderr} = </msg>
<msg time="2026-04-11T23:14:04.022024" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:03.984550" elapsed="0.037524"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.023947" level="INFO">Length is 0.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="PASS" start="2026-04-11T23:14:04.023278" elapsed="0.000783"/>
</kw>
<msg time="2026-04-11T23:14:04.024277" level="INFO">${emptiness_status} = PASS</msg>
<msg time="2026-04-11T23:14:04.024374" level="INFO">${result} = None</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:04.022467" elapsed="0.001958"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.025827" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:04.024849" elapsed="0.001038"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.028536" level="INFO">9.0.3-20260411.052747-35</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:04.027738" elapsed="0.000928"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.029805" level="INFO"/>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:04.028991" elapsed="0.000907"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.031015" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:04.030220" elapsed="0.000890"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:14:04.026826" elapsed="0.004403"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:04.026057" elapsed="0.005252"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:04.026014" elapsed="0.005350"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:14:04.031808" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:04.031552" elapsed="0.000356"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:04.031512" elapsed="0.000445"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:14:04.032266" elapsed="0.000059"/>
</return>
<status status="PASS" start="2026-04-11T23:14:04.032071" elapsed="0.000325"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:04.032037" elapsed="0.000411"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.032826" elapsed="0.000049"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:14:03.983953" elapsed="0.049088"/>
</kw>
<msg time="2026-04-11T23:14:04.033093" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:14:03.983431" elapsed="0.049710"/>
</kw>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:14:03.982980" elapsed="0.050239"/>
</kw>
<msg time="2026-04-11T23:14:04.033313" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:14:04.033356" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${status}</var>
<var>${namepart}</var>
<arg>SSHKeywords.Execute_Command_Should_Pass</arg>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:03.982394" elapsed="0.050985"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.033828" level="INFO">Length is 24.</msg>
<msg time="2026-04-11T23:14:04.033902" level="INFO">${length} = 24</msg>
<var>${length}</var>
<arg>${namepart}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-11T23:14:04.033535" elapsed="0.000390"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.034471" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${namepart}</var>
<arg>"${status}" != "PASS" or ${length} == 0</arg>
<arg>${version}</arg>
<arg>${namepart}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:04.034082" elapsed="0.000415"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.035008" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${filename}</var>
<arg>${name_prefix}${namepart}${name_suffix}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:14:04.034669" elapsed="0.000364"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.035422" level="INFO">netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<arg>${filename}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:04.035181" elapsed="0.000284"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.035938" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${url}</var>
<arg>${url}/${filename}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:14:04.035625" elapsed="0.000340"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:04.036283" level="INFO">Executing command 'wget -q -N 'https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-executable.jar' 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:14:04.093036" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:04.093269" level="INFO">${response} = </msg>
<msg time="2026-04-11T23:14:04.093369" level="INFO">${result} = 0</msg>
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:04.036118" elapsed="0.057300"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.094378" level="INFO"/>
<arg>${response}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:04.093825" elapsed="0.000642"/>
</kw>
<if>
<branch type="IF" condition="${result} == 0">
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:14:04.094888" elapsed="0.000059"/>
</return>
<status status="PASS" start="2026-04-11T23:14:04.094648" elapsed="0.000372"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:04.094604" elapsed="0.000468"/>
</if>
<kw name="Replace String Using Regexp" owner="String">
<var>${release_url}</var>
<arg>${url}</arg>
<arg>autorelease-[0-9]{4}</arg>
<arg>opendaylight.release</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.095387" elapsed="0.000047"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${release_url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.095801" elapsed="0.000047"/>
</kw>
<if>
<branch type="IF" condition="${result} != 0">
<kw name="Fail" owner="BuiltIn">
<arg>Artifact "${artifact}" in component "${component}" could not be downloaded from ${release_url} nor ${url}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.096302" elapsed="0.000042"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:04.096002" elapsed="0.000411"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:14:04.095966" elapsed="0.000559"/>
</if>
<return>
<value>${filename}</value>
<status status="NOT RUN" start="2026-04-11T23:14:04.096626" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:14:04.096933" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${filename}</var>
<arg>${component}</arg>
<arg>${artifact}</arg>
<arg>${name_prefix}</arg>
<arg>${name_suffix}</arg>
<arg>${fallback_url}</arg>
<arg>${explicit_url}</arg>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Deploy the specified artifact from Nexus to the cwd of the machine to which the active SSHLibrary connection points.
netconf is a name part of an artifact present in system/ of ODl installation with the same version as netconf-testtool should have.
Must have https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-karaf/9.0.3-SNAPSHOT/netconf-karaf-9.0.3-20260411.052747-35.zip variable set to the URL from which the
tested ODL distribution was downloaded and this place must be
inside a repository created by a standard distribution
construction job. If this is detected to ne be the case, fallback URL is used.
If  is non-empty, Deploy_From_Utrl is called instead.
TODO: Allow deploying to a specific directory, we have SSHKeywords.Execute_Command_At_Cwd_Should_Pass now.</doc>
<status status="PASS" start="2026-04-11T23:14:03.456051" elapsed="0.640937"/>
</kw>
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:14:04.097144" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:14:04.097358" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${filename}</var>
<arg>netconf</arg>
<arg>netconf-testtool</arg>
<doc>Deploy a test tool.
The test tools have naming convention of the form
"&lt;repository_url&gt;/some/dir/somewhere/&lt;tool-name&gt;/&lt;tool-name&gt;-&lt;version-tag&gt;-${suffix}.jar"
where "&lt;tool-name&gt;" is the name of the tool and "&lt;version-tag&gt;" is
the version tag that is digged out of the maven metadata. This
keyword calculates ${name_prefix} and ${name_suffix} for
"Deploy_Artifact" and then calls "Deploy_Artifact" to do the real
work of deploying the artifact.</doc>
<status status="PASS" start="2026-04-11T23:14:03.448203" elapsed="0.649190"/>
</kw>
<kw name="Start_Testtool" owner="NetconfKeywords">
<kw name="NetconfKeywords__Deploy_Additional_Schemas" owner="NetconfKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:04.099517" level="INFO">Executing command 'rm -rf schemas 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:14:04.145103" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:04.145311" level="INFO">${response} = </msg>
<var>${response}</var>
<arg>rm -rf schemas 2&gt;&amp;1</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:04.099386" elapsed="0.045977"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.146307" level="INFO"/>
<arg>${response}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:04.145751" elapsed="0.000648"/>
</kw>
<if>
<branch type="IF" condition="'${schemas}' == 'none'">
<return>
<value>${EMPTY}</value>
<status status="PASS" start="2026-04-11T23:14:04.146824" elapsed="0.000062"/>
</return>
<status status="PASS" start="2026-04-11T23:14:04.146548" elapsed="0.000414"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:04.146506" elapsed="0.000509"/>
</if>
<kw name="Put Directory" owner="SSHLibrary">
<arg>${schemas}</arg>
<arg>destination=./schemas</arg>
<doc>Uploads a directory, including its content, from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.147333" elapsed="0.000047"/>
</kw>
<kw name="List Directory" owner="SSHLibrary">
<arg>./schemas</arg>
<doc>Returns and logs items in the remote ``path``, optionally filtered with ``pattern``.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.147726" elapsed="0.000046"/>
</kw>
<return>
<value>--schemas-dir ./schemas</value>
<status status="NOT RUN" start="2026-04-11T23:14:04.147859" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:14:04.152150" level="INFO">${schemas_option} = </msg>
<var>${schemas_option}</var>
<arg>${schemas}</arg>
<doc>Internal keyword for Install_And_Start_TestTool
This deploys the additional schemas if any and returns a
command line argument to be added to the testtool commandline
to tell it to load them. While this code could be integrated
into its only user, I considered the resulting code to be too
unreadable as the actions are quite different in the two
possibilities (additional schemas present versus no additional
schemas present), therefore a separate keyword is used.</doc>
<status status="PASS" start="2026-04-11T23:14:04.098944" elapsed="0.053264"/>
</kw>
<kw name="NetconfKeywords__Deploy_Custom_RPC" owner="NetconfKeywords">
<if>
<branch type="IF" condition="'${rpc_config}' == 'none'">
<return>
<value>${EMPTY}</value>
<status status="PASS" start="2026-04-11T23:14:04.153523" elapsed="0.000089"/>
</return>
<status status="PASS" start="2026-04-11T23:14:04.153289" elapsed="0.000401"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:04.153249" elapsed="0.000494"/>
</if>
<kw name="Copy_File_To_Tools_System" owner="SSHKeywords">
<arg>${TOOLS_SYSTEM_1_IP}</arg>
<arg>${rpc_config}</arg>
<arg>/tmp</arg>
<doc>Wrapper keyword to make it easier to copy a file to an Tools specific system</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.154150" elapsed="0.000053"/>
</kw>
<return>
<value>--rpc-config /tmp/customaction.xml</value>
<status status="NOT RUN" start="2026-04-11T23:14:04.154305" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:14:04.157719" level="INFO">${rpc_config_option} = </msg>
<var>${rpc_config_option}</var>
<arg>${rpc_config}</arg>
<doc>Internal keyword for Install_And_Start_TestTool
This deploys the optional custom rpc file.
Drop out of the keyword, returning no command line argument when there
is no rpc file to deploy.</doc>
<status status="PASS" start="2026-04-11T23:14:04.152765" elapsed="0.004980"/>
</kw>
<kw name="Compose_Full_Java_Command" owner="NexusKeywords">
<kw name="Compose_Base_Java_Command" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk8"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_8_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_8_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:14:04.159089" elapsed="0.000311"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk11"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_11_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_11_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:14:04.159562" elapsed="0.000317"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk17"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_17_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_17_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:14:04.160038" elapsed="0.000294"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Compose_Dilemma_Filepath" owner="NexusKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:04.161542" level="INFO">Executing command 'ls -lA /usr/lib/jvm/java-21-openjdk-amd64/bin/java 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:14:04.197701" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:04.197929" level="INFO">${out} = -rwxr-xr-x 1 root root 14456 Jul 16  2025 /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<msg time="2026-04-11T23:14:04.198029" level="INFO">${rc} = 0</msg>
<var>${out}</var>
<var>${rc}</var>
<arg>ls -lA ${specific_path} 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:04.161374" elapsed="0.036705"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${specific_path}</value>
<status status="PASS" start="2026-04-11T23:14:04.198489" elapsed="0.000060"/>
</return>
<status status="PASS" start="2026-04-11T23:14:04.198254" elapsed="0.000413"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:04.198210" elapsed="0.000580"/>
</if>
<return>
<value>${default_path}</value>
<status status="NOT RUN" start="2026-04-11T23:14:04.198874" elapsed="0.000034"/>
</return>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Query active SSH connection, return specific path if it exists else default path.</doc>
<status status="PASS" start="2026-04-11T23:14:04.160994" elapsed="0.038127"/>
</kw>
<msg time="2026-04-11T23:14:04.199217" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>"""${openjdk}""" == "openjdk21"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:14:04.160502" elapsed="0.038819"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>java -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.199713" elapsed="0.000049"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>java</value>
<status status="NOT RUN" start="2026-04-11T23:14:04.200002" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:04.199923" elapsed="0.000169"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:14:04.199885" elapsed="0.000254"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<var>${java}</var>
<arg>echo $JAVA_HOME/bin/java 2&gt;&amp;1</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.200469" elapsed="0.000047"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.200884" elapsed="0.000046"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:14:04.201160" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:04.201084" elapsed="0.000163"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:14:04.201048" elapsed="0.000244"/>
</if>
<kw name="Get Environment Variable" owner="OperatingSystem">
<var>${JAVA_HOME}</var>
<arg>JAVA_HOME</arg>
<arg>${EMPTY}</arg>
<doc>Returns the value of an environment variable with the given name.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.201615" elapsed="0.000047"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${java}</var>
<arg>"""${JAVA_HOME}"""!=""</arg>
<arg>${JAVA_HOME}/bin/java</arg>
<arg>false</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.201999" elapsed="0.000045"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.202386" elapsed="0.000044"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:14:04.202689" elapsed="0.000030"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:04.202608" elapsed="0.000172"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:14:04.202545" elapsed="0.000281"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Unable to find Java; specify \${JDKVERSION}, put it to your PATH or set JAVA_HOME environment variable.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.203117" elapsed="0.000045"/>
</kw>
<msg time="2026-04-11T23:14:04.203379" level="INFO">${base_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<var>${base_command}</var>
<arg>openjdk=${openjdk}</arg>
<doc>Return string suitable for launching Java programs over SSHLibrary, depending on JRE version needed.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
Commands composed for one SSH connection shall not be reused on other SSH connections as the two connections may have different Java setups.
Not directly related to Nexus, but versioned Java tools may need this.</doc>
<status status="PASS" start="2026-04-11T23:14:04.158728" elapsed="0.044706"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.204524" level="INFO">${full_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal tru...</msg>
<var>${full_command}</var>
<arg>${base_command} ${options}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:14:04.203788" elapsed="0.000824"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.205479" level="INFO">/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal true</msg>
<arg>${full_command}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:04.204949" elapsed="0.000656"/>
</kw>
<return>
<value>${full_command}</value>
<status status="PASS" start="2026-04-11T23:14:04.205700" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:14:04.206030" level="INFO">${command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal tru...</msg>
<var>${command}</var>
<arg>${java_options} -jar ${filename} ${tool_options} --device-count ${device-count} --debug ${debug} ${schemas_option} ${rpc_config_option} --md-sal ${mdsal}</arg>
<doc>Return full Bash command to run Java with given options.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
The options may include JVM options, application command line arguments, Bash redirects and other constructs.</doc>
<status status="PASS" start="2026-04-11T23:14:04.157967" elapsed="0.048120"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.206990" level="INFO">Running testtool: /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal true</msg>
<arg>Running testtool: ${command}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:14:04.206416" elapsed="0.000671"/>
</kw>
<kw name="Get Log File Name" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.211044" level="INFO">${name} = netconf-scale-txt-Getmulti</msg>
<var>${name}</var>
<arg>"""${SUITE_NAME}""".replace(" ","-").replace("/","-").replace(".","-")</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:04.210691" elapsed="0.000380"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.213320" level="INFO">${suffix} = </msg>
<var>${suffix}</var>
<arg>'${testcase}' != ''</arg>
<arg>--${testcase}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:14:04.211230" elapsed="0.002116"/>
</kw>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:04.213694" level="INFO">${date} = 2026-04-11 23:14:04.214</msg>
<var>${date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:04.213507" elapsed="0.000213"/>
</kw>
<kw name="Convert Date" owner="DateTime">
<msg time="2026-04-11T23:14:04.214196" level="INFO">${timestamp} = 1775949244.214</msg>
<var>${timestamp}</var>
<arg>${date}</arg>
<arg>epoch</arg>
<doc>Converts between supported `date formats`.</doc>
<status status="PASS" start="2026-04-11T23:14:04.213900" elapsed="0.000321"/>
</kw>
<return>
<value>${testtool}--${name}${suffix}.${timestamp}.log</value>
<status status="PASS" start="2026-04-11T23:14:04.214268" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:14:04.214501" level="INFO">${logfile} = testtool--netconf-scale-txt-Getmulti.1775949244.214.log</msg>
<var>${logfile}</var>
<arg>testtool</arg>
<doc>Get the name of the suite sanitized to be usable as a part of filename.
These names are used to constructs names of the log files produced
by the testing tools so two suites using a tool wont overwrite the
log files if they happen to run in one job.</doc>
<status status="PASS" start="2026-04-11T23:14:04.207601" elapsed="0.006924"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.219057" level="INFO">${testtool_log} = testtool--netconf-scale-txt-Getmulti.1775949244.214.log</msg>
<arg>${testtool_log}</arg>
<arg>${logfile}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:04.214701" elapsed="0.004402"/>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:14:04.241007" level="INFO">/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal true &gt;testtool--netconf-scale-txt-Getmulti.1775949244.214.log 2&gt;&amp;1</msg>
<arg>${command} &gt;${logfile} 2&gt;&amp;1</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="PASS" start="2026-04-11T23:14:04.219253" elapsed="0.021815"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.244993" level="INFO">${NetconfKeywords__testtool_device_count} = 500</msg>
<arg>${NetconfKeywords__testtool_device_count}</arg>
<arg>${device-count}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:04.241230" elapsed="0.003809"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:04.245842" level="INFO">${current_Date} = 2026-04-11 23:14:04.246</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:04.245688" elapsed="0.000180"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:14:04.246335" level="INFO">${deadline_Date} = 2026-04-11 23:59:04.246</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:14:04.246013" elapsed="0.000348"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.250824" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:04.246517" elapsed="0.004352"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.251334" level="INFO">Repeating keyword, round 1/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:04.252451" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:04.252316" elapsed="0.000177"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:04.252297" elapsed="0.000217"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:04.252826" level="INFO">${current_Date} = 2026-04-11 23:14:04.253</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:04.252672" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:04.253302" level="INFO">${ellapsed_seconds} = 2699.993</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:04.252994" elapsed="0.000333"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.253650" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:04.253398" elapsed="0.000307"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:04.253379" elapsed="0.000349"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:04.252082" elapsed="0.001691"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.254271" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:04.253914" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.255689" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:04.255342" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.257340" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:04.256759" elapsed="0.000607"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:04.259858" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:04.272520" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:04.272632" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:04.259761" elapsed="0.012899"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:04.273112" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:04.273309" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:04.272735" elapsed="0.000685">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:04.272714" elapsed="0.000797">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:04.259474" elapsed="0.014346">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:04.258952" elapsed="0.015009"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:04.274938" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:04.345547" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:04.345792" level="INFO">${output} = 0</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:04.274412" elapsed="0.071434"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:04.346027" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:04.346823" level="INFO">${count} = 0</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:04.258180" elapsed="0.088852"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<msg time="2026-04-11T23:14:04.349426" level="FAIL">0 != 1</msg>
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="FAIL" start="2026-04-11T23:14:04.347631" elapsed="0.002247">0 != 1</status>
</kw>
<arg>${device-port}</arg>
<status status="FAIL" start="2026-04-11T23:14:04.257587" elapsed="0.092627">0 != 1</status>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:04.256390" elapsed="0.094091">0 != 1</status>
</kw>
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:05.353642" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:05.352157" elapsed="0.001553"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:05.359181" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:05.372655" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:05.372873" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:05.358944" elapsed="0.013988"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:05.373868" elapsed="0.000067"/>
</kw>
<msg time="2026-04-11T23:14:05.374013" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:05.373106" elapsed="0.001015">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:05.373056" elapsed="0.001157">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:05.358220" elapsed="0.016268">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:05.357302" elapsed="0.017359"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:05.375640" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:05.421511" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:05.421748" level="INFO">${output} = 0</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:05.375118" elapsed="0.046685"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:05.421987" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:05.422788" level="INFO">${count} = 0</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:05.355526" elapsed="0.067469"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<msg time="2026-04-11T23:14:05.425452" level="FAIL">0 != 1</msg>
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="FAIL" start="2026-04-11T23:14:05.423604" elapsed="0.002311">0 != 1</status>
</kw>
<arg>${device-port}</arg>
<status status="FAIL" start="2026-04-11T23:14:05.354171" elapsed="0.072748">0 != 1</status>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:05.351214" elapsed="0.076004">0 != 1</status>
</kw>
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:06.430724" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:06.429179" elapsed="0.001617"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:06.434753" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:06.447867" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:06.448005" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:06.434590" elapsed="0.013452"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:06.448669" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:14:06.448755" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:06.448169" elapsed="0.000658">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:06.448123" elapsed="0.000764">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:06.434189" elapsed="0.014876">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:06.433628" elapsed="0.015527"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:06.449778" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:06.497722" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:06.497946" level="INFO">${output} = 0</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:06.449445" elapsed="0.048557"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:06.498285" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:14:06.499117" level="INFO">${count} = 0</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:06.432498" elapsed="0.066851"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<msg time="2026-04-11T23:14:06.501852" level="FAIL">0 != 1</msg>
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="FAIL" start="2026-04-11T23:14:06.500003" elapsed="0.002284">0 != 1</status>
</kw>
<arg>${device-port}</arg>
<status status="FAIL" start="2026-04-11T23:14:06.431267" elapsed="0.071390">0 != 1</status>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:06.428127" elapsed="0.074812">0 != 1</status>
</kw>
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:07.506365" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:07.504843" elapsed="0.001592"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:07.512072" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:07.526720" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:07.526967" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:07.511916" elapsed="0.015110"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:07.527963" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:07.528098" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:07.527203" elapsed="0.001004">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:07.527150" elapsed="0.001152">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:07.509628" elapsed="0.018979">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:07.509033" elapsed="0.019802"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:07.529831" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:07.592009" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:07.592236" level="INFO">${output} = 0</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:07.529297" elapsed="0.062995"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:07.592483" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:14:07.593304" level="INFO">${count} = 0</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:07.507916" elapsed="0.085595"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<msg time="2026-04-11T23:14:07.596034" level="FAIL">0 != 1</msg>
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="FAIL" start="2026-04-11T23:14:07.594140" elapsed="0.002370">0 != 1</status>
</kw>
<arg>${device-port}</arg>
<status status="FAIL" start="2026-04-11T23:14:07.506988" elapsed="0.089914">0 != 1</status>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:07.503804" elapsed="0.093369">0 != 1</status>
</kw>
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.600449" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.598952" elapsed="0.001565"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:08.605208" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:08.618594" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:08.618733" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:08.605059" elapsed="0.013712"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:08.619342" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:08.619426" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:08.618884" elapsed="0.000612">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:08.618850" elapsed="0.000707">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:08.604416" elapsed="0.015345">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:08.603857" elapsed="0.016059"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:08.620507" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:08.684064" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:08.684295" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:08.620201" elapsed="0.064152"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:08.684545" elapsed="0.000195"/>
</return>
<msg time="2026-04-11T23:14:08.685371" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:08.602431" elapsed="0.083190"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:08.686219" elapsed="0.001808"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:08.601012" elapsed="0.087248"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:08.597962" elapsed="0.090441"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:04.255876" elapsed="4.432627"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:04.254906" elapsed="4.433758"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:04.254448" elapsed="4.434314"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.689895" level="INFO">${next} = 17831</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.689103" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.691366" level="INFO">${current_port} = 17831</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:08.690473" elapsed="0.000988"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:04.251524" elapsed="4.440094"/>
</kw>
<msg time="2026-04-11T23:14:08.691711" level="INFO">Repeating keyword, round 2/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:08.694253" elapsed="0.000084"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:08.694010" elapsed="0.000390"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:08.693967" elapsed="0.000483"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:08.695175" level="INFO">${current_Date} = 2026-04-11 23:14:08.695</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:08.694810" elapsed="0.000412"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:08.695941" level="INFO">${ellapsed_seconds} = 2695.551</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:08.695368" elapsed="0.000600"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:08.696286" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:08.696041" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:08.696022" elapsed="0.000343"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:08.693401" elapsed="0.003010"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.696937" level="INFO">${number} = 2</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.696554" elapsed="0.000409"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.698391" level="INFO">${number} = 2</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.698039" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.700061" level="INFO">${device-port} = 17831</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.699431" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:08.702459" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:08.737326" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:08.737540" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:08.702361" elapsed="0.035278"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:08.738533" elapsed="0.000088"/>
</kw>
<msg time="2026-04-11T23:14:08.738699" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:08.737809" elapsed="0.001083">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:08.737762" elapsed="0.001228">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:08.702072" elapsed="0.037187">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:08.701686" elapsed="0.037714"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:08.740388" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17831 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:08.795358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:08.795602" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:08.739902" elapsed="0.055760"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:08.795842" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:08.796638" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:08.700903" elapsed="0.095948"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:08.797425" elapsed="0.001760"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:08.700289" elapsed="0.099125"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:08.699090" elapsed="0.100464"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:08.698590" elapsed="0.101096"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:08.697562" elapsed="0.102247"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:08.697116" elapsed="0.102787"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.801007" level="INFO">${next} = 17832</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.800240" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.802368" level="INFO">${current_port} = 17832</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:08.801427" elapsed="0.001036"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:08.692133" elapsed="0.110487"/>
</kw>
<msg time="2026-04-11T23:14:08.802712" level="INFO">Repeating keyword, round 3/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:08.804429" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:08.804280" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:08.804254" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:08.805019" level="INFO">${current_Date} = 2026-04-11 23:14:08.805</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:08.804781" elapsed="0.000277"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:08.806015" level="INFO">${ellapsed_seconds} = 2695.441</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:08.805258" elapsed="0.000794"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:08.806489" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:08.806152" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:08.806127" elapsed="0.000493"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:08.803947" elapsed="0.002739"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.807386" level="INFO">${number} = 3</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.806885" elapsed="0.000537"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.809368" level="INFO">${number} = 3</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.808901" elapsed="0.000503"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.811835" level="INFO">${device-port} = 17832</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.810983" elapsed="0.000889"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:08.815180" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:08.849360" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:08.849608" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:08.815049" elapsed="0.034621"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:08.850551" elapsed="0.000105"/>
</kw>
<msg time="2026-04-11T23:14:08.850736" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:08.849840" elapsed="0.001001">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:08.849789" elapsed="0.001142">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:08.814680" elapsed="0.036514">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:08.814087" elapsed="0.037316"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:08.852394" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17832 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:08.907188" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:08.907392" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:08.851907" elapsed="0.055539"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:08.907674" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:08.908454" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:08.812992" elapsed="0.095712"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:08.909279" elapsed="0.001773"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:08.812149" elapsed="0.099110"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:08.810489" elapsed="0.100857"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:08.809655" elapsed="0.101751"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:08.808271" elapsed="0.103211"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:08.807655" elapsed="0.103884"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.912232" level="INFO">${next} = 17833</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.911774" elapsed="0.000494"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.913054" level="INFO">${current_port} = 17833</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:08.912493" elapsed="0.000619"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:08.803124" elapsed="0.110065"/>
</kw>
<msg time="2026-04-11T23:14:08.913241" level="INFO">Repeating keyword, round 4/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:08.914853" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:08.914702" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:08.914674" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:08.915344" level="INFO">${current_Date} = 2026-04-11 23:14:08.915</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:08.915135" elapsed="0.000244"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:08.916525" level="INFO">${ellapsed_seconds} = 2695.331</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:08.915811" elapsed="0.000751"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:08.917066" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:08.916744" elapsed="0.000397"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:08.916716" elapsed="0.000457"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:08.914302" elapsed="0.002936"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.917962" level="INFO">${number} = 4</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.917433" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.919959" level="INFO">${number} = 4</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.919474" elapsed="0.000522"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:08.922280" level="INFO">${device-port} = 17833</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:08.921375" elapsed="0.000942"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:08.924911" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:08.957450" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:08.957723" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:08.924812" elapsed="0.032973"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:08.958733" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:08.958869" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:08.957956" elapsed="0.001095">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:08.957911" elapsed="0.001237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:08.924522" elapsed="0.034894">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:08.924134" elapsed="0.035423"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:08.960552" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17833 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:09.020157" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.020339" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:08.960061" elapsed="0.060314"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:09.020522" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:14:09.021093" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:08.923371" elapsed="0.097864"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:09.021667" elapsed="0.001206"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:08.922620" elapsed="0.100409"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:08.920906" elapsed="0.102218"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:08.920210" elapsed="0.102981"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:08.918866" elapsed="0.104415"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:08.918230" elapsed="0.105113"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.024072" level="INFO">${next} = 17834</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.023567" elapsed="0.000541"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.024901" level="INFO">${current_port} = 17834</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:09.024341" elapsed="0.000618"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:08.913494" elapsed="0.111543"/>
</kw>
<msg time="2026-04-11T23:14:09.025091" level="INFO">Repeating keyword, round 5/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:09.026767" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:09.026608" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.026545" elapsed="0.000310"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.027349" level="INFO">${current_Date} = 2026-04-11 23:14:09.027</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:09.027119" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.028399" level="INFO">${ellapsed_seconds} = 2695.219</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:09.027644" elapsed="0.000792"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.028891" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:09.028536" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.028510" elapsed="0.000489"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:09.026238" elapsed="0.002825"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.029782" level="INFO">${number} = 5</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.029262" elapsed="0.000557"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.031797" level="INFO">${number} = 5</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.031295" elapsed="0.000539"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.034177" level="INFO">${device-port} = 17834</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.033301" elapsed="0.000914"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.037491" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:09.069477" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.069644" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.037352" elapsed="0.032330"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.070256" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:14:09.070337" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:09.069790" elapsed="0.000614">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:09.069759" elapsed="0.000702">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:09.036982" elapsed="0.033676">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:09.036427" elapsed="0.034367"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.071388" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17834 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:09.127477" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.127636" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.071085" elapsed="0.056587"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:09.127785" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:14:09.128255" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:09.035346" elapsed="0.093037"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:09.128773" elapsed="0.001060"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:09.034496" elapsed="0.095478"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:09.032834" elapsed="0.097248"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:09.032053" elapsed="0.098094"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.030689" elapsed="0.099540"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:09.030031" elapsed="0.100258"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.130993" level="INFO">${next} = 17835</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.130499" elapsed="0.000530"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.131792" level="INFO">${current_port} = 17835</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:09.131249" elapsed="0.000601"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.025372" elapsed="0.106554"/>
</kw>
<msg time="2026-04-11T23:14:09.131980" level="INFO">Repeating keyword, round 6/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:09.133507" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:09.133361" elapsed="0.000204"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.133335" elapsed="0.000303"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.134051" level="INFO">${current_Date} = 2026-04-11 23:14:09.134</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:09.133841" elapsed="0.000279"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.135063" level="INFO">${ellapsed_seconds} = 2695.112</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:09.134327" elapsed="0.000773"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.135519" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:09.135200" elapsed="0.000414"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.135174" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:09.133030" elapsed="0.002684"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.136410" level="INFO">${number} = 6</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.135913" elapsed="0.000533"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.138514" level="INFO">${number} = 6</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.138029" elapsed="0.000521"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.140832" level="INFO">${device-port} = 17835</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.139974" elapsed="0.000896"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.144152" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:09.181539" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.181700" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.144015" elapsed="0.037722"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.182296" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:09.182378" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:09.181841" elapsed="0.000651">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:09.181813" elapsed="0.000740">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:09.143640" elapsed="0.039101">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:09.143073" elapsed="0.039756"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.183416" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17835 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:09.239591" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.239722" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.183113" elapsed="0.056643"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:09.239871" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:09.240342" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:09.141984" elapsed="0.098486"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:09.240859" elapsed="0.001141"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:09.141149" elapsed="0.101033"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:09.139482" elapsed="0.102800"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:09.138795" elapsed="0.103555"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.137293" elapsed="0.105141"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:09.136678" elapsed="0.105824"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.243256" level="INFO">${next} = 17836</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.242752" elapsed="0.000551"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.244117" level="INFO">${current_port} = 17836</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:09.243539" elapsed="0.000640"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.132237" elapsed="0.112028"/>
</kw>
<msg time="2026-04-11T23:14:09.244319" level="INFO">Repeating keyword, round 7/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:09.245884" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:09.245734" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.245708" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.246473" level="INFO">${current_Date} = 2026-04-11 23:14:09.246</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:09.246259" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.247431" level="INFO">${ellapsed_seconds} = 2695.0</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:09.246735" elapsed="0.000733"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.247905" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:09.247585" elapsed="0.000394"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.247542" elapsed="0.000469"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:09.245359" elapsed="0.002715"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.248799" level="INFO">${number} = 7</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.248272" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.250824" level="INFO">${number} = 7</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.250338" elapsed="0.000523"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.253085" level="INFO">${device-port} = 17836</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.252237" elapsed="0.000885"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.256696" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:09.294213" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.294432" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.256538" elapsed="0.037953"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.295386" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:09.295517" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:09.294695" elapsed="0.000968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:09.294648" elapsed="0.001108">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:09.256042" elapsed="0.039987">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:09.255496" elapsed="0.040737"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.297221" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17836 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:09.351630" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.351841" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.296736" elapsed="0.055159"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:09.352076" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:09.352869" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:09.254257" elapsed="0.098824"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:09.353686" elapsed="0.001719"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:09.253398" elapsed="0.102265"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:09.251772" elapsed="0.104037"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:09.251077" elapsed="0.104830"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.249714" elapsed="0.106314"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:09.249047" elapsed="0.107076"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.357326" level="INFO">${next} = 17837</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.356552" elapsed="0.000832"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.358662" level="INFO">${current_port} = 17837</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:09.357781" elapsed="0.000940"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.244598" elapsed="0.114200"/>
</kw>
<msg time="2026-04-11T23:14:09.358852" level="INFO">Repeating keyword, round 8/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:09.360366" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:09.360213" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.360187" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.360884" level="INFO">${current_Date} = 2026-04-11 23:14:09.361</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:09.360668" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.361869" level="INFO">${ellapsed_seconds} = 2694.885</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:09.361119" elapsed="0.000787"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.362341" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:09.362020" elapsed="0.000394"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.361994" elapsed="0.000452"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:09.359887" elapsed="0.002621"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.363237" level="INFO">${number} = 8</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.362737" elapsed="0.000536"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.365253" level="INFO">${number} = 8</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.364794" elapsed="0.000495"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.367556" level="INFO">${device-port} = 17837</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.366739" elapsed="0.000878"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.370702" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:09.405667" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.405878" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.370605" elapsed="0.035349"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.406837" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:09.406966" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:09.406119" elapsed="0.001040">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:09.406074" elapsed="0.001181">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:09.370311" elapsed="0.037208">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:09.369778" elapsed="0.037913"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.408666" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17837 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:09.463660" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.463869" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.408146" elapsed="0.055777"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:09.464103" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:09.464898" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:09.368721" elapsed="0.096382"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:09.465715" elapsed="0.001903"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:09.367895" elapsed="0.099954"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:09.366226" elapsed="0.101762"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:09.365510" elapsed="0.102579"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.364167" elapsed="0.104046"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:09.363485" elapsed="0.104826"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.469539" level="INFO">${next} = 17838</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.468815" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.470659" level="INFO">${current_port} = 17838</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:09.470058" elapsed="0.000660"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.359106" elapsed="0.111690"/>
</kw>
<msg time="2026-04-11T23:14:09.470850" level="INFO">Repeating keyword, round 9/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:09.472379" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:09.472225" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.472199" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.472951" level="INFO">${current_Date} = 2026-04-11 23:14:09.473</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:09.472730" elapsed="0.000256"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.473930" level="INFO">${ellapsed_seconds} = 2694.773</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:09.473188" elapsed="0.000780"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.474390" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:09.474068" elapsed="0.000396"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.474042" elapsed="0.000454"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:09.471880" elapsed="0.002681"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.475282" level="INFO">${number} = 9</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.474784" elapsed="0.000534"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.477244" level="INFO">${number} = 9</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.476786" elapsed="0.000494"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.479535" level="INFO">${device-port} = 17838</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.478715" elapsed="0.000878"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.482682" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:09.517698" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.517932" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.482585" elapsed="0.035406"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.518876" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:09.519010" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:09.518156" elapsed="0.000956">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:09.518110" elapsed="0.001090">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:09.482300" elapsed="0.037162">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:09.481752" elapsed="0.037953"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.520684" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17838 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:09.575844" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.576051" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.520159" elapsed="0.055945"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:09.576288" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:09.577086" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:09.480699" elapsed="0.096594"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:09.577931" elapsed="0.001721"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:09.479873" elapsed="0.100007"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:09.478223" elapsed="0.101797"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:09.477494" elapsed="0.102621"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.476163" elapsed="0.104072"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:09.475528" elapsed="0.104801"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.581430" level="INFO">${next} = 17839</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.580701" elapsed="0.000786"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.582781" level="INFO">${current_port} = 17839</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:09.581898" elapsed="0.000977"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.471105" elapsed="0.111892"/>
</kw>
<msg time="2026-04-11T23:14:09.583082" level="INFO">Repeating keyword, round 10/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:09.585661" elapsed="0.000037"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:09.585345" elapsed="0.000415"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.585296" elapsed="0.000513"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.586424" level="INFO">${current_Date} = 2026-04-11 23:14:09.586</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:09.586180" elapsed="0.000281"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.587370" level="INFO">${ellapsed_seconds} = 2694.66</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:09.586682" elapsed="0.000724"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.587840" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:09.587503" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.587478" elapsed="0.000468"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:09.584793" elapsed="0.003215"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.588720" level="INFO">${number} = 10</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.588204" elapsed="0.000553"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.590717" level="INFO">${number} = 10</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.590234" elapsed="0.000520"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.592975" level="INFO">${device-port} = 17839</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.592130" elapsed="0.000883"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.596245" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:09.625701" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.625935" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.596112" elapsed="0.029882"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.626896" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:09.627026" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:09.626155" elapsed="0.001053">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:09.626111" elapsed="0.001192">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:09.595738" elapsed="0.031825">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:09.595189" elapsed="0.032545"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.628701" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17839 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:09.683775" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.683978" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.628181" elapsed="0.055852"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:09.684211" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:09.685011" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:09.594134" elapsed="0.091086"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:09.685852" elapsed="0.001686"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:09.593289" elapsed="0.094510"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:09.591663" elapsed="0.096283"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:09.590970" elapsed="0.097075"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.589611" elapsed="0.098556"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:09.588966" elapsed="0.099295"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.689349" level="INFO">${next} = 17840</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.688628" elapsed="0.000781"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.690506" level="INFO">${current_port} = 17840</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:09.689839" elapsed="0.000725"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.583504" elapsed="0.107162"/>
</kw>
<msg time="2026-04-11T23:14:09.690719" level="INFO">Repeating keyword, round 11/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:09.692275" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:09.692101" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.692075" elapsed="0.000290"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.692834" level="INFO">${current_Date} = 2026-04-11 23:14:09.693</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:09.692621" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.693811" level="INFO">${ellapsed_seconds} = 2694.553</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:09.693070" elapsed="0.000780"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.694267" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:09.693950" elapsed="0.000390"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.693923" elapsed="0.000448"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:09.691753" elapsed="0.002682"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.695153" level="INFO">${number} = 11</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.694653" elapsed="0.000535"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.697105" level="INFO">${number} = 11</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.696649" elapsed="0.000492"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.699526" level="INFO">${device-port} = 17840</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.698704" elapsed="0.000859"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.702667" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:09.737695" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.737950" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.702556" elapsed="0.035453"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.738889" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:09.739019" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:09.738170" elapsed="0.000953">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:09.738125" elapsed="0.001086">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:09.702294" elapsed="0.037176">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:09.701767" elapsed="0.037945"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.740693" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17840 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:09.799672" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.799886" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.740169" elapsed="0.059771"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:09.800120" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:09.800914" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:09.700703" elapsed="0.100417"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:09.801723" elapsed="0.001715"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:09.699865" elapsed="0.103832"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:09.698091" elapsed="0.105746"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:09.697362" elapsed="0.106573"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.696027" elapsed="0.108029"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:09.695399" elapsed="0.108750"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.805260" level="INFO">${next} = 17841</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.804495" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.806453" level="INFO">${current_port} = 17841</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:09.805712" elapsed="0.000798"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.690976" elapsed="0.115633"/>
</kw>
<msg time="2026-04-11T23:14:09.806665" level="INFO">Repeating keyword, round 12/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:09.808195" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:09.808041" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.808015" elapsed="0.000273"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.808721" level="INFO">${current_Date} = 2026-04-11 23:14:09.809</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:09.808486" elapsed="0.000272"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.809684" level="INFO">${ellapsed_seconds} = 2694.437</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:09.808955" elapsed="0.000766"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.810151" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:09.809837" elapsed="0.000387"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.809807" elapsed="0.000449"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:09.807695" elapsed="0.002623"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.811036" level="INFO">${number} = 12</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.810512" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.812989" level="INFO">${number} = 12</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.812511" elapsed="0.000514"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.815306" level="INFO">${device-port} = 17841</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.814451" elapsed="0.000892"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.818618" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:09.849634" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.849868" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.818499" elapsed="0.031429"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.850816" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:09.850947" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:09.850092" elapsed="0.001041">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:09.850044" elapsed="0.001186">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:09.818233" elapsed="0.033265">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:09.817657" elapsed="0.034011"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.852643" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17841 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:09.911687" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.911892" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.852122" elapsed="0.059824"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:09.912125" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:09.912921" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:09.816464" elapsed="0.096665"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:09.913762" elapsed="0.001695"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:09.815647" elapsed="0.100072"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:09.813980" elapsed="0.101884"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:09.813239" elapsed="0.102724"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.811911" elapsed="0.104175"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:09.811280" elapsed="0.104901"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.917280" level="INFO">${next} = 17842</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.916528" elapsed="0.000810"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.918732" level="INFO">${current_port} = 17842</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:09.917869" elapsed="0.000957"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.806918" elapsed="0.112032"/>
</kw>
<msg time="2026-04-11T23:14:09.919033" level="INFO">Repeating keyword, round 13/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:09.921535" elapsed="0.000104"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:09.921289" elapsed="0.000459"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.921239" elapsed="0.000564"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.922377" level="INFO">${current_Date} = 2026-04-11 23:14:09.922</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:09.922212" elapsed="0.000191"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:09.923913" level="INFO">${ellapsed_seconds} = 2694.324</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:09.922545" elapsed="0.001394"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.924359" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:09.924010" elapsed="0.000406"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:09.923992" elapsed="0.000447"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:09.920729" elapsed="0.003756"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.925022" level="INFO">${number} = 13</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.924662" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.926433" level="INFO">${number} = 13</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.926104" elapsed="0.000355"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:09.928070" level="INFO">${device-port} = 17842</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:09.927450" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.930560" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:09.965534" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:09.965799" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.930324" elapsed="0.035533"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:09.966743" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:09.966876" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:09.966019" elapsed="0.000961">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:09.965974" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:09.930062" elapsed="0.037272">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:09.929666" elapsed="0.037867"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:09.968497" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17842 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:10.023458" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.023702" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:09.968020" elapsed="0.055738"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:10.023939" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:10.024757" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:09.928900" elapsed="0.096062"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:10.025532" elapsed="0.001749"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:09.928296" elapsed="0.099212"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:09.927115" elapsed="0.100570"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:09.926630" elapsed="0.101154"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.925652" elapsed="0.102254"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:09.925198" elapsed="0.102804"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.029102" level="INFO">${next} = 17843</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.028334" elapsed="0.000826"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.030630" level="INFO">${current_port} = 17843</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:10.029724" elapsed="0.000968"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:09.919442" elapsed="0.111330"/>
</kw>
<msg time="2026-04-11T23:14:10.030827" level="INFO">Repeating keyword, round 14/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:10.032340" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:10.032188" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.032162" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.032854" level="INFO">${current_Date} = 2026-04-11 23:14:10.033</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:10.032642" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.033507" level="INFO">${ellapsed_seconds} = 2694.213</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:10.033091" elapsed="0.000451"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.034273" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:10.033684" elapsed="0.000664"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.033656" elapsed="0.000725"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:10.031862" elapsed="0.002584"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.035187" level="INFO">${number} = 14</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.034682" elapsed="0.000542"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.037165" level="INFO">${number} = 14</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.036701" elapsed="0.000501"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.039453" level="INFO">${device-port} = 17843</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.038626" elapsed="0.000864"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.042739" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:10.077518" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.077785" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.042643" elapsed="0.035202"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.078734" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:10.078866" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:10.078010" elapsed="0.001041">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:10.077965" elapsed="0.001181">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:10.042265" elapsed="0.037147">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:10.041738" elapsed="0.037812"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.080510" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17843 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:10.139088" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.139192" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.080034" elapsed="0.059183"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:10.139311" elapsed="0.000067"/>
</return>
<msg time="2026-04-11T23:14:10.139685" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:10.040628" elapsed="0.099150"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:10.140043" elapsed="0.000778"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:10.039794" elapsed="0.101130"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:10.038134" elapsed="0.102852"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:10.037417" elapsed="0.103614"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.036077" elapsed="0.105009"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:10.035436" elapsed="0.105693"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.141646" level="INFO">${next} = 17844</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.141284" elapsed="0.000391"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.142211" level="INFO">${current_port} = 17844</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:10.141835" elapsed="0.000417"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.031084" elapsed="0.111230"/>
</kw>
<msg time="2026-04-11T23:14:10.142353" level="INFO">Repeating keyword, round 15/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:10.143619" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:10.143495" elapsed="0.000166"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.143475" elapsed="0.000208"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.144024" level="INFO">${current_Date} = 2026-04-11 23:14:10.144</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:10.143866" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.144502" level="INFO">${ellapsed_seconds} = 2694.102</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:10.144193" elapsed="0.000334"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.145061" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:10.144622" elapsed="0.000494"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.144603" elapsed="0.000537"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:10.143258" elapsed="0.001928"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.145722" level="INFO">${number} = 15</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.145329" elapsed="0.000420"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.147130" level="INFO">${number} = 15</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.146800" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.148779" level="INFO">${device-port} = 17844</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.148141" elapsed="0.000665"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.151231" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:10.189362" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.189460" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.151138" elapsed="0.038348"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.189906" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:14:10.189964" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:10.189561" elapsed="0.000449">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:10.189538" elapsed="0.000512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:10.150875" elapsed="0.039295">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:10.150470" elapsed="0.039799"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.190713" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17844 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:10.247253" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.247347" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.190473" elapsed="0.056898"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:10.247453" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:14:10.247816" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:10.149714" elapsed="0.098194"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:10.248166" elapsed="0.000762"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:10.149089" elapsed="0.099941"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:10.147809" elapsed="0.101285"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:10.147309" elapsed="0.101829"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.146349" elapsed="0.102844"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:10.145901" elapsed="0.103334"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.249755" level="INFO">${next} = 17845</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.249389" elapsed="0.000392"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.250312" level="INFO">${current_port} = 17845</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:10.249937" elapsed="0.000416"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.142705" elapsed="0.107702"/>
</kw>
<msg time="2026-04-11T23:14:10.250445" level="INFO">Repeating keyword, round 16/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:10.251520" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:10.251414" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.251396" elapsed="0.000207"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.251898" level="INFO">${current_Date} = 2026-04-11 23:14:10.252</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:10.251748" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.252360" level="INFO">${ellapsed_seconds} = 2693.994</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:10.252065" elapsed="0.000320"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.252898" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:10.252454" elapsed="0.000499"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.252435" elapsed="0.000542"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:10.251182" elapsed="0.001842"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.253526" level="INFO">${number} = 16</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.253166" elapsed="0.000431"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.255035" level="INFO">${number} = 16</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.254705" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.256699" level="INFO">${device-port} = 17845</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.256048" elapsed="0.000678"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.259073" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:10.301456" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.301585" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.258977" elapsed="0.042636"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.301998" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:14:10.302055" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:10.301689" elapsed="0.000454">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:10.301668" elapsed="0.000518">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:10.258704" elapsed="0.043600">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:10.258305" elapsed="0.044061"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.302808" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17845 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:10.359218" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.359312" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.302588" elapsed="0.056748"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:10.359418" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:14:10.359783" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:10.257511" elapsed="0.102363"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:10.360132" elapsed="0.000760"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:10.256927" elapsed="0.104066"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:10.255712" elapsed="0.105343"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:10.255215" elapsed="0.105884"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.254250" elapsed="0.106904"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:10.253752" elapsed="0.107444"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.361711" level="INFO">${next} = 17846</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.361345" elapsed="0.000393"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.362266" level="INFO">${current_port} = 17846</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:10.361895" elapsed="0.000412"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.250645" elapsed="0.111717"/>
</kw>
<msg time="2026-04-11T23:14:10.362400" level="INFO">Repeating keyword, round 17/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:10.363486" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:10.363380" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.363362" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.363888" level="INFO">${current_Date} = 2026-04-11 23:14:10.364</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:10.363735" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.364353" level="INFO">${ellapsed_seconds} = 2693.882</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:10.364057" elapsed="0.000322"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.364891" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:10.364448" elapsed="0.000498"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.364430" elapsed="0.000540"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:10.363141" elapsed="0.001875"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.365531" level="INFO">${number} = 17</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.365159" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.366947" level="INFO">${number} = 17</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.366616" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.368541" level="INFO">${device-port} = 17846</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.367960" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.370950" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:10.409405" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.409516" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.370854" elapsed="0.038691"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.409953" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:14:10.410011" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:10.409641" elapsed="0.000416">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:10.409619" elapsed="0.000478">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:10.370590" elapsed="0.039625">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:10.370190" elapsed="0.040125"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.410763" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17846 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:10.467310" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.467408" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.410522" elapsed="0.056911"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:10.467517" elapsed="0.000095"/>
</return>
<msg time="2026-04-11T23:14:10.467889" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:10.369402" elapsed="0.098578"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:10.468238" elapsed="0.000767"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:10.368826" elapsed="0.100280"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:10.367626" elapsed="0.101545"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:10.367127" elapsed="0.102088"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.366164" elapsed="0.103106"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:10.365725" elapsed="0.103588"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.469841" level="INFO">${next} = 17847</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.469478" elapsed="0.000389"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.470395" level="INFO">${current_port} = 17847</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:10.470024" elapsed="0.000412"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.362597" elapsed="0.107895"/>
</kw>
<msg time="2026-04-11T23:14:10.470531" level="INFO">Repeating keyword, round 18/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:10.471631" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:10.471509" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.471491" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.471977" level="INFO">${current_Date} = 2026-04-11 23:14:10.472</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:10.471829" elapsed="0.000173"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.472659" level="INFO">${ellapsed_seconds} = 2693.774</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:10.472150" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.472980" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:10.472756" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.472738" elapsed="0.000317"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:10.471274" elapsed="0.001827"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.473645" level="INFO">${number} = 18</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.473241" elapsed="0.000430"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.475032" level="INFO">${number} = 18</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.474704" elapsed="0.000353"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.476698" level="INFO">${device-port} = 17847</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.476050" elapsed="0.000674"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.479038" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:10.521090" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.521187" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.478944" elapsed="0.042269"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.521631" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:10.521690" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:10.521286" elapsed="0.000487">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:10.521266" elapsed="0.000550">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:10.478675" elapsed="0.043260">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:10.478276" elapsed="0.043720"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.522411" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17847 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:10.579401" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.579521" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.522198" elapsed="0.057350"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:10.579668" elapsed="0.000074"/>
</return>
<msg time="2026-04-11T23:14:10.580029" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:10.477519" elapsed="0.102613"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:10.580436" elapsed="0.000813"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:10.476925" elapsed="0.104428"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:10.475718" elapsed="0.105718"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:10.475216" elapsed="0.106266"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.474255" elapsed="0.107285"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:10.473822" elapsed="0.107778"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.582099" level="INFO">${next} = 17848</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.581758" elapsed="0.000368"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.582691" level="INFO">${current_port} = 17848</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:10.582291" elapsed="0.000442"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.470729" elapsed="0.112060"/>
</kw>
<msg time="2026-04-11T23:14:10.582828" level="INFO">Repeating keyword, round 19/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:10.583976" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:10.583867" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.583848" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.584389" level="INFO">${current_Date} = 2026-04-11 23:14:10.584</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:10.584226" elapsed="0.000189"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.585109" level="INFO">${ellapsed_seconds} = 2693.662</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:10.584558" elapsed="0.000578"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.585456" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:10.585208" elapsed="0.000302"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.585190" elapsed="0.000344"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:10.583621" elapsed="0.001994"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.586120" level="INFO">${number} = 19</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.585759" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.587519" level="INFO">${number} = 19</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.587187" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.589159" level="INFO">${device-port} = 17848</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.588551" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.591610" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:10.629329" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.629488" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.591495" elapsed="0.038020"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.630033" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:10.630095" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:10.629643" elapsed="0.000503">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:10.629610" elapsed="0.000589">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:10.591223" elapsed="0.039112">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:10.590842" elapsed="0.039614"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.630955" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17848 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:10.691676" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.691848" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.630716" elapsed="0.061158"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:10.692005" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:14:10.692403" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:10.590056" elapsed="0.102441"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:10.692834" elapsed="0.000870"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:10.589412" elapsed="0.104399"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:10.588215" elapsed="0.105663"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:10.587724" elapsed="0.106202"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.586755" elapsed="0.107231"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:10.586298" elapsed="0.107733"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.694544" level="INFO">${next} = 17849</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.694189" elapsed="0.000398"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.695141" level="INFO">${current_port} = 17849</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:10.694749" elapsed="0.000434"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.583034" elapsed="0.112207"/>
</kw>
<msg time="2026-04-11T23:14:10.695281" level="INFO">Repeating keyword, round 20/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:10.696481" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:10.696370" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.696345" elapsed="0.000200"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.696870" level="INFO">${current_Date} = 2026-04-11 23:14:10.697</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:10.696701" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.697676" level="INFO">${ellapsed_seconds} = 2693.549</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:10.697038" elapsed="0.000665"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.698017" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:10.697774" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.697756" elapsed="0.000336"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:10.696123" elapsed="0.002014"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.698654" level="INFO">${number} = 20</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.698278" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.700056" level="INFO">${number} = 20</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.699721" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.701738" level="INFO">${device-port} = 17849</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.701080" elapsed="0.000686"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.704114" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:10.745205" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.745359" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.704015" elapsed="0.041372"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.745894" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:10.745956" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:10.745489" elapsed="0.000591">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:10.745457" elapsed="0.000668">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:10.703746" elapsed="0.042515">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:10.703347" elapsed="0.042980"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.746817" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17849 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:10.803309" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.803479" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.746560" elapsed="0.056945"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:10.803658" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:14:10.804053" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:10.702561" elapsed="0.101590"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:10.804460" elapsed="0.000873"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:10.701967" elapsed="0.103472"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:10.700745" elapsed="0.104762"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:10.700237" elapsed="0.105320"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.699269" elapsed="0.106367"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:10.698830" elapsed="0.106851"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.806198" level="INFO">${next} = 17850</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.805844" elapsed="0.000381"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.806793" level="INFO">${current_port} = 17850</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:10.806385" elapsed="0.000450"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.695507" elapsed="0.111385"/>
</kw>
<msg time="2026-04-11T23:14:10.806932" level="INFO">Repeating keyword, round 21/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:10.808124" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:10.808013" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.807992" elapsed="0.000201"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.808559" level="INFO">${current_Date} = 2026-04-11 23:14:10.808</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:10.808390" elapsed="0.000211"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.809315" level="INFO">${ellapsed_seconds} = 2693.438</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:10.808747" elapsed="0.000595"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.809693" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:10.809413" elapsed="0.000335"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.809395" elapsed="0.000376"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:10.807769" elapsed="0.002049"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.810320" level="INFO">${number} = 21</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.809961" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.811750" level="INFO">${number} = 21</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.811399" elapsed="0.000377"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.813417" level="INFO">${device-port} = 17850</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.812786" elapsed="0.000658"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.815851" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:10.853729" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.853865" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.815747" elapsed="0.038146"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.854372" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:10.854435" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:10.853991" elapsed="0.000496">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:10.853960" elapsed="0.000568">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:10.815466" elapsed="0.039227">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:10.815082" elapsed="0.039738"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.855280" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17850 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:10.911097" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.911271" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.855049" elapsed="0.056249"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:10.911436" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:10.911856" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:10.814293" elapsed="0.097658"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:10.912262" elapsed="0.000857"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:10.813688" elapsed="0.099553"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:10.812434" elapsed="0.100876"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:10.811937" elapsed="0.101420"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.810959" elapsed="0.102459"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:10.810498" elapsed="0.102966"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.914000" level="INFO">${next} = 17851</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.913640" elapsed="0.000386"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.914599" level="INFO">${current_port} = 17851</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:10.914186" elapsed="0.000455"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.807159" elapsed="0.107539"/>
</kw>
<msg time="2026-04-11T23:14:10.914738" level="INFO">Repeating keyword, round 22/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:10.915928" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:10.915817" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.915796" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.916310" level="INFO">${current_Date} = 2026-04-11 23:14:10.916</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:10.916143" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:10.917053" level="INFO">${ellapsed_seconds} = 2693.33</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:10.916479" elapsed="0.000601"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.917425" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:10.917151" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:10.917132" elapsed="0.000370"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:10.915551" elapsed="0.001996"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.918063" level="INFO">${number} = 22</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.917705" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.919473" level="INFO">${number} = 22</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.919138" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:10.921149" level="INFO">${device-port} = 17851</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:10.920500" elapsed="0.000676"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.923540" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:10.961059" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:10.961207" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.923439" elapsed="0.037797"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:10.961786" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:10.961850" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:10.961338" elapsed="0.000636">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:10.961309" elapsed="0.000709">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:10.923167" elapsed="0.038991">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:10.922781" elapsed="0.039443"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:10.962710" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17851 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:11.019069" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.019227" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:10.962455" elapsed="0.056798"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:11.019378" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:11.019791" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:10.922007" elapsed="0.097879"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:11.020191" elapsed="0.000858"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:10.921396" elapsed="0.099761"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:10.920166" elapsed="0.101076"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:10.919671" elapsed="0.101619"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.918702" elapsed="0.102649"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:10.918239" elapsed="0.103158"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.021927" level="INFO">${next} = 17852</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.021556" elapsed="0.000397"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.022506" level="INFO">${current_port} = 17852</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:11.022114" elapsed="0.000433"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:10.914960" elapsed="0.107661"/>
</kw>
<msg time="2026-04-11T23:14:11.022662" level="INFO">Repeating keyword, round 23/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:11.023850" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:11.023739" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.023713" elapsed="0.000207"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.024287" level="INFO">${current_Date} = 2026-04-11 23:14:11.024</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:11.024116" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.025040" level="INFO">${ellapsed_seconds} = 2693.222</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:11.024460" elapsed="0.000607"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.025394" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:11.025139" elapsed="0.000309"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.025120" elapsed="0.000352"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:11.023476" elapsed="0.002042"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.026040" level="INFO">${number} = 23</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.025677" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.027448" level="INFO">${number} = 23</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.027114" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.029124" level="INFO">${device-port} = 17852</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.028478" elapsed="0.000673"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.031564" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:11.069346" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.069491" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.031459" elapsed="0.038059"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.070027" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:11.070090" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:11.069642" elapsed="0.000500">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:11.069611" elapsed="0.000573">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:11.031152" elapsed="0.039171">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:11.030769" elapsed="0.039681"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.070951" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17852 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:11.127292" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.127450" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.070712" elapsed="0.056764"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:11.127628" elapsed="0.000086"/>
</return>
<msg time="2026-04-11T23:14:11.128017" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:11.029997" elapsed="0.098112"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:11.128416" elapsed="0.000858"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:11.029387" elapsed="0.099997"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:11.028144" elapsed="0.101312"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:11.027646" elapsed="0.101857"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.026678" elapsed="0.102884"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:11.026218" elapsed="0.103410"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.130143" level="INFO">${next} = 17853</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.129789" elapsed="0.000380"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.130743" level="INFO">${current_port} = 17853</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:11.130334" elapsed="0.000451"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.022882" elapsed="0.107960"/>
</kw>
<msg time="2026-04-11T23:14:11.130882" level="INFO">Repeating keyword, round 24/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:11.132132" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:11.132018" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.131998" elapsed="0.000198"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.132518" level="INFO">${current_Date} = 2026-04-11 23:14:11.132</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:11.132342" elapsed="0.000203"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.133285" level="INFO">${ellapsed_seconds} = 2693.114</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:11.132707" elapsed="0.000605"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.133644" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:11.133383" elapsed="0.000315"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.133364" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:11.131748" elapsed="0.002020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.134269" level="INFO">${number} = 24</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.133910" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.135694" level="INFO">${number} = 24</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.135340" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.137470" level="INFO">${device-port} = 17853</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.136771" elapsed="0.000726"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.139882" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:11.177285" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.177414" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.139776" elapsed="0.037665"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.177926" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:11.177987" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:11.177538" elapsed="0.000578">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:11.177510" elapsed="0.000651">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:11.139493" elapsed="0.038802">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:11.139101" elapsed="0.039259"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.178841" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17853 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:11.235358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.235493" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.178610" elapsed="0.056911"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:11.235655" elapsed="0.000079"/>
</return>
<msg time="2026-04-11T23:14:11.236026" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:11.138313" elapsed="0.097809"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:11.236419" elapsed="0.000871"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:11.137718" elapsed="0.099706"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:11.136372" elapsed="0.101118"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:11.135876" elapsed="0.101661"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.134904" elapsed="0.102711"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:11.134446" elapsed="0.103215"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.238179" level="INFO">${next} = 17854</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.237821" elapsed="0.000384"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.238783" level="INFO">${current_port} = 17854</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:11.238369" elapsed="0.000457"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.131106" elapsed="0.107777"/>
</kw>
<msg time="2026-04-11T23:14:11.238923" level="INFO">Repeating keyword, round 25/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:11.240123" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:11.240003" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.239983" elapsed="0.000205"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.240564" level="INFO">${current_Date} = 2026-04-11 23:14:11.240</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:11.240394" elapsed="0.000214"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.242284" level="INFO">${ellapsed_seconds} = 2693.006</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:11.240753" elapsed="0.001558"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.242646" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:11.242388" elapsed="0.000313"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.242367" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:11.239747" elapsed="0.003023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.243271" level="INFO">${number} = 25</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.242912" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.244831" level="INFO">${number} = 25</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.244344" elapsed="0.000513"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.246666" level="INFO">${device-port} = 17854</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.246043" elapsed="0.000650"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.249021" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:11.285362" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.285505" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.248922" elapsed="0.036610"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.286051" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:11.286114" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:11.285664" elapsed="0.000502">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:11.285628" elapsed="0.000583">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:11.248654" elapsed="0.037696">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:11.248254" elapsed="0.038219"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.286971" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17854 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:11.344033" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.344201" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.286735" elapsed="0.057492"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:11.344358" elapsed="0.000291"/>
</return>
<msg time="2026-04-11T23:14:11.344954" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:11.247480" elapsed="0.097584"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:11.345374" elapsed="0.000877"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:11.246896" elapsed="0.099463"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:11.245702" elapsed="0.100723"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:11.245013" elapsed="0.101460"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.243907" elapsed="0.102623"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:11.243447" elapsed="0.103153"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.347116" level="INFO">${next} = 17855</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.346757" elapsed="0.000386"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.347726" level="INFO">${current_port} = 17855</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:11.347302" elapsed="0.000467"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.239142" elapsed="0.108685"/>
</kw>
<msg time="2026-04-11T23:14:11.347868" level="INFO">Repeating keyword, round 26/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:11.349067" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:11.348942" elapsed="0.000166"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.348922" elapsed="0.000208"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.349441" level="INFO">${current_Date} = 2026-04-11 23:14:11.349</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:11.349274" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.349950" level="INFO">${ellapsed_seconds} = 2692.897</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:11.349627" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.390488" elapsed="0.000040"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:11.350047" elapsed="0.040550"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.350028" elapsed="0.040602"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:11.348699" elapsed="0.042003"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.391366" level="INFO">${number} = 26</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.390867" elapsed="0.000527"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.392863" level="INFO">${number} = 26</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.392501" elapsed="0.000389"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.394557" level="INFO">${device-port} = 17855</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.393957" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.397024" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:11.409378" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.409479" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.396888" elapsed="0.012617"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.409945" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:11.410006" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:11.409609" elapsed="0.000510">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:11.409565" elapsed="0.000598">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:11.396619" elapsed="0.013677">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:11.396208" elapsed="0.014152"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.410812" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17855 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:11.466913" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.467073" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.410590" elapsed="0.056510"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:11.467222" elapsed="0.000081"/>
</return>
<msg time="2026-04-11T23:14:11.467628" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:11.395417" elapsed="0.072307"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:11.468030" elapsed="0.000831"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:11.394814" elapsed="0.074167"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:11.393581" elapsed="0.075467"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:11.393060" elapsed="0.076035"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.392040" elapsed="0.077115"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:11.391551" elapsed="0.077650"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.469730" level="INFO">${next} = 17856</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.469357" elapsed="0.000400"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.470316" level="INFO">${current_port} = 17856</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:11.469920" elapsed="0.000438"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.348091" elapsed="0.122327"/>
</kw>
<msg time="2026-04-11T23:14:11.470458" level="INFO">Repeating keyword, round 27/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:11.471856" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:11.471746" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.471725" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.472285" level="INFO">${current_Date} = 2026-04-11 23:14:11.472</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:11.472116" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.472803" level="INFO">${ellapsed_seconds} = 2692.774</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:11.472459" elapsed="0.000371"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.473153" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:11.472901" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.472882" elapsed="0.000349"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:11.471484" elapsed="0.001793"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.473816" level="INFO">${number} = 27</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.473429" elapsed="0.000414"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.475256" level="INFO">${number} = 27</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.474915" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.476939" level="INFO">${device-port} = 17856</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.476291" elapsed="0.000707"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.479331" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:11.517013" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.517156" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.479230" elapsed="0.037953"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.517675" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:11.517739" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:11.517281" elapsed="0.000510">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:11.517253" elapsed="0.000580">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:11.478961" elapsed="0.039008">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:11.478561" elapsed="0.039527"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.518556" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17856 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:11.574763" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.574945" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.518322" elapsed="0.056650"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:11.575112" elapsed="0.000086"/>
</return>
<msg time="2026-04-11T23:14:11.575502" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:11.477805" elapsed="0.097815"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:11.575940" elapsed="0.000842"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:11.477203" elapsed="0.099683"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:11.475952" elapsed="0.101018"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:11.475437" elapsed="0.101582"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.474438" elapsed="0.102641"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:11.473995" elapsed="0.103128"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.577660" level="INFO">${next} = 17857</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.577279" elapsed="0.000409"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.578242" level="INFO">${current_port} = 17857</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:11.577847" elapsed="0.000437"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.470690" elapsed="0.107652"/>
</kw>
<msg time="2026-04-11T23:14:11.578384" level="INFO">Repeating keyword, round 28/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:11.579819" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:11.579708" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.579688" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.580196" level="INFO">${current_Date} = 2026-04-11 23:14:11.580</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:11.580027" elapsed="0.000196"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.580716" level="INFO">${ellapsed_seconds} = 2692.666</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:11.580368" elapsed="0.000374"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.581070" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:11.580813" elapsed="0.000310"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.580794" elapsed="0.000353"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:11.579447" elapsed="0.001746"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.581713" level="INFO">${number} = 28</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.581336" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.583129" level="INFO">${number} = 28</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.582791" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.584985" level="INFO">${device-port} = 17857</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.584316" elapsed="0.000697"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.587383" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:11.624348" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.624485" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.587284" elapsed="0.037229"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.625012" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:11.625073" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:11.624630" elapsed="0.000567">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:11.624601" elapsed="0.000640">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:11.587016" elapsed="0.038360">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:11.586630" elapsed="0.038811"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.625925" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17857 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:11.682367" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.682519" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.625692" elapsed="0.056853"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:11.682686" elapsed="0.000083"/>
</return>
<msg time="2026-04-11T23:14:11.683065" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:11.585836" elapsed="0.097322"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:11.683457" elapsed="0.000831"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:11.585216" elapsed="0.099178"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:11.583980" elapsed="0.100481"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:11.583310" elapsed="0.101198"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.582336" elapsed="0.102230"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:11.581892" elapsed="0.102740"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.685165" level="INFO">${next} = 17858</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.684791" elapsed="0.000401"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.685766" level="INFO">${current_port} = 17858</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:11.685354" elapsed="0.000455"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.578623" elapsed="0.107245"/>
</kw>
<msg time="2026-04-11T23:14:11.685910" level="INFO">Repeating keyword, round 29/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:11.687329" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:11.687217" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.687196" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.687775" level="INFO">${current_Date} = 2026-04-11 23:14:11.688</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:11.687603" elapsed="0.000198"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.688266" level="INFO">${ellapsed_seconds} = 2692.558</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:11.687947" elapsed="0.000345"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.688637" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:11.688362" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.688344" elapsed="0.000371"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:11.686973" elapsed="0.001788"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.689274" level="INFO">${number} = 29</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.688918" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.690696" level="INFO">${number} = 29</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.690343" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.692327" level="INFO">${device-port} = 17858</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.691727" elapsed="0.000627"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.694924" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:11.728904" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.729037" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.694824" elapsed="0.034240"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.729520" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:11.729619" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:11.729158" elapsed="0.000514">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:11.729131" elapsed="0.000584">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:11.694541" elapsed="0.035308">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:11.694155" elapsed="0.035814"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.730424" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17858 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:11.786778" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.786973" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.730196" elapsed="0.056804"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:11.787141" elapsed="0.000088"/>
</return>
<msg time="2026-04-11T23:14:11.787530" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:11.693369" elapsed="0.094285"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:11.787972" elapsed="0.000867"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:11.692556" elapsed="0.096390"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:11.691374" elapsed="0.097639"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:11.690879" elapsed="0.098184"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.689905" elapsed="0.099219"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:11.689448" elapsed="0.099721"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.789703" level="INFO">${next} = 17859</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.789328" elapsed="0.000402"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.790289" level="INFO">${current_port} = 17859</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:11.789893" elapsed="0.000439"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.686131" elapsed="0.104259"/>
</kw>
<msg time="2026-04-11T23:14:11.790433" level="INFO">Repeating keyword, round 30/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:11.791872" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:11.791761" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.791740" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.792243" level="INFO">${current_Date} = 2026-04-11 23:14:11.792</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:11.792078" elapsed="0.000192"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.792763" level="INFO">${ellapsed_seconds} = 2692.454</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:11.792413" elapsed="0.000377"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.793349" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:11.793088" elapsed="0.000332"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.793063" elapsed="0.000381"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:11.791500" elapsed="0.002006"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.794045" level="INFO">${number} = 30</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.793667" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.795465" level="INFO">${number} = 30</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.795127" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.797159" level="INFO">${device-port} = 17859</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.796498" elapsed="0.000689"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.799728" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:11.836720" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.836881" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.799616" elapsed="0.037293"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.837424" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:11.837488" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:11.837014" elapsed="0.000616">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:11.836983" elapsed="0.000692">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:11.799324" elapsed="0.038487">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:11.798934" elapsed="0.038944"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.838343" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17859 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:11.895390" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.895726" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.838110" elapsed="0.057674"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:11.896019" elapsed="0.000159"/>
</return>
<msg time="2026-04-11T23:14:11.896869" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:11.798004" elapsed="0.099074"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:11.897758" elapsed="0.001769"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:11.797391" elapsed="0.102402"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:11.796161" elapsed="0.103773"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:11.795663" elapsed="0.104372"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.794685" elapsed="0.105476"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:11.794224" elapsed="0.106036"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.901456" level="INFO">${next} = 17860</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.900628" elapsed="0.000870"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.902366" level="INFO">${current_port} = 17860</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:11.901783" elapsed="0.000645"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.790672" elapsed="0.111842"/>
</kw>
<msg time="2026-04-11T23:14:11.902615" level="INFO">Repeating keyword, round 31/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:11.904885" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:11.904685" elapsed="0.000264"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.904654" elapsed="0.000328"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.905503" level="INFO">${current_Date} = 2026-04-11 23:14:11.905</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:11.905261" elapsed="0.000281"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:11.906259" level="INFO">${ellapsed_seconds} = 2692.341</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:11.905799" elapsed="0.000498"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.906802" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:11.906401" elapsed="0.000481"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:11.906374" elapsed="0.000543"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:11.904296" elapsed="0.002689"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.907753" level="INFO">${number} = 31</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.907198" elapsed="0.000594"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.909882" level="INFO">${number} = 31</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.909365" elapsed="0.000557"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:11.912320" level="INFO">${device-port} = 17860</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:11.911400" elapsed="0.000959"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.915064" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:11.945055" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:11.945362" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.914962" elapsed="0.030460"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:11.946674" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:11.946813" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:11.945845" elapsed="0.001076">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:11.945787" elapsed="0.001225">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:11.914695" elapsed="0.032600">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:11.914295" elapsed="0.033241"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:11.948610" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17860 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:12.003007" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.003297" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:11.948067" elapsed="0.055287"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:12.003634" elapsed="0.000166"/>
</return>
<msg time="2026-04-11T23:14:12.004473" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:11.913509" elapsed="0.091254"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:12.005400" elapsed="0.001775"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:11.912683" elapsed="0.094717"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:11.910902" elapsed="0.096639"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:11.910151" elapsed="0.097524"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.908696" elapsed="0.099105"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:11.908018" elapsed="0.099880"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.009051" level="INFO">${next} = 17861</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.008240" elapsed="0.000869"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.010529" level="INFO">${current_port} = 17861</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:12.009667" elapsed="0.000985"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:11.902930" elapsed="0.107847"/>
</kw>
<msg time="2026-04-11T23:14:12.010867" level="INFO">Repeating keyword, round 32/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:12.013981" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:12.013737" elapsed="0.000337"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.013693" elapsed="0.000431"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.014818" level="INFO">${current_Date} = 2026-04-11 23:14:12.015</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:12.014438" elapsed="0.000439"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.015910" level="INFO">${ellapsed_seconds} = 2692.231</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:12.015197" elapsed="0.000771"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.016755" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:12.016124" elapsed="0.000753"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.016083" elapsed="0.000847"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:12.013172" elapsed="0.003858"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.017716" level="INFO">${number} = 32</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.017331" elapsed="0.000411"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.019148" level="INFO">${number} = 32</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.018805" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.020930" level="INFO">${device-port} = 17861</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.020298" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.023321" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:12.057028" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.057289" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.023218" elapsed="0.034131"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.058343" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:12.058476" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:12.057537" elapsed="0.001187">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:12.057484" elapsed="0.001336">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:12.022949" elapsed="0.036152">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:12.022546" elapsed="0.036695"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.060262" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17861 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:12.133601" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.133850" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.059766" elapsed="0.074143"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:12.134120" elapsed="0.000161"/>
</return>
<msg time="2026-04-11T23:14:12.134993" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:12.021780" elapsed="0.113434"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:12.135890" elapsed="0.001936"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:12.021161" elapsed="0.116910"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:12.019958" elapsed="0.118263"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:12.019330" elapsed="0.119000"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.018345" elapsed="0.120120"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:12.017898" elapsed="0.120699"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.139829" level="INFO">${next} = 17862</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.138967" elapsed="0.000928"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.141247" level="INFO">${current_port} = 17862</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:12.140275" elapsed="0.001073"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.011312" elapsed="0.130173"/>
</kw>
<msg time="2026-04-11T23:14:12.141618" level="INFO">Repeating keyword, round 33/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:12.144981" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:12.144707" elapsed="0.000377"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.144597" elapsed="0.000541"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.145621" level="INFO">${current_Date} = 2026-04-11 23:14:12.146</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:12.145435" elapsed="0.000213"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.146115" level="INFO">${ellapsed_seconds} = 2692.1</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:12.145795" elapsed="0.000347"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.146456" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:12.146212" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.146193" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:12.144034" elapsed="0.002576"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.147119" level="INFO">${number} = 33</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.146756" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.148551" level="INFO">${number} = 33</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.148210" elapsed="0.000382"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.150211" level="INFO">${device-port} = 17862</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.149620" elapsed="0.000618"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.152597" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:12.185010" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.185237" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.152485" elapsed="0.032814"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.186257" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:12.186397" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:12.185470" elapsed="0.001039">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:12.185424" elapsed="0.001211">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:12.152216" elapsed="0.034716">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:12.151828" elapsed="0.035321"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.188199" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17862 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:12.242810" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.243027" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.187679" elapsed="0.055406"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:12.243282" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:14:12.244137" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:12.151048" elapsed="0.093309"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:12.245045" elapsed="0.001853"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:12.150439" elapsed="0.096703"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:12.149263" elapsed="0.098028"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:12.148762" elapsed="0.098634"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.147769" elapsed="0.099759"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:12.147298" elapsed="0.100366"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.248873" level="INFO">${next} = 17863</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.248028" elapsed="0.000908"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.250246" level="INFO">${current_port} = 17863</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:12.249312" elapsed="0.001032"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.142092" elapsed="0.108384"/>
</kw>
<msg time="2026-04-11T23:14:12.250598" level="INFO">Repeating keyword, round 34/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:12.253612" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:12.253443" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.253417" elapsed="0.000287"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.254109" level="INFO">${current_Date} = 2026-04-11 23:14:12.254</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:12.253900" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.254779" level="INFO">${ellapsed_seconds} = 2691.992</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:12.254344" elapsed="0.000471"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.255228" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:12.254914" elapsed="0.000388"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.254887" elapsed="0.000447"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:12.252936" elapsed="0.002460"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.256120" level="INFO">${number} = 34</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.255614" elapsed="0.000542"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.258139" level="INFO">${number} = 34</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.257674" elapsed="0.000501"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.260413" level="INFO">${device-port} = 17863</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.259561" elapsed="0.000889"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.263738" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:12.297089" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.297313" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.263604" elapsed="0.033771"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.298328" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:12.298467" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:12.297548" elapsed="0.001135">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:12.297501" elapsed="0.001286">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:12.263218" elapsed="0.035854">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:12.262690" elapsed="0.036530"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.300266" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17863 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:12.355428" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.355669" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.299752" elapsed="0.055975"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:12.355907" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:12.356701" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:12.261607" elapsed="0.095298"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:12.357469" elapsed="0.001684"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:12.260764" elapsed="0.098615"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:12.259097" elapsed="0.100420"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:12.258396" elapsed="0.101250"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.257042" elapsed="0.102728"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:12.256369" elapsed="0.103494"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.360965" level="INFO">${next} = 17864</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.360196" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.362250" level="INFO">${current_port} = 17864</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:12.361371" elapsed="0.000972"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.251047" elapsed="0.111419"/>
</kw>
<msg time="2026-04-11T23:14:12.362549" level="INFO">Repeating keyword, round 35/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:12.365424" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:12.365224" elapsed="0.000241"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.365183" elapsed="0.000304"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.365847" level="INFO">${current_Date} = 2026-04-11 23:14:12.366</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:12.365693" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.366310" level="INFO">${ellapsed_seconds} = 2691.88</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:12.366015" elapsed="0.000320"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.366651" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:12.366405" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.366387" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:12.364694" elapsed="0.002078"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.367269" level="INFO">${number} = 35</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.366914" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.368685" level="INFO">${number} = 35</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.368327" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.370292" level="INFO">${device-port} = 17864</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.369709" elapsed="0.000609"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.372629" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:12.400890" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.401099" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.372507" elapsed="0.028649"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.402033" elapsed="0.000053"/>
</kw>
<msg time="2026-04-11T23:14:12.402159" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:12.401314" elapsed="0.000949">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:12.401271" elapsed="0.001079">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:12.372242" elapsed="0.030399">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:12.371865" elapsed="0.030984"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.403817" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17864 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:12.459314" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.459514" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.403294" elapsed="0.056272"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:12.459783" elapsed="0.000133"/>
</return>
<msg time="2026-04-11T23:14:12.460540" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:12.371109" elapsed="0.089676"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:12.461350" elapsed="0.001676"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:12.370516" elapsed="0.092731"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:12.369345" elapsed="0.094041"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:12.368865" elapsed="0.094618"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.367895" elapsed="0.095743"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:12.367443" elapsed="0.096291"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.464884" level="INFO">${next} = 17865</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.464069" elapsed="0.000873"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.466168" level="INFO">${current_port} = 17865</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:12.465286" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.362985" elapsed="0.103400"/>
</kw>
<msg time="2026-04-11T23:14:12.466470" level="INFO">Repeating keyword, round 36/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:12.469391" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:12.469156" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.469115" elapsed="0.000343"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.469787" level="INFO">${current_Date} = 2026-04-11 23:14:12.470</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:12.469635" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.470252" level="INFO">${ellapsed_seconds} = 2691.776</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:12.469956" elapsed="0.000322"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.470587" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:12.470347" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.470329" elapsed="0.000335"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:12.468620" elapsed="0.002090"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.471209" level="INFO">${number} = 36</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.470851" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.472652" level="INFO">${number} = 36</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.472280" elapsed="0.000399"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.474269" level="INFO">${device-port} = 17865</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.473684" elapsed="0.000612"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.476660" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:12.513391" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.513636" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.476548" elapsed="0.037149"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.514535" elapsed="0.000085"/>
</kw>
<msg time="2026-04-11T23:14:12.514695" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:12.513856" elapsed="0.001013">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:12.513812" elapsed="0.001151">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:12.476273" elapsed="0.038951">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:12.475889" elapsed="0.039472"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.516325" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17865 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:12.571529" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.571765" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.515850" elapsed="0.055959"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:12.571984" elapsed="0.000117"/>
</return>
<msg time="2026-04-11T23:14:12.572635" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:12.475105" elapsed="0.097688"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:12.573249" elapsed="0.001194"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:12.474495" elapsed="0.100120"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:12.473320" elapsed="0.101392"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:12.472834" elapsed="0.101945"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.471845" elapsed="0.103018"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:12.471388" elapsed="0.103541"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.575680" level="INFO">${next} = 17866</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.575156" elapsed="0.000579"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.576559" level="INFO">${current_port} = 17866</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:12.575973" elapsed="0.000673"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.466908" elapsed="0.109823"/>
</kw>
<msg time="2026-04-11T23:14:12.576789" level="INFO">Repeating keyword, round 37/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:12.578808" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:12.578644" elapsed="0.000227"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.578614" elapsed="0.000289"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.579402" level="INFO">${current_Date} = 2026-04-11 23:14:12.579</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:12.579168" elapsed="0.000273"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.580133" level="INFO">${ellapsed_seconds} = 2691.667</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:12.579677" elapsed="0.000494"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.580677" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:12.580272" elapsed="0.000485"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.580245" elapsed="0.000546"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:12.578266" elapsed="0.002593"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.581504" level="INFO">${number} = 37</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.581069" elapsed="0.000461"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.582967" level="INFO">${number} = 37</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.582627" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.584611" level="INFO">${device-port} = 17866</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.583996" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.586987" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:12.620896" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.621057" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.586887" elapsed="0.034209"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.621737" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:14:12.621826" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:12.621216" elapsed="0.000683">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:12.621181" elapsed="0.000778">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:12.586619" elapsed="0.035533">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:12.586212" elapsed="0.036094"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.622974" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17866 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:12.678943" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.679136" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.622647" elapsed="0.056527"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:12.679336" elapsed="0.000111"/>
</return>
<msg time="2026-04-11T23:14:12.679911" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:12.585429" elapsed="0.094618"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:12.680491" elapsed="0.001213"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:12.584840" elapsed="0.097015"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:12.583661" elapsed="0.098288"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:12.583150" elapsed="0.098868"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.582167" elapsed="0.099938"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:12.581725" elapsed="0.100445"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.682934" level="INFO">${next} = 17867</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.682398" elapsed="0.000575"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.683802" level="INFO">${current_port} = 17867</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:12.683210" elapsed="0.000655"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.577088" elapsed="0.106861"/>
</kw>
<msg time="2026-04-11T23:14:12.684009" level="INFO">Repeating keyword, round 38/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:12.687120" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:12.686958" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.686930" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.687685" level="INFO">${current_Date} = 2026-04-11 23:14:12.688</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:12.687426" elapsed="0.000299"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.688418" level="INFO">${ellapsed_seconds} = 2691.558</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:12.687939" elapsed="0.000518"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.688977" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:12.688562" elapsed="0.000494"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.688534" elapsed="0.000557"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:12.686594" elapsed="0.002564"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.689942" level="INFO">${number} = 38</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.689371" elapsed="0.000609"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.692115" level="INFO">${number} = 38</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.691615" elapsed="0.000538"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.694612" level="INFO">${device-port} = 17867</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.693687" elapsed="0.000966"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.697910" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:12.728794" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.728961" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.697809" elapsed="0.031193"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.729674" elapsed="0.000039"/>
</kw>
<msg time="2026-04-11T23:14:12.729764" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:12.729131" elapsed="0.000795">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:12.729094" elapsed="0.000897">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:12.697525" elapsed="0.032657">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:12.697023" elapsed="0.033255"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.730962" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17867 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:12.790904" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.791115" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.730625" elapsed="0.060528"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:12.791321" elapsed="0.000113"/>
</return>
<msg time="2026-04-11T23:14:12.791897" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:12.695841" elapsed="0.096193"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:12.792483" elapsed="0.001217"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:12.694952" elapsed="0.098900"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:12.693158" elapsed="0.100790"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:12.692400" elapsed="0.101616"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.690942" elapsed="0.103158"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:12.690207" elapsed="0.103960"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.794930" level="INFO">${next} = 17868</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.794396" elapsed="0.000573"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.795799" level="INFO">${current_port} = 17868</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:12.795206" elapsed="0.000655"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.684315" elapsed="0.111630"/>
</kw>
<msg time="2026-04-11T23:14:12.796003" level="INFO">Repeating keyword, round 39/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:12.798090" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:12.797927" elapsed="0.000226"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.797897" elapsed="0.000289"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.798723" level="INFO">${current_Date} = 2026-04-11 23:14:12.799</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:12.798462" elapsed="0.000300"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.799436" level="INFO">${ellapsed_seconds} = 2691.447</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:12.798978" elapsed="0.000496"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.799949" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:12.799598" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.799551" elapsed="0.000513"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:12.797543" elapsed="0.002589"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.800993" level="INFO">${number} = 39</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.800385" elapsed="0.000647"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.802584" level="INFO">${number} = 39</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.802201" elapsed="0.000410"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.804211" level="INFO">${device-port} = 17868</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.803623" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.806636" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:12.840921" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.841114" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.806519" elapsed="0.034635"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.841859" elapsed="0.000039"/>
</kw>
<msg time="2026-04-11T23:14:12.841949" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:12.841292" elapsed="0.000730">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:12.841253" elapsed="0.000830">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:12.806246" elapsed="0.036029">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:12.805858" elapsed="0.036579"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.843147" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17868 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:12.898950" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.899142" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.842804" elapsed="0.056375"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:12.899335" elapsed="0.000108"/>
</return>
<msg time="2026-04-11T23:14:12.899904" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:12.805078" elapsed="0.094966"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:12.900484" elapsed="0.001219"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:12.804457" elapsed="0.097396"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:12.803265" elapsed="0.098683"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:12.802769" elapsed="0.099247"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.801761" elapsed="0.100341"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:12.801256" elapsed="0.100912"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.902939" level="INFO">${next} = 17869</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.902399" elapsed="0.000578"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.903812" level="INFO">${current_port} = 17869</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:12.903215" elapsed="0.000659"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.796311" elapsed="0.107648"/>
</kw>
<msg time="2026-04-11T23:14:12.904018" level="INFO">Repeating keyword, round 40/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:12.906099" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:12.905936" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.905907" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.906674" level="INFO">${current_Date} = 2026-04-11 23:14:12.907</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:12.906405" elapsed="0.000309"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:12.907389" level="INFO">${ellapsed_seconds} = 2691.339</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:12.906927" elapsed="0.000500"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.907902" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:12.907530" elapsed="0.000451"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:12.907503" elapsed="0.000514"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:12.905227" elapsed="0.002857"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.908950" level="INFO">${number} = 40</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.908336" elapsed="0.000653"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.910520" level="INFO">${number} = 40</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.910176" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:12.912187" level="INFO">${device-port} = 17869</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:12.911593" elapsed="0.000621"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.914618" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:12.952918" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:12.953104" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.914501" elapsed="0.038642"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:12.953829" elapsed="0.000039"/>
</kw>
<msg time="2026-04-11T23:14:12.953919" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:12.953276" elapsed="0.000802">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:12.953238" elapsed="0.000904">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:12.914230" elapsed="0.040105">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:12.913842" elapsed="0.040590"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:12.955131" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17869 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:13.011295" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.011524" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:12.954794" elapsed="0.056770"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:13.011774" elapsed="0.000114"/>
</return>
<msg time="2026-04-11T23:14:13.012335" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:12.913052" elapsed="0.099423"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:13.012938" elapsed="0.001197"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:12.912433" elapsed="0.101856"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:12.911235" elapsed="0.103149"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:12.910720" elapsed="0.103733"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.909734" elapsed="0.104805"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:12.909218" elapsed="0.105412"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.015371" level="INFO">${next} = 17870</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.014861" elapsed="0.000549"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.016260" level="INFO">${current_port} = 17870</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:13.015671" elapsed="0.000652"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:12.904344" elapsed="0.112064"/>
</kw>
<msg time="2026-04-11T23:14:13.016467" level="INFO">Repeating keyword, round 41/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:13.018556" elapsed="0.000044"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:13.018386" elapsed="0.000257"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.018021" elapsed="0.000656"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.019210" level="INFO">${current_Date} = 2026-04-11 23:14:13.019</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:13.018967" elapsed="0.000282"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.019954" level="INFO">${ellapsed_seconds} = 2691.227</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:13.019466" elapsed="0.000527"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.020617" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:13.020097" elapsed="0.000579"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.020070" elapsed="0.000630"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:13.017693" elapsed="0.003053"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.021252" level="INFO">${number} = 41</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.020889" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.022732" level="INFO">${number} = 41</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.022350" elapsed="0.000408"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.024386" level="INFO">${device-port} = 17870</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.023776" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.026789" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:13.060922" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.061075" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.026688" elapsed="0.034426"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.061739" elapsed="0.000038"/>
</kw>
<msg time="2026-04-11T23:14:13.061828" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:13.061226" elapsed="0.000673">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:13.061194" elapsed="0.000765">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:13.026405" elapsed="0.035742">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:13.026019" elapsed="0.036276"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.062960" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17870 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:13.118797" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.118985" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.062632" elapsed="0.056391"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:13.119186" elapsed="0.000109"/>
</return>
<msg time="2026-04-11T23:14:13.119763" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:13.025234" elapsed="0.094668"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:13.120340" elapsed="0.001217"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:13.024639" elapsed="0.097094"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:13.023413" elapsed="0.098416"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:13.022916" elapsed="0.098982"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.021910" elapsed="0.100075"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:13.021429" elapsed="0.100620"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.122807" level="INFO">${next} = 17871</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.122275" elapsed="0.000571"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.123679" level="INFO">${current_port} = 17871</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:13.123083" elapsed="0.000658"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.016799" elapsed="0.107026"/>
</kw>
<msg time="2026-04-11T23:14:13.123885" level="INFO">Repeating keyword, round 42/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:13.125876" elapsed="0.000356"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:13.125708" elapsed="0.000569"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.125678" elapsed="0.000633"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.126839" level="INFO">${current_Date} = 2026-04-11 23:14:13.127</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:13.126526" elapsed="0.000353"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.127561" level="INFO">${ellapsed_seconds} = 2691.119</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:13.127096" elapsed="0.000529"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.128085" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:13.127732" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.127704" elapsed="0.000514"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:13.125175" elapsed="0.003113"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.129057" level="INFO">${number} = 42</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.128500" elapsed="0.000595"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.131237" level="INFO">${number} = 42</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.130674" elapsed="0.000602"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.133721" level="INFO">${device-port} = 17871</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.132816" elapsed="0.000944"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.137274" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:13.173049" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.173228" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.137131" elapsed="0.036136"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.173945" elapsed="0.000039"/>
</kw>
<msg time="2026-04-11T23:14:13.174037" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:13.173397" elapsed="0.000805">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:13.173361" elapsed="0.000906">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:13.136737" elapsed="0.037720">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:13.136109" elapsed="0.038444"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.175240" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17871 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:13.231402" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.231635" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.174904" elapsed="0.056771"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:13.231842" elapsed="0.000112"/>
</return>
<msg time="2026-04-11T23:14:13.232406" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:13.134957" elapsed="0.097591"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:13.233013" elapsed="0.001208"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:13.134062" elapsed="0.100315"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:13.132290" elapsed="0.102185"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:13.131509" elapsed="0.103036"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.129999" elapsed="0.104658"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:13.129322" elapsed="0.105403"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.235466" level="INFO">${next} = 17872</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.234954" elapsed="0.000552"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.236352" level="INFO">${current_port} = 17872</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:13.235766" elapsed="0.000648"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.124228" elapsed="0.112272"/>
</kw>
<msg time="2026-04-11T23:14:13.236562" level="INFO">Repeating keyword, round 43/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:13.238648" elapsed="0.000025"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:13.238143" elapsed="0.000573"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.238114" elapsed="0.000636"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.239275" level="INFO">${current_Date} = 2026-04-11 23:14:13.239</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:13.239031" elapsed="0.000283"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.240017" level="INFO">${ellapsed_seconds} = 2691.007</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:13.239531" elapsed="0.000524"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.240546" elapsed="0.000043"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:13.240197" elapsed="0.000429"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.240168" elapsed="0.000481"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:13.237788" elapsed="0.002908"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.241202" level="INFO">${number} = 43</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.240840" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.242671" level="INFO">${number} = 43</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.242307" elapsed="0.000391"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.244347" level="INFO">${device-port} = 17872</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.243708" elapsed="0.000673"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.246755" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:13.281109" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.281282" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.246654" elapsed="0.034667"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.281986" elapsed="0.000039"/>
</kw>
<msg time="2026-04-11T23:14:13.282076" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:13.281447" elapsed="0.000703">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:13.281410" elapsed="0.000800">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:13.246373" elapsed="0.036024">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:13.245990" elapsed="0.036571"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.283237" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17872 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:13.342963" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.343180" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.282904" elapsed="0.060314"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:13.343384" elapsed="0.000114"/>
</return>
<msg time="2026-04-11T23:14:13.343967" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:13.245207" elapsed="0.098920"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:13.344554" elapsed="0.001241"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:13.244609" elapsed="0.101341"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:13.243348" elapsed="0.102698"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:13.242854" elapsed="0.103261"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.241872" elapsed="0.104329"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:13.241381" elapsed="0.104886"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.347028" level="INFO">${next} = 17873</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.346492" elapsed="0.000575"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.347892" level="INFO">${current_port} = 17873</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:13.347301" elapsed="0.000653"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.236894" elapsed="0.111143"/>
</kw>
<msg time="2026-04-11T23:14:13.348134" level="INFO">Repeating keyword, round 44/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:13.350173" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:13.349691" elapsed="0.000547"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.349662" elapsed="0.000610"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.350748" level="INFO">${current_Date} = 2026-04-11 23:14:13.351</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:13.350484" elapsed="0.000304"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.351464" level="INFO">${ellapsed_seconds} = 2690.895</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:13.351003" elapsed="0.000499"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.351979" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:13.351628" elapsed="0.000430"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.351599" elapsed="0.000509"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:13.349318" elapsed="0.002858"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.352980" level="INFO">${number} = 44</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.352386" elapsed="0.000633"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.355096" level="INFO">${number} = 44</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.354595" elapsed="0.000539"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.357538" level="INFO">${device-port} = 17873</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.356663" elapsed="0.000936"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.360890" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:13.392747" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.392917" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.360789" elapsed="0.032167"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.393609" elapsed="0.000040"/>
</kw>
<msg time="2026-04-11T23:14:13.393701" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:13.393083" elapsed="0.000775">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:13.393046" elapsed="0.000875">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:13.360508" elapsed="0.033602">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:13.359930" elapsed="0.034276"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.394892" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17873 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:13.454849" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.455120" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.394528" elapsed="0.060648"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:13.455409" elapsed="0.000201"/>
</return>
<msg time="2026-04-11T23:14:13.456275" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:13.358784" elapsed="0.097701"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:13.457152" elapsed="0.001833"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:13.357898" elapsed="0.101314"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:13.356128" elapsed="0.103225"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:13.355364" elapsed="0.104093"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.353926" elapsed="0.105685"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:13.353242" elapsed="0.106470"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.460850" level="INFO">${next} = 17874</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.460066" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.462140" level="INFO">${current_port} = 17874</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:13.461262" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.348445" elapsed="0.113913"/>
</kw>
<msg time="2026-04-11T23:14:13.462447" level="INFO">Repeating keyword, round 45/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:13.464974" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:13.464854" elapsed="0.000164"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.464606" elapsed="0.000435"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.465417" level="INFO">${current_Date} = 2026-04-11 23:14:13.465</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:13.465241" elapsed="0.000203"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.465929" level="INFO">${ellapsed_seconds} = 2690.781</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:13.465606" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.466265" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:13.466027" elapsed="0.000292"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.466008" elapsed="0.000334"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:13.464238" elapsed="0.002150"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.466912" level="INFO">${number} = 45</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.466531" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.468338" level="INFO">${number} = 45</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.467987" elapsed="0.000377"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.470016" level="INFO">${device-port} = 17874</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.469395" elapsed="0.000648"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.472403" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:13.505267" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.505476" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.472300" elapsed="0.033232"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.506413" elapsed="0.000053"/>
</kw>
<msg time="2026-04-11T23:14:13.506540" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:13.505731" elapsed="0.000942">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:13.505687" elapsed="0.001076">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:13.472036" elapsed="0.034994">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:13.471642" elapsed="0.035614"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.508277" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17874 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:13.567210" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.567439" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.507747" elapsed="0.059746"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:13.567730" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:14:13.568512" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:13.470861" elapsed="0.097894"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:13.569347" elapsed="0.001771"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:13.470244" elapsed="0.101100"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:13.469060" elapsed="0.102425"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:13.468525" elapsed="0.103089"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.467529" elapsed="0.104216"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:13.467088" elapsed="0.104754"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.572968" level="INFO">${next} = 17875</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.572195" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.574274" level="INFO">${current_port} = 17875</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:13.573372" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.462921" elapsed="0.111566"/>
</kw>
<msg time="2026-04-11T23:14:13.574603" level="INFO">Repeating keyword, round 46/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:13.577008" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:13.576891" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.576640" elapsed="0.000434"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.577387" level="INFO">${current_Date} = 2026-04-11 23:14:13.577</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:13.577218" elapsed="0.000196"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.577916" level="INFO">${ellapsed_seconds} = 2690.669</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:13.577559" elapsed="0.000384"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.578255" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:13.578014" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.577995" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:13.576344" elapsed="0.002033"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.578895" level="INFO">${number} = 46</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.578519" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.580333" level="INFO">${number} = 46</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.579994" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.581976" level="INFO">${device-port} = 17875</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.581364" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.584341" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:13.624881" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.625132" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.584242" elapsed="0.040950"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.626154" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:13.626283" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:13.625375" elapsed="0.001119">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:13.625323" elapsed="0.001295">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:13.583975" elapsed="0.042923">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:13.583562" elapsed="0.043476"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.628075" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17875 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:13.683028" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.683285" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.627515" elapsed="0.055825"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:13.683559" elapsed="0.000196"/>
</return>
<msg time="2026-04-11T23:14:13.684429" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:13.582806" elapsed="0.101868"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:13.685282" elapsed="0.001756"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:13.582204" elapsed="0.105057"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:13.581031" elapsed="0.106367"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:13.580515" elapsed="0.106982"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.579522" elapsed="0.108131"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:13.579074" elapsed="0.108677"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.688890" level="INFO">${next} = 17876</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.688105" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.690177" level="INFO">${current_port} = 17876</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:13.689298" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.575038" elapsed="0.115357"/>
</kw>
<msg time="2026-04-11T23:14:13.690482" level="INFO">Repeating keyword, round 47/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:13.693509" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:13.693260" elapsed="0.000380"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.692787" elapsed="0.000906"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.694448" level="INFO">${current_Date} = 2026-04-11 23:14:13.694</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:13.694097" elapsed="0.000408"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.695541" level="INFO">${ellapsed_seconds} = 2690.552</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:13.694861" elapsed="0.000766"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.696341" elapsed="0.000045"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:13.695785" elapsed="0.000673"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.695744" elapsed="0.000740"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:13.692234" elapsed="0.004298"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.697073" level="INFO">${number} = 47</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.696713" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.698479" level="INFO">${number} = 47</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.698138" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.700130" level="INFO">${device-port} = 17876</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.699504" elapsed="0.000653"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.702474" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:13.733336" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.733603" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.702368" elapsed="0.031298"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.734567" elapsed="0.000085"/>
</kw>
<msg time="2026-04-11T23:14:13.734728" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:13.733841" elapsed="0.000995">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:13.733792" elapsed="0.001133">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:13.702104" elapsed="0.033099">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:13.701725" elapsed="0.033699"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.736455" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17876 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:13.791113" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.791393" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.735961" elapsed="0.055487"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:13.791718" elapsed="0.000177"/>
</return>
<msg time="2026-04-11T23:14:13.792517" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:13.700963" elapsed="0.091799"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:13.793378" elapsed="0.001744"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:13.700358" elapsed="0.094985"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:13.699170" elapsed="0.096313"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:13.698675" elapsed="0.096935"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.697703" elapsed="0.098034"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:13.697248" elapsed="0.098586"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.796968" level="INFO">${next} = 17877</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.796188" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.798244" level="INFO">${current_port} = 17877</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:13.797372" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.690953" elapsed="0.107502"/>
</kw>
<msg time="2026-04-11T23:14:13.798541" level="INFO">Repeating keyword, round 48/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:13.801040" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:13.800923" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.800674" elapsed="0.000432"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.801418" level="INFO">${current_Date} = 2026-04-11 23:14:13.801</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:13.801250" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.801932" level="INFO">${ellapsed_seconds} = 2690.445</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:13.801609" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.802268" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:13.802027" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.802009" elapsed="0.000335"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:13.800319" elapsed="0.002072"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.802912" level="INFO">${number} = 48</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.802537" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.804340" level="INFO">${number} = 48</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.804002" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.806012" level="INFO">${device-port} = 17877</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.805398" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.808384" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:13.845484" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.845781" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.808284" elapsed="0.037559"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.846805" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:13.846938" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:13.846027" elapsed="0.001122">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:13.845976" elapsed="0.001270">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:13.808018" elapsed="0.039507">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:13.807618" elapsed="0.040078"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.848732" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17877 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:13.903683" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.903976" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.848193" elapsed="0.055841"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:13.904272" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:14:13.905096" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:13.806844" elapsed="0.098459"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:13.905946" elapsed="0.001799"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:13.806239" elapsed="0.101754"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:13.805065" elapsed="0.103068"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:13.804521" elapsed="0.103712"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.803531" elapsed="0.104828"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:13.803089" elapsed="0.105369"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.909617" level="INFO">${next} = 17878</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.908830" elapsed="0.000848"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.910905" level="INFO">${current_port} = 17878</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:13.910026" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.799010" elapsed="0.112111"/>
</kw>
<msg time="2026-04-11T23:14:13.911206" level="INFO">Repeating keyword, round 49/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:13.913303" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:13.913184" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.912927" elapsed="0.000441"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.913754" level="INFO">${current_Date} = 2026-04-11 23:14:13.914</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:13.913565" elapsed="0.000216"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:13.914251" level="INFO">${ellapsed_seconds} = 2690.332</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:13.913927" elapsed="0.000350"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.914609" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:13.914347" elapsed="0.000317"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:13.914329" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:13.912703" elapsed="0.002030"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.915239" level="INFO">${number} = 49</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.914877" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.916704" level="INFO">${number} = 49</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.916347" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:13.918337" level="INFO">${device-port} = 17878</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:13.917750" elapsed="0.000613"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.920719" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:13.957836" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:13.958124" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.920617" elapsed="0.037567"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:13.959203" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:13.959339" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:13.958384" elapsed="0.001065">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:13.958326" elapsed="0.001211">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:13.920334" elapsed="0.039557">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:13.919951" elapsed="0.040185"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:13.961165" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17878 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.019225" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.019433" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:13.960667" elapsed="0.058820"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.019709" elapsed="0.000167"/>
</return>
<msg time="2026-04-11T23:14:14.020485" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:13.919168" elapsed="0.101564"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.021313" elapsed="0.001740"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:13.918564" elapsed="0.104713"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:13.917390" elapsed="0.106027"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:13.916890" elapsed="0.106627"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.915908" elapsed="0.107765"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:13.915418" elapsed="0.108371"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.024908" level="INFO">${next} = 17879</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.024131" elapsed="0.000835"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.026225" level="INFO">${current_port} = 17879</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:14.025317" elapsed="0.001001"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:13.911728" elapsed="0.114715"/>
</kw>
<msg time="2026-04-11T23:14:14.026531" level="INFO">Repeating keyword, round 50/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:14.029924" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:14.029804" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.028598" elapsed="0.001391"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.030302" level="INFO">${current_Date} = 2026-04-11 23:14:14.030</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:14.030134" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.030815" level="INFO">${ellapsed_seconds} = 2690.216</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:14.030474" elapsed="0.000368"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.031153" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:14.030912" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.030893" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:14.028310" elapsed="0.002966"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.031811" level="INFO">${number} = 50</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.031419" elapsed="0.000418"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.033223" level="INFO">${number} = 50</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.032888" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.035034" level="INFO">${device-port} = 17879</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.034405" elapsed="0.000655"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.037430" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:14.069186" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.069414" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.037330" elapsed="0.032142"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.070408" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:14.070539" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:14.069685" elapsed="0.001090">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:14.069633" elapsed="0.001242">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:14.037063" elapsed="0.034089">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:14.036679" elapsed="0.034613"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.072334" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17879 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.127341" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.127638" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.071843" elapsed="0.055853"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.127930" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:14:14.128737" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:14.035901" elapsed="0.093043"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.129544" elapsed="0.001764"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:14.035262" elapsed="0.096270"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:14.033924" elapsed="0.097797"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:14.033402" elapsed="0.098422"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.032432" elapsed="0.099518"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:14.031988" elapsed="0.100061"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.133173" level="INFO">${next} = 17880</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.132392" elapsed="0.000839"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.134484" level="INFO">${current_port} = 17880</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:14.133630" elapsed="0.000976"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.026997" elapsed="0.107741"/>
</kw>
<msg time="2026-04-11T23:14:14.134826" level="INFO">Repeating keyword, round 51/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:14.136863" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:14.136753" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.136732" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.137668" level="INFO">${current_Date} = 2026-04-11 23:14:14.137</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:14.137215" elapsed="0.000480"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.138169" level="INFO">${ellapsed_seconds} = 2690.109</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:14.137845" elapsed="0.000350"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.138509" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:14.138267" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.138248" elapsed="0.000356"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:14.136492" elapsed="0.002160"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.139161" level="INFO">${number} = 51</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.138798" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.140608" level="INFO">${number} = 51</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.140252" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.142259" level="INFO">${device-port} = 17880</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.141660" elapsed="0.000626"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.144792" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:14.177009" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.177253" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.144689" elapsed="0.032623"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.178271" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:14.178402" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:14.177494" elapsed="0.001015">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:14.177441" elapsed="0.001188">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:14.144408" elapsed="0.034504">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:14.144026" elapsed="0.035112"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.180156" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17880 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.234841" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.235098" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.179644" elapsed="0.055510"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.235370" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:14:14.236215" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:14.143216" elapsed="0.093203"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.237063" elapsed="0.001801"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:14.142488" elapsed="0.096601"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:14.141289" elapsed="0.097940"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:14.140792" elapsed="0.098537"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.139813" elapsed="0.099641"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:14.139340" elapsed="0.100210"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.240730" level="INFO">${next} = 17881</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.239935" elapsed="0.000853"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.242008" level="INFO">${current_port} = 17881</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:14.241136" elapsed="0.000964"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.135263" elapsed="0.106960"/>
</kw>
<msg time="2026-04-11T23:14:14.242309" level="INFO">Repeating keyword, round 52/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:14.244469" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:14.244303" elapsed="0.000228"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.244273" elapsed="0.000290"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.245062" level="INFO">${current_Date} = 2026-04-11 23:14:14.245</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:14.244825" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.246131" level="INFO">${ellapsed_seconds} = 2690.001</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:14.245314" elapsed="0.000857"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.246649" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:14.246277" elapsed="0.000453"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.246249" elapsed="0.000517"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:14.243950" elapsed="0.002885"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.247602" level="INFO">${number} = 52</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.247048" elapsed="0.000608"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.249876" level="INFO">${number} = 52</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.249359" elapsed="0.000556"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.252427" level="INFO">${device-port} = 17881</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.251390" elapsed="0.001065"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.254851" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:14.288808" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.288929" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.254748" elapsed="0.034208"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.289409" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:14.289471" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:14.289051" elapsed="0.000570">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:14.289022" elapsed="0.000644">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:14.254461" elapsed="0.035342">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:14.254069" elapsed="0.035800"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.290327" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17881 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.350706" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.350879" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.290096" elapsed="0.060809"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.351033" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:14.351421" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:14.253279" elapsed="0.098241"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.351873" elapsed="0.000855"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:14.252680" elapsed="0.100155"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:14.250892" elapsed="0.102012"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:14.250143" elapsed="0.102809"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.248705" elapsed="0.104308"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:14.247883" elapsed="0.105176"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.353589" level="INFO">${next} = 17882</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.353217" elapsed="0.000400"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.354177" level="INFO">${current_port} = 17882</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:14.353780" elapsed="0.000439"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.242898" elapsed="0.111379"/>
</kw>
<msg time="2026-04-11T23:14:14.354317" level="INFO">Repeating keyword, round 53/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:14.355503" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:14.355391" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.355369" elapsed="0.000214"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.355978" level="INFO">${current_Date} = 2026-04-11 23:14:14.356</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:14.355807" elapsed="0.000198"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.356475" level="INFO">${ellapsed_seconds} = 2689.89</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:14.356153" elapsed="0.000348"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.357091" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:14.356840" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.356555" elapsed="0.000614"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:14.355144" elapsed="0.002071"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.357741" level="INFO">${number} = 53</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.357361" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.359161" level="INFO">${number} = 53</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.358822" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.360876" level="INFO">${device-port} = 17882</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.360227" elapsed="0.000676"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.363247" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:14.400717" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.400864" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.363146" elapsed="0.037746"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.401394" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:14.401456" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:14.401001" elapsed="0.000508">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:14.400968" elapsed="0.000583">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:14.362877" elapsed="0.038831">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:14.362472" elapsed="0.039368"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.402321" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17882 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.458893" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.459052" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.402081" elapsed="0.056998"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.459211" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:14.459645" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:14.361713" elapsed="0.098028"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.460051" elapsed="0.000855"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:14.361108" elapsed="0.099904"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:14.359890" elapsed="0.101192"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:14.359344" elapsed="0.101787"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.358365" elapsed="0.102827"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:14.357921" elapsed="0.103318"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.461778" level="INFO">${next} = 17883</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.461399" elapsed="0.000405"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.462368" level="INFO">${current_port} = 17883</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:14.461970" elapsed="0.000439"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.354539" elapsed="0.107928"/>
</kw>
<msg time="2026-04-11T23:14:14.462508" level="INFO">Repeating keyword, round 54/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:14.463740" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:14.463625" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.463603" elapsed="0.000201"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.464117" level="INFO">${current_Date} = 2026-04-11 23:14:14.464</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:14.463950" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.464647" level="INFO">${ellapsed_seconds} = 2689.782</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:14.464291" elapsed="0.000382"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.465244" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:14.464745" elapsed="0.000555"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.464726" elapsed="0.000599"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:14.463347" elapsed="0.002026"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.465906" level="INFO">${number} = 54</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.465520" elapsed="0.000413"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.467340" level="INFO">${number} = 54</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.467001" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.469065" level="INFO">${device-port} = 17883</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.468413" elapsed="0.000679"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.471445" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:14.508768" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.508887" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.471347" elapsed="0.037568"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.509356" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:14.509416" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:14.509004" elapsed="0.000533">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:14.508978" elapsed="0.000624">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:14.471077" elapsed="0.038662">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:14.470690" elapsed="0.039114"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.510255" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17883 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.566559" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.566732" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.510028" elapsed="0.056730"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.566880" elapsed="0.000084"/>
</return>
<msg time="2026-04-11T23:14:14.567260" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:14.469913" elapsed="0.097440"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.567710" elapsed="0.000826"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:14.469299" elapsed="0.099363"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:14.468074" elapsed="0.100655"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:14.467525" elapsed="0.101253"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.466540" elapsed="0.102298"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:14.466088" elapsed="0.102796"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.569403" level="INFO">${next} = 17884</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.569041" elapsed="0.000389"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.570007" level="INFO">${current_port} = 17884</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:14.569609" elapsed="0.000441"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.462751" elapsed="0.107358"/>
</kw>
<msg time="2026-04-11T23:14:14.570150" level="INFO">Repeating keyword, round 55/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:14.571331" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:14.571220" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.571200" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.571797" level="INFO">${current_Date} = 2026-04-11 23:14:14.572</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:14.571624" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.572529" level="INFO">${ellapsed_seconds} = 2689.674</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:14.571969" elapsed="0.000587"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.572905" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:14.572661" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.572642" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:14.570975" elapsed="0.002055"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.573534" level="INFO">${number} = 55</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.573175" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.574976" level="INFO">${number} = 55</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.574635" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.576662" level="INFO">${device-port} = 17884</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.576026" elapsed="0.000663"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.579015" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:14.616788" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.616924" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.578917" elapsed="0.038034"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.617435" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:14.617496" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:14.617053" elapsed="0.000496">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:14.617022" elapsed="0.000591">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:14.578651" elapsed="0.039101">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:14.578251" elapsed="0.039624"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.618340" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17884 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.674851" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.675019" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.618107" elapsed="0.056940"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.675177" elapsed="0.000084"/>
</return>
<msg time="2026-04-11T23:14:14.675614" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:14.577477" elapsed="0.098232"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.676012" elapsed="0.000840"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:14.576892" elapsed="0.100066"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:14.575688" elapsed="0.101337"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:14.575160" elapsed="0.101914"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.574173" elapsed="0.102961"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:14.573730" elapsed="0.103451"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.677715" level="INFO">${next} = 17885</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.677337" elapsed="0.000405"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.678299" level="INFO">${current_port} = 17885</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:14.677903" elapsed="0.000438"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.570371" elapsed="0.108027"/>
</kw>
<msg time="2026-04-11T23:14:14.678439" level="INFO">Repeating keyword, round 56/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:14.679660" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:14.679534" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.679512" elapsed="0.000212"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.680036" level="INFO">${current_Date} = 2026-04-11 23:14:14.680</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:14.679869" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.680807" level="INFO">${ellapsed_seconds} = 2689.566</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:14.680208" elapsed="0.000627"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.681151" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:14.680907" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.680887" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:14.679268" elapsed="0.002005"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.681797" level="INFO">${number} = 56</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.681418" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.683217" level="INFO">${number} = 56</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.682878" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.684930" level="INFO">${device-port} = 17885</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.684287" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.687297" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:14.724855" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.725007" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.687196" elapsed="0.037839"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.725532" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:14.725620" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:14.725142" elapsed="0.000611">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:14.725111" elapsed="0.000687">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:14.686927" elapsed="0.039009">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:14.686522" elapsed="0.039480"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.726481" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17885 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.782650" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.782857" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.726240" elapsed="0.056646"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.783008" elapsed="0.000081"/>
</return>
<msg time="2026-04-11T23:14:14.783384" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:14.685766" elapsed="0.097727"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.783822" elapsed="0.000832"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:14.685159" elapsed="0.099599"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:14.683950" elapsed="0.100875"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:14.683401" elapsed="0.101474"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.682420" elapsed="0.102515"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:14.681976" elapsed="0.103004"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.785490" level="INFO">${next} = 17886</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.785134" elapsed="0.000383"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.786091" level="INFO">${current_port} = 17886</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:14.785697" elapsed="0.000436"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.678674" elapsed="0.107516"/>
</kw>
<msg time="2026-04-11T23:14:14.786231" level="INFO">Repeating keyword, round 57/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:14.787425" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:14.787301" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.787280" elapsed="0.000210"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.787872" level="INFO">${current_Date} = 2026-04-11 23:14:14.788</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:14.787702" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.788638" level="INFO">${ellapsed_seconds} = 2689.458</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:14.788045" elapsed="0.000620"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.788984" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:14.788738" elapsed="0.000299"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.788719" elapsed="0.000343"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:14.787056" elapsed="0.002053"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.789635" level="INFO">${number} = 57</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.789252" elapsed="0.000410"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.791084" level="INFO">${number} = 57</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.790745" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.792771" level="INFO">${device-port} = 17886</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.792156" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.795126" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:14.832640" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.832779" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.795027" elapsed="0.037779"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.833284" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:14.833346" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:14.832908" elapsed="0.000490">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:14.832878" elapsed="0.000561">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:14.794762" elapsed="0.038836">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:14.794363" elapsed="0.039360"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.834193" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17886 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.890647" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.890824" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.833958" elapsed="0.056893"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.890988" elapsed="0.000086"/>
</return>
<msg time="2026-04-11T23:14:14.891394" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:14.793606" elapsed="0.097881"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.891824" elapsed="0.000841"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:14.793001" elapsed="0.099767"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:14.791819" elapsed="0.101016"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:14.791267" elapsed="0.101616"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.790260" elapsed="0.102683"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:14.789815" elapsed="0.103174"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.893505" level="INFO">${next} = 17887</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.893145" elapsed="0.000386"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.894106" level="INFO">${current_port} = 17887</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:14.893711" elapsed="0.000437"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.786450" elapsed="0.107756"/>
</kw>
<msg time="2026-04-11T23:14:14.894247" level="INFO">Repeating keyword, round 58/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:14.895443" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:14.895317" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.895295" elapsed="0.000212"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.895834" level="INFO">${current_Date} = 2026-04-11 23:14:14.896</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:14.895667" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:14.896602" level="INFO">${ellapsed_seconds} = 2689.35</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:14.896007" elapsed="0.000623"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.896948" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:14.896704" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:14.896685" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:14.895074" elapsed="0.001998"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.897588" level="INFO">${number} = 58</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.897215" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.899006" level="INFO">${number} = 58</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.898670" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:14.900713" level="INFO">${device-port} = 17887</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:14.900076" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.903060" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:14.940612" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.940723" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.902960" elapsed="0.037790"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:14.941183" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:14.941242" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:14.940837" elapsed="0.000524">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:14.940812" elapsed="0.000593">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:14.902693" elapsed="0.038843">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:14.902293" elapsed="0.039325"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:14.942061" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17887 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:14.998600" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:14.998729" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:14.941837" elapsed="0.056918"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:14.998859" elapsed="0.000077"/>
</return>
<msg time="2026-04-11T23:14:14.999224" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:14.901523" elapsed="0.097812"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:14.999643" elapsed="0.000799"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:14.900941" elapsed="0.099607"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:14.899739" elapsed="0.100895"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:14.899188" elapsed="0.101494"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.898213" elapsed="0.102528"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:14.897769" elapsed="0.103017"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.001291" level="INFO">${next} = 17888</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.000939" elapsed="0.000378"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.001891" level="INFO">${current_port} = 17888</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.001478" elapsed="0.000456"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:14.894470" elapsed="0.107521"/>
</kw>
<msg time="2026-04-11T23:14:15.002031" level="INFO">Repeating keyword, round 59/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.003197" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.003087" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.003066" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.003657" level="INFO">${current_Date} = 2026-04-11 23:14:15.004</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.003473" elapsed="0.000210"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.004381" level="INFO">${ellapsed_seconds} = 2689.242</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.003830" elapsed="0.000577"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.004753" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.004480" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.004461" elapsed="0.000370"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.002844" elapsed="0.002033"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.005382" level="INFO">${number} = 59</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.005021" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.006816" level="INFO">${number} = 59</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.006460" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.008469" level="INFO">${device-port} = 17888</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.007881" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.010863" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:15.048516" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.048672" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.010765" elapsed="0.037934"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.049170" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:15.049232" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:15.048797" elapsed="0.000486">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:15.048768" elapsed="0.000557">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.010484" elapsed="0.038976">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.010100" elapsed="0.039504"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.050072" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17888 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:15.106630" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.106790" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.049841" elapsed="0.056975"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:15.106943" elapsed="0.000081"/>
</return>
<msg time="2026-04-11T23:14:15.107338" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.009329" elapsed="0.098102"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:15.107759" elapsed="0.000827"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.008743" elapsed="0.099949"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.007532" elapsed="0.101228"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.007001" elapsed="0.101807"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.006024" elapsed="0.102845"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.005560" elapsed="0.103355"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.109426" level="INFO">${next} = 17889</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.109071" elapsed="0.000382"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.110025" level="INFO">${current_port} = 17889</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.109631" elapsed="0.000436"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.002243" elapsed="0.107880"/>
</kw>
<msg time="2026-04-11T23:14:15.110164" level="INFO">Repeating keyword, round 60/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.111363" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.111253" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.111218" elapsed="0.000209"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.111757" level="INFO">${current_Date} = 2026-04-11 23:14:15.112</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.111588" elapsed="0.000196"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.112483" level="INFO">${ellapsed_seconds} = 2689.134</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.111929" elapsed="0.000581"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.112859" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.112615" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.112563" elapsed="0.000374"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.110994" elapsed="0.001991"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.113487" level="INFO">${number} = 60</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.113129" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.114919" level="INFO">${number} = 60</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.114564" elapsed="0.000382"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.116612" level="INFO">${device-port} = 17889</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.115980" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.118967" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:15.156643" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.156792" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.118868" elapsed="0.037952"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.157312" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:15.157377" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:15.156926" elapsed="0.000580">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:15.156895" elapsed="0.000655">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.118600" elapsed="0.039108">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.118200" elapsed="0.039576"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.158253" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17889 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:15.214558" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.214758" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.158017" elapsed="0.056767"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:15.214919" elapsed="0.000088"/>
</return>
<msg time="2026-04-11T23:14:15.215331" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.117432" elapsed="0.097992"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:15.215767" elapsed="0.000844"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.116845" elapsed="0.099872"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.115646" elapsed="0.101138"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.115101" elapsed="0.101731"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.114126" elapsed="0.102766"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.113683" elapsed="0.103254"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.217450" level="INFO">${next} = 17890</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.217093" elapsed="0.000384"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.218052" level="INFO">${current_port} = 17890</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.217657" elapsed="0.000438"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.110383" elapsed="0.107770"/>
</kw>
<msg time="2026-04-11T23:14:15.218193" level="INFO">Repeating keyword, round 61/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.219393" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.219282" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.219258" elapsed="0.000198"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.219841" level="INFO">${current_Date} = 2026-04-11 23:14:15.220</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.219672" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.220561" level="INFO">${ellapsed_seconds} = 2689.026</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.220013" elapsed="0.000606"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.220936" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.220693" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.220674" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.219019" elapsed="0.002041"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.221582" level="INFO">${number} = 61</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.221205" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.223005" level="INFO">${number} = 61</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.222669" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.224712" level="INFO">${device-port} = 17890</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.224066" elapsed="0.000673"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.227058" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:15.264513" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.264676" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.226959" elapsed="0.037745"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.265180" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:15.265242" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:15.264803" elapsed="0.000491">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:15.264774" elapsed="0.000561">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.226692" elapsed="0.038783">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.226292" elapsed="0.039323"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.266084" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17890 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:15.322837" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.322997" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.265851" elapsed="0.057173"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:15.323171" elapsed="0.000082"/>
</return>
<msg time="2026-04-11T23:14:15.323550" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.225525" elapsed="0.098148"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:15.323973" elapsed="0.000835"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.224941" elapsed="0.099972"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.223730" elapsed="0.101250"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.223216" elapsed="0.101811"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.222211" elapsed="0.102876"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.221765" elapsed="0.103369"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.325666" level="INFO">${next} = 17891</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.325290" elapsed="0.000403"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.326247" level="INFO">${current_port} = 17891</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.325855" elapsed="0.000434"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.218417" elapsed="0.107929"/>
</kw>
<msg time="2026-04-11T23:14:15.326387" level="INFO">Repeating keyword, round 62/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.327596" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.327470" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.327449" elapsed="0.000213"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.327970" level="INFO">${current_Date} = 2026-04-11 23:14:15.328</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.327805" elapsed="0.000192"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.329691" level="INFO">${ellapsed_seconds} = 2688.918</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.328140" elapsed="0.001578"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.330033" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.329790" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.329771" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.327226" elapsed="0.002929"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.330675" level="INFO">${number} = 62</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.330297" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.332124" level="INFO">${number} = 62</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.331787" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.333794" level="INFO">${device-port} = 17891</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.333180" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.336170" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:15.372799" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.372977" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.336069" elapsed="0.036937"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.373537" elapsed="0.000030"/>
</kw>
<msg time="2026-04-11T23:14:15.373626" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:15.373121" elapsed="0.000637">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:15.373087" elapsed="0.000718">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.335803" elapsed="0.038146">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.335400" elapsed="0.038616"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.374503" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17891 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:15.430753" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.430871" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.374260" elapsed="0.056636"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:15.430999" elapsed="0.000073"/>
</return>
<msg time="2026-04-11T23:14:15.431377" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.334626" elapsed="0.096847"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:15.431777" elapsed="0.000830"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.334022" elapsed="0.098690"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.332846" elapsed="0.099932"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.332304" elapsed="0.100520"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.331332" elapsed="0.101550"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.330855" elapsed="0.102073"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.433436" level="INFO">${next} = 17892</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.433083" elapsed="0.000379"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.434035" level="INFO">${current_port} = 17892</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.433643" elapsed="0.000434"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.326625" elapsed="0.107509"/>
</kw>
<msg time="2026-04-11T23:14:15.434175" level="INFO">Repeating keyword, round 63/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.435359" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.435247" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.435227" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.435805" level="INFO">${current_Date} = 2026-04-11 23:14:15.436</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.435636" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.436296" level="INFO">${ellapsed_seconds} = 2688.81</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.435976" elapsed="0.000346"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.436896" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.436646" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.436375" elapsed="0.000600"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.434990" elapsed="0.002032"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.437534" level="INFO">${number} = 63</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.437169" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.438978" level="INFO">${number} = 63</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.438638" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.440695" level="INFO">${device-port} = 17892</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.440052" elapsed="0.000670"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.443101" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:15.480740" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.480868" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.442987" elapsed="0.037908"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.481350" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:15.481412" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:15.480991" elapsed="0.000473">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:15.480962" elapsed="0.000545">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.442714" elapsed="0.038953">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.442293" elapsed="0.039497"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.482251" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17892 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:15.542893" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.543077" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.482021" elapsed="0.061084"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:15.543237" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:15.543650" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.441512" elapsed="0.102230"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:15.544046" elapsed="0.000841"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.440928" elapsed="0.104063"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.439714" elapsed="0.105344"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.439197" elapsed="0.105909"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.438177" elapsed="0.106989"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.437731" elapsed="0.107480"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.545747" level="INFO">${next} = 17893</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.545367" elapsed="0.000406"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.546335" level="INFO">${current_port} = 17893</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.545938" elapsed="0.000439"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.434389" elapsed="0.112045"/>
</kw>
<msg time="2026-04-11T23:14:15.546475" level="INFO">Repeating keyword, round 64/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.547682" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.547554" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.547534" elapsed="0.000213"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.548060" level="INFO">${current_Date} = 2026-04-11 23:14:15.548</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.547893" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.548550" level="INFO">${ellapsed_seconds} = 2688.698</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.548230" elapsed="0.000370"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.549148" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.548673" elapsed="0.000529"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.548653" elapsed="0.000574"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.547312" elapsed="0.001963"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.549804" level="INFO">${number} = 64</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.549418" elapsed="0.000414"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.551394" level="INFO">${number} = 64</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.551052" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.553089" level="INFO">${device-port} = 17893</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.552464" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.555524" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:15.592687" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.592824" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.555423" elapsed="0.037429"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.593329" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:15.593390" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:15.592950" elapsed="0.000572">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:15.592921" elapsed="0.000672">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.555150" elapsed="0.038584">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.554726" elapsed="0.039076"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.594279" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17893 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:15.650936" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.651116" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.594040" elapsed="0.057104"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:15.651272" elapsed="0.000086"/>
</return>
<msg time="2026-04-11T23:14:15.651695" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.553934" elapsed="0.097861"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:15.652100" elapsed="0.000854"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.553317" elapsed="0.099744"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.552126" elapsed="0.101001"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.551625" elapsed="0.101550"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.550438" elapsed="0.102797"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.549984" elapsed="0.103298"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.653813" level="INFO">${next} = 17894</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.653438" elapsed="0.000403"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.654400" level="INFO">${current_port} = 17894</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.654006" elapsed="0.000436"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.546711" elapsed="0.107789"/>
</kw>
<msg time="2026-04-11T23:14:15.654541" level="INFO">Repeating keyword, round 65/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.655752" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.655639" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.655618" elapsed="0.000198"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.656186" level="INFO">${current_Date} = 2026-04-11 23:14:15.656</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.656015" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.656703" level="INFO">${ellapsed_seconds} = 2688.59</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.656358" elapsed="0.000371"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.657282" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.656800" elapsed="0.000538"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.656781" elapsed="0.000581"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.655381" elapsed="0.002029"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.657944" level="INFO">${number} = 65</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.657555" elapsed="0.000416"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.659405" level="INFO">${number} = 65</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.659065" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.661155" level="INFO">${device-port} = 17894</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.660443" elapsed="0.000739"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.663658" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:15.700837" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.700993" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.663542" elapsed="0.037478"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.701529" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:15.701616" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:15.701130" elapsed="0.000539">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:15.701098" elapsed="0.000614">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.663273" elapsed="0.038578">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.662794" elapsed="0.039187"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.702463" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17894 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:15.758806" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.758984" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.702224" elapsed="0.056787"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:15.759138" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:15.759530" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.662005" elapsed="0.097649"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:15.759964" elapsed="0.000846"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.661388" elapsed="0.099527"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.660106" elapsed="0.100878"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.659604" elapsed="0.101429"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.658590" elapsed="0.102505"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.658125" elapsed="0.103016"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.761693" level="INFO">${next} = 17895</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.761296" elapsed="0.000424"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.762280" level="INFO">${current_port} = 17895</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.761884" elapsed="0.000438"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.654779" elapsed="0.107601"/>
</kw>
<msg time="2026-04-11T23:14:15.762420" level="INFO">Repeating keyword, round 66/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.763644" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.763517" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.763495" elapsed="0.000214"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.764021" level="INFO">${current_Date} = 2026-04-11 23:14:15.764</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.763853" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.764512" level="INFO">${ellapsed_seconds} = 2688.482</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.764191" elapsed="0.000347"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.765130" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.764639" elapsed="0.000546"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.764619" elapsed="0.000590"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.763266" elapsed="0.001990"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.765782" level="INFO">${number} = 66</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.765400" elapsed="0.000409"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.767381" level="INFO">${number} = 66</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.767041" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.769064" level="INFO">${device-port} = 17895</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.768412" elapsed="0.000679"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.771475" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:15.808871" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.809019" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.771375" elapsed="0.037671"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.809536" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:15.809622" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:15.809149" elapsed="0.000643">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:15.809118" elapsed="0.000719">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.771106" elapsed="0.038872">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.770706" elapsed="0.039338"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.810520" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17895 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:15.866903" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.867094" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.810282" elapsed="0.056839"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:15.867265" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:14:15.867695" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.769916" elapsed="0.097877"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:15.868116" elapsed="0.000870"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.769294" elapsed="0.099797"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.768077" elapsed="0.101081"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.767564" elapsed="0.101644"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.766550" elapsed="0.102720"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.765964" elapsed="0.103354"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.869857" level="INFO">${next} = 17896</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.869476" elapsed="0.000408"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.870442" level="INFO">${current_port} = 17896</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.870049" elapsed="0.000438"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.762660" elapsed="0.107888"/>
</kw>
<msg time="2026-04-11T23:14:15.870604" level="INFO">Repeating keyword, round 67/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.871808" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.871696" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.871675" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.872246" level="INFO">${current_Date} = 2026-04-11 23:14:15.872</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.872077" elapsed="0.000196"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.873013" level="INFO">${ellapsed_seconds} = 2688.374</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.872417" elapsed="0.000623"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.873357" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.873113" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.873095" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.871433" elapsed="0.002049"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.874009" level="INFO">${number} = 67</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.873646" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.875474" level="INFO">${number} = 67</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.875117" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.877157" level="INFO">${device-port} = 17896</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.876510" elapsed="0.000674"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.879527" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:15.916952" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.917169" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.879428" elapsed="0.037799"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.918119" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:15.918247" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:15.917390" elapsed="0.000964">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:15.917345" elapsed="0.001097">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.879163" elapsed="0.039582">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.878768" elapsed="0.040241"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.919996" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17896 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:15.975415" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:15.975737" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.919466" elapsed="0.056330"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:15.976025" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:14:15.976856" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.877992" elapsed="0.099069"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:15.977709" elapsed="0.001795"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.877385" elapsed="0.102295"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.876174" elapsed="0.103603"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.875676" elapsed="0.104171"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.874648" elapsed="0.105287"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.874188" elapsed="0.105812"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.980781" level="INFO">${next} = 17897</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.980231" elapsed="0.000589"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.981669" level="INFO">${current_port} = 17897</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:15.981060" elapsed="0.000672"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.870828" elapsed="0.110988"/>
</kw>
<msg time="2026-04-11T23:14:15.981875" level="INFO">Repeating keyword, round 68/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:15.983623" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:15.983433" elapsed="0.000254"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.983404" elapsed="0.000315"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.984171" level="INFO">${current_Date} = 2026-04-11 23:14:15.984</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:15.983931" elapsed="0.000278"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:15.985268" level="INFO">${ellapsed_seconds} = 2688.262</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:15.984421" elapsed="0.000887"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:15.985818" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:15.985414" elapsed="0.000485"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:15.985386" elapsed="0.000548"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:15.983080" elapsed="0.002921"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.986781" level="INFO">${number} = 68</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.986214" elapsed="0.000606"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.988938" level="INFO">${number} = 68</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.988413" elapsed="0.000564"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:15.991407" level="INFO">${device-port} = 17897</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:15.990469" elapsed="0.000977"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:15.993834" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:16.025320" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.025552" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:15.993731" elapsed="0.031915"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.026554" elapsed="0.000083"/>
</kw>
<msg time="2026-04-11T23:14:16.026714" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:16.025825" elapsed="0.001144">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:16.025776" elapsed="0.001292">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:15.993445" elapsed="0.033905">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:15.993060" elapsed="0.034431"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.028489" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17897 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:16.083417" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.083708" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.027994" elapsed="0.055772"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:16.083987" elapsed="0.000156"/>
</return>
<msg time="2026-04-11T23:14:16.084820" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:15.992284" elapsed="0.092745"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:16.085669" elapsed="0.001752"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:15.991700" elapsed="0.095978"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:15.989971" elapsed="0.097850"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:15.989212" elapsed="0.098711"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.987758" elapsed="0.100293"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:15.987060" elapsed="0.101089"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.089269" level="INFO">${next} = 17898</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.088488" elapsed="0.000839"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.090612" level="INFO">${current_port} = 17898</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:16.089729" elapsed="0.000977"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:15.982186" elapsed="0.108666"/>
</kw>
<msg time="2026-04-11T23:14:16.090943" level="INFO">Repeating keyword, round 69/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:16.093502" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:16.093266" elapsed="0.000358"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.093224" elapsed="0.000451"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.094427" level="INFO">${current_Date} = 2026-04-11 23:14:16.094</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:16.094079" elapsed="0.000406"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.095821" level="INFO">${ellapsed_seconds} = 2688.152</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:16.094881" elapsed="0.000967"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.096162" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:16.095920" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.095901" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:16.092746" elapsed="0.003540"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.096812" level="INFO">${number} = 69</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.096431" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.098237" level="INFO">${number} = 69</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.097899" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.099904" level="INFO">${device-port} = 17898</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.099288" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.102269" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:16.133298" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.133523" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.102169" elapsed="0.031445"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.134502" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:16.134662" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:16.133788" elapsed="0.001021">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:16.133741" elapsed="0.001161">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:16.101903" elapsed="0.033272">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:16.101498" elapsed="0.033902"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.136397" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17898 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:16.191473" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.191774" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.135907" elapsed="0.055923"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:16.192049" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:14:16.192873" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:16.100737" elapsed="0.092340"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:16.193726" elapsed="0.001752"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:16.100132" elapsed="0.095614"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:16.098950" elapsed="0.096940"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:16.098420" elapsed="0.097569"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.097437" elapsed="0.098679"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:16.096991" elapsed="0.099224"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.197333" level="INFO">${next} = 17899</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.196555" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.198649" level="INFO">${current_port} = 17899</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:16.197772" elapsed="0.001014"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.091389" elapsed="0.107526"/>
</kw>
<msg time="2026-04-11T23:14:16.199004" level="INFO">Repeating keyword, round 70/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:16.200900" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:16.200739" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.200710" elapsed="0.000284"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.201442" level="INFO">${current_Date} = 2026-04-11 23:14:16.201</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:16.201205" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.202513" level="INFO">${ellapsed_seconds} = 2688.045</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:16.201718" elapsed="0.000834"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.203045" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:16.202679" elapsed="0.000445"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.202651" elapsed="0.000509"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:16.200360" elapsed="0.002868"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.204019" level="INFO">${number} = 70</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.203440" elapsed="0.000618"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.206127" level="INFO">${number} = 70</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.205630" elapsed="0.000536"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.208550" level="INFO">${device-port} = 17899</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.207681" elapsed="0.000931"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.211935" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:16.241387" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.241654" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.211835" elapsed="0.029881"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.242643" elapsed="0.000074"/>
</kw>
<msg time="2026-04-11T23:14:16.242795" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:16.241890" elapsed="0.001122">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:16.241842" elapsed="0.001266">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:16.211548" elapsed="0.031837">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:16.210982" elapsed="0.032542"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.244557" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17899 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:16.299360" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.299670" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.244019" elapsed="0.055710"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:16.299952" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:14:16.300779" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:16.209808" elapsed="0.091175"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:16.301623" elapsed="0.001762"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:16.208911" elapsed="0.094727"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:16.207158" elapsed="0.096622"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:16.206393" elapsed="0.097488"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.204964" elapsed="0.099044"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:16.204284" elapsed="0.099823"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.305231" level="INFO">${next} = 17900</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.304447" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.306539" level="INFO">${current_port} = 17900</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:16.305689" elapsed="0.001020"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.199450" elapsed="0.107391"/>
</kw>
<msg time="2026-04-11T23:14:16.306928" level="INFO">Repeating keyword, round 71/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:16.308859" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:16.308697" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.308668" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.309478" level="INFO">${current_Date} = 2026-04-11 23:14:16.309</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:16.309237" elapsed="0.000280"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.310545" level="INFO">${ellapsed_seconds} = 2687.937</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:16.309756" elapsed="0.000854"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.311086" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:16.310733" elapsed="0.000432"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.310705" elapsed="0.000496"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:16.308318" elapsed="0.002951"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.312064" level="INFO">${number} = 71</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.311483" elapsed="0.000620"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.314182" level="INFO">${number} = 71</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.313681" elapsed="0.000539"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.316656" level="INFO">${device-port} = 17900</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.315758" elapsed="0.000938"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.319998" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:16.349355" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.349698" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.319894" elapsed="0.029866"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.350831" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:14:16.350969" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:16.349967" elapsed="0.001111">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:16.349907" elapsed="0.001263">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:16.319624" elapsed="0.031830">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:16.319070" elapsed="0.032649"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.352772" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17900 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:16.407380" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.407695" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.352218" elapsed="0.055535"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:16.407984" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:14:16.408815" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:16.317886" elapsed="0.091133"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:16.409673" elapsed="0.001758"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:16.316994" elapsed="0.094690"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:16.315226" elapsed="0.096599"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:16.314450" elapsed="0.097473"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.313012" elapsed="0.099037"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:16.312330" elapsed="0.099817"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.413263" level="INFO">${next} = 17901</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.412486" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.414563" level="INFO">${current_port} = 17901</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:16.413717" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.307371" elapsed="0.107453"/>
</kw>
<msg time="2026-04-11T23:14:16.414910" level="INFO">Repeating keyword, round 72/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:16.417412" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:16.417174" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.417130" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.418284" level="INFO">${current_Date} = 2026-04-11 23:14:16.418</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:16.417943" elapsed="0.000398"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.419691" level="INFO">${ellapsed_seconds} = 2687.828</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:16.418730" elapsed="0.000988"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.420034" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:16.419789" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.419770" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:16.416649" elapsed="0.003509"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.420677" level="INFO">${number} = 72</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.420301" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.422104" level="INFO">${number} = 72</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.421768" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.423756" level="INFO">${device-port} = 17901</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.423146" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.426093" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:16.461094" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.461332" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.425995" elapsed="0.035395"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.462529" elapsed="0.000102"/>
</kw>
<msg time="2026-04-11T23:14:16.462712" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:16.461565" elapsed="0.001357">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:16.461515" elapsed="0.001504">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:16.425729" elapsed="0.037567">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:16.425330" elapsed="0.038105"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.464439" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17901 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:16.523105" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.523355" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.463948" elapsed="0.059463"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:16.523665" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:14:16.524439" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:16.424584" elapsed="0.100099"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:16.525287" elapsed="0.001776"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:16.423985" elapsed="0.103305"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:16.422813" elapsed="0.104616"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:16.422284" elapsed="0.105245"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.421300" elapsed="0.106388"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:16.420856" elapsed="0.106931"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.528909" level="INFO">${next} = 17902</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.528126" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.530193" level="INFO">${current_port} = 17902</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:16.529315" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.415355" elapsed="0.115056"/>
</kw>
<msg time="2026-04-11T23:14:16.530497" level="INFO">Repeating keyword, round 73/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:16.533073" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:16.532834" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.532792" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.533995" level="INFO">${current_Date} = 2026-04-11 23:14:16.534</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:16.533647" elapsed="0.000406"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.535540" level="INFO">${ellapsed_seconds} = 2687.712</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:16.534374" elapsed="0.001192"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.535898" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:16.535654" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.535635" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:16.532244" elapsed="0.003778"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.536527" level="INFO">${number} = 73</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.536166" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.537988" level="INFO">${number} = 73</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.537649" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.539701" level="INFO">${device-port} = 17902</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.539084" elapsed="0.000643"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.542073" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:16.573124" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.573350" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.541973" elapsed="0.031435"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.574343" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:16.574475" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:16.573624" elapsed="0.001006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:16.573537" elapsed="0.001187">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:16.541706" elapsed="0.033294">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:16.541308" elapsed="0.033923"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.576236" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17902 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:16.635751" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.636034" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.575745" elapsed="0.060346"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:16.636320" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:14:16.637166" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:16.540538" elapsed="0.096833"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:16.638029" elapsed="0.001797"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:16.539931" elapsed="0.100123"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:16.538747" elapsed="0.101445"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:16.538203" elapsed="0.102090"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.537194" elapsed="0.103226"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:16.536744" elapsed="0.103773"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.641691" level="INFO">${next} = 17903</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.640891" elapsed="0.000859"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.642997" level="INFO">${current_port} = 17903</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:16.642101" elapsed="0.000989"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.530980" elapsed="0.112234"/>
</kw>
<msg time="2026-04-11T23:14:16.643300" level="INFO">Repeating keyword, round 74/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:16.645890" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:16.645646" elapsed="0.000336"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.645536" elapsed="0.000494"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.646770" level="INFO">${current_Date} = 2026-04-11 23:14:16.647</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:16.646344" elapsed="0.000485"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.648965" level="INFO">${ellapsed_seconds} = 2687.599</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:16.647151" elapsed="0.001841"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.649308" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:16.649064" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.649045" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:16.645051" elapsed="0.004380"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.649976" level="INFO">${number} = 74</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.649612" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.651402" level="INFO">${number} = 74</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.651066" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.653052" level="INFO">${device-port} = 17903</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.652433" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.655446" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:16.689065" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.689328" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.655344" elapsed="0.034042"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.690388" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:16.690543" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:16.689619" elapsed="0.001168">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:16.689526" elapsed="0.001358">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:16.655075" elapsed="0.036090">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:16.654687" elapsed="0.036619"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.692328" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17903 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:16.746737" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.746992" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.691831" elapsed="0.055215"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:16.747254" elapsed="0.000156"/>
</return>
<msg time="2026-04-11T23:14:16.748076" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:16.653891" elapsed="0.094390"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:16.749115" elapsed="0.001800"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:16.653280" elapsed="0.097861"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:16.652097" elapsed="0.099182"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:16.651598" elapsed="0.099781"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.650624" elapsed="0.100879"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:16.650152" elapsed="0.101435"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.752336" level="INFO">${next} = 17904</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.751821" elapsed="0.000555"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.753218" level="INFO">${current_port} = 17904</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:16.752642" elapsed="0.000637"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.643773" elapsed="0.109590"/>
</kw>
<msg time="2026-04-11T23:14:16.753421" level="INFO">Repeating keyword, round 75/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:16.755164" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:16.755004" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.754975" elapsed="0.000283"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.755797" level="INFO">${current_Date} = 2026-04-11 23:14:16.756</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:16.755535" elapsed="0.000301"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.756509" level="INFO">${ellapsed_seconds} = 2687.49</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:16.756051" elapsed="0.000497"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.757377" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:16.757016" elapsed="0.000442"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.756674" elapsed="0.000819"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:16.754648" elapsed="0.002914"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.758334" level="INFO">${number} = 75</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.757803" elapsed="0.000569"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.760446" level="INFO">${number} = 75</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.759956" elapsed="0.000528"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.762543" level="INFO">${device-port} = 17904</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.761929" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.764962" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:16.797050" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.797295" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.764859" elapsed="0.032495"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.798307" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:16.798462" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:16.797536" elapsed="0.001062">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:16.797484" elapsed="0.001210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:16.764586" elapsed="0.034390">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:16.764178" elapsed="0.035021"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.800210" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17904 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:16.855157" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.855444" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.799713" elapsed="0.055787"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:16.855769" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:14:16.856550" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:16.763390" elapsed="0.093404"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:16.857410" elapsed="0.001778"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:16.762797" elapsed="0.096618"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:16.761591" elapsed="0.097963"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:16.760760" elapsed="0.098927"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.759290" elapsed="0.100524"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:16.758633" elapsed="0.101278"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.861033" level="INFO">${next} = 17905</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.860254" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.862349" level="INFO">${current_port} = 17905</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:16.861443" elapsed="0.001017"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.753754" elapsed="0.108861"/>
</kw>
<msg time="2026-04-11T23:14:16.862705" level="INFO">Repeating keyword, round 76/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:16.865208" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:16.864971" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.864927" elapsed="0.000423"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.866082" level="INFO">${current_Date} = 2026-04-11 23:14:16.866</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:16.865736" elapsed="0.000404"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.867329" level="INFO">${ellapsed_seconds} = 2687.38</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:16.866666" elapsed="0.000718"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.868641" elapsed="0.000052"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:16.867532" elapsed="0.001237"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.867492" elapsed="0.001332"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:16.864414" elapsed="0.004516"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.870144" level="INFO">${number} = 76</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.869256" elapsed="0.000947"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.873408" level="INFO">${number} = 76</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.872631" elapsed="0.000836"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.876307" level="INFO">${device-port} = 17905</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.875701" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.878715" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:16.913336" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.913551" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.878611" elapsed="0.035032"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.914545" elapsed="0.000082"/>
</kw>
<msg time="2026-04-11T23:14:16.914704" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:16.913812" elapsed="0.001097">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:16.913766" elapsed="0.001241">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:16.878309" elapsed="0.036973">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:16.877921" elapsed="0.037502"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.916410" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17905 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:16.975004" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:16.975292" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.915925" elapsed="0.059423"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:16.975634" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:14:16.976435" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:16.877144" elapsed="0.099539"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:16.977309" elapsed="0.001828"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:16.876537" elapsed="0.102831"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:16.875098" elapsed="0.104413"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:16.873915" elapsed="0.105728"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.871622" elapsed="0.108151"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:16.870594" elapsed="0.109277"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.981021" level="INFO">${next} = 17906</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.980220" elapsed="0.000859"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.982328" level="INFO">${current_port} = 17906</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:16.981435" elapsed="0.001033"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.863148" elapsed="0.119475"/>
</kw>
<msg time="2026-04-11T23:14:16.982713" level="INFO">Repeating keyword, round 77/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:16.984802" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:16.984635" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.984556" elapsed="0.000343"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.985424" level="INFO">${current_Date} = 2026-04-11 23:14:16.985</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:16.985181" elapsed="0.000282"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:16.986181" level="INFO">${ellapsed_seconds} = 2687.261</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:16.985712" elapsed="0.000507"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:16.987067" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:16.986323" elapsed="0.000827"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:16.986296" elapsed="0.000892"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:16.984223" elapsed="0.003035"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.988044" level="INFO">${number} = 77</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.987475" elapsed="0.000608"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.990204" level="INFO">${number} = 77</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.989705" elapsed="0.000537"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:16.992670" level="INFO">${device-port} = 17906</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:16.991773" elapsed="0.000937"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:16.996024" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:17.029152" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.029396" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:16.995922" elapsed="0.033533"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.030476" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:17.030641" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:17.029677" elapsed="0.001074">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:17.029624" elapsed="0.001220">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:16.995652" elapsed="0.035471">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:16.995086" elapsed="0.036276"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.032373" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17906 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:17.087033" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.087298" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.031876" elapsed="0.055478"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:17.087616" elapsed="0.000162"/>
</return>
<msg time="2026-04-11T23:14:17.088410" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:16.993903" elapsed="0.094750"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:17.089266" elapsed="0.001795"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:16.993011" elapsed="0.098275"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:16.991242" elapsed="0.100184"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:16.990490" elapsed="0.101037"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.989029" elapsed="0.102658"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:16.988312" elapsed="0.103473"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.092920" level="INFO">${next} = 17907</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.092127" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.094217" level="INFO">${current_port} = 17907</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:17.093329" elapsed="0.000997"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:16.983164" elapsed="0.111289"/>
</kw>
<msg time="2026-04-11T23:14:17.094542" level="INFO">Repeating keyword, round 78/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:17.097129" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:17.096889" elapsed="0.000332"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.096844" elapsed="0.000426"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.097963" level="INFO">${current_Date} = 2026-04-11 23:14:17.098</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:17.097614" elapsed="0.000407"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.099101" level="INFO">${ellapsed_seconds} = 2687.148</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:17.098383" elapsed="0.000776"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.099958" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:17.099314" elapsed="0.000699"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.099273" elapsed="0.000764"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:17.096290" elapsed="0.003796"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.100634" level="INFO">${number} = 78</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.100231" elapsed="0.000431"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.102060" level="INFO">${number} = 78</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.101723" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.103725" level="INFO">${device-port} = 17907</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.103108" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.106094" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:17.161993" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.162296" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.105992" elapsed="0.056369"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.163379" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:17.163512" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:17.162557" elapsed="0.001209">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:17.162502" elapsed="0.001365">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:17.105723" elapsed="0.058432">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:17.105310" elapsed="0.058988"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.165338" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17907 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:17.219025" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.219290" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.164836" elapsed="0.054512"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:17.219606" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:14:17.220399" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:17.104540" elapsed="0.116103"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:17.221264" elapsed="0.001796"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:17.103953" elapsed="0.119336"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:17.102770" elapsed="0.120659"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:17.102243" elapsed="0.121288"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.101266" elapsed="0.122423"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:17.100816" elapsed="0.122972"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.224939" level="INFO">${next} = 17908</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.224132" elapsed="0.000866"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.226278" level="INFO">${current_port} = 17908</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:17.225351" elapsed="0.001022"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.095015" elapsed="0.131485"/>
</kw>
<msg time="2026-04-11T23:14:17.226566" level="INFO">Repeating keyword, round 79/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:17.228304" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:17.228141" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.228109" elapsed="0.000290"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.228971" level="INFO">${current_Date} = 2026-04-11 23:14:17.229</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:17.228728" elapsed="0.000282"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.230062" level="INFO">${ellapsed_seconds} = 2687.017</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:17.229227" elapsed="0.000875"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.230594" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:17.230208" elapsed="0.000468"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.230180" elapsed="0.000531"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:17.227780" elapsed="0.003001"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.231531" level="INFO">${number} = 79</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.230996" elapsed="0.000593"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.233712" level="INFO">${number} = 79</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.233185" elapsed="0.000567"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.236154" level="INFO">${device-port} = 17908</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.235252" elapsed="0.000941"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.239313" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:17.273089" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.273335" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.239209" elapsed="0.034186"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.274393" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:17.274527" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:17.273619" elapsed="0.001044">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:17.273528" elapsed="0.001229">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:17.238941" elapsed="0.036095">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:17.238534" elapsed="0.036743"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.276300" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17908 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:17.330712" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.330991" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.275802" elapsed="0.055245"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:17.331275" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:14:17.332108" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:17.237375" elapsed="0.094937"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:17.332967" elapsed="0.001735"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:17.236486" elapsed="0.098368"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:17.234754" elapsed="0.100196"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:17.233984" elapsed="0.101036"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.232482" elapsed="0.102625"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:17.231820" elapsed="0.103353"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.335938" level="INFO">${next} = 17909</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.335401" elapsed="0.000575"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.336818" level="INFO">${current_port} = 17909</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:17.336214" elapsed="0.000666"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.226903" elapsed="0.110061"/>
</kw>
<msg time="2026-04-11T23:14:17.337023" level="INFO">Repeating keyword, round 80/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:17.338759" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:17.338596" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.338547" elapsed="0.000306"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.339296" level="INFO">${current_Date} = 2026-04-11 23:14:17.339</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:17.339061" elapsed="0.000274"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.340397" level="INFO">${ellapsed_seconds} = 2686.907</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:17.339546" elapsed="0.000890"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.340948" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:17.340543" elapsed="0.000485"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.340515" elapsed="0.000548"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:17.338221" elapsed="0.002909"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.341900" level="INFO">${number} = 80</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.341341" elapsed="0.000597"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.344022" level="INFO">${number} = 80</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.343507" elapsed="0.000554"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.346498" level="INFO">${device-port} = 17909</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.345562" elapsed="0.000964"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.348863" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:17.380930" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.381141" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.348763" elapsed="0.032438"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.382103" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:17.382253" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:17.381361" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:17.381317" elapsed="0.001235">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:17.348482" elapsed="0.034376">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:17.348100" elapsed="0.034896"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.383974" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17909 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:17.438769" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.439014" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.383451" elapsed="0.055619"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:17.439276" elapsed="0.000153"/>
</return>
<msg time="2026-04-11T23:14:17.440099" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:17.347335" elapsed="0.092969"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:17.440936" elapsed="0.001771"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:17.346750" elapsed="0.096181"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:17.345067" elapsed="0.098003"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:17.344288" elapsed="0.098883"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.342860" elapsed="0.100439"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:17.342163" elapsed="0.101233"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.444509" level="INFO">${next} = 17910</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.443760" elapsed="0.000807"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.445843" level="INFO">${current_port} = 17910</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:17.444961" elapsed="0.000976"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.337334" elapsed="0.108729"/>
</kw>
<msg time="2026-04-11T23:14:17.446168" level="INFO">Repeating keyword, round 81/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:17.448743" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:17.448430" elapsed="0.000410"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.448388" elapsed="0.000500"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.449680" level="INFO">${current_Date} = 2026-04-11 23:14:17.449</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:17.449292" elapsed="0.000448"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.450885" level="INFO">${ellapsed_seconds} = 2686.797</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:17.450064" elapsed="0.000848"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.451229" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:17.450985" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.450966" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:17.447908" elapsed="0.003445"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.451878" level="INFO">${number} = 81</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.451497" elapsed="0.000408"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.453323" level="INFO">${number} = 81</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.452983" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.455000" level="INFO">${device-port} = 17910</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.454381" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.457361" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:17.489022" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.489255" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.457259" elapsed="0.032055"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.490285" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:17.490418" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:17.489490" elapsed="0.001034">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:17.489440" elapsed="0.001238">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:17.456993" elapsed="0.033968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:17.456600" elapsed="0.034585"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.492181" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17910 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:17.546849" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.547104" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.491690" elapsed="0.055469"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:17.547375" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:14:17.548200" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:17.455834" elapsed="0.092567"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:17.549030" elapsed="0.001773"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:17.455230" elapsed="0.095796"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:17.454024" elapsed="0.097143"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:17.453506" elapsed="0.097761"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.452512" elapsed="0.098884"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:17.452056" elapsed="0.099439"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.552653" level="INFO">${next} = 17911</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.551864" elapsed="0.000848"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.553945" level="INFO">${current_port} = 17911</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:17.553064" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.446639" elapsed="0.107542"/>
</kw>
<msg time="2026-04-11T23:14:17.554271" level="INFO">Repeating keyword, round 82/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:17.556854" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:17.556615" elapsed="0.000332"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.556538" elapsed="0.000457"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.557674" level="INFO">${current_Date} = 2026-04-11 23:14:17.557</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:17.557304" elapsed="0.000428"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.558897" level="INFO">${ellapsed_seconds} = 2686.689</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:17.558049" elapsed="0.000875"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.559236" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:17.558996" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.558976" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:17.556059" elapsed="0.003301"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.559888" level="INFO">${number} = 82</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.559507" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.561315" level="INFO">${number} = 82</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.560979" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.562980" level="INFO">${device-port} = 17911</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.562369" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.565358" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:17.601110" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.601347" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.565258" elapsed="0.036149"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.602381" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:17.602513" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:17.601624" elapsed="0.001128">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:17.601537" elapsed="0.001312">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:17.564991" elapsed="0.038134">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:17.564603" elapsed="0.038661"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.604260" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17911 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:17.658917" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.659182" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.603773" elapsed="0.055466"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:17.659461" elapsed="0.000196"/>
</return>
<msg time="2026-04-11T23:14:17.660283" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:17.563824" elapsed="0.096666"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:17.661142" elapsed="0.001779"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:17.563208" elapsed="0.099941"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:17.562011" elapsed="0.101278"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:17.561496" elapsed="0.101892"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.560520" elapsed="0.102993"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:17.560068" elapsed="0.103573"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.664768" level="INFO">${next} = 17912</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.663982" elapsed="0.000847"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.666091" level="INFO">${current_port} = 17912</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:17.665178" elapsed="0.001008"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.554783" elapsed="0.111528"/>
</kw>
<msg time="2026-04-11T23:14:17.666402" level="INFO">Repeating keyword, round 83/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:17.668165" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:17.668004" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.667974" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.668844" level="INFO">${current_Date} = 2026-04-11 23:14:17.669</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:17.668554" elapsed="0.000328"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.669911" level="INFO">${ellapsed_seconds} = 2686.577</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:17.669099" elapsed="0.000852"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.670424" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:17.670074" elapsed="0.000430"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.670045" elapsed="0.000493"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:17.667647" elapsed="0.002981"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.671375" level="INFO">${number} = 83</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.670841" elapsed="0.000573"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.673521" level="INFO">${number} = 83</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.673024" elapsed="0.000535"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.676099" level="INFO">${device-port} = 17912</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.675192" elapsed="0.000947"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.679287" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:17.709165" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.709400" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.679186" elapsed="0.030273"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.710433" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:17.710564" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:17.709679" elapsed="0.001022">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:17.709628" elapsed="0.001162">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:17.678922" elapsed="0.032143">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:17.678523" elapsed="0.032767"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.712303" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17912 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:17.766998" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.767252" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.711808" elapsed="0.055499"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:17.767527" elapsed="0.000199"/>
</return>
<msg time="2026-04-11T23:14:17.768358" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:17.677330" elapsed="0.091229"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:17.769209" elapsed="0.001655"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:17.676435" elapsed="0.094582"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:17.674696" elapsed="0.096418"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:17.673813" elapsed="0.097370"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.672325" elapsed="0.098944"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:17.671667" elapsed="0.099669"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.772102" level="INFO">${next} = 17913</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.771564" elapsed="0.000577"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.772981" level="INFO">${current_port} = 17913</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:17.772381" elapsed="0.000662"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.666787" elapsed="0.106340"/>
</kw>
<msg time="2026-04-11T23:14:17.773187" level="INFO">Repeating keyword, round 84/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:17.774924" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:17.774765" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.774735" elapsed="0.000284"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.775466" level="INFO">${current_Date} = 2026-04-11 23:14:17.775</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:17.775229" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.776538" level="INFO">${ellapsed_seconds} = 2686.471</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:17.775739" elapsed="0.000886"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.777091" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:17.776735" elapsed="0.000435"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.776706" elapsed="0.000499"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:17.774388" elapsed="0.002886"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.778064" level="INFO">${number} = 84</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.777486" elapsed="0.000618"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.780248" level="INFO">${number} = 84</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.779750" elapsed="0.000537"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.782713" level="INFO">${device-port} = 17913</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.781834" elapsed="0.000906"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.785256" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:17.816638" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.816917" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.785150" elapsed="0.031826"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.818002" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:17.818137" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:17.817174" elapsed="0.001202">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:17.817117" elapsed="0.001356">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:17.784881" elapsed="0.033902">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:17.784373" elapsed="0.034553"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.819949" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17913 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:17.878363" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.878600" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.819409" elapsed="0.059248"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:17.878843" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:17.879651" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:17.783616" elapsed="0.096242"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:17.880431" elapsed="0.001782"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:17.783001" elapsed="0.099438"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:17.781309" elapsed="0.101247"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:17.780518" elapsed="0.102127"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.779014" elapsed="0.103716"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:17.778332" elapsed="0.104465"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.883531" level="INFO">${next} = 17914</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.883023" elapsed="0.000567"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.884401" level="INFO">${current_port} = 17914</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:17.883833" elapsed="0.000630"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.773497" elapsed="0.111149"/>
</kw>
<msg time="2026-04-11T23:14:17.884711" level="INFO">Repeating keyword, round 85/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:17.886413" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:17.886253" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.886224" elapsed="0.000283"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.887154" level="INFO">${current_Date} = 2026-04-11 23:14:17.887</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:17.886909" elapsed="0.000284"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.888229" level="INFO">${ellapsed_seconds} = 2686.359</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:17.887407" elapsed="0.000862"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.888742" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:17.888375" elapsed="0.000448"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.888348" elapsed="0.000509"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:17.885884" elapsed="0.003044"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.889696" level="INFO">${number} = 85</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.889142" elapsed="0.000593"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.891412" level="INFO">${number} = 85</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.891076" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.893054" level="INFO">${device-port} = 17914</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.892436" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.895432" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:17.929159" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.929387" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.895335" elapsed="0.034111"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.930419" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:17.930554" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:17.929659" elapsed="0.001035">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:17.929605" elapsed="0.001182">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:17.895070" elapsed="0.035989">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:17.894677" elapsed="0.036634"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:17.932351" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17914 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:17.986860" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:17.987130" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:17.931840" elapsed="0.055346"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:17.987412" elapsed="0.000209"/>
</return>
<msg time="2026-04-11T23:14:17.988303" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:17.893889" elapsed="0.094623"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:17.989194" elapsed="0.001871"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:17.893284" elapsed="0.098011"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:17.892103" elapsed="0.099333"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:17.891609" elapsed="0.099931"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.890638" elapsed="0.101063"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:17.889999" elapsed="0.101801"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.993067" level="INFO">${next} = 17915</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.992236" elapsed="0.000890"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.994440" level="INFO">${current_port} = 17915</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:17.993477" elapsed="0.001050"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.885014" elapsed="0.109591"/>
</kw>
<msg time="2026-04-11T23:14:17.994649" level="INFO">Repeating keyword, round 86/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:17.995849" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:17.995737" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.995716" elapsed="0.000198"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.996246" level="INFO">${current_Date} = 2026-04-11 23:14:17.996</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:17.996074" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:17.998155" level="INFO">${ellapsed_seconds} = 2686.25</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:17.996421" elapsed="0.001762"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:17.998504" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:17.998259" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:17.998239" elapsed="0.000365"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:17.995472" elapsed="0.003180"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:17.999174" level="INFO">${number} = 86</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:17.998796" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.000655" level="INFO">${number} = 86</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.000274" elapsed="0.000408"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.002360" level="INFO">${device-port} = 17915</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.001721" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.004839" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:18.037008" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.037258" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.004735" elapsed="0.032584"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.038349" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:18.038484" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:18.037508" elapsed="0.001413">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:18.037453" elapsed="0.001573">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.004439" elapsed="0.034873">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.004027" elapsed="0.035427"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.040506" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17915 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:18.095087" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.095365" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.040006" elapsed="0.055417"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:18.095695" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:14:18.096530" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.003233" elapsed="0.093556"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:18.097441" elapsed="0.001910"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.002613" elapsed="0.097003"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.001354" elapsed="0.098412"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.000840" elapsed="0.099028"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.999822" elapsed="0.100194"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:17.999355" elapsed="0.100762"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.101300" level="INFO">${next} = 17916</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.100469" elapsed="0.000891"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.102702" level="INFO">${current_port} = 17916</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:18.101753" elapsed="0.001044"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:17.994873" elapsed="0.108067"/>
</kw>
<msg time="2026-04-11T23:14:18.103035" level="INFO">Repeating keyword, round 87/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:18.104545" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:18.104431" elapsed="0.000192"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.104409" elapsed="0.000239"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.105039" level="INFO">${current_Date} = 2026-04-11 23:14:18.105</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:18.104853" elapsed="0.000213"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.105541" level="INFO">${ellapsed_seconds} = 2686.141</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:18.105214" elapsed="0.000380"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.106200" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:18.105943" elapsed="0.000313"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.105650" elapsed="0.000631"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:18.104181" elapsed="0.002149"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.106873" level="INFO">${number} = 87</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.106478" elapsed="0.000429"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.108346" level="INFO">${number} = 87</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.108000" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.110271" level="INFO">${device-port} = 17916</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.109474" elapsed="0.000832"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.112799" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:18.149251" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.149516" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.112691" elapsed="0.036925"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.150653" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:18.150789" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:18.149837" elapsed="0.001059">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:18.149757" elapsed="0.001228">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.112401" elapsed="0.038863">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.112000" elapsed="0.039545"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.152712" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17916 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:18.206998" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.207266" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.152156" elapsed="0.055167"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:18.207542" elapsed="0.000202"/>
</return>
<msg time="2026-04-11T23:14:18.208381" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.111187" elapsed="0.097475"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:18.209314" elapsed="0.001997"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.110541" elapsed="0.100999"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.109102" elapsed="0.102613"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.108532" elapsed="0.103285"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.107522" elapsed="0.104422"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:18.107070" elapsed="0.104971"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.213186" level="INFO">${next} = 17917</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.212385" elapsed="0.000859"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.214510" level="INFO">${current_port} = 17917</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:18.213630" elapsed="0.001002"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.103556" elapsed="0.111203"/>
</kw>
<msg time="2026-04-11T23:14:18.214847" level="INFO">Repeating keyword, round 88/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:18.217666" elapsed="0.000045"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:18.217387" elapsed="0.000447"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.217343" elapsed="0.000552"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.218562" level="INFO">${current_Date} = 2026-04-11 23:14:18.218</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:18.218234" elapsed="0.000372"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.219097" level="INFO">${ellapsed_seconds} = 2686.028</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:18.218756" elapsed="0.000374"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.219788" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:18.219221" elapsed="0.000624"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.219196" elapsed="0.000674"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:18.216829" elapsed="0.003098"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.220448" level="INFO">${number} = 88</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.220075" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.221979" level="INFO">${number} = 88</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.221601" elapsed="0.000406"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.223702" level="INFO">${device-port} = 17917</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.223068" elapsed="0.000663"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.226231" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:18.257119" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.257358" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.226125" elapsed="0.031294"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.258468" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:18.258634" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:18.257665" elapsed="0.001189">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:18.257607" elapsed="0.001361">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.225838" elapsed="0.033423">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.225399" elapsed="0.034005"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.260440" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17917 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:18.315062" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.315348" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.259941" elapsed="0.055463"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:18.315682" elapsed="0.000161"/>
</return>
<msg time="2026-04-11T23:14:18.316521" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.224617" elapsed="0.092161"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:18.317426" elapsed="0.001890"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.223981" elapsed="0.095568"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.222686" elapsed="0.097042"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.222164" elapsed="0.097666"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.221137" elapsed="0.098848"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:18.220671" elapsed="0.099418"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.321225" level="INFO">${next} = 17918</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.320432" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.322733" level="INFO">${current_port} = 17918</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:18.321686" elapsed="0.001143"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.215290" elapsed="0.107684"/>
</kw>
<msg time="2026-04-11T23:14:18.323063" level="INFO">Repeating keyword, round 89/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:18.325791" elapsed="0.000038"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:18.325464" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.325418" elapsed="0.000540"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.326670" level="INFO">${current_Date} = 2026-04-11 23:14:18.327</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:18.326371" elapsed="0.000326"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.327196" level="INFO">${ellapsed_seconds} = 2685.919</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:18.326850" elapsed="0.000373"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.327811" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:18.327294" elapsed="0.000574"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.327276" elapsed="0.000623"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:18.324909" elapsed="0.003048"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.328479" level="INFO">${number} = 89</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.328105" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.330016" level="INFO">${number} = 89</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.329640" elapsed="0.000404"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.331707" level="INFO">${device-port} = 17918</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.331083" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.334183" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:18.365400" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.365728" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.334078" elapsed="0.031718"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.366953" elapsed="0.000071"/>
</kw>
<msg time="2026-04-11T23:14:18.367113" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:18.366001" elapsed="0.001221">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:18.365936" elapsed="0.001376">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.333794" elapsed="0.033831">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.333350" elapsed="0.034520"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.368921" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17918 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:18.423396" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.423698" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.368370" elapsed="0.055386"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:18.424004" elapsed="0.000162"/>
</return>
<msg time="2026-04-11T23:14:18.424862" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.332552" elapsed="0.092544"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:18.425804" elapsed="0.001945"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.331951" elapsed="0.096050"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.330725" elapsed="0.097427"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.330203" elapsed="0.098051"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.329173" elapsed="0.099211"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:18.328700" elapsed="0.099783"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.429720" level="INFO">${next} = 17919</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.428858" elapsed="0.000924"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.431067" level="INFO">${current_port} = 17919</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:18.430162" elapsed="0.000997"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.323511" elapsed="0.107780"/>
</kw>
<msg time="2026-04-11T23:14:18.431382" level="INFO">Repeating keyword, round 90/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:18.434052" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:18.433811" elapsed="0.000334"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.433765" elapsed="0.000428"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.434723" level="INFO">${current_Date} = 2026-04-11 23:14:18.435</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:18.434506" elapsed="0.000244"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.435217" level="INFO">${ellapsed_seconds} = 2685.811</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:18.434896" elapsed="0.000347"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.435822" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:18.435312" elapsed="0.000566"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.435294" elapsed="0.000608"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:18.433164" elapsed="0.002785"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.436456" level="INFO">${number} = 90</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.436091" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.437934" level="INFO">${number} = 90</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.437549" elapsed="0.000411"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.439649" level="INFO">${device-port} = 17919</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.438975" elapsed="0.000708"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.442174" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:18.472824" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.473099" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.442070" elapsed="0.031091"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.474194" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:18.474331" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:18.473350" elapsed="0.001203">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:18.473296" elapsed="0.001390">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.441784" elapsed="0.033210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.441359" elapsed="0.033787"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.476351" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17919 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:18.531231" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.531502" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.475791" elapsed="0.055768"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:18.531822" elapsed="0.000156"/>
</return>
<msg time="2026-04-11T23:14:18.532710" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.440552" elapsed="0.092385"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:18.533605" elapsed="0.001848"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.439940" elapsed="0.095842"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.438633" elapsed="0.097340"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.438117" elapsed="0.097969"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.437106" elapsed="0.099113"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:18.436656" elapsed="0.099664"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.537489" level="INFO">${next} = 17920</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.536696" elapsed="0.000855"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.538817" level="INFO">${current_port} = 17920</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:18.538047" elapsed="0.000837"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.431860" elapsed="0.107130"/>
</kw>
<msg time="2026-04-11T23:14:18.539051" level="INFO">Repeating keyword, round 91/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:18.540986" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:18.540798" elapsed="0.000251"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.540768" elapsed="0.000313"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.541697" level="INFO">${current_Date} = 2026-04-11 23:14:18.541</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:18.541367" elapsed="0.000372"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.542837" level="INFO">${ellapsed_seconds} = 2685.705</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:18.541975" elapsed="0.000904"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.543357" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:18.543001" elapsed="0.000438"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.542973" elapsed="0.000502"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:18.540419" elapsed="0.003125"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.544349" level="INFO">${number} = 91</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.543787" elapsed="0.000602"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.546552" level="INFO">${number} = 91</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.546044" elapsed="0.000570"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.549122" level="INFO">${device-port} = 17920</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.548172" elapsed="0.000991"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.552094" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:18.585324" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.585497" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.551990" elapsed="0.033545"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.586198" elapsed="0.000038"/>
</kw>
<msg time="2026-04-11T23:14:18.586288" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:18.585707" elapsed="0.000651">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:18.585667" elapsed="0.000750">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.551710" elapsed="0.034916">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.551304" elapsed="0.035557"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.587503" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17920 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:18.642655" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.642786" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.587178" elapsed="0.055643"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:18.642937" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:14:18.643412" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.550456" elapsed="0.093084"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:18.643936" elapsed="0.001096"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.549468" elapsed="0.095708"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.547655" elapsed="0.097612"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.546853" elapsed="0.098476"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.545329" elapsed="0.100079"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:18.544643" elapsed="0.100825"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.646208" level="INFO">${next} = 17921</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.645723" elapsed="0.000522"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.647035" level="INFO">${current_port} = 17921</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:18.646471" elapsed="0.000623"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.539433" elapsed="0.107741"/>
</kw>
<msg time="2026-04-11T23:14:18.647229" level="INFO">Repeating keyword, round 92/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:18.648816" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:18.648665" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.648637" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.649322" level="INFO">${current_Date} = 2026-04-11 23:14:18.649</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:18.649099" elapsed="0.000259"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.650340" level="INFO">${ellapsed_seconds} = 2685.597</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:18.649559" elapsed="0.000819"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.650924" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:18.650480" elapsed="0.000522"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.650453" elapsed="0.000582"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:18.648296" elapsed="0.002805"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.651839" level="INFO">${number} = 92</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.651302" elapsed="0.000574"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.654070" level="INFO">${number} = 92</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.653398" elapsed="0.000710"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.655874" level="INFO">${device-port} = 17921</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.655264" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.658273" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:18.692944" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.693079" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.658175" elapsed="0.034939"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.693699" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:14:18.693783" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:18.693216" elapsed="0.000694">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:18.693188" elapsed="0.000783">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.657904" elapsed="0.036237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.657472" elapsed="0.036757"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.694850" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17921 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:18.750970" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.751098" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.694516" elapsed="0.056615"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:18.751243" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:18.751734" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.656714" elapsed="0.095147"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:18.752216" elapsed="0.001065"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.656106" elapsed="0.097316"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.654928" elapsed="0.098582"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.654327" elapsed="0.099285"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.652777" elapsed="0.100915"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:18.652089" elapsed="0.101662"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.754427" level="INFO">${next} = 17922</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.753964" elapsed="0.000500"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.755228" level="INFO">${current_port} = 17922</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:18.754704" elapsed="0.000582"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.647493" elapsed="0.107871"/>
</kw>
<msg time="2026-04-11T23:14:18.755418" level="INFO">Repeating keyword, round 93/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:18.756971" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:18.756822" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.756795" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.757549" level="INFO">${current_Date} = 2026-04-11 23:14:18.757</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:18.757302" elapsed="0.000305"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.758516" level="INFO">${ellapsed_seconds} = 2685.489</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:18.757815" elapsed="0.000738"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.759008" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:18.758681" elapsed="0.000403"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.758654" elapsed="0.000462"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:18.756462" elapsed="0.002719"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.759910" level="INFO">${number} = 93</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.759381" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.761965" level="INFO">${number} = 93</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.761455" elapsed="0.000546"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.764248" level="INFO">${device-port} = 17922</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.763392" elapsed="0.000893"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.767532" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:18.804990" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.805125" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.767400" elapsed="0.037761"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.805734" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:14:18.805818" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:18.805261" elapsed="0.000621">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:18.805234" elapsed="0.000705">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.767032" elapsed="0.039071">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.766473" elapsed="0.039758"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.806849" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17922 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:18.862961" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.863089" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.806517" elapsed="0.056605"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:18.863235" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:18.863734" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.765401" elapsed="0.098460"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:18.864215" elapsed="0.001052"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.764567" elapsed="0.100840"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.762924" elapsed="0.102593"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.762221" elapsed="0.103383"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.760843" elapsed="0.104843"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:18.760160" elapsed="0.105586"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.866424" level="INFO">${next} = 17923</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.865961" elapsed="0.000499"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.867230" level="INFO">${current_port} = 17923</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:18.866708" elapsed="0.000579"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.755705" elapsed="0.111660"/>
</kw>
<msg time="2026-04-11T23:14:18.867418" level="INFO">Repeating keyword, round 94/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:18.868970" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:18.868823" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.868796" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.869474" level="INFO">${current_Date} = 2026-04-11 23:14:18.869</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:18.869251" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.870428" level="INFO">${ellapsed_seconds} = 2685.377</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:18.869733" elapsed="0.000731"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.870905" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:18.870564" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.870538" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:18.868461" elapsed="0.002615"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.871798" level="INFO">${number} = 94</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.871274" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.873849" level="INFO">${number} = 94</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.873336" elapsed="0.000539"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.875455" level="INFO">${device-port} = 17923</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.874872" elapsed="0.000610"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.877825" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:18.912773" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.912905" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.877730" elapsed="0.035211"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.913492" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:18.913599" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:18.913042" elapsed="0.000674">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:18.913015" elapsed="0.000763">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.877433" elapsed="0.036511">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.877050" elapsed="0.036981"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.914644" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17923 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:18.970981" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:18.971184" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.914315" elapsed="0.056922"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:18.971456" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:14:18.972396" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.876289" elapsed="0.096420"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:18.973389" elapsed="0.002308"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.875705" elapsed="0.100305"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.874515" elapsed="0.101703"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.874030" elapsed="0.102317"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.872723" elapsed="0.103761"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:18.872046" elapsed="0.104586"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.977464" level="INFO">${next} = 17924</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.976925" elapsed="0.000579"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.978503" level="INFO">${current_port} = 17924</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:18.977814" elapsed="0.000778"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.867701" elapsed="0.110988"/>
</kw>
<msg time="2026-04-11T23:14:18.978761" level="INFO">Repeating keyword, round 95/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:18.980391" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:18.980240" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.980214" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.980991" level="INFO">${current_Date} = 2026-04-11 23:14:18.981</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:18.980771" elapsed="0.000257"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:18.981961" level="INFO">${ellapsed_seconds} = 2685.265</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:18.981256" elapsed="0.000741"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:18.982331" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:18.982083" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:18.982058" elapsed="0.000376"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:18.979906" elapsed="0.002587"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.983184" level="INFO">${number} = 95</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.982710" elapsed="0.000508"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.984847" level="INFO">${number} = 95</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.984468" elapsed="0.000406"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:18.986488" level="INFO">${device-port} = 17924</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:18.985901" elapsed="0.000613"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:18.988856" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:19.020808" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.020939" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:18.988760" elapsed="0.032215"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.021530" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:19.021640" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:19.021075" elapsed="0.000631">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:19.021048" elapsed="0.000715">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:18.988463" elapsed="0.033468">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:18.988081" elapsed="0.033979"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.022692" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17924 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:19.078881" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.079007" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.022351" elapsed="0.056690"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:19.079155" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:19.079650" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:18.987320" elapsed="0.092457"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:19.080134" elapsed="0.001054"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:18.986739" elapsed="0.094589"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:18.985548" elapsed="0.095892"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:18.985029" elapsed="0.096471"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.984026" elapsed="0.097571"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:18.983425" elapsed="0.098234"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.082330" level="INFO">${next} = 17925</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.081871" elapsed="0.000494"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.083128" level="INFO">${current_port} = 17925</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:19.082607" elapsed="0.000579"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:18.979064" elapsed="0.104199"/>
</kw>
<msg time="2026-04-11T23:14:19.083316" level="INFO">Repeating keyword, round 96/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:19.084869" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:19.084719" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.084691" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.085404" level="INFO">${current_Date} = 2026-04-11 23:14:19.085</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:19.085151" elapsed="0.000292"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.086365" level="INFO">${ellapsed_seconds} = 2685.161</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:19.085667" elapsed="0.000735"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.086845" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:19.086502" elapsed="0.000417"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.086475" elapsed="0.000477"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:19.084356" elapsed="0.002661"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.087742" level="INFO">${number} = 96</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.087215" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.089785" level="INFO">${number} = 96</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.089276" elapsed="0.000545"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.092065" level="INFO">${device-port} = 17925</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.091211" elapsed="0.000891"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.095450" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:19.132787" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.132921" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.095318" elapsed="0.037641"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.133507" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:19.133616" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:19.133058" elapsed="0.000671">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:19.133031" elapsed="0.000759">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:19.094942" elapsed="0.039016">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:19.094301" elapsed="0.039745"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.134661" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17925 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:19.190886" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.191015" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.134330" elapsed="0.056719"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:19.191163" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:19.191656" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:19.093230" elapsed="0.098554"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:19.192141" elapsed="0.001056"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:19.092384" elapsed="0.100977"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:19.090742" elapsed="0.102708"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:19.090038" elapsed="0.103473"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.088665" elapsed="0.104948"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:19.087988" elapsed="0.105687"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.194343" level="INFO">${next} = 17926</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.193888" elapsed="0.000492"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.195138" level="INFO">${current_port} = 17926</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:19.194619" elapsed="0.000576"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.083593" elapsed="0.111679"/>
</kw>
<msg time="2026-04-11T23:14:19.195326" level="INFO">Repeating keyword, round 97/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:19.196876" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:19.196726" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.196700" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.197447" level="INFO">${current_Date} = 2026-04-11 23:14:19.197</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:19.197216" elapsed="0.000267"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.198396" level="INFO">${ellapsed_seconds} = 2685.049</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:19.197708" elapsed="0.000725"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.198877" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:19.198533" elapsed="0.000419"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.198507" elapsed="0.000478"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:19.196363" elapsed="0.002687"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.199781" level="INFO">${number} = 97</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.199250" elapsed="0.000567"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.201857" level="INFO">${number} = 97</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.201441" elapsed="0.000442"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.203464" level="INFO">${device-port} = 17926</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.202877" elapsed="0.000614"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.205843" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:19.240871" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.241009" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.205742" elapsed="0.035303"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.241626" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:14:19.241711" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:19.241146" elapsed="0.000630">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:19.241118" elapsed="0.000714">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:19.205460" elapsed="0.036536">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:19.205065" elapsed="0.037061"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.242748" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17926 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:19.298866" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.298994" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.242414" elapsed="0.056614"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:19.299140" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:19.299636" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:19.204296" elapsed="0.095467"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:19.300119" elapsed="0.001051"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:19.203711" elapsed="0.097621"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:19.202521" elapsed="0.098900"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:19.202039" elapsed="0.099443"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.200703" elapsed="0.100856"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:19.200030" elapsed="0.101612"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.302315" level="INFO">${next} = 17927</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.301855" elapsed="0.000496"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.303110" level="INFO">${current_port} = 17927</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:19.302588" elapsed="0.000579"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.195604" elapsed="0.107641"/>
</kw>
<msg time="2026-04-11T23:14:19.303298" level="INFO">Repeating keyword, round 98/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:19.304847" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:19.304698" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.304670" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.305367" level="INFO">${current_Date} = 2026-04-11 23:14:19.305</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:19.305130" elapsed="0.000273"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.307706" level="INFO">${ellapsed_seconds} = 2684.941</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:19.305628" elapsed="0.002105"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.308036" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:19.307805" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.307786" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:19.304332" elapsed="0.003826"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.308701" level="INFO">${number} = 98</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.308299" elapsed="0.000428"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.310138" level="INFO">${number} = 98</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.309805" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.311763" level="INFO">${device-port} = 17927</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.311151" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.314123" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:19.348925" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.349064" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.314028" elapsed="0.035072"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.349693" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:14:19.349776" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:19.349206" elapsed="0.000703">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:19.349177" elapsed="0.000793">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:19.313764" elapsed="0.036378">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:19.313369" elapsed="0.036860"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.350850" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17927 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:19.407027" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.407231" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.350513" elapsed="0.056773"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:19.407478" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:14:19.408296" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:19.312592" elapsed="0.095910"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:19.409123" elapsed="0.001797"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:19.311990" elapsed="0.099158"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:19.310818" elapsed="0.100470"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:19.310316" elapsed="0.101072"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.309336" elapsed="0.102175"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:19.308878" elapsed="0.102759"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.412856" level="INFO">${next} = 17928</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.411980" elapsed="0.000936"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.414190" level="INFO">${current_port} = 17928</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:19.413295" elapsed="0.000989"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.303553" elapsed="0.110858"/>
</kw>
<msg time="2026-04-11T23:14:19.414496" level="INFO">Repeating keyword, round 99/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:19.417081" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:19.416842" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.416799" elapsed="0.000468"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.417809" level="INFO">${current_Date} = 2026-04-11 23:14:19.418</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:19.417636" elapsed="0.000198"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.418298" level="INFO">${ellapsed_seconds} = 2684.828</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:19.417981" elapsed="0.000343"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.418863" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:19.418620" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.418376" elapsed="0.000564"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:19.416282" elapsed="0.002706"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.419489" level="INFO">${number} = 99</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.419131" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.420906" level="INFO">${number} = 99</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.420552" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.422526" level="INFO">${device-port} = 17928</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.421939" elapsed="0.000614"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.424948" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:19.461064" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.461434" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.424850" elapsed="0.036646"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.462524" elapsed="0.000095"/>
</kw>
<msg time="2026-04-11T23:14:19.462701" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:19.461753" elapsed="0.001060">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:19.461695" elapsed="0.001208">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:19.424581" elapsed="0.038603">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:19.424188" elapsed="0.039267"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.464461" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17928 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:19.522641" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.522845" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.463969" elapsed="0.058931"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:19.523079" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:19.523868" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:19.423405" elapsed="0.100672"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:19.524698" elapsed="0.001761"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:19.422818" elapsed="0.103909"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:19.421605" elapsed="0.105265"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:19.421087" elapsed="0.105890"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.420121" elapsed="0.106980"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:19.419680" elapsed="0.107515"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.528304" level="INFO">${next} = 17929</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.527532" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.529700" level="INFO">${current_port} = 17929</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:19.528765" elapsed="0.000996"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.415018" elapsed="0.114820"/>
</kw>
<msg time="2026-04-11T23:14:19.529891" level="INFO">Repeating keyword, round 100/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:19.531410" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:19.531261" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.531234" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.531934" level="INFO">${current_Date} = 2026-04-11 23:14:19.532</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:19.531716" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.532641" level="INFO">${ellapsed_seconds} = 2684.714</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:19.532171" elapsed="0.000508"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.533383" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:19.532777" elapsed="0.000683"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.532750" elapsed="0.000744"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:19.530931" elapsed="0.002628"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.534297" level="INFO">${number} = 100</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.533787" elapsed="0.000547"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.536283" level="INFO">${number} = 100</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.535818" elapsed="0.000502"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.538334" level="INFO">${device-port} = 17929</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.537744" elapsed="0.000617"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.540709" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:19.572917" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.573156" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.540611" elapsed="0.032606"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.574113" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:19.574243" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:19.573378" elapsed="0.001046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:19.573334" elapsed="0.001186">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:19.540327" elapsed="0.034492">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:19.539942" elapsed="0.035018"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.575942" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17929 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:19.630939" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.631141" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.575418" elapsed="0.055778"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:19.631378" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:19.632182" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:19.539161" elapsed="0.093229"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:19.633010" elapsed="0.001746"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:19.538560" elapsed="0.096422"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:19.537290" elapsed="0.097832"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:19.536537" elapsed="0.098682"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.535187" elapsed="0.100156"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:19.534546" elapsed="0.100892"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.636551" level="INFO">${next} = 17930</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.635817" elapsed="0.000827"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.637887" level="INFO">${current_port} = 17930</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:19.636996" elapsed="0.000986"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.530148" elapsed="0.107959"/>
</kw>
<msg time="2026-04-11T23:14:19.638190" level="INFO">Repeating keyword, round 101/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:19.640747" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:19.640476" elapsed="0.000364"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.640434" elapsed="0.000454"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.641652" level="INFO">${current_Date} = 2026-04-11 23:14:19.641</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:19.641317" elapsed="0.000362"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.642121" level="INFO">${ellapsed_seconds} = 2684.605</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:19.641823" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.642650" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:19.642216" elapsed="0.000491"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.642198" elapsed="0.000534"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:19.639950" elapsed="0.002830"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.643286" level="INFO">${number} = 101</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.642925" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.644724" level="INFO">${number} = 101</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.644374" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.646347" level="INFO">${device-port} = 17930</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.645765" elapsed="0.000609"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.648692" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:19.676998" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.677262" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.648595" elapsed="0.028725"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.678208" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:19.678339" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:19.677480" elapsed="0.000962">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:19.677436" elapsed="0.001095">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:19.648314" elapsed="0.030515">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:19.647934" elapsed="0.031166"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.680355" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17930 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:19.735712" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.736049" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.679788" elapsed="0.056322"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:19.736360" elapsed="0.000169"/>
</return>
<msg time="2026-04-11T23:14:19.737289" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:19.647170" elapsed="0.090354"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:19.738250" elapsed="0.001843"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:19.646589" elapsed="0.093735"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:19.645405" elapsed="0.095062"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:19.644906" elapsed="0.095692"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.643938" elapsed="0.096794"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:19.643465" elapsed="0.097367"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.741978" level="INFO">${next} = 17931</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.741275" elapsed="0.000742"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.742895" level="INFO">${current_port} = 17931</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:19.742263" elapsed="0.000695"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.638631" elapsed="0.104414"/>
</kw>
<msg time="2026-04-11T23:14:19.743105" level="INFO">Repeating keyword, round 102/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:19.744939" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:19.744754" elapsed="0.000248"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.744722" elapsed="0.000313"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.745652" level="INFO">${current_Date} = 2026-04-11 23:14:19.745</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:19.745316" elapsed="0.000382"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.746399" level="INFO">${ellapsed_seconds} = 2684.501</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:19.745921" elapsed="0.000516"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.747346" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:19.746541" elapsed="0.000885"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.746513" elapsed="0.000949"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:19.744357" elapsed="0.003176"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.748313" level="INFO">${number} = 102</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.747767" elapsed="0.000584"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.750534" level="INFO">${number} = 102</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.750032" elapsed="0.000560"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.753116" level="INFO">${device-port} = 17931</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.752153" elapsed="0.001012"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.755743" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:19.785231" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.785545" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.755628" elapsed="0.030017"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.786656" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:19.786791" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:19.785851" elapsed="0.001207">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:19.785791" elapsed="0.001367">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:19.755335" elapsed="0.032113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:19.754941" elapsed="0.032678"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.788653" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17931 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:19.843654" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.843996" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.788098" elapsed="0.055957"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:19.844314" elapsed="0.000178"/>
</return>
<msg time="2026-04-11T23:14:19.845258" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:19.754158" elapsed="0.091346"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:19.846262" elapsed="0.001910"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:19.753519" elapsed="0.094885"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:19.751650" elapsed="0.096897"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:19.750824" elapsed="0.097858"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.749341" elapsed="0.099472"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:19.748598" elapsed="0.100316"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.850030" level="INFO">${next} = 17932</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.849387" elapsed="0.000683"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.850947" level="INFO">${current_port} = 17932</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:19.850310" elapsed="0.000699"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.743435" elapsed="0.107659"/>
</kw>
<msg time="2026-04-11T23:14:19.851154" level="INFO">Repeating keyword, round 103/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:19.852937" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:19.852772" elapsed="0.000247"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.852739" elapsed="0.000323"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.853795" level="INFO">${current_Date} = 2026-04-11 23:14:19.854</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:19.853439" elapsed="0.000402"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.854994" level="INFO">${ellapsed_seconds} = 2684.392</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:19.854080" elapsed="0.000954"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.855502" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:19.855143" elapsed="0.000459"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.855115" elapsed="0.000524"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:19.852386" elapsed="0.003320"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.856452" level="INFO">${number} = 103</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.855918" elapsed="0.000573"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.858699" level="INFO">${number} = 103</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.858171" elapsed="0.000568"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.861213" level="INFO">${device-port} = 17932</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.860232" elapsed="0.001028"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.863779" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:19.897277" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.897567" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.863673" elapsed="0.034044"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.898751" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:19.898886" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:19.897934" elapsed="0.001062">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:19.897875" elapsed="0.001214">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:19.863388" elapsed="0.035991">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:19.862997" elapsed="0.036648"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.900682" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17932 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:19.955509" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:19.956038" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.900136" elapsed="0.055960"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:19.956343" elapsed="0.000191"/>
</return>
<msg time="2026-04-11T23:14:19.957368" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:19.862192" elapsed="0.095473"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:19.958334" elapsed="0.001905"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:19.861587" elapsed="0.098889"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:19.859729" elapsed="0.100944"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:19.858971" elapsed="0.101809"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.857491" elapsed="0.103418"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:19.856739" elapsed="0.104305"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.962284" level="INFO">${next} = 17933</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.961431" elapsed="0.000913"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.963698" level="INFO">${current_port} = 17933</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:19.962776" elapsed="0.001020"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.851486" elapsed="0.112438"/>
</kw>
<msg time="2026-04-11T23:14:19.964012" level="INFO">Repeating keyword, round 104/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:19.966869" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:19.966499" elapsed="0.000467"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.966454" elapsed="0.000562"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.967731" level="INFO">${current_Date} = 2026-04-11 23:14:19.968</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:19.967336" elapsed="0.000467"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:19.969497" level="INFO">${ellapsed_seconds} = 2684.278</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:19.968130" elapsed="0.001428"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:19.969936" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:19.969675" elapsed="0.000317"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:19.969654" elapsed="0.000363"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:19.965951" elapsed="0.004113"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.970594" level="INFO">${number} = 104</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.970209" elapsed="0.000412"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.972070" level="INFO">${number} = 104</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.971705" elapsed="0.000391"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:19.973856" level="INFO">${device-port} = 17933</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:19.973200" elapsed="0.000690"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:19.976361" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.005088" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.005387" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:19.976254" elapsed="0.029196"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.006527" elapsed="0.000092"/>
</kw>
<msg time="2026-04-11T23:14:20.006701" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.005706" elapsed="0.001228">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.005642" elapsed="0.001390">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:19.975979" elapsed="0.031346">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:19.975546" elapsed="0.031945"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.008545" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17933 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:20.063021" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.063322" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.008026" elapsed="0.055353"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:20.063664" elapsed="0.000172"/>
</return>
<msg time="2026-04-11T23:14:20.064481" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:19.974736" elapsed="0.090012"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:20.065471" elapsed="0.001816"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:19.974103" elapsed="0.093410"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:19.972783" elapsed="0.094905"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:19.972255" elapsed="0.095536"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.971238" elapsed="0.096682"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:19.970776" elapsed="0.097241"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.069276" level="INFO">${next} = 17934</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.068358" elapsed="0.000978"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.070291" level="INFO">${current_port} = 17934</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:20.069705" elapsed="0.000647"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:19.964474" elapsed="0.105963"/>
</kw>
<msg time="2026-04-11T23:14:20.070496" level="INFO">Repeating keyword, round 105/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:20.072263" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:20.072101" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.072070" elapsed="0.000287"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.072958" level="INFO">${current_Date} = 2026-04-11 23:14:20.073</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:20.072678" elapsed="0.000327"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.074162" level="INFO">${ellapsed_seconds} = 2684.173</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:20.073261" elapsed="0.000940"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.074683" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:20.074306" elapsed="0.000457"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.074279" elapsed="0.000518"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:20.071741" elapsed="0.003123"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.075622" level="INFO">${number} = 105</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.075075" elapsed="0.000586"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.077810" level="INFO">${number} = 105</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.077281" elapsed="0.000568"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.080265" level="INFO">${device-port} = 17934</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.079345" elapsed="0.000960"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.083210" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.109274" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.109519" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.083105" elapsed="0.026508"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.110595" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:14:20.110736" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.109816" elapsed="0.001039">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.109753" elapsed="0.001205">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:20.082835" elapsed="0.028412">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:20.082415" elapsed="0.029071"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.112521" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17934 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:20.167421" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.167779" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.112017" elapsed="0.055824"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:20.168086" elapsed="0.000172"/>
</return>
<msg time="2026-04-11T23:14:20.169019" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:20.081633" elapsed="0.087601"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:20.169971" elapsed="0.001904"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:20.080626" elapsed="0.091484"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:20.078843" elapsed="0.093414"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:20.078082" elapsed="0.094278"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.076541" elapsed="0.095947"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:20.075886" elapsed="0.096732"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.173879" level="INFO">${next} = 17935</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.173022" elapsed="0.000922"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.175269" level="INFO">${current_port} = 17935</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:20.174305" elapsed="0.001060"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.070843" elapsed="0.104648"/>
</kw>
<msg time="2026-04-11T23:14:20.175612" level="INFO">Repeating keyword, round 106/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:20.178123" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:20.177948" elapsed="0.000239"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.177910" elapsed="0.000311"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.178758" level="INFO">${current_Date} = 2026-04-11 23:14:20.179</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:20.178439" elapsed="0.000359"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.179913" level="INFO">${ellapsed_seconds} = 2684.067</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:20.179034" elapsed="0.000920"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.180437" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:20.180073" elapsed="0.000445"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.180043" elapsed="0.000511"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:20.177508" elapsed="0.003147"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.181465" level="INFO">${number} = 106</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.180890" elapsed="0.000614"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.183667" level="INFO">${number} = 106</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.183139" elapsed="0.000568"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.186228" level="INFO">${device-port} = 17935</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.185270" elapsed="0.001000"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.189855" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.217233" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.217488" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.189747" elapsed="0.027813"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.218616" elapsed="0.000065"/>
</kw>
<msg time="2026-04-11T23:14:20.218762" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.217808" elapsed="0.001183">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.217749" elapsed="0.001342">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:20.189363" elapsed="0.030015">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:20.188730" elapsed="0.030794"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.220557" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17935 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:20.275742" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.276048" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.220047" elapsed="0.056060"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:20.276363" elapsed="0.000182"/>
</return>
<msg time="2026-04-11T23:14:20.277301" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:20.187511" elapsed="0.090017"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:20.278242" elapsed="0.001913"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:20.186602" elapsed="0.093789"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:20.184730" elapsed="0.095827"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:20.183941" elapsed="0.096758"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.182444" elapsed="0.098408"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:20.181760" elapsed="0.099197"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.282159" level="INFO">${next} = 17936</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.281302" elapsed="0.000917"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.283541" level="INFO">${current_port} = 17936</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:20.282655" elapsed="0.001024"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.176107" elapsed="0.107706"/>
</kw>
<msg time="2026-04-11T23:14:20.283902" level="INFO">Repeating keyword, round 107/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:20.286105" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:20.285985" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.285960" elapsed="0.000210"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.286567" level="INFO">${current_Date} = 2026-04-11 23:14:20.286</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:20.286379" elapsed="0.000262"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.287408" level="INFO">${ellapsed_seconds} = 2683.96</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:20.286794" elapsed="0.000642"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.287789" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:20.287510" elapsed="0.000337"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.287491" elapsed="0.000379"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:20.285721" elapsed="0.002196"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.288429" level="INFO">${number} = 107</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.288062" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.289923" level="INFO">${number} = 107</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.289547" elapsed="0.000403"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.291618" level="INFO">${device-port} = 17936</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.290980" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.294099" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.329626" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.329897" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.293995" elapsed="0.035964"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.331035" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:20.331187" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.330173" elapsed="0.001127">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.330107" elapsed="0.001288">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:20.293714" elapsed="0.038011">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:20.293302" elapsed="0.038671"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.333102" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17936 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:20.387829" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.388148" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.332473" elapsed="0.055735"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:20.388456" elapsed="0.000227"/>
</return>
<msg time="2026-04-11T23:14:20.389403" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:20.292474" elapsed="0.097203"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:20.390345" elapsed="0.001910"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:20.291869" elapsed="0.100624"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:20.290628" elapsed="0.102043"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:20.290107" elapsed="0.102691"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.289105" elapsed="0.103828"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:20.288629" elapsed="0.104405"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.394237" level="INFO">${next} = 17937</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.393389" elapsed="0.000911"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.395639" level="INFO">${current_port} = 17937</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:20.394725" elapsed="0.001012"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.284368" elapsed="0.111499"/>
</kw>
<msg time="2026-04-11T23:14:20.395959" level="INFO">Repeating keyword, round 108/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:20.398136" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:20.398020" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.397998" elapsed="0.000206"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.398537" level="INFO">${current_Date} = 2026-04-11 23:14:20.398</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:20.398360" elapsed="0.000204"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.399401" level="INFO">${ellapsed_seconds} = 2683.848</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:20.398773" elapsed="0.000655"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.399804" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:20.399502" elapsed="0.000356"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.399483" elapsed="0.000399"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:20.397768" elapsed="0.002161"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.400444" level="INFO">${number} = 108</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.400070" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.401926" level="INFO">${number} = 108</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.401559" elapsed="0.000394"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.403637" level="INFO">${device-port} = 17937</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.402990" elapsed="0.000676"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.406141" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.437370" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.437666" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.406036" elapsed="0.031694"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.438766" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:20.438923" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.437944" elapsed="0.001210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.437882" elapsed="0.001370">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:20.405755" elapsed="0.033788">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:20.405322" elapsed="0.034402"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.440819" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17937 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:20.499498" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.499880" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.440233" elapsed="0.059710"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:20.500183" elapsed="0.000172"/>
</return>
<msg time="2026-04-11T23:14:20.501118" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:20.404499" elapsed="0.096829"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:20.502028" elapsed="0.001858"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:20.403874" elapsed="0.100247"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:20.402647" elapsed="0.101621"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:20.402112" elapsed="0.102257"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.401112" elapsed="0.103387"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:20.400643" elapsed="0.103987"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.505845" level="INFO">${next} = 17938</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.505026" elapsed="0.000891"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.507191" level="INFO">${current_port} = 17938</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:20.506277" elapsed="0.001010"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.396437" elapsed="0.110978"/>
</kw>
<msg time="2026-04-11T23:14:20.507501" level="INFO">Repeating keyword, round 109/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:20.509941" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:20.509822" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.509798" elapsed="0.000216"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.510411" level="INFO">${current_Date} = 2026-04-11 23:14:20.510</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:20.510230" elapsed="0.000208"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.511213" level="INFO">${ellapsed_seconds} = 2683.736</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:20.510602" elapsed="0.000637"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.511563" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:20.511312" elapsed="0.000323"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.511293" elapsed="0.000366"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:20.509402" elapsed="0.002304"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.512224" level="INFO">${number} = 109</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.511851" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.513728" level="INFO">${number} = 109</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.513346" elapsed="0.000409"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.515457" level="INFO">${device-port} = 17938</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.514812" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.517958" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.549491" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.549802" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.517850" elapsed="0.032013"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.550861" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:20.551001" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.550052" elapsed="0.001059">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.549999" elapsed="0.001208">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:20.517529" elapsed="0.033968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:20.517135" elapsed="0.034651"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.552869" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17938 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:20.607969" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.608300" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.552273" elapsed="0.056085"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:20.608673" elapsed="0.000179"/>
</return>
<msg time="2026-04-11T23:14:20.609683" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:20.516321" elapsed="0.093635"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:20.610666" elapsed="0.001869"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:20.515708" elapsed="0.097111"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:20.514443" elapsed="0.098520"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:20.513915" elapsed="0.099150"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.512894" elapsed="0.100299"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:20.512407" elapsed="0.100884"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.614445" level="INFO">${next} = 17939</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.613672" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.615776" level="INFO">${current_port} = 17939</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:20.614890" elapsed="0.000977"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.508011" elapsed="0.107983"/>
</kw>
<msg time="2026-04-11T23:14:20.616081" level="INFO">Repeating keyword, round 110/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:20.618446" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:20.618219" elapsed="0.000290"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.618189" elapsed="0.000354"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.619021" level="INFO">${current_Date} = 2026-04-11 23:14:20.619</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:20.618777" elapsed="0.000283"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.621686" level="INFO">${ellapsed_seconds} = 2683.627</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:20.619273" elapsed="0.002454"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.622221" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:20.621839" elapsed="0.000462"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.621807" elapsed="0.000528"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:20.617860" elapsed="0.004545"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.623196" level="INFO">${number} = 110</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.622637" elapsed="0.000597"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.625446" level="INFO">${number} = 110</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.624950" elapsed="0.000535"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.627943" level="INFO">${device-port} = 17939</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.627008" elapsed="0.000976"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.631025" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.653850" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.654094" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.630911" elapsed="0.023243"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.655122" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:20.655255" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.654339" elapsed="0.001137">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.654284" elapsed="0.001315">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:20.630610" elapsed="0.025285">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:20.630167" elapsed="0.025869"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.657092" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17939 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:20.711435" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.711770" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.656496" elapsed="0.055332"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:20.712061" elapsed="0.000169"/>
</return>
<msg time="2026-04-11T23:14:20.712963" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:20.629217" elapsed="0.083952"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:20.713834" elapsed="0.001809"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:20.628277" elapsed="0.087596"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:20.626474" elapsed="0.089540"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:20.625739" elapsed="0.090378"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.624255" elapsed="0.091985"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:20.623583" elapsed="0.092753"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.718059" level="INFO">${next} = 17940</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.717155" elapsed="0.000965"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.719380" level="INFO">${current_port} = 17940</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:20.718477" elapsed="0.000994"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.616543" elapsed="0.103082"/>
</kw>
<msg time="2026-04-11T23:14:20.719715" level="INFO">Repeating keyword, round 111/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:20.722339" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:20.722096" elapsed="0.000336"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.722051" elapsed="0.000429"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.723286" level="INFO">${current_Date} = 2026-04-11 23:14:20.723</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:20.722931" elapsed="0.000412"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.724732" level="INFO">${ellapsed_seconds} = 2683.523</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:20.723875" elapsed="0.000920"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.725840" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:20.725468" elapsed="0.000430"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.724931" elapsed="0.000990"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:20.721492" elapsed="0.004478"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.726516" level="INFO">${number} = 111</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.726145" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.728030" level="INFO">${number} = 111</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.727640" elapsed="0.000422"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.729851" level="INFO">${device-port} = 17940</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.729215" elapsed="0.000665"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.732300" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.761526" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.761805" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.732194" elapsed="0.029670"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.762830" elapsed="0.000074"/>
</kw>
<msg time="2026-04-11T23:14:20.762986" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.762051" elapsed="0.001046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.761997" elapsed="0.001191">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:20.731921" elapsed="0.031554">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:20.731497" elapsed="0.032237"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.764765" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17940 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:20.819722" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.820019" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.764212" elapsed="0.055865"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:20.820302" elapsed="0.000162"/>
</return>
<msg time="2026-04-11T23:14:20.821160" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:20.730709" elapsed="0.090656"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:20.822015" elapsed="0.001804"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:20.730089" elapsed="0.093954"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:20.728865" elapsed="0.095321"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:20.728225" elapsed="0.096063"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.727182" elapsed="0.097233"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:20.726714" elapsed="0.097800"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.825706" level="INFO">${next} = 17941</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.824901" elapsed="0.000865"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.827009" level="INFO">${current_port} = 17941</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:20.826120" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.720177" elapsed="0.107054"/>
</kw>
<msg time="2026-04-11T23:14:20.827319" level="INFO">Repeating keyword, round 112/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:20.829912" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:20.829730" elapsed="0.000254"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.829698" elapsed="0.000327"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.830621" level="INFO">${current_Date} = 2026-04-11 23:14:20.830</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:20.830313" elapsed="0.000366"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.831416" level="INFO">${ellapsed_seconds} = 2683.416</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:20.830934" elapsed="0.000521"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.832454" elapsed="0.000044"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:20.831595" elapsed="0.001012"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.831535" elapsed="0.001124"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:20.829185" elapsed="0.003564"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.833630" level="INFO">${number} = 112</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.832968" elapsed="0.000716"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.836124" level="INFO">${number} = 112</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.835614" elapsed="0.000549"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.838649" level="INFO">${device-port} = 17941</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.837721" elapsed="0.000969"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.842095" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.869431" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.869759" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.841989" elapsed="0.027832"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.870910" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:14:20.871050" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.870053" elapsed="0.001243">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.869991" elapsed="0.001406">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:20.841719" elapsed="0.030004">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:20.841165" elapsed="0.030719"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.872995" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17941 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:20.927432" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.927768" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.872384" elapsed="0.055443"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:20.928059" elapsed="0.000162"/>
</return>
<msg time="2026-04-11T23:14:20.928938" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:20.839947" elapsed="0.089200"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:20.929818" elapsed="0.001840"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:20.838986" elapsed="0.092902"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:20.837190" elapsed="0.094844"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:20.836396" elapsed="0.095742"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.834828" elapsed="0.097438"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:20.834109" elapsed="0.098290"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.933553" level="INFO">${next} = 17942</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.932792" elapsed="0.000868"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.934980" level="INFO">${current_port} = 17942</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:20.934020" elapsed="0.001053"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.827796" elapsed="0.107403"/>
</kw>
<msg time="2026-04-11T23:14:20.935286" level="INFO">Repeating keyword, round 113/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:20.937775" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:20.937658" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.937633" elapsed="0.000207"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.938264" level="INFO">${current_Date} = 2026-04-11 23:14:20.938</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:20.938089" elapsed="0.000201"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:20.938783" level="INFO">${ellapsed_seconds} = 2683.308</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:20.938438" elapsed="0.000372"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.939392" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:20.938882" elapsed="0.000566"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:20.938863" elapsed="0.000609"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:20.937098" elapsed="0.002421"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.940051" level="INFO">${number} = 113</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.939681" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.941501" level="INFO">${number} = 113</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.941163" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:20.943172" level="INFO">${device-port} = 17942</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:20.942554" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.945705" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:20.977432" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:20.977723" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.945600" elapsed="0.032184"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:20.978777" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:20.978913" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:20.977994" elapsed="0.001028">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:20.977936" elapsed="0.001179">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:20.945313" elapsed="0.034083">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:20.944820" elapsed="0.034843"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:20.980746" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17942 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:21.035514" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.035826" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:20.980153" elapsed="0.055732"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:21.036115" elapsed="0.000164"/>
</return>
<msg time="2026-04-11T23:14:21.036985" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:20.944018" elapsed="0.093174"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:21.037850" elapsed="0.001865"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:20.943401" elapsed="0.096542"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:20.942218" elapsed="0.097867"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:20.941720" elapsed="0.098468"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.940712" elapsed="0.099605"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:20.940234" elapsed="0.100182"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.041558" level="INFO">${next} = 17943</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.040805" elapsed="0.000859"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.042925" level="INFO">${current_port} = 17943</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:21.042042" elapsed="0.000976"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:20.935766" elapsed="0.107517"/>
</kw>
<msg time="2026-04-11T23:14:21.043379" level="INFO">Repeating keyword, round 114/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:21.045905" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:21.045777" elapsed="0.000174"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.045754" elapsed="0.000220"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.046303" level="INFO">${current_Date} = 2026-04-11 23:14:21.046</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:21.046120" elapsed="0.000211"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.046825" level="INFO">${ellapsed_seconds} = 2683.2</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:21.046478" elapsed="0.000379"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.047469" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:21.046932" elapsed="0.000593"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.046912" elapsed="0.000637"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:21.045272" elapsed="0.002344"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.048197" level="INFO">${number} = 114</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.047764" elapsed="0.000460"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.049790" level="INFO">${number} = 114</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.049395" elapsed="0.000423"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.051542" level="INFO">${device-port} = 17943</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.050947" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.054087" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:21.085734" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.086062" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.053948" elapsed="0.032174"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.087197" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:21.087331" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:21.086343" elapsed="0.001257">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:21.086281" elapsed="0.001421">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:21.053657" elapsed="0.034342">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:21.053236" elapsed="0.034907"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.089227" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17943 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:21.148038" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.148335" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.088710" elapsed="0.059702"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:21.148693" elapsed="0.000166"/>
</return>
<msg time="2026-04-11T23:14:21.149527" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:21.052419" elapsed="0.097400"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:21.150451" elapsed="0.001802"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:21.051805" elapsed="0.100700"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:21.050556" elapsed="0.102126"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:21.049985" elapsed="0.102800"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.048893" elapsed="0.104023"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:21.048383" elapsed="0.104633"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.154164" level="INFO">${next} = 17944</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.153362" elapsed="0.000861"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.155459" level="INFO">${current_port} = 17944</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:21.154606" elapsed="0.000945"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.043872" elapsed="0.112354"/>
</kw>
<msg time="2026-04-11T23:14:21.156324" level="INFO">Repeating keyword, round 115/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:21.159054" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:21.158812" elapsed="0.000337"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.158769" elapsed="0.000428"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.159989" level="INFO">${current_Date} = 2026-04-11 23:14:21.160</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:21.159631" elapsed="0.000416"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.161711" level="INFO">${ellapsed_seconds} = 2683.086</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:21.160369" elapsed="0.001403"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.162451" elapsed="0.000047"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:21.161933" elapsed="0.000666"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.161891" elapsed="0.000763"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:21.158252" elapsed="0.004504"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.163906" level="INFO">${number} = 115</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.163075" elapsed="0.000889"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.166354" level="INFO">${number} = 115</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.165848" elapsed="0.000546"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.168885" level="INFO">${device-port} = 17944</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.167925" elapsed="0.001001"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.172428" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:21.201375" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.201652" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.172260" elapsed="0.029455"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.202653" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:21.202787" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:21.201895" elapsed="0.001001">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:21.201845" elapsed="0.001161">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:21.171862" elapsed="0.031449">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:21.171260" elapsed="0.032343"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.204690" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17944 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:21.259651" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.259855" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.204074" elapsed="0.055817"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:21.260045" elapsed="0.000112"/>
</return>
<msg time="2026-04-11T23:14:21.260625" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:21.170119" elapsed="0.090639"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:21.261160" elapsed="0.001153"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:21.169224" elapsed="0.093236"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:21.167384" elapsed="0.095170"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:21.166651" elapsed="0.095992"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.165161" elapsed="0.097567"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:21.164299" elapsed="0.098493"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.263499" level="INFO">${next} = 17945</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.263011" elapsed="0.000524"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.264323" level="INFO">${current_port} = 17945</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:21.263782" elapsed="0.000632"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.156959" elapsed="0.107535"/>
</kw>
<msg time="2026-04-11T23:14:21.264550" level="INFO">Repeating keyword, round 116/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:21.266212" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:21.266050" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.266022" elapsed="0.000280"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.266757" level="INFO">${current_Date} = 2026-04-11 23:14:21.267</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:21.266503" elapsed="0.000291"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.267806" level="INFO">${ellapsed_seconds} = 2682.979</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:21.266997" elapsed="0.000846"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.268276" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:21.267943" elapsed="0.000424"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.267917" elapsed="0.000483"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:21.265713" elapsed="0.002752"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.269190" level="INFO">${number} = 116</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.268689" elapsed="0.000536"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.271222" level="INFO">${number} = 116</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.270756" elapsed="0.000503"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.273529" level="INFO">${device-port} = 17945</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.272699" elapsed="0.000888"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.276831" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:21.309339" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.309730" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.276731" elapsed="0.033065"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.310969" elapsed="0.000065"/>
</kw>
<msg time="2026-04-11T23:14:21.311113" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:21.310039" elapsed="0.001337">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:21.309967" elapsed="0.001512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:21.276366" elapsed="0.035450">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:21.275799" elapsed="0.036169"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.313102" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17945 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:21.367321" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.367547" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.312520" elapsed="0.055123"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:21.367847" elapsed="0.000167"/>
</return>
<msg time="2026-04-11T23:14:21.368754" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:21.274715" elapsed="0.094271"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:21.369655" elapsed="0.001865"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:21.273872" elapsed="0.097925"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:21.272187" elapsed="0.099767"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:21.271474" elapsed="0.100603"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.270119" elapsed="0.102091"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:21.269436" elapsed="0.102931"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.373252" level="INFO">${next} = 17946</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.372723" elapsed="0.000568"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.374154" level="INFO">${current_port} = 17946</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:21.373529" elapsed="0.000687"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.264866" elapsed="0.109435"/>
</kw>
<msg time="2026-04-11T23:14:21.374360" level="INFO">Repeating keyword, round 117/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:21.376090" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:21.375925" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.375896" elapsed="0.000289"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.376738" level="INFO">${current_Date} = 2026-04-11 23:14:21.377</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:21.376465" elapsed="0.000310"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.377863" level="INFO">${ellapsed_seconds} = 2682.869</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:21.376983" elapsed="0.000918"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.378373" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:21.378005" elapsed="0.000446"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.377977" elapsed="0.000508"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:21.375559" elapsed="0.002993"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.379350" level="INFO">${number} = 117</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.378812" elapsed="0.000576"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.381458" level="INFO">${number} = 117</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.380960" elapsed="0.000535"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.383902" level="INFO">${device-port} = 17946</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.382982" elapsed="0.000958"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.386773" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:21.417226" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.417447" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.386672" elapsed="0.030834"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.418443" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:21.418611" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:21.417720" elapsed="0.001002">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:21.417668" elapsed="0.001162">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:21.386379" elapsed="0.032731">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:21.385971" elapsed="0.033350"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.420375" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17946 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:21.474853" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.475065" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.419848" elapsed="0.055276"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:21.475317" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:14:21.476175" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:21.385016" elapsed="0.091405"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:21.477080" elapsed="0.001840"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:21.384234" elapsed="0.094928"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:21.382476" elapsed="0.096836"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:21.381743" elapsed="0.097673"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.380297" elapsed="0.099261"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:21.379631" elapsed="0.100073"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.480922" level="INFO">${next} = 17947</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.480058" elapsed="0.000923"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.482253" level="INFO">${current_port} = 17947</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:21.481344" elapsed="0.001003"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.374689" elapsed="0.107790"/>
</kw>
<msg time="2026-04-11T23:14:21.482595" level="INFO">Repeating keyword, round 118/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:21.484973" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:21.484853" elapsed="0.000164"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.484831" elapsed="0.000208"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.485350" level="INFO">${current_Date} = 2026-04-11 23:14:21.485</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:21.485184" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.486077" level="INFO">${ellapsed_seconds} = 2682.761</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:21.485523" elapsed="0.000581"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.486413" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:21.486178" elapsed="0.000290"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.486158" elapsed="0.000334"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:21.484413" elapsed="0.002126"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.487076" level="INFO">${number} = 118</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.486701" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.488548" level="INFO">${number} = 118</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.488188" elapsed="0.000421"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.490442" level="INFO">${device-port} = 17947</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.489660" elapsed="0.000812"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.492962" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:21.525162" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.525398" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.492857" elapsed="0.032612"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.526429" elapsed="0.000068"/>
</kw>
<msg time="2026-04-11T23:14:21.526613" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:21.525697" elapsed="0.001128">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:21.525638" elapsed="0.001290">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:21.492554" elapsed="0.034658">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:21.492143" elapsed="0.035216"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.528444" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17947 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:21.582959" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.583176" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.527899" elapsed="0.055344"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:21.583436" elapsed="0.000193"/>
</return>
<msg time="2026-04-11T23:14:21.584327" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:21.491322" elapsed="0.093224"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:21.585191" elapsed="0.001865"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:21.490699" elapsed="0.096597"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:21.489288" elapsed="0.098179"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:21.488783" elapsed="0.098819"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.487733" elapsed="0.100005"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:21.487258" elapsed="0.100579"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.588989" level="INFO">${next} = 17948</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.588238" elapsed="0.000790"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.589833" level="INFO">${current_port} = 17948</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:21.589251" elapsed="0.000643"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.483048" elapsed="0.106927"/>
</kw>
<msg time="2026-04-11T23:14:21.590030" level="INFO">Repeating keyword, round 119/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:21.591646" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:21.591467" elapsed="0.000240"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.591438" elapsed="0.000299"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.592232" level="INFO">${current_Date} = 2026-04-11 23:14:21.592</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:21.591984" elapsed="0.000287"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.593275" level="INFO">${ellapsed_seconds} = 2682.654</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:21.592490" elapsed="0.000831"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.593790" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:21.593424" elapsed="0.000444"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.593397" elapsed="0.000504"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:21.591119" elapsed="0.002850"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.594720" level="INFO">${number} = 119</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.594172" elapsed="0.000585"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.596842" level="INFO">${number} = 119</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.596297" elapsed="0.000583"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.599367" level="INFO">${device-port} = 17948</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.598468" elapsed="0.000938"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.602261" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:21.637480" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.637739" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.602160" elapsed="0.035639"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.638720" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:21.638858" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:21.637964" elapsed="0.000998">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:21.637918" elapsed="0.001134">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:21.601889" elapsed="0.037450">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:21.601467" elapsed="0.038094"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.640673" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17948 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:21.695504" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.695754" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.640068" elapsed="0.055742"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:21.696006" elapsed="0.000173"/>
</return>
<msg time="2026-04-11T23:14:21.696874" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:21.600653" elapsed="0.096446"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:21.697733" elapsed="0.001793"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:21.599730" elapsed="0.100069"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:21.597991" elapsed="0.101955"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:21.597240" elapsed="0.102810"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.595645" elapsed="0.104604"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:21.594974" elapsed="0.105379"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.701205" level="INFO">${next} = 17949</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.700721" elapsed="0.000522"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.702035" level="INFO">${current_port} = 17949</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:21.701465" elapsed="0.000632"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.590296" elapsed="0.111890"/>
</kw>
<msg time="2026-04-11T23:14:21.702242" level="INFO">Repeating keyword, round 120/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:21.703931" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:21.703751" elapsed="0.000242"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.703723" elapsed="0.000300"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.704483" level="INFO">${current_Date} = 2026-04-11 23:14:21.704</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:21.704260" elapsed="0.000260"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.705471" level="INFO">${ellapsed_seconds} = 2682.542</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:21.704753" elapsed="0.000755"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.705990" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:21.705663" elapsed="0.000404"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.705634" elapsed="0.000465"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:21.703381" elapsed="0.002783"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.706949" level="INFO">${number} = 120</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.706376" elapsed="0.000611"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.709144" level="INFO">${number} = 120</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.708663" elapsed="0.000518"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.711610" level="INFO">${device-port} = 17949</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.710715" elapsed="0.000936"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.714552" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:21.749323" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.749546" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.714430" elapsed="0.035213"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.750546" elapsed="0.000092"/>
</kw>
<msg time="2026-04-11T23:14:21.750720" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:21.749816" elapsed="0.001101">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:21.749770" elapsed="0.001265">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:21.714143" elapsed="0.037173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:21.713740" elapsed="0.037721"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.752556" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17949 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:21.807490" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.807749" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.751992" elapsed="0.055825"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:21.808006" elapsed="0.000176"/>
</return>
<msg time="2026-04-11T23:14:21.808881" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:21.712935" elapsed="0.096157"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:21.809721" elapsed="0.001798"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:21.712151" elapsed="0.099641"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:21.710192" elapsed="0.101939"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:21.709415" elapsed="0.102821"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.707987" elapsed="0.104385"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:21.707329" elapsed="0.105141"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.813688" level="INFO">${next} = 17950</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.812848" elapsed="0.000903"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.815043" level="INFO">${current_port} = 17950</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:21.814143" elapsed="0.001010"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.702505" elapsed="0.112782"/>
</kw>
<msg time="2026-04-11T23:14:21.815376" level="INFO">Repeating keyword, round 121/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:21.817285" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:21.817172" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.817150" elapsed="0.000199"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.817740" level="INFO">${current_Date} = 2026-04-11 23:14:21.818</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:21.817528" elapsed="0.000238"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.818451" level="INFO">${ellapsed_seconds} = 2682.428</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:21.817915" elapsed="0.000563"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.818815" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:21.818557" elapsed="0.000313"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.818538" elapsed="0.000355"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:21.816926" elapsed="0.002014"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.819461" level="INFO">${number} = 121</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.819085" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.821122" level="INFO">${number} = 121</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.820777" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.822840" level="INFO">${device-port} = 17950</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.822186" elapsed="0.000682"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.825299" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:21.856907" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.857152" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.825195" elapsed="0.032018"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.858145" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:21.858283" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:21.857383" elapsed="0.001006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:21.857337" elapsed="0.001141">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:21.824926" elapsed="0.033883">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:21.824507" elapsed="0.034536"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.860132" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17950 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:21.915450" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.915691" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.859518" elapsed="0.056231"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:21.915935" elapsed="0.000172"/>
</return>
<msg time="2026-04-11T23:14:21.916801" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:21.823713" elapsed="0.093296"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:21.917663" elapsed="0.001739"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:21.823074" elapsed="0.096618"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:21.821843" elapsed="0.098143"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:21.821315" elapsed="0.098795"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.820313" elapsed="0.099928"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:21.819658" elapsed="0.100677"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.921512" level="INFO">${next} = 17951</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.920736" elapsed="0.000892"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.922905" level="INFO">${current_port} = 17951</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:21.921995" elapsed="0.001011"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.815848" elapsed="0.107288"/>
</kw>
<msg time="2026-04-11T23:14:21.923231" level="INFO">Repeating keyword, round 122/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:21.925290" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:21.925174" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.925153" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.925713" level="INFO">${current_Date} = 2026-04-11 23:14:21.926</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:21.925502" elapsed="0.000239"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:21.927702" level="INFO">${ellapsed_seconds} = 2682.32</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:21.925889" elapsed="0.001841"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.928061" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:21.927803" elapsed="0.000315"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:21.927784" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:21.924929" elapsed="0.003260"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.928739" level="INFO">${number} = 122</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.928334" elapsed="0.000432"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.930185" level="INFO">${number} = 122</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.929846" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:21.931876" level="INFO">${device-port} = 17951</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:21.931238" elapsed="0.000665"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.934336" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:21.965313" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:21.965655" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.934233" elapsed="0.031501"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:21.966897" elapsed="0.000065"/>
</kw>
<msg time="2026-04-11T23:14:21.967045" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:21.965953" elapsed="0.001310">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:21.965897" elapsed="0.001465">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:21.933954" elapsed="0.033738">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:21.933530" elapsed="0.034316"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:21.968938" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17951 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:22.023693" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.023844" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:21.968371" elapsed="0.055510"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:22.024035" elapsed="0.000103"/>
</return>
<msg time="2026-04-11T23:14:22.024554" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:21.932761" elapsed="0.092003"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:22.025347" elapsed="0.002072"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:21.932126" elapsed="0.095553"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:21.930892" elapsed="0.096931"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:21.930369" elapsed="0.097553"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.929374" elapsed="0.098694"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:21.928920" elapsed="0.099244"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.029301" level="INFO">${next} = 17952</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.028508" elapsed="0.000853"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.030654" level="INFO">${current_port} = 17952</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:22.029770" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:21.923779" elapsed="0.107100"/>
</kw>
<msg time="2026-04-11T23:14:22.030964" level="INFO">Repeating keyword, round 123/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:22.033042" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:22.032933" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.032912" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.033464" level="INFO">${current_Date} = 2026-04-11 23:14:22.033</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:22.033291" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.034009" level="INFO">${ellapsed_seconds} = 2682.213</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:22.033673" elapsed="0.000362"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.034603" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:22.034336" elapsed="0.000322"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.034086" elapsed="0.000596"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:22.032688" elapsed="0.002042"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.035237" level="INFO">${number} = 123</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.034874" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.036684" level="INFO">${number} = 123</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.036329" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.038332" level="INFO">${device-port} = 17952</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.037744" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.040714" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:22.073165" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.073327" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.040617" elapsed="0.032750"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.074037" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:14:22.074126" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:22.073490" elapsed="0.000709">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:22.073454" elapsed="0.000807">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:22.040336" elapsed="0.034118">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:22.039933" elapsed="0.034694"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.075287" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17952 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:22.131084" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.131307" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.074954" elapsed="0.056410"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:22.131555" elapsed="0.000199"/>
</return>
<msg time="2026-04-11T23:14:22.132399" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:22.039164" elapsed="0.093468"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:22.133218" elapsed="0.001851"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:22.038563" elapsed="0.096730"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:22.037369" elapsed="0.098061"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:22.036867" elapsed="0.098660"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.035877" elapsed="0.099807"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:22.035417" elapsed="0.100365"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.136937" level="INFO">${next} = 17953</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.136145" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.138244" level="INFO">${current_port} = 17953</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:22.137355" elapsed="0.000979"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.031390" elapsed="0.107067"/>
</kw>
<msg time="2026-04-11T23:14:22.138542" level="INFO">Repeating keyword, round 124/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:22.140989" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:22.140828" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.140798" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.141531" level="INFO">${current_Date} = 2026-04-11 23:14:22.141</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:22.141294" elapsed="0.000295"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.142290" level="INFO">${ellapsed_seconds} = 2682.105</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:22.141805" elapsed="0.000523"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.143127" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:22.142433" elapsed="0.000775"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.142404" elapsed="0.000839"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:22.140311" elapsed="0.003002"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.144102" level="INFO">${number} = 124</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.143526" elapsed="0.000615"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.146243" level="INFO">${number} = 124</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.145747" elapsed="0.000535"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.148722" level="INFO">${device-port} = 17953</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.147803" elapsed="0.000959"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.153431" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:22.212526" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.212770" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.153221" elapsed="0.059607"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.213709" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:22.213839" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:22.212990" elapsed="0.001032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:22.212945" elapsed="0.001173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:22.152619" elapsed="0.061767">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:22.151687" elapsed="0.062835"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.215511" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17953 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:22.271475" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.271716" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.215033" elapsed="0.056739"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:22.271985" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:22.272778" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:22.149945" elapsed="0.123039"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:22.273558" elapsed="0.001724"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:22.149059" elapsed="0.126449"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:22.147273" elapsed="0.128406"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:22.146513" elapsed="0.129265"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.145078" elapsed="0.130864"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:22.144368" elapsed="0.131675"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.277166" level="INFO">${next} = 17954</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.276390" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.278467" level="INFO">${current_port} = 17954</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:22.277618" elapsed="0.000940"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.139001" elapsed="0.139715"/>
</kw>
<msg time="2026-04-11T23:14:22.278799" level="INFO">Repeating keyword, round 125/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:22.280977" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:22.280870" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.280849" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.281370" level="INFO">${current_Date} = 2026-04-11 23:14:22.281</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:22.281216" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.281881" level="INFO">${ellapsed_seconds} = 2681.965</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:22.281540" elapsed="0.000367"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.282400" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:22.281977" elapsed="0.000478"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.281959" elapsed="0.000519"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:22.280515" elapsed="0.002015"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.283063" level="INFO">${number} = 125</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.282700" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.284494" level="INFO">${number} = 125</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.284161" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.286202" level="INFO">${device-port} = 17954</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.285543" elapsed="0.000686"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.288603" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:22.321315" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.321560" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.288492" elapsed="0.033163"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.322632" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:14:22.322777" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:22.321836" elapsed="0.001054">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:22.321786" elapsed="0.001201">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:22.288223" elapsed="0.035051">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:22.287807" elapsed="0.035688"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.324647" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17954 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:22.379733" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.380024" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.324055" elapsed="0.056031"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:22.380308" elapsed="0.000167"/>
</return>
<msg time="2026-04-11T23:14:22.381208" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:22.287036" elapsed="0.094392"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:22.382115" elapsed="0.001930"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:22.286429" elapsed="0.097863"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:22.285208" elapsed="0.099237"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:22.284701" elapsed="0.099852"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.283706" elapsed="0.101019"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:22.283241" elapsed="0.101590"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.386081" level="INFO">${next} = 17955</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.385214" elapsed="0.000931"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.387492" level="INFO">${current_port} = 17955</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:22.386531" elapsed="0.001091"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.279212" elapsed="0.108550"/>
</kw>
<msg time="2026-04-11T23:14:22.387907" level="INFO">Repeating keyword, round 126/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:22.389613" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:22.389467" elapsed="0.000190"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.389446" elapsed="0.000234"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.390000" level="INFO">${current_Date} = 2026-04-11 23:14:22.390</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:22.389829" elapsed="0.000196"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.390497" level="INFO">${ellapsed_seconds} = 2681.856</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:22.390169" elapsed="0.000353"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.391108" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:22.390609" elapsed="0.000555"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.390588" elapsed="0.000599"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:22.389223" elapsed="0.002012"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.391759" level="INFO">${number} = 126</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.391377" elapsed="0.000408"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.393193" level="INFO">${number} = 126</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.392856" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.394860" level="INFO">${device-port} = 17955</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.394248" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.397244" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:22.432803" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.433018" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.397144" elapsed="0.035932"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.433990" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:22.434119" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:22.433240" elapsed="0.001095">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:22.433195" elapsed="0.001237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:22.396873" elapsed="0.037872">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:22.396456" elapsed="0.038433"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.435912" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17955 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:22.491128" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.491334" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.435339" elapsed="0.056049"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:22.491607" elapsed="0.000167"/>
</return>
<msg time="2026-04-11T23:14:22.492392" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:22.395697" elapsed="0.096938"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:22.493208" elapsed="0.001739"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:22.395091" elapsed="0.100082"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:22.393912" elapsed="0.101398"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:22.393375" elapsed="0.102033"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.392397" elapsed="0.103132"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:22.391950" elapsed="0.103706"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.496794" level="INFO">${next} = 17956</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.496012" elapsed="0.000841"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.498074" level="INFO">${current_port} = 17956</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:22.497204" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.388386" elapsed="0.109904"/>
</kw>
<msg time="2026-04-11T23:14:22.498373" level="INFO">Repeating keyword, round 127/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:22.500879" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:22.500726" elapsed="0.000196"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.500672" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.501278" level="INFO">${current_Date} = 2026-04-11 23:14:22.501</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:22.501118" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.501992" level="INFO">${ellapsed_seconds} = 2681.745</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:22.501447" elapsed="0.000571"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.502324" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:22.502090" elapsed="0.000287"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.502072" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:22.500097" elapsed="0.002350"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.502965" level="INFO">${number} = 127</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.502603" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.504389" level="INFO">${number} = 127</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.504056" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.506043" level="INFO">${device-port} = 17956</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.505428" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.508396" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:22.541444" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.541689" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.508300" elapsed="0.033449"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.542624" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:22.542760" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:22.541910" elapsed="0.000953">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:22.541866" elapsed="0.001086">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:22.508031" elapsed="0.035184">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:22.507634" elapsed="0.035785"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.544460" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17956 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:22.599692" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.599950" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.543965" elapsed="0.056040"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:22.600202" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:14:22.601029" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:22.506875" elapsed="0.094358"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:22.601852" elapsed="0.001778"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:22.506270" elapsed="0.097611"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:22.505093" elapsed="0.098931"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:22.504593" elapsed="0.099531"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.503598" elapsed="0.100651"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:22.503144" elapsed="0.101202"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.605463" level="INFO">${next} = 17957</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.604713" elapsed="0.000807"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.606814" level="INFO">${current_port} = 17957</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:22.605931" elapsed="0.000978"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.498813" elapsed="0.108220"/>
</kw>
<msg time="2026-04-11T23:14:22.607120" level="INFO">Repeating keyword, round 128/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:22.609180" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:22.609072" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.609053" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.609543" level="INFO">${current_Date} = 2026-04-11 23:14:22.609</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:22.609383" elapsed="0.000224"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.610310" level="INFO">${ellapsed_seconds} = 2681.637</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:22.609754" elapsed="0.000582"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.610666" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:22.610407" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.610387" elapsed="0.000362"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:22.608834" elapsed="0.001961"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.611294" level="INFO">${number} = 128</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.610937" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.612738" level="INFO">${number} = 128</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.612389" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.614377" level="INFO">${device-port} = 17957</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.613795" elapsed="0.000609"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.616760" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:22.653089" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.653305" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.616658" elapsed="0.036705"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.654272" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:22.654402" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:22.653524" elapsed="0.001101">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:22.653480" elapsed="0.001246">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:22.616378" elapsed="0.038622">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:22.615988" elapsed="0.039152"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.656131" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17957 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:22.711373" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.711613" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.655629" elapsed="0.056061"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:22.711874" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:22.712655" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:22.615203" elapsed="0.097657"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:22.713430" elapsed="0.001706"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:22.614621" elapsed="0.100740"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:22.613415" elapsed="0.102084"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:22.612918" elapsed="0.102710"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.611955" elapsed="0.103821"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:22.611471" elapsed="0.104400"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.716975" level="INFO">${next} = 17958</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.716206" elapsed="0.000827"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.718292" level="INFO">${current_port} = 17958</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:22.717394" elapsed="0.000990"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.607545" elapsed="0.110963"/>
</kw>
<msg time="2026-04-11T23:14:22.718627" level="INFO">Repeating keyword, round 129/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:22.720961" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:22.720856" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.720835" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.721349" level="INFO">${current_Date} = 2026-04-11 23:14:22.721</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:22.721197" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.722052" level="INFO">${ellapsed_seconds} = 2681.525</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:22.721518" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.722378" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:22.722150" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.722131" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:22.720335" elapsed="0.002166"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.723027" level="INFO">${number} = 129</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.722666" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.724452" level="INFO">${number} = 129</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.724120" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.726089" level="INFO">${device-port} = 17958</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.725483" elapsed="0.000632"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.728416" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:22.761337" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.761562" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.728323" elapsed="0.033335"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.762553" elapsed="0.000086"/>
</kw>
<msg time="2026-04-11T23:14:22.762719" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:22.761833" elapsed="0.000990">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:22.761784" elapsed="0.001127">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:22.728061" elapsed="0.035121">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:22.727678" elapsed="0.035755"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.764515" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17958 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:22.819803" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.820010" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.764009" elapsed="0.056054"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:22.820247" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:22.821045" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:22.726914" elapsed="0.094329"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:22.821865" elapsed="0.001792"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:22.726317" elapsed="0.097576"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:22.725153" elapsed="0.098883"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:22.724665" elapsed="0.099470"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.723680" elapsed="0.100579"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:22.723214" elapsed="0.101142"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.825474" level="INFO">${next} = 17959</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.824727" elapsed="0.000804"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.826806" level="INFO">${current_port} = 17959</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:22.825928" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.719041" elapsed="0.107983"/>
</kw>
<msg time="2026-04-11T23:14:22.827111" level="INFO">Repeating keyword, round 130/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:22.829678" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:22.829367" elapsed="0.000407"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.829325" elapsed="0.000497"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.830492" level="INFO">${current_Date} = 2026-04-11 23:14:22.830</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:22.830146" elapsed="0.000403"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.832114" level="INFO">${ellapsed_seconds} = 2681.416</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:22.830902" elapsed="0.001270"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.832851" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:22.832332" elapsed="0.000573"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.832289" elapsed="0.000639"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:22.828839" elapsed="0.004134"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.833468" level="INFO">${number} = 130</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.833113" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.834908" level="INFO">${number} = 130</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.834553" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.836521" level="INFO">${device-port} = 17959</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.835940" elapsed="0.000608"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.838880" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:22.873215" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.873428" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.838784" elapsed="0.034702"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.874377" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:22.874505" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:22.873688" elapsed="0.001037">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:22.873642" elapsed="0.001183">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:22.838498" elapsed="0.036596">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:22.838116" elapsed="0.037116"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.876239" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17959 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:22.931090" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.931292" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.875752" elapsed="0.055593"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:22.931524" elapsed="0.000205"/>
</return>
<msg time="2026-04-11T23:14:22.932331" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:22.837354" elapsed="0.095178"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:22.933147" elapsed="0.001702"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:22.836774" elapsed="0.098300"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:22.835604" elapsed="0.099610"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:22.835088" elapsed="0.100223"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.834120" elapsed="0.101312"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:22.833676" elapsed="0.101850"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.936676" level="INFO">${next} = 17960</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.935913" elapsed="0.000824"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.937950" level="INFO">${current_port} = 17960</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:22.937086" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.827527" elapsed="0.110643"/>
</kw>
<msg time="2026-04-11T23:14:22.938254" level="INFO">Repeating keyword, round 131/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:22.940821" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:22.940514" elapsed="0.000352"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.940472" elapsed="0.000416"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.941210" level="INFO">${current_Date} = 2026-04-11 23:14:22.941</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:22.941058" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:22.941890" level="INFO">${ellapsed_seconds} = 2681.305</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:22.941380" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.942217" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:22.941988" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:22.941969" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:22.939989" elapsed="0.002350"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.942858" level="INFO">${number} = 131</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.942482" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.944268" level="INFO">${number} = 131</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.943938" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:22.945903" level="INFO">${device-port} = 17960</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:22.945301" elapsed="0.000629"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.948240" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:22.981338" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:22.981563" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.948146" elapsed="0.033514"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:22.982534" elapsed="0.000087"/>
</kw>
<msg time="2026-04-11T23:14:22.982699" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:22.981830" elapsed="0.000974">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:22.981781" elapsed="0.001112">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:22.947882" elapsed="0.035280">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:22.947467" elapsed="0.035908"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:22.984416" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17960 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:23.039076" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.039278" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:22.983910" elapsed="0.055422"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:23.039536" elapsed="0.000188"/>
</return>
<msg time="2026-04-11T23:14:23.040328" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:22.946725" elapsed="0.093804"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:23.041143" elapsed="0.001723"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:22.946129" elapsed="0.096962"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:22.944971" elapsed="0.098259"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:22.944448" elapsed="0.098877"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.943472" elapsed="0.099976"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:22.943036" elapsed="0.100527"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.044724" level="INFO">${next} = 17961</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.043943" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.045999" level="INFO">${current_port} = 17961</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:23.045134" elapsed="0.000957"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:22.938696" elapsed="0.107519"/>
</kw>
<msg time="2026-04-11T23:14:23.046301" level="INFO">Repeating keyword, round 132/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:23.048262" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:23.048156" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.048137" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.048653" level="INFO">${current_Date} = 2026-04-11 23:14:23.049</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:23.048463" elapsed="0.000219"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.049343" level="INFO">${ellapsed_seconds} = 2681.197</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:23.048830" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.049688" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:23.049440" elapsed="0.000303"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.049421" elapsed="0.000345"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:23.047920" elapsed="0.001892"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.050439" level="INFO">${number} = 132</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.050084" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.051869" level="INFO">${number} = 132</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.051516" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.053508" level="INFO">${device-port} = 17961</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.052920" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.055914" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:23.089521" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.089785" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.055819" elapsed="0.034027"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.090749" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:23.090884" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:23.090016" elapsed="0.001047">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:23.089971" elapsed="0.001188">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:23.055534" elapsed="0.035891">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:23.055127" elapsed="0.036491"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.092612" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17961 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:23.147706" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.147928" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.092084" elapsed="0.055901"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:23.148173" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:23.148979" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:23.054352" elapsed="0.094832"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:23.149806" elapsed="0.001916"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:23.053762" elapsed="0.098188"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:23.052546" elapsed="0.099546"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:23.052054" elapsed="0.100137"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.051070" elapsed="0.101246"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:23.050630" elapsed="0.101782"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.153528" level="INFO">${next} = 17962</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.152780" elapsed="0.000853"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.154870" level="INFO">${current_port} = 17962</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:23.153998" elapsed="0.000968"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.046741" elapsed="0.108352"/>
</kw>
<msg time="2026-04-11T23:14:23.155180" level="INFO">Repeating keyword, round 133/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:23.157766" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:23.157453" elapsed="0.000407"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.157411" elapsed="0.000497"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.158839" level="INFO">${current_Date} = 2026-04-11 23:14:23.159</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:23.158624" elapsed="0.000242"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.159524" level="INFO">${ellapsed_seconds} = 2681.087</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:23.159009" elapsed="0.000541"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.159886" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:23.159653" elapsed="0.000287"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.159634" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:23.156915" elapsed="0.003094"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.160518" level="INFO">${number} = 133</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.160153" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.161949" level="INFO">${number} = 133</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.161615" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.163594" level="INFO">${device-port} = 17962</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.162974" elapsed="0.000648"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.165941" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:23.197267" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.197493" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.165845" elapsed="0.031706"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.198478" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:23.198642" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:23.197760" elapsed="0.000991">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:23.197710" elapsed="0.001130">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:23.165555" elapsed="0.033555">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:23.165174" elapsed="0.034185"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.200382" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17962 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:23.259227" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.259459" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.199883" elapsed="0.059631"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:23.259737" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:23.260492" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:23.164408" elapsed="0.096339"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:23.261317" elapsed="0.001750"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:23.163824" elapsed="0.099471"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:23.162635" elapsed="0.100825"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:23.162131" elapsed="0.101429"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.161162" elapsed="0.102555"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:23.160716" elapsed="0.103097"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.264923" level="INFO">${next} = 17963</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.264152" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.266230" level="INFO">${current_port} = 17963</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:23.265328" elapsed="0.000993"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.155650" elapsed="0.110798"/>
</kw>
<msg time="2026-04-11T23:14:23.266533" level="INFO">Repeating keyword, round 134/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:23.268342" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:23.268236" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.268212" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.268728" level="INFO">${current_Date} = 2026-04-11 23:14:23.269</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:23.268549" elapsed="0.000205"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.270486" level="INFO">${ellapsed_seconds} = 2680.977</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:23.268896" elapsed="0.001617"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.270839" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:23.270601" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.270564" elapsed="0.000351"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:23.267997" elapsed="0.002964"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.271522" level="INFO">${number} = 134</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.271100" elapsed="0.000449"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.272955" level="INFO">${number} = 134</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.272603" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.274589" level="INFO">${device-port} = 17963</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.273982" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.276967" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:23.309164" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.309377" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.276875" elapsed="0.032560"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.310329" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:23.310460" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:23.309632" elapsed="0.001033">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:23.309550" elapsed="0.001212">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:23.276611" elapsed="0.034412">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:23.276212" elapsed="0.034949"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.312159" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17963 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:23.367069" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.367273" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.311673" elapsed="0.055653"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:23.367531" elapsed="0.000192"/>
</return>
<msg time="2026-04-11T23:14:23.368324" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:23.275421" elapsed="0.093102"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:23.369137" elapsed="0.001723"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:23.274818" elapsed="0.096267"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:23.273648" elapsed="0.097575"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:23.273135" elapsed="0.098185"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.272154" elapsed="0.099313"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:23.271715" elapsed="0.099846"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.372715" level="INFO">${next} = 17964</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.371937" elapsed="0.000838"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.373984" level="INFO">${current_port} = 17964</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:23.373124" elapsed="0.000953"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.266982" elapsed="0.107219"/>
</kw>
<msg time="2026-04-11T23:14:23.374284" level="INFO">Repeating keyword, round 135/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:23.376208" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:23.376102" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.376083" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.376633" level="INFO">${current_Date} = 2026-04-11 23:14:23.377</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:23.376446" elapsed="0.000215"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.377101" level="INFO">${ellapsed_seconds} = 2680.869</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:23.376804" elapsed="0.000322"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.377645" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:23.377380" elapsed="0.000321"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.377178" elapsed="0.000546"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:23.375868" elapsed="0.001902"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.378285" level="INFO">${number} = 135</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.377916" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.379777" level="INFO">${number} = 135</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.379424" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.381383" level="INFO">${device-port} = 17964</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.380804" elapsed="0.000605"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.383834" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:23.417213" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.417424" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.383736" elapsed="0.033744"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.418383" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:23.418513" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:23.417681" elapsed="0.000967">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:23.417633" elapsed="0.001109">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:23.383455" elapsed="0.035558">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:23.383054" elapsed="0.036166"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.420224" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17964 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:23.475189" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.475416" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.419741" elapsed="0.055730"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:23.475694" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:14:23.476445" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:23.382280" elapsed="0.094407"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:23.477260" elapsed="0.001704"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:23.381687" elapsed="0.097502"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:23.380449" elapsed="0.098903"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:23.379956" elapsed="0.099495"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.378970" elapsed="0.100632"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:23.378480" elapsed="0.101227"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.480806" level="INFO">${next} = 17965</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.480042" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.482092" level="INFO">${current_port} = 17965</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:23.481213" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.374730" elapsed="0.107577"/>
</kw>
<msg time="2026-04-11T23:14:23.482392" level="INFO">Repeating keyword, round 136/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:23.484289" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:23.484184" elapsed="0.000146"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.484165" elapsed="0.000186"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.484667" level="INFO">${current_Date} = 2026-04-11 23:14:23.485</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:23.484492" elapsed="0.000201"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.485144" level="INFO">${ellapsed_seconds} = 2680.761</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:23.484836" elapsed="0.000334"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.485677" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:23.485240" elapsed="0.000492"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.485221" elapsed="0.000535"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:23.483948" elapsed="0.001855"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.486304" level="INFO">${number} = 136</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.485944" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.487854" level="INFO">${number} = 136</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.487493" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.489454" level="INFO">${device-port} = 17965</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.488867" elapsed="0.000614"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.491861" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:23.524919" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.525131" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.491760" elapsed="0.033430"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.526082" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:23.526213" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:23.525350" elapsed="0.001044">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:23.525306" elapsed="0.001184">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:23.491471" elapsed="0.035314">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:23.491067" elapsed="0.035860"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.527931" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17965 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:23.583364" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.583601" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.527406" elapsed="0.056254"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:23.583842" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:23.584615" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:23.490295" elapsed="0.094534"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:23.585394" elapsed="0.001751"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:23.489706" elapsed="0.097744"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:23.488519" elapsed="0.099128"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:23.488036" elapsed="0.099707"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.487035" elapsed="0.100789"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:23.486482" elapsed="0.101405"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.588596" level="INFO">${next} = 17966</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.588106" elapsed="0.000529"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.589393" level="INFO">${current_port} = 17966</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:23.588862" elapsed="0.000588"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.482906" elapsed="0.106623"/>
</kw>
<msg time="2026-04-11T23:14:23.589604" level="INFO">Repeating keyword, round 137/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:23.591177" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:23.591026" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.590997" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.591823" level="INFO">${current_Date} = 2026-04-11 23:14:23.592</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:23.591550" elapsed="0.000309"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.592505" level="INFO">${ellapsed_seconds} = 2680.654</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:23.592063" elapsed="0.000478"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.593284" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:23.592663" elapsed="0.000699"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.592636" elapsed="0.000759"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:23.590684" elapsed="0.002776"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.594185" level="INFO">${number} = 137</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.593681" elapsed="0.000540"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.596228" level="INFO">${number} = 137</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.595757" elapsed="0.000508"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.598594" level="INFO">${device-port} = 17966</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.597754" elapsed="0.000879"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.601306" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:23.637380" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.637627" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.601205" elapsed="0.036484"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.638550" elapsed="0.000089"/>
</kw>
<msg time="2026-04-11T23:14:23.638720" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:23.637851" elapsed="0.000980">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:23.637807" elapsed="0.001112">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:23.600937" elapsed="0.038254">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:23.600539" elapsed="0.038896"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.640433" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17966 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:23.700034" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.700243" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.639944" elapsed="0.060352"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:23.700479" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:14:23.701318" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:23.599784" elapsed="0.101740"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:23.702300" elapsed="0.001745"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:23.598914" elapsed="0.105358"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:23.597254" elapsed="0.107160"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:23.596533" elapsed="0.107977"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.595078" elapsed="0.109591"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:23.594435" elapsed="0.110336"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.705912" level="INFO">${next} = 17967</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.705134" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.707210" level="INFO">${current_port} = 17967</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:23.706334" elapsed="0.000968"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.589881" elapsed="0.117545"/>
</kw>
<msg time="2026-04-11T23:14:23.707513" level="INFO">Repeating keyword, round 138/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:23.709925" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:23.709819" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.709799" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.710279" level="INFO">${current_Date} = 2026-04-11 23:14:23.710</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:23.710127" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.710780" level="INFO">${ellapsed_seconds} = 2680.536</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:23.710449" elapsed="0.000357"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.711296" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:23.710876" elapsed="0.000474"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.710857" elapsed="0.000517"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:23.709280" elapsed="0.002141"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.711961" level="INFO">${number} = 138</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.711563" elapsed="0.000425"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.713398" level="INFO">${number} = 138</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.713041" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.715063" level="INFO">${device-port} = 17967</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.714442" elapsed="0.000648"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.717454" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:23.749460" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.749707" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.717355" elapsed="0.032412"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.750709" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:23.750842" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:23.749929" elapsed="0.001098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:23.749886" elapsed="0.001235">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:23.717062" elapsed="0.034326">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:23.716679" elapsed="0.034848"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.752506" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17967 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:23.811979" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.812215" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.752015" elapsed="0.060259"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:23.812467" elapsed="0.000192"/>
</return>
<msg time="2026-04-11T23:14:23.813291" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:23.715903" elapsed="0.097593"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:23.814161" elapsed="0.001820"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:23.715293" elapsed="0.100918"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:23.714108" elapsed="0.102244"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:23.713579" elapsed="0.102869"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.712590" elapsed="0.103988"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:23.712143" elapsed="0.104564"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.817412" level="INFO">${next} = 17968</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.816940" elapsed="0.000509"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.818239" level="INFO">${current_port} = 17968</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:23.817705" elapsed="0.000591"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.707962" elapsed="0.110412"/>
</kw>
<msg time="2026-04-11T23:14:23.818426" level="INFO">Repeating keyword, round 139/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:23.820027" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:23.819875" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.819841" elapsed="0.000274"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.820607" level="INFO">${current_Date} = 2026-04-11 23:14:23.820</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:23.820366" elapsed="0.000280"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.821589" level="INFO">${ellapsed_seconds} = 2680.426</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:23.820856" elapsed="0.000834"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.822120" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:23.821791" elapsed="0.000404"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.821764" elapsed="0.000464"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:23.819497" elapsed="0.002795"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.823024" level="INFO">${number} = 139</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.822491" elapsed="0.000570"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.825038" level="INFO">${number} = 139</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.824587" elapsed="0.000477"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.826682" level="INFO">${device-port} = 17968</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.826070" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.829227" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:23.861598" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.861816" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.829125" elapsed="0.032749"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.862767" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:23.862900" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:23.862036" elapsed="0.000975">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:23.861993" elapsed="0.001107">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:23.828692" elapsed="0.034683">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:23.828288" elapsed="0.035333"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.864584" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17968 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:23.923330" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.923532" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.864091" elapsed="0.059533"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:23.923809" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:23.924552" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:23.827502" elapsed="0.097303"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:23.925370" elapsed="0.001753"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:23.826920" elapsed="0.100429"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:23.825734" elapsed="0.101755"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:23.825219" elapsed="0.102401"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.823971" elapsed="0.103780"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:23.823276" elapsed="0.104569"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.928957" level="INFO">${next} = 17969</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.928183" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.930280" level="INFO">${current_port} = 17969</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:23.929363" elapsed="0.001010"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.818722" elapsed="0.111832"/>
</kw>
<msg time="2026-04-11T23:14:23.930677" level="INFO">Repeating keyword, round 140/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:23.931883" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:23.931777" elapsed="0.000146"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.931758" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.932241" level="INFO">${current_Date} = 2026-04-11 23:14:23.932</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:23.932088" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:23.932944" level="INFO">${ellapsed_seconds} = 2680.314</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:23.932409" elapsed="0.000562"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.933271" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:23.933042" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:23.933023" elapsed="0.000325"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:23.931519" elapsed="0.001874"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.933935" level="INFO">${number} = 140</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.933535" elapsed="0.000426"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.935354" level="INFO">${number} = 140</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.935019" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:23.936985" level="INFO">${device-port} = 17969</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:23.936373" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.939433" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:23.972887" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:23.972983" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.939332" elapsed="0.033677"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:23.973388" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:23.973446" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:23.973081" elapsed="0.000450">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:23.973061" elapsed="0.000517">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:23.939058" elapsed="0.034659">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:23.938577" elapsed="0.035210"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:23.974211" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17969 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:24.031318" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.031420" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:23.973991" elapsed="0.057454"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:24.031530" elapsed="0.000088"/>
</return>
<msg time="2026-04-11T23:14:24.031899" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:23.937835" elapsed="0.094155"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:24.032253" elapsed="0.000810"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:23.937211" elapsed="0.095955"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:23.936038" elapsed="0.097191"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:23.935533" elapsed="0.097741"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.934564" elapsed="0.098766"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:23.934110" elapsed="0.099262"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.033878" level="INFO">${next} = 17970</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.033524" elapsed="0.000380"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.034434" level="INFO">${current_port} = 17970</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:24.034060" elapsed="0.000415"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:23.930968" elapsed="0.103563"/>
</kw>
<msg time="2026-04-11T23:14:24.034572" level="INFO">Repeating keyword, round 141/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:24.035702" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:24.035581" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.035558" elapsed="0.000212"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.036111" level="INFO">${current_Date} = 2026-04-11 23:14:24.036</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:24.035954" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.036814" level="INFO">${ellapsed_seconds} = 2680.21</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:24.036280" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.037165" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:24.036912" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.036893" elapsed="0.000349"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:24.035333" elapsed="0.001955"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.037811" level="INFO">${number} = 141</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.037430" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.039215" level="INFO">${number} = 141</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.038883" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.040880" level="INFO">${device-port} = 17970</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.040239" elapsed="0.000668"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.043256" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:24.081075" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.081218" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.043156" elapsed="0.038090"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.081775" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:24.081839" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:24.081353" elapsed="0.000537">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:24.081321" elapsed="0.000611">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:24.042895" elapsed="0.039190">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:24.042493" elapsed="0.039737"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.082728" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17970 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:24.139363" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.139547" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.082463" elapsed="0.057129"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:24.139724" elapsed="0.000096"/>
</return>
<msg time="2026-04-11T23:14:24.140119" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:24.041746" elapsed="0.098465"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:24.140517" elapsed="0.000847"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:24.041137" elapsed="0.100330"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:24.039905" elapsed="0.101629"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:24.039394" elapsed="0.102191"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.038429" elapsed="0.103234"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:24.037988" elapsed="0.103722"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.142229" level="INFO">${next} = 17971</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.141870" elapsed="0.000385"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.142835" level="INFO">${current_port} = 17971</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:24.142419" elapsed="0.000458"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.034775" elapsed="0.108160"/>
</kw>
<msg time="2026-04-11T23:14:24.142975" level="INFO">Repeating keyword, round 142/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:24.144189" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:24.144074" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.144054" elapsed="0.000199"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.144562" level="INFO">${current_Date} = 2026-04-11 23:14:24.144</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:24.144395" elapsed="0.000210"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.145312" level="INFO">${ellapsed_seconds} = 2680.102</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:24.144752" elapsed="0.000587"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.145692" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:24.145411" elapsed="0.000336"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.145392" elapsed="0.000379"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:24.143831" elapsed="0.001987"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.146320" level="INFO">${number} = 142</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.145961" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.147791" level="INFO">${number} = 142</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.147399" elapsed="0.000419"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.149433" level="INFO">${device-port} = 17971</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.148839" elapsed="0.000622"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.151862" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:24.193128" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.193281" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.151744" elapsed="0.041564"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.193850" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:24.193916" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:24.193414" elapsed="0.000631">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:24.193382" elapsed="0.000709">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:24.151456" elapsed="0.042772">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:24.151071" elapsed="0.043222"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.194795" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17971 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:24.252164" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.252454" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.194525" elapsed="0.057985"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:24.252784" elapsed="0.000159"/>
</return>
<msg time="2026-04-11T23:14:24.253566" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:24.150294" elapsed="0.103524"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:24.254464" elapsed="0.001766"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:24.149707" elapsed="0.106748"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:24.148478" elapsed="0.108149"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:24.147979" elapsed="0.108752"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.146960" elapsed="0.109899"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:24.146498" elapsed="0.110459"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.258077" level="INFO">${next} = 17972</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.257295" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.259222" level="INFO">${current_port} = 17972</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:24.258548" elapsed="0.000735"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.143199" elapsed="0.116168"/>
</kw>
<msg time="2026-04-11T23:14:24.259424" level="INFO">Repeating keyword, round 143/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:24.261149" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:24.260986" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.260957" elapsed="0.000287"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.261787" level="INFO">${current_Date} = 2026-04-11 23:14:24.262</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:24.261520" elapsed="0.000306"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.262905" level="INFO">${ellapsed_seconds} = 2679.984</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:24.262041" elapsed="0.000903"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.263403" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:24.263050" elapsed="0.000432"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.263022" elapsed="0.000496"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:24.260629" elapsed="0.002985"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.264365" level="INFO">${number} = 143</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.263831" elapsed="0.000573"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.266466" level="INFO">${number} = 143</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.265977" elapsed="0.000527"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.268661" level="INFO">${device-port} = 17972</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.268049" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.271049" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:24.301349" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.301573" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.270950" elapsed="0.030715"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.302530" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:24.302692" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:24.301832" elapsed="0.000968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:24.301786" elapsed="0.001104">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:24.270652" elapsed="0.032512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:24.270255" elapsed="0.033123"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.304391" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17972 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:24.359936" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.360265" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.303904" elapsed="0.056419"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:24.360581" elapsed="0.000223"/>
</return>
<msg time="2026-04-11T23:14:24.361487" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:24.269476" elapsed="0.092259"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:24.362411" elapsed="0.001820"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:24.268894" elapsed="0.095563"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:24.267625" elapsed="0.097005"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:24.266786" elapsed="0.097946"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.265308" elapsed="0.099549"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:24.264653" elapsed="0.100303"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.366038" level="INFO">${next} = 17973</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.365354" elapsed="0.000722"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.366925" level="INFO">${current_port} = 17973</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:24.366313" elapsed="0.000674"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.259761" elapsed="0.107311"/>
</kw>
<msg time="2026-04-11T23:14:24.367131" level="INFO">Repeating keyword, round 144/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:24.368966" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:24.368800" elapsed="0.000228"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.368732" elapsed="0.000329"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.369548" level="INFO">${current_Date} = 2026-04-11 23:14:24.369</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:24.369301" elapsed="0.000339"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.370713" level="INFO">${ellapsed_seconds} = 2679.877</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:24.369859" elapsed="0.000894"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.371218" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:24.370859" elapsed="0.000437"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.370831" elapsed="0.000499"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:24.368380" elapsed="0.003018"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.372164" level="INFO">${number} = 144</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.371631" elapsed="0.000571"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.374273" level="INFO">${number} = 144</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.373913" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.375976" level="INFO">${device-port} = 17973</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.375354" elapsed="0.000649"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.378391" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:24.409522" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.409770" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.378291" elapsed="0.031537"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.410745" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:24.410880" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:24.409989" elapsed="0.001112">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:24.409946" elapsed="0.001253">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:24.378010" elapsed="0.033470">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:24.377620" elapsed="0.034031"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.412661" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17973 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:24.467906" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.468107" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.412137" elapsed="0.056023"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:24.468335" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:24.469128" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:24.376822" elapsed="0.092506"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:24.469970" elapsed="0.001745"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:24.376207" elapsed="0.095738"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:24.375013" elapsed="0.097069"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:24.374457" elapsed="0.097722"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.373272" elapsed="0.099027"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:24.372424" elapsed="0.099969"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.473302" level="INFO">${next} = 17974</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.472763" elapsed="0.000578"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.474156" level="INFO">${current_port} = 17974</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:24.473573" elapsed="0.000646"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.367463" elapsed="0.106841"/>
</kw>
<msg time="2026-04-11T23:14:24.474361" level="INFO">Repeating keyword, round 145/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:24.476080" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:24.475923" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.475887" elapsed="0.000287"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.476692" level="INFO">${current_Date} = 2026-04-11 23:14:24.477</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:24.476440" elapsed="0.000290"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.477720" level="INFO">${ellapsed_seconds} = 2679.769</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:24.476945" elapsed="0.000814"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.478322" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:24.477865" elapsed="0.000544"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.477838" elapsed="0.000605"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:24.475527" elapsed="0.002985"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.479299" level="INFO">${number} = 145</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.478757" elapsed="0.000580"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.481244" level="INFO">${number} = 145</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.480907" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.482890" level="INFO">${device-port} = 17974</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.482281" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.485249" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:24.517491" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.517755" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.485154" elapsed="0.032659"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.518704" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:24.518838" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:24.517981" elapsed="0.000960">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:24.517935" elapsed="0.001093">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:24.484886" elapsed="0.034408">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:24.484479" elapsed="0.035021"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.520477" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17974 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:24.576171" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.576400" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.519990" elapsed="0.056466"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:24.576687" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:24.577445" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:24.483714" elapsed="0.093981"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:24.578316" elapsed="0.001756"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:24.483116" elapsed="0.097183"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:24.481934" elapsed="0.098506"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:24.481431" elapsed="0.099107"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.480308" elapsed="0.100401"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:24.479559" elapsed="0.101249"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.581940" level="INFO">${next} = 17975</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.581148" elapsed="0.000850"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.583090" level="INFO">${current_port} = 17975</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:24.582397" elapsed="0.000751"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.474695" elapsed="0.108530"/>
</kw>
<msg time="2026-04-11T23:14:24.583280" level="INFO">Repeating keyword, round 146/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:24.584941" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:24.584792" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.584766" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.585448" level="INFO">${current_Date} = 2026-04-11 23:14:24.585</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:24.585232" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.587777" level="INFO">${ellapsed_seconds} = 2679.661</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:24.585733" elapsed="0.002081"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.588238" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:24.587914" elapsed="0.000399"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.587888" elapsed="0.000456"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:24.584427" elapsed="0.003981"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.589148" level="INFO">${number} = 146</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.588634" elapsed="0.000550"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.591075" level="INFO">${number} = 146</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.590725" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.592714" level="INFO">${device-port} = 17975</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.592100" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.595082" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:24.629614" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.629830" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.594984" elapsed="0.034903"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.630773" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:24.630905" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:24.630049" elapsed="0.001039">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:24.630005" elapsed="0.001177">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:24.594713" elapsed="0.036735">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:24.594299" elapsed="0.037370"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.632652" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17975 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:24.687946" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.688156" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.632123" elapsed="0.056087"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:24.688392" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:24.689220" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:24.593527" elapsed="0.095900"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:24.690054" elapsed="0.001761"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:24.592942" elapsed="0.099102"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:24.591763" elapsed="0.100422"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:24.591255" elapsed="0.101026"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.590056" elapsed="0.102348"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:24.589392" elapsed="0.103106"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.693673" level="INFO">${next} = 17976</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.692891" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.694953" level="INFO">${current_port} = 17976</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:24.694089" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.583542" elapsed="0.111629"/>
</kw>
<msg time="2026-04-11T23:14:24.695257" level="INFO">Repeating keyword, round 147/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:24.697815" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:24.697540" elapsed="0.000317"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.697498" elapsed="0.000381"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.698206" level="INFO">${current_Date} = 2026-04-11 23:14:24.698</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:24.698050" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.698696" level="INFO">${ellapsed_seconds} = 2679.548</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:24.698376" elapsed="0.000346"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.699217" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:24.698982" elapsed="0.000290"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.698774" elapsed="0.000521"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:24.697002" elapsed="0.002340"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.699869" level="INFO">${number} = 147</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.699486" elapsed="0.000409"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.701292" level="INFO">${number} = 147</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.700941" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.702956" level="INFO">${device-port} = 17976</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.702342" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.705332" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:24.736956" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.737174" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.705235" elapsed="0.031998"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.738159" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:24.738293" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:24.737395" elapsed="0.001003">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:24.737351" elapsed="0.001137">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:24.704946" elapsed="0.033844">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:24.704546" elapsed="0.034472"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.740003" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17976 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:24.795120" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.795331" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.739472" elapsed="0.055913"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:24.795566" elapsed="0.000191"/>
</return>
<msg time="2026-04-11T23:14:24.796371" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:24.703789" elapsed="0.092796"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:24.797203" elapsed="0.001750"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:24.703184" elapsed="0.096026"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:24.702006" elapsed="0.097351"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:24.701475" elapsed="0.097980"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.700487" elapsed="0.099089"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:24.700049" elapsed="0.099658"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.800824" level="INFO">${next} = 17977</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.800043" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.802108" level="INFO">${current_port} = 17977</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:24.801232" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.695702" elapsed="0.106623"/>
</kw>
<msg time="2026-04-11T23:14:24.802410" level="INFO">Repeating keyword, round 148/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:24.804295" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:24.804188" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.804169" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.804694" level="INFO">${current_Date} = 2026-04-11 23:14:24.805</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:24.804504" elapsed="0.000216"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.805166" level="INFO">${ellapsed_seconds} = 2679.441</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:24.804866" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.805696" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:24.805261" elapsed="0.000490"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.805243" elapsed="0.000532"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:24.803952" elapsed="0.001875"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.806332" level="INFO">${number} = 148</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.805968" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.807777" level="INFO">${number} = 148</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.807426" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.809413" level="INFO">${device-port} = 17977</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.808822" elapsed="0.000618"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.811933" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:24.845337" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.845550" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.811838" elapsed="0.033810"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.846502" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:24.846667" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:24.845812" elapsed="0.001047">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:24.845768" elapsed="0.001188">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:24.811552" elapsed="0.035673">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:24.811129" elapsed="0.036235"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.848413" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17977 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:24.903114" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.903317" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.847868" elapsed="0.055503"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:24.903551" elapsed="0.000189"/>
</return>
<msg time="2026-04-11T23:14:24.904355" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:24.810252" elapsed="0.094311"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:24.905187" elapsed="0.001776"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:24.809659" elapsed="0.097532"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:24.808443" elapsed="0.098890"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:24.807959" elapsed="0.099471"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.806975" elapsed="0.100578"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:24.806510" elapsed="0.101177"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.908821" level="INFO">${next} = 17978</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.908025" elapsed="0.000855"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.910012" level="INFO">${current_port} = 17978</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:24.909231" elapsed="0.000838"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.802855" elapsed="0.107293"/>
</kw>
<msg time="2026-04-11T23:14:24.910200" level="INFO">Repeating keyword, round 149/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:24.911755" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:24.911587" elapsed="0.000228"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.911554" elapsed="0.000290"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.912313" level="INFO">${current_Date} = 2026-04-11 23:14:24.912</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:24.912100" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:24.913017" level="INFO">${ellapsed_seconds} = 2679.334</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:24.912550" elapsed="0.000502"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.913764" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:24.913149" elapsed="0.000698"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:24.913123" elapsed="0.000758"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:24.911251" elapsed="0.002696"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.914677" level="INFO">${number} = 149</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.914147" elapsed="0.000567"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.916687" level="INFO">${number} = 149</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.916173" elapsed="0.000552"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:24.919009" level="INFO">${device-port} = 17978</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:24.918234" elapsed="0.000801"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.921367" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:24.957171" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:24.957384" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.921271" elapsed="0.036170"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:24.958340" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:24.958472" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:24.957643" elapsed="0.000987">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:24.957557" elapsed="0.001180">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:24.921003" elapsed="0.038003">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:24.920610" elapsed="0.038598"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:24.960196" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17978 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.015473" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.015707" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:24.959710" elapsed="0.056079"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.015971" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:25.016774" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:24.919844" elapsed="0.097137"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:25.017552" elapsed="0.001728"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:24.919236" elapsed="0.100274"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:24.917763" elapsed="0.101925"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:24.916945" elapsed="0.102842"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.915539" elapsed="0.104394"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:24.914926" elapsed="0.105103"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.021140" level="INFO">${next} = 17979</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.020366" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.022429" level="INFO">${current_port} = 17979</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:25.021547" elapsed="0.000975"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:24.910459" elapsed="0.112226"/>
</kw>
<msg time="2026-04-11T23:14:25.022774" level="INFO">Repeating keyword, round 150/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:25.025066" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:25.024961" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.024941" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.025421" level="INFO">${current_Date} = 2026-04-11 23:14:25.025</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:25.025272" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.025928" level="INFO">${ellapsed_seconds} = 2679.221</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:25.025628" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.026440" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:25.026022" elapsed="0.000473"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.026003" elapsed="0.000516"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:25.024617" elapsed="0.001949"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.027105" level="INFO">${number} = 150</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.026734" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.028528" level="INFO">${number} = 150</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.028197" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.030177" level="INFO">${device-port} = 17979</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.029550" elapsed="0.000653"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.032557" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:25.069260" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.069471" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.032462" elapsed="0.037066"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.070412" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:25.070540" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:25.069728" elapsed="0.001027">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:25.069683" elapsed="0.001174">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:25.032194" elapsed="0.038928">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:25.031785" elapsed="0.039473"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.072240" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17979 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.127654" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.127866" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.071759" elapsed="0.056162"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.128102" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:25.128898" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:25.031013" elapsed="0.098086"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:25.129711" elapsed="0.001724"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:25.030409" elapsed="0.101293"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:25.029211" elapsed="0.102634"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:25.028726" elapsed="0.103216"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.027741" elapsed="0.104323"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:25.027283" elapsed="0.104874"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.133282" level="INFO">${next} = 17980</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.132496" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.134636" level="INFO">${current_port} = 17980</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:25.133742" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.023283" elapsed="0.111577"/>
</kw>
<msg time="2026-04-11T23:14:25.134944" level="INFO">Repeating keyword, round 151/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:25.137445" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:25.137205" elapsed="0.000333"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.137162" elapsed="0.000523"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.138481" level="INFO">${current_Date} = 2026-04-11 23:14:25.138</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:25.138081" elapsed="0.000460"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.139622" level="INFO">${ellapsed_seconds} = 2679.108</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:25.138894" elapsed="0.000767"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.140083" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:25.139763" elapsed="0.000399"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.139736" elapsed="0.000459"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:25.136654" elapsed="0.003604"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.140985" level="INFO">${number} = 151</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.140458" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.142993" level="INFO">${number} = 151</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.142512" elapsed="0.000508"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.144631" level="INFO">${device-port} = 17980</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.144028" elapsed="0.000630"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.146982" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:25.181402" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.181653" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.146887" elapsed="0.034827"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.182562" elapsed="0.000089"/>
</kw>
<msg time="2026-04-11T23:14:25.182729" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:25.181875" elapsed="0.000957">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:25.181832" elapsed="0.001120">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:25.146609" elapsed="0.036610">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:25.146198" elapsed="0.037292"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.184491" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17980 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.239354" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.239567" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.184005" elapsed="0.055679"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.239878" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:25.240714" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:25.145437" elapsed="0.095487"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:25.241498" elapsed="0.001760"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:25.144859" elapsed="0.098625"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:25.143690" elapsed="0.099973"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:25.143184" elapsed="0.100581"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.141871" elapsed="0.102040"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:25.141232" elapsed="0.102778"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.245331" level="INFO">${next} = 17981</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.244359" elapsed="0.001033"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.246334" level="INFO">${current_port} = 17981</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:25.245805" elapsed="0.000587"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.135359" elapsed="0.111110"/>
</kw>
<msg time="2026-04-11T23:14:25.246523" level="INFO">Repeating keyword, round 152/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:25.248090" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:25.247942" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.247909" elapsed="0.000270"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.248587" level="INFO">${current_Date} = 2026-04-11 23:14:25.248</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:25.248373" elapsed="0.000269"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.249557" level="INFO">${ellapsed_seconds} = 2678.998</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:25.248868" elapsed="0.000777"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.250065" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:25.249747" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.249721" elapsed="0.000450"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:25.247586" elapsed="0.002648"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.250966" level="INFO">${number} = 152</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.250430" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.252992" level="INFO">${number} = 152</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.252467" elapsed="0.000561"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.254864" level="INFO">${device-port} = 17981</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.254254" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.257219" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:25.288816" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.288953" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.257125" elapsed="0.031864"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.289520" elapsed="0.000039"/>
</kw>
<msg time="2026-04-11T23:14:25.289646" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:25.289091" elapsed="0.000673">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:25.289064" elapsed="0.000760">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:25.256840" elapsed="0.033152">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:25.256437" elapsed="0.033642"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.290695" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17981 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.347385" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.347656" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.290361" elapsed="0.057357"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.347911" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:14:25.348752" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:25.255691" elapsed="0.093281"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:25.349617" elapsed="0.001840"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:25.255091" elapsed="0.096647"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:25.253920" elapsed="0.097968"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:25.253254" elapsed="0.098738"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.251860" elapsed="0.100280"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:25.251211" elapsed="0.101032"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.353441" level="INFO">${next} = 17982</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.352639" elapsed="0.000864"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.354886" level="INFO">${current_port} = 17982</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:25.353949" elapsed="0.001087"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.246806" elapsed="0.108369"/>
</kw>
<msg time="2026-04-11T23:14:25.355267" level="INFO">Repeating keyword, round 153/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:25.357036" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:25.356889" elapsed="0.000204"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.356863" elapsed="0.000260"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.357582" level="INFO">${current_Date} = 2026-04-11 23:14:25.357</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:25.357363" elapsed="0.000314"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.358574" level="INFO">${ellapsed_seconds} = 2678.889</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:25.357883" elapsed="0.000748"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.359070" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:25.358733" elapsed="0.000413"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.358707" elapsed="0.000472"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:25.356539" elapsed="0.002705"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.359974" level="INFO">${number} = 153</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.359444" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.362008" level="INFO">${number} = 153</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.361484" elapsed="0.000561"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.364180" level="INFO">${device-port} = 17982</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.363470" elapsed="0.000737"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.366504" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:25.397247" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.397512" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.366410" elapsed="0.031234"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.398523" elapsed="0.000064"/>
</kw>
<msg time="2026-04-11T23:14:25.398693" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:25.397818" elapsed="0.000981">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:25.397773" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:25.366140" elapsed="0.033010">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:25.365760" elapsed="0.033601"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.400390" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17982 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.455490" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.455731" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.399872" elapsed="0.055914"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.455965" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:25.456747" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:25.365004" elapsed="0.091944"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:25.457545" elapsed="0.001717"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:25.364407" elapsed="0.095079"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:25.362967" elapsed="0.096709"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:25.362262" elapsed="0.097513"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.360872" elapsed="0.099029"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:25.360224" elapsed="0.099771"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.461104" level="INFO">${next} = 17983</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.460332" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.462211" level="INFO">${current_port} = 17983</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:25.461566" elapsed="0.000702"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.355757" elapsed="0.106587"/>
</kw>
<msg time="2026-04-11T23:14:25.462398" level="INFO">Repeating keyword, round 154/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:25.464003" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:25.463848" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.463821" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.464503" level="INFO">${current_Date} = 2026-04-11 23:14:25.464</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:25.464288" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.465474" level="INFO">${ellapsed_seconds} = 2678.782</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:25.464768" elapsed="0.000743"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.465994" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:25.465668" elapsed="0.000400"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.465634" elapsed="0.000465"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:25.463442" elapsed="0.002720"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.466883" level="INFO">${number} = 154</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.466358" elapsed="0.000561"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.468865" level="INFO">${number} = 154</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.468381" elapsed="0.000521"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.470801" level="INFO">${device-port} = 17983</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.470194" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.473148" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:25.505329" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.505543" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.473053" elapsed="0.032588"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.506527" elapsed="0.000086"/>
</kw>
<msg time="2026-04-11T23:14:25.506693" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:25.505808" elapsed="0.001072">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:25.505763" elapsed="0.001214">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:25.472781" elapsed="0.034463">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:25.472378" elapsed="0.035005"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.508368" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17983 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.567116" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.567324" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.507884" elapsed="0.059496"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.567624" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:14:25.568373" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:25.471626" elapsed="0.096953"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:25.569187" elapsed="0.001714"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:25.471029" elapsed="0.100094"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:25.469855" elapsed="0.101406"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:25.469116" elapsed="0.102241"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.467776" elapsed="0.103702"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:25.467128" elapsed="0.104517"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.572399" level="INFO">${next} = 17984</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.571936" elapsed="0.000501"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.573203" level="INFO">${current_port} = 17984</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:25.572684" elapsed="0.000577"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.462678" elapsed="0.110661"/>
</kw>
<msg time="2026-04-11T23:14:25.573392" level="INFO">Repeating keyword, round 155/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:25.574955" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:25.574801" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.574768" elapsed="0.000274"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.575494" level="INFO">${current_Date} = 2026-04-11 23:14:25.575</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:25.575281" elapsed="0.000256"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.576463" level="INFO">${ellapsed_seconds} = 2678.671</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:25.575778" elapsed="0.000722"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.576975" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:25.576650" elapsed="0.000400"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.576580" elapsed="0.000502"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:25.574443" elapsed="0.002702"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.577870" level="INFO">${number} = 155</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.577342" elapsed="0.000564"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.579888" level="INFO">${number} = 155</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.579364" elapsed="0.000561"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.581551" level="INFO">${device-port} = 17984</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.580972" elapsed="0.000609"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.583912" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:25.616916" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.617133" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.583800" elapsed="0.033391"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.618087" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:25.618215" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:25.617352" elapsed="0.000968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:25.617308" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:25.583519" elapsed="0.035201">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:25.583137" elapsed="0.035790"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.619928" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17984 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.675341" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.675553" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.619384" elapsed="0.056262"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.675827" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:25.676565" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:25.582381" elapsed="0.094432"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:25.677378" elapsed="0.001662"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:25.581801" elapsed="0.097378"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:25.580638" elapsed="0.098627"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:25.580117" elapsed="0.099206"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.578758" elapsed="0.100640"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:25.578117" elapsed="0.101339"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.680164" level="INFO">${next} = 17985</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.679703" elapsed="0.000497"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.680960" level="INFO">${current_port} = 17985</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:25.680417" elapsed="0.000600"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.573675" elapsed="0.107419"/>
</kw>
<msg time="2026-04-11T23:14:25.681147" level="INFO">Repeating keyword, round 156/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:25.682742" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:25.682567" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.682541" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.683245" level="INFO">${current_Date} = 2026-04-11 23:14:25.683</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:25.683034" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.684202" level="INFO">${ellapsed_seconds} = 2678.563</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:25.683480" elapsed="0.000759"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.684680" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:25.684339" elapsed="0.000424"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.684312" elapsed="0.000483"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:25.682230" elapsed="0.002630"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.685552" level="INFO">${number} = 156</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.685056" elapsed="0.000585"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.687394" level="INFO">${number} = 156</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.687064" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.689033" level="INFO">${device-port} = 17985</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.688418" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.691443" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:25.725349" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.725561" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.691339" elapsed="0.034321"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.726510" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:25.726676" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:25.725823" elapsed="0.001149">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:25.725780" elapsed="0.001299">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:25.691072" elapsed="0.036275">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:25.690683" elapsed="0.036801"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.728469" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17985 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.783122" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.783328" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.727987" elapsed="0.055394"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.783560" elapsed="0.000211"/>
</return>
<msg time="2026-04-11T23:14:25.784525" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:25.689880" elapsed="0.094913"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:25.785380" elapsed="0.001818"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:25.689261" elapsed="0.098163"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:25.688085" elapsed="0.099475"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:25.687584" elapsed="0.100110"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.686508" elapsed="0.101310"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:25.685854" elapsed="0.102093"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.789071" level="INFO">${next} = 17986</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.788289" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.790348" level="INFO">${current_port} = 17986</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:25.789476" elapsed="0.000964"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.681413" elapsed="0.109150"/>
</kw>
<msg time="2026-04-11T23:14:25.790683" level="INFO">Repeating keyword, round 157/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:25.793274" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:25.793122" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.793094" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.793851" level="INFO">${current_Date} = 2026-04-11 23:14:25.794</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:25.793634" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.794789" level="INFO">${ellapsed_seconds} = 2678.452</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:25.794088" elapsed="0.000738"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.795241" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:25.794925" elapsed="0.000390"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.794899" elapsed="0.000448"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:25.792451" elapsed="0.002959"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.796169" level="INFO">${number} = 157</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.795628" elapsed="0.000578"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.798330" level="INFO">${number} = 157</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.797711" elapsed="0.000655"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.800906" level="INFO">${device-port} = 17986</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.799881" elapsed="0.001053"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.803292" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:25.833434" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.833722" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.803180" elapsed="0.030602"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.834713" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:25.834848" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:25.833962" elapsed="0.000992">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:25.833913" elapsed="0.001146">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:25.802912" elapsed="0.032513">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:25.802511" elapsed="0.033224"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.836769" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17986 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.891271" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.891537" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.836226" elapsed="0.055415"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.891865" elapsed="0.000164"/>
</return>
<msg time="2026-04-11T23:14:25.892757" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:25.801753" elapsed="0.091226"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:25.893708" elapsed="0.002112"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:25.801142" elapsed="0.094924"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:25.799298" elapsed="0.096919"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:25.798612" elapsed="0.097710"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.797085" elapsed="0.099371"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:25.796416" elapsed="0.100145"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.897864" level="INFO">${next} = 17987</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.896970" elapsed="0.001050"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.899219" level="INFO">${current_port} = 17987</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:25.898472" elapsed="0.000808"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.791100" elapsed="0.108265"/>
</kw>
<msg time="2026-04-11T23:14:25.899424" level="INFO">Repeating keyword, round 158/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:25.901244" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:25.901072" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.901043" elapsed="0.000296"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.901849" level="INFO">${current_Date} = 2026-04-11 23:14:25.902</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:25.901551" elapsed="0.000336"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:25.904647" level="INFO">${ellapsed_seconds} = 2678.344</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:25.902159" elapsed="0.002529"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.905155" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:25.904793" elapsed="0.000440"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:25.904766" elapsed="0.000501"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:25.900712" elapsed="0.004623"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.906184" level="INFO">${number} = 158</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.905542" elapsed="0.000687"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.907878" level="INFO">${number} = 158</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.907514" elapsed="0.000390"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:25.909566" level="INFO">${device-port} = 17987</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:25.908959" elapsed="0.000659"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.912127" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:25.941151" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.941368" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.912024" elapsed="0.029403"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:25.942335" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:25.942465" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:25.941629" elapsed="0.001078">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:25.941545" elapsed="0.001372">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:25.911751" elapsed="0.031482">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:25.911342" elapsed="0.032036"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:25.944366" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17987 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:25.999438" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:25.999687" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:25.943884" elapsed="0.055860"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:25.999946" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:26.000740" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:25.910537" elapsed="0.090408"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:26.001510" elapsed="0.001803"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:25.909857" elapsed="0.093679"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:25.908605" elapsed="0.095125"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:25.908060" elapsed="0.095767"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.907077" elapsed="0.096925"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:25.906497" elapsed="0.097600"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.005073" level="INFO">${next} = 17988</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.004434" elapsed="0.000676"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.005882" level="INFO">${current_port} = 17988</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:26.005331" elapsed="0.000609"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:25.899761" elapsed="0.106257"/>
</kw>
<msg time="2026-04-11T23:14:26.006071" level="INFO">Repeating keyword, round 159/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:26.007637" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:26.007439" elapsed="0.000261"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.007413" elapsed="0.000317"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.008216" level="INFO">${current_Date} = 2026-04-11 23:14:26.008</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:26.007996" elapsed="0.000256"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.008900" level="INFO">${ellapsed_seconds} = 2678.238</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:26.008452" elapsed="0.000483"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.047866" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:26.047445" elapsed="0.000500"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.009007" elapsed="0.038966"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:26.007113" elapsed="0.040925"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.048661" level="INFO">${number} = 159</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.048197" elapsed="0.000492"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.050169" level="INFO">${number} = 159</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.049827" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.051890" level="INFO">${device-port} = 17988</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.051253" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.054482" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:26.066703" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.066839" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.054374" elapsed="0.012502"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.067425" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:26.067510" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:26.066980" elapsed="0.000628">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:26.066953" elapsed="0.000716">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:26.054107" elapsed="0.013742">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:26.053711" elapsed="0.014291"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.068624" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17988 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:26.123644" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.123854" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.068287" elapsed="0.055622"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:26.124092" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:26.124895" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:26.052916" elapsed="0.072182"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:26.125707" elapsed="0.001736"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:26.052122" elapsed="0.075585"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:26.050879" elapsed="0.076976"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:26.050351" elapsed="0.077604"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.049347" elapsed="0.078730"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:26.048874" elapsed="0.079298"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.129292" level="INFO">${next} = 17989</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.128508" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.130691" level="INFO">${current_port} = 17989</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:26.129752" elapsed="0.001036"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.006330" elapsed="0.124559"/>
</kw>
<msg time="2026-04-11T23:14:26.130944" level="INFO">Repeating keyword, round 160/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:26.132767" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:26.132615" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.132566" elapsed="0.000290"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.133281" level="INFO">${current_Date} = 2026-04-11 23:14:26.133</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:26.133054" elapsed="0.000263"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.134030" level="INFO">${ellapsed_seconds} = 2678.113</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:26.133518" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.134511" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:26.134166" elapsed="0.000442"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.134139" elapsed="0.000504"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:26.132255" elapsed="0.002453"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.135413" level="INFO">${number} = 160</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.134909" elapsed="0.000541"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.137412" level="INFO">${number} = 160</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.136944" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.139484" level="INFO">${device-port} = 17989</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.138898" elapsed="0.000613"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.141861" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:26.173177" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.173390" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.141764" elapsed="0.031686"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.174349" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:26.174481" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:26.173653" elapsed="0.001049">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:26.173575" elapsed="0.001227">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:26.141477" elapsed="0.033652">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:26.141087" elapsed="0.034192"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.176272" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17989 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:26.231312" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.231519" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.175786" elapsed="0.055828"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:26.231798" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:26.232626" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:26.140318" elapsed="0.092523"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:26.233454" elapsed="0.001855"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:26.139733" elapsed="0.095822"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:26.138411" elapsed="0.097334"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:26.137693" elapsed="0.098159"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.136310" elapsed="0.099676"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:26.135688" elapsed="0.100400"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.237320" level="INFO">${next} = 17990</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.236480" elapsed="0.000902"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.238773" level="INFO">${current_port} = 17990</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:26.237827" elapsed="0.001048"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.131202" elapsed="0.107810"/>
</kw>
<msg time="2026-04-11T23:14:26.239105" level="INFO">Repeating keyword, round 161/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:26.241471" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:26.241362" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.241343" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.241926" level="INFO">${current_Date} = 2026-04-11 23:14:26.242</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:26.241761" elapsed="0.000191"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.242414" level="INFO">${ellapsed_seconds} = 2678.004</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:26.242100" elapsed="0.000340"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.242767" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:26.242511" elapsed="0.000311"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.242492" elapsed="0.000353"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:26.241118" elapsed="0.001774"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.243400" level="INFO">${number} = 161</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.243036" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.244888" level="INFO">${number} = 161</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.244514" elapsed="0.000400"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.246519" level="INFO">${device-port} = 17990</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.245934" elapsed="0.000611"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.248940" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:26.281131" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.281345" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.248841" elapsed="0.032561"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.282302" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:26.282434" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:26.281563" elapsed="0.000975">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:26.281520" elapsed="0.001144">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:26.248552" elapsed="0.034384">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:26.248133" elapsed="0.035017"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.284145" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17990 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:26.339139" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.339424" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.283651" elapsed="0.055834"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:26.339771" elapsed="0.000170"/>
</return>
<msg time="2026-04-11T23:14:26.340664" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:26.247361" elapsed="0.093523"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:26.341538" elapsed="0.001704"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:26.246772" elapsed="0.096617"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:26.245564" elapsed="0.097916"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:26.245073" elapsed="0.098471"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.244053" elapsed="0.099599"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:26.243581" elapsed="0.100135"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.344415" level="INFO">${next} = 17991</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.343931" elapsed="0.000521"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.345244" level="INFO">${current_port} = 17991</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:26.344702" elapsed="0.000599"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.239558" elapsed="0.105824"/>
</kw>
<msg time="2026-04-11T23:14:26.345439" level="INFO">Repeating keyword, round 162/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:26.347483" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:26.347328" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.347301" elapsed="0.000277"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.348028" level="INFO">${current_Date} = 2026-04-11 23:14:26.348</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:26.347800" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.348740" level="INFO">${ellapsed_seconds} = 2677.898</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:26.348270" elapsed="0.000507"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.349209" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:26.348876" elapsed="0.000408"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.348849" elapsed="0.000467"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:26.346981" elapsed="0.002401"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.350144" level="INFO">${number} = 162</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.349631" elapsed="0.000549"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.351829" level="INFO">${number} = 162</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.351471" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.353465" level="INFO">${device-port} = 17991</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.352863" elapsed="0.000629"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.356051" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:26.389616" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.389838" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.355952" elapsed="0.033944"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.390798" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:26.390930" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:26.390061" elapsed="0.001132">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:26.390016" elapsed="0.001279">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:26.355684" elapsed="0.035891">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:26.355282" elapsed="0.036471"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.392745" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17991 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:26.447396" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.447638" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.392210" elapsed="0.055486"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:26.447877" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:26.448692" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:26.354330" elapsed="0.094566"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:26.449469" elapsed="0.001728"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:26.353730" elapsed="0.097694"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:26.352508" elapsed="0.099055"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:26.352012" elapsed="0.099720"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.351033" elapsed="0.100835"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:26.350440" elapsed="0.101537"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.453132" level="INFO">${next} = 17992</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.452353" elapsed="0.000839"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.454459" level="INFO">${current_port} = 17992</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:26.453546" elapsed="0.001019"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.345769" elapsed="0.108972"/>
</kw>
<msg time="2026-04-11T23:14:26.454828" level="INFO">Repeating keyword, round 163/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:26.457349" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:26.457241" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.457223" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.457802" level="INFO">${current_Date} = 2026-04-11 23:14:26.458</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:26.457642" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.458274" level="INFO">${ellapsed_seconds} = 2677.788</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:26.457975" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.458614" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:26.458369" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.458351" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:26.456997" elapsed="0.001740"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.459239" level="INFO">${number} = 163</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.458881" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.460822" level="INFO">${number} = 163</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.460458" elapsed="0.000393"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.462447" level="INFO">${device-port} = 17992</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.461857" elapsed="0.000618"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.464858" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:26.497386" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.497657" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.464761" elapsed="0.032960"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.498632" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:26.498769" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:26.497890" elapsed="0.000998">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:26.497845" elapsed="0.001149">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:26.464470" elapsed="0.034799">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:26.464059" elapsed="0.035418"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.500517" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17992 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:26.555623" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.555844" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.500013" elapsed="0.055886"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:26.556087" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:26.556890" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:26.463285" elapsed="0.093807"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:26.557709" elapsed="0.001572"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:26.462695" elapsed="0.096729"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:26.461494" elapsed="0.098018"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:26.461010" elapsed="0.098568"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.459873" elapsed="0.099807"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:26.459417" elapsed="0.100323"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.560463" level="INFO">${next} = 17993</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.559955" elapsed="0.000546"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.561282" level="INFO">${current_port} = 17993</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:26.560753" elapsed="0.000587"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.455239" elapsed="0.106179"/>
</kw>
<msg time="2026-04-11T23:14:26.561471" level="INFO">Repeating keyword, round 164/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:26.563370" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:26.563222" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.563196" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.563895" level="INFO">${current_Date} = 2026-04-11 23:14:26.564</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:26.563677" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.564557" level="INFO">${ellapsed_seconds} = 2677.682</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:26.564133" elapsed="0.000483"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.565038" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:26.564716" elapsed="0.000396"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.564690" elapsed="0.000455"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:26.562884" elapsed="0.002324"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.566113" level="INFO">${number} = 164</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.565527" elapsed="0.000623"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.567879" level="INFO">${number} = 164</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.567506" elapsed="0.000404"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.569493" level="INFO">${device-port} = 17993</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.568904" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.571925" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:26.605168" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.605383" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.571822" elapsed="0.033618"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.606348" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:26.606479" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:26.605645" elapsed="0.001055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:26.605559" elapsed="0.001240">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:26.571534" elapsed="0.035599">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:26.571144" elapsed="0.036131"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.608261" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17993 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:26.663234" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.663455" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.607776" elapsed="0.055737"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:26.663742" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:26.664529" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:26.570342" elapsed="0.094441"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:26.665360" elapsed="0.001782"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:26.569747" elapsed="0.097626"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:26.568552" elapsed="0.098963"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:26.568065" elapsed="0.099582"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.567060" elapsed="0.100714"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:26.566397" elapsed="0.101472"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.669013" level="INFO">${next} = 17994</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.668231" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.670325" level="INFO">${current_port} = 17994</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:26.669425" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.561777" elapsed="0.108764"/>
</kw>
<msg time="2026-04-11T23:14:26.670664" level="INFO">Repeating keyword, round 165/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:26.673296" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:26.673188" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.673169" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.673762" level="INFO">${current_Date} = 2026-04-11 23:14:26.674</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:26.673565" elapsed="0.000223"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.674236" level="INFO">${ellapsed_seconds} = 2677.572</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:26.673933" elapsed="0.000328"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.674560" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:26.674331" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.674312" elapsed="0.000344"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:26.672943" elapsed="0.001760"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.675213" level="INFO">${number} = 165</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.674848" elapsed="0.000395"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.676721" level="INFO">${number} = 165</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.676357" elapsed="0.000390"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.678368" level="INFO">${device-port} = 17994</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.677777" elapsed="0.000618"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.680804" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:26.713493" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.713740" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.680701" elapsed="0.033098"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.714680" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:26.714812" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:26.713960" elapsed="0.000956">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:26.713916" elapsed="0.001090">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:26.680388" elapsed="0.034886">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:26.680002" elapsed="0.035484"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.716471" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17994 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:26.771358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.771559" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.715986" elapsed="0.055664"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:26.771828" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:26.772574" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:26.679215" elapsed="0.093606"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:26.773390" elapsed="0.001796"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:26.678617" elapsed="0.096794"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:26.677403" elapsed="0.098143"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:26.676908" elapsed="0.098769"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.675907" elapsed="0.099893"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:26.675442" elapsed="0.100458"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.777186" level="INFO">${next} = 17995</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.776245" elapsed="0.001003"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.778566" level="INFO">${current_port} = 17995</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:26.777658" elapsed="0.001040"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.671179" elapsed="0.107647"/>
</kw>
<msg time="2026-04-11T23:14:26.778896" level="INFO">Repeating keyword, round 166/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:26.780760" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:26.780607" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.780559" elapsed="0.000290"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.781263" level="INFO">${current_Date} = 2026-04-11 23:14:26.781</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:26.781045" elapsed="0.000254"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.781994" level="INFO">${ellapsed_seconds} = 2677.465</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:26.781499" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.782471" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:26.782144" elapsed="0.000400"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.782101" elapsed="0.000480"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:26.780250" elapsed="0.002421"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.783376" level="INFO">${number} = 166</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.782873" elapsed="0.000539"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.785454" level="INFO">${number} = 166</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.784989" elapsed="0.000502"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.787571" level="INFO">${device-port} = 17995</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.786944" elapsed="0.000668"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.789939" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:26.829566" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.829801" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.789843" elapsed="0.040016"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.830742" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:26.830873" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:26.830022" elapsed="0.001061">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:26.829979" elapsed="0.001202">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:26.789556" elapsed="0.041894">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:26.789169" elapsed="0.042449"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.832552" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17995 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:26.887204" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.887418" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.832069" elapsed="0.055402"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:26.887703" elapsed="0.000175"/>
</return>
<msg time="2026-04-11T23:14:26.888490" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:26.788400" elapsed="0.100336"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:26.889322" elapsed="0.001727"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:26.787814" elapsed="0.103458"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:26.786443" elapsed="0.104968"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:26.785729" elapsed="0.105782"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.784353" elapsed="0.107319"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:26.783649" elapsed="0.108122"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.892902" level="INFO">${next} = 17996</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.892129" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.894203" level="INFO">${current_port} = 17996</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:26.893307" elapsed="0.000986"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.779163" elapsed="0.115256"/>
</kw>
<msg time="2026-04-11T23:14:26.894504" level="INFO">Repeating keyword, round 167/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:26.897189" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:26.897078" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.897058" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.897656" level="INFO">${current_Date} = 2026-04-11 23:14:26.898</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:26.897447" elapsed="0.000236"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:26.898153" level="INFO">${ellapsed_seconds} = 2677.348</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:26.897830" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.898486" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:26.898249" elapsed="0.000290"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:26.898230" elapsed="0.000332"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:26.896805" elapsed="0.001830"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.899140" level="INFO">${number} = 167</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.898780" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.900609" level="INFO">${number} = 167</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.900246" elapsed="0.000390"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:26.902244" level="INFO">${device-port} = 17996</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:26.901654" elapsed="0.000616"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.904647" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:26.936769" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.937022" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.904528" elapsed="0.032552"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:26.938064" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:26.938197" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:26.937265" elapsed="0.001040">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:26.937209" elapsed="0.001186">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:26.904260" elapsed="0.034452">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:26.903847" elapsed="0.035092"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:26.939964" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17996 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:26.999146" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:26.999347" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:26.939411" elapsed="0.059990"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:26.999619" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:27.000365" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:26.903078" elapsed="0.097488"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:27.001171" elapsed="0.001749"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:26.902470" elapsed="0.100673"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:26.901294" elapsed="0.101988"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:26.900792" elapsed="0.102587"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.899785" elapsed="0.103719"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:26.899318" elapsed="0.104313"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.004766" level="INFO">${next} = 17997</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.003980" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.006100" level="INFO">${current_port} = 17997</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:27.005177" elapsed="0.001016"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:26.894966" elapsed="0.111352"/>
</kw>
<msg time="2026-04-11T23:14:27.006407" level="INFO">Repeating keyword, round 168/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:27.008565" elapsed="0.000073"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:27.008407" elapsed="0.000273"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.008379" elapsed="0.000334"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.009159" level="INFO">${current_Date} = 2026-04-11 23:14:27.009</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:27.008923" elapsed="0.000274"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.009915" level="INFO">${ellapsed_seconds} = 2677.237</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:27.009412" elapsed="0.000541"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.010405" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:27.010058" elapsed="0.000425"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.010031" elapsed="0.000486"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:27.008050" elapsed="0.002583"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.011379" level="INFO">${number} = 168</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.010849" elapsed="0.000568"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.013490" level="INFO">${number} = 168</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.012996" elapsed="0.000533"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.015613" level="INFO">${device-port} = 17997</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.015007" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.017989" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:27.049136" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.049343" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.017878" elapsed="0.031522"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.050279" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:27.050406" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:27.049557" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:27.049514" elapsed="0.001235">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:27.017610" elapsed="0.033407">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:27.017203" elapsed="0.033951"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.052119" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17997 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:27.107317" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.107542" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.051640" elapsed="0.055993"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:27.107816" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:27.108553" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:27.016432" elapsed="0.092371"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:27.109374" elapsed="0.001719"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:27.015844" elapsed="0.095473"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:27.014559" elapsed="0.096924"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:27.013789" elapsed="0.097819"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.012323" elapsed="0.099414"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:27.011670" elapsed="0.100161"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.112931" level="INFO">${next} = 17998</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.112164" elapsed="0.000827"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.114245" level="INFO">${current_port} = 17998</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:27.113349" elapsed="0.000987"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.006856" elapsed="0.107605"/>
</kw>
<msg time="2026-04-11T23:14:27.114545" level="INFO">Repeating keyword, round 169/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:27.116617" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:27.116494" elapsed="0.000166"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.116475" elapsed="0.000207"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.117017" level="INFO">${current_Date} = 2026-04-11 23:14:27.117</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:27.116857" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.117487" level="INFO">${ellapsed_seconds} = 2677.129</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:27.117188" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.117854" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:27.117624" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.117563" elapsed="0.000367"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:27.116255" elapsed="0.001720"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.118474" level="INFO">${number} = 169</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.118117" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.119908" level="INFO">${number} = 169</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.119540" elapsed="0.000394"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.121522" level="INFO">${device-port} = 17998</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.120937" elapsed="0.000612"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.124526" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:27.156667" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.156962" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.124397" elapsed="0.032768"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.158232" elapsed="0.000069"/>
</kw>
<msg time="2026-04-11T23:14:27.158390" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:27.157353" elapsed="0.001157">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:27.157302" elapsed="0.001351">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:27.123501" elapsed="0.035486">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:27.123117" elapsed="0.036166"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.160534" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17998 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:27.249401" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.249524" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.159899" elapsed="0.089650"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:27.249687" elapsed="0.000078"/>
</return>
<msg time="2026-04-11T23:14:27.250054" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:27.122351" elapsed="0.127793"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:27.250419" elapsed="0.000816"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:27.121774" elapsed="0.129566"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:27.120581" elapsed="0.130842"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:27.120090" elapsed="0.131380"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.119109" elapsed="0.132420"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:27.118668" elapsed="0.132908"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.252094" level="INFO">${next} = 17999</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.251749" elapsed="0.000370"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.252686" level="INFO">${current_port} = 17999</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:27.252281" elapsed="0.000448"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.114993" elapsed="0.137793"/>
</kw>
<msg time="2026-04-11T23:14:27.252826" level="INFO">Repeating keyword, round 170/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:27.254257" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:27.254150" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.254130" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.254648" level="INFO">${current_Date} = 2026-04-11 23:14:27.255</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:27.254465" elapsed="0.000210"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.255140" level="INFO">${ellapsed_seconds} = 2676.991</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:27.254820" elapsed="0.000346"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.255471" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:27.255235" elapsed="0.000289"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.255217" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:27.253903" elapsed="0.001726"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.256135" level="INFO">${number} = 170</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.255774" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.257708" level="INFO">${number} = 170</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.257356" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.259347" level="INFO">${device-port} = 17999</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.258761" elapsed="0.000612"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.261745" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:27.300805" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.300902" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.261645" elapsed="0.039283"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.301315" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:27.301374" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:27.301000" elapsed="0.000468">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:27.300981" elapsed="0.000530">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:27.261360" elapsed="0.040297">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:27.260972" elapsed="0.040749"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.302142" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17999 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:27.358978" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.359220" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.301927" elapsed="0.057349"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:27.359495" elapsed="0.000218"/>
</return>
<msg time="2026-04-11T23:14:27.360362" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:27.260202" elapsed="0.100363"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:27.361201" elapsed="0.001748"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:27.259578" elapsed="0.103610"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:27.258408" elapsed="0.104922"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:27.257908" elapsed="0.105520"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.256768" elapsed="0.106891"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:27.256312" elapsed="0.107470"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.364629" level="INFO">${next} = 18000</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.364089" elapsed="0.000581"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.365473" level="INFO">${current_port} = 18000</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:27.364907" elapsed="0.000629"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.253036" elapsed="0.112609"/>
</kw>
<msg time="2026-04-11T23:14:27.365702" level="INFO">Repeating keyword, round 171/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:27.369053" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:27.368891" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.368863" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.369681" level="INFO">${current_Date} = 2026-04-11 23:14:27.370</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:27.369407" elapsed="0.000314"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.370393" level="INFO">${ellapsed_seconds} = 2676.876</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:27.369941" elapsed="0.000490"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.370907" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:27.370535" elapsed="0.000451"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.370508" elapsed="0.000513"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:27.368472" elapsed="0.002617"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.371929" level="INFO">${number} = 171</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.371302" elapsed="0.000659"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.373434" level="INFO">${number} = 171</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.373096" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.375095" level="INFO">${device-port} = 18000</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.374476" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.377542" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:27.409516" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.409819" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.377444" elapsed="0.032444"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.410927" elapsed="0.000065"/>
</kw>
<msg time="2026-04-11T23:14:27.411076" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:27.410073" elapsed="0.001116">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:27.410021" elapsed="0.001259">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:27.377175" elapsed="0.034387">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:27.376769" elapsed="0.035131"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.413062" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18000 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:27.471516" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.471773" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.412466" elapsed="0.059390"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:27.472071" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:14:27.472974" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:27.375995" elapsed="0.097193"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:27.473943" elapsed="0.001217"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:27.375326" elapsed="0.099984"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:27.374140" elapsed="0.101263"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:27.373636" elapsed="0.101839"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.372640" elapsed="0.102921"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:27.372132" elapsed="0.103519"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.476384" level="INFO">${next} = 18001</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.475868" elapsed="0.000555"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.477255" level="INFO">${current_port} = 18001</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:27.476700" elapsed="0.000631"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.365983" elapsed="0.111472"/>
</kw>
<msg time="2026-04-11T23:14:27.477514" level="INFO">Repeating keyword, round 172/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:27.479730" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:27.479467" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.479439" elapsed="0.000387"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.480267" level="INFO">${current_Date} = 2026-04-11 23:14:27.480</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:27.480036" elapsed="0.000269"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.481032" level="INFO">${ellapsed_seconds} = 2676.766</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:27.480512" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.481640" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:27.481172" elapsed="0.000567"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.481145" elapsed="0.000628"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:27.479114" elapsed="0.002727"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.482395" level="INFO">${number} = 172</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.482026" elapsed="0.000396"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.483844" level="INFO">${number} = 172</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.483486" elapsed="0.000385"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.485680" level="INFO">${device-port} = 18001</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.485025" elapsed="0.000683"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.488149" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:27.521239" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.521461" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.488047" elapsed="0.033473"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.522509" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:27.522684" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:27.521731" elapsed="0.001161">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:27.521684" elapsed="0.001322">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:27.487761" elapsed="0.035533">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:27.487345" elapsed="0.036091"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.524456" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18001 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:27.579416" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.579672" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.523951" elapsed="0.055780"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:27.579931" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:27.580732" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:27.486516" elapsed="0.094424"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:27.581514" elapsed="0.001838"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:27.485913" elapsed="0.097704"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:27.484521" elapsed="0.099246"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:27.484029" elapsed="0.099839"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.483046" elapsed="0.100945"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:27.482578" elapsed="0.101508"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.585288" level="INFO">${next} = 18002</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.584428" elapsed="0.000921"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.586683" level="INFO">${current_port} = 18002</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:27.585766" elapsed="0.001016"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.477870" elapsed="0.109041"/>
</kw>
<msg time="2026-04-11T23:14:27.586996" level="INFO">Repeating keyword, round 173/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:27.588910" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:27.588798" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.588777" elapsed="0.000220"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.589371" level="INFO">${current_Date} = 2026-04-11 23:14:27.589</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:27.589202" elapsed="0.000196"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.589909" level="INFO">${ellapsed_seconds} = 2676.657</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:27.589547" elapsed="0.000388"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.590446" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:27.590199" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.589988" elapsed="0.000536"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:27.588296" elapsed="0.002280"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.591117" level="INFO">${number} = 173</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.590737" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.592651" level="INFO">${number} = 173</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.592262" elapsed="0.000418"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.594404" level="INFO">${device-port} = 18002</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.593767" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.596998" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:27.629240" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.629483" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.596878" elapsed="0.032666"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.630486" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:27.630663" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:27.629761" elapsed="0.001009">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:27.629713" elapsed="0.001151">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:27.596601" elapsed="0.034541">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:27.596170" elapsed="0.035184"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.632417" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18002 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:27.687291" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.687505" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.631922" elapsed="0.055638"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:27.687791" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:27.688690" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:27.595343" elapsed="0.093617"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:27.689556" elapsed="0.001872"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:27.594656" elapsed="0.097047"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:27.593373" elapsed="0.098478"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:27.592842" elapsed="0.099106"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.591812" elapsed="0.100257"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:27.591339" elapsed="0.100825"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.693361" level="INFO">${next} = 18003</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.692529" elapsed="0.000900"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.694771" level="INFO">${current_port} = 18003</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:27.693858" elapsed="0.001012"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.587475" elapsed="0.107520"/>
</kw>
<msg time="2026-04-11T23:14:27.695081" level="INFO">Repeating keyword, round 174/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:27.698144" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:27.698026" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.697650" elapsed="0.000560"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.698516" level="INFO">${current_Date} = 2026-04-11 23:14:27.698</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:27.698356" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.699052" level="INFO">${ellapsed_seconds} = 2676.548</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:27.698728" elapsed="0.000350"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.699384" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:27.699151" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.699132" elapsed="0.000329"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:27.697105" elapsed="0.002403"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.700057" level="INFO">${number} = 174</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.699677" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.701528" level="INFO">${number} = 174</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.701187" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.703219" level="INFO">${device-port} = 18003</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.702579" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.705724" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:27.737152" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.737369" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.705624" elapsed="0.031802"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.738404" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:27.738535" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:27.737687" elapsed="0.001076">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:27.737634" elapsed="0.001245">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:27.705335" elapsed="0.033822">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:27.704885" elapsed="0.034412"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.740322" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18003 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:27.795281" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.795508" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.739808" elapsed="0.055758"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:27.795857" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:14:27.796714" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:27.704080" elapsed="0.092865"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:27.797546" elapsed="0.001732"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:27.703452" elapsed="0.095974"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:27.702238" elapsed="0.097279"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:27.701740" elapsed="0.097864"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.700724" elapsed="0.098964"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:27.700237" elapsed="0.099513"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.800466" level="INFO">${next} = 18004</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.799983" elapsed="0.000521"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.801473" level="INFO">${current_port} = 18004</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:27.800762" elapsed="0.000773"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.695674" elapsed="0.105983"/>
</kw>
<msg time="2026-04-11T23:14:27.801714" level="INFO">Repeating keyword, round 175/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:27.803371" elapsed="0.000349"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:27.803215" elapsed="0.000550"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.803186" elapsed="0.000612"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.804302" level="INFO">${current_Date} = 2026-04-11 23:14:27.804</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:27.804066" elapsed="0.000275"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.805018" level="INFO">${ellapsed_seconds} = 2676.442</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:27.804551" elapsed="0.000506"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.805505" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:27.805171" elapsed="0.000459"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.805142" elapsed="0.000526"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:27.802852" elapsed="0.002883"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.806471" level="INFO">${number} = 175</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.805938" elapsed="0.000617"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.808126" level="INFO">${number} = 175</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.807782" elapsed="0.000372"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.809850" level="INFO">${device-port} = 18004</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.809197" elapsed="0.000680"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.812438" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:27.845145" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.845399" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.812325" elapsed="0.033151"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.846501" elapsed="0.000074"/>
</kw>
<msg time="2026-04-11T23:14:27.846693" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:27.845695" elapsed="0.001110">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:27.845645" elapsed="0.001253">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:27.812039" elapsed="0.035241">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:27.811646" elapsed="0.035909"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.848718" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18004 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:27.903517" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.903769" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.848081" elapsed="0.055745"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:27.904048" elapsed="0.000159"/>
</return>
<msg time="2026-04-11T23:14:27.904910" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:27.810746" elapsed="0.094384"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:27.905772" elapsed="0.001807"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:27.810089" elapsed="0.097762"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:27.808851" elapsed="0.099184"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:27.808328" elapsed="0.099808"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.807315" elapsed="0.100961"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:27.806804" elapsed="0.101576"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.909539" level="INFO">${next} = 18005</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.908763" elapsed="0.000888"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.910955" level="INFO">${current_port} = 18005</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:27.910017" elapsed="0.001035"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.801995" elapsed="0.109185"/>
</kw>
<msg time="2026-04-11T23:14:27.911269" level="INFO">Repeating keyword, round 176/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:27.913651" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:27.913279" elapsed="0.000420"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.913260" elapsed="0.000462"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.914062" level="INFO">${current_Date} = 2026-04-11 23:14:27.914</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:27.913871" elapsed="0.000219"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:27.914604" level="INFO">${ellapsed_seconds} = 2676.332</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:27.914242" elapsed="0.000392"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.914948" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:27.914708" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:27.914688" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:27.913038" elapsed="0.002035"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.915608" level="INFO">${number} = 176</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.915214" elapsed="0.000422"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.917180" level="INFO">${number} = 176</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.916831" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:27.918888" level="INFO">${device-port} = 18005</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:27.918246" elapsed="0.000670"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.921375" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:27.953190" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:27.953413" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.921276" elapsed="0.032197"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:27.954407" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:27.954554" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:27.953698" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:27.953647" elapsed="0.001252">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:27.920995" elapsed="0.034179">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:27.920570" elapsed="0.034745"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:27.956349" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18005 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:28.011331" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.011545" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:27.955851" elapsed="0.055795"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:28.011837" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:14:28.012693" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:27.919756" elapsed="0.093151"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:28.013513" elapsed="0.001999"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:27.919123" elapsed="0.096739"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:27.917898" elapsed="0.098156"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:27.917363" elapsed="0.098820"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.916253" elapsed="0.100097"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:27.915790" elapsed="0.100696"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.017919" level="INFO">${next} = 18006</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.016966" elapsed="0.001016"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.018779" level="INFO">${current_port} = 18006</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:28.018220" elapsed="0.000620"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:27.911745" elapsed="0.107175"/>
</kw>
<msg time="2026-04-11T23:14:28.018972" level="INFO">Repeating keyword, round 177/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:28.020829" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:28.020384" elapsed="0.000507"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.020358" elapsed="0.000564"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.021396" level="INFO">${current_Date} = 2026-04-11 23:14:28.021</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:28.021177" elapsed="0.000256"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.022158" level="INFO">${ellapsed_seconds} = 2676.225</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:28.021715" elapsed="0.000480"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.022645" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:28.022295" elapsed="0.000428"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.022268" elapsed="0.000488"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:28.020053" elapsed="0.002768"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.023523" level="INFO">${number} = 177</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.023021" elapsed="0.000539"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.025518" level="INFO">${number} = 177</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.025054" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.027424" level="INFO">${device-port} = 18006</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.026828" elapsed="0.000623"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.029848" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:28.061035" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.061273" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.029735" elapsed="0.031601"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.062364" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:14:28.062512" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:28.061526" elapsed="0.001150">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:28.061468" elapsed="0.001324">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:28.029414" elapsed="0.033669">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:28.029030" elapsed="0.034272"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.064410" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18006 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:28.119258" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.119477" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.063873" elapsed="0.055659"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:28.119765" elapsed="0.000161"/>
</return>
<msg time="2026-04-11T23:14:28.120730" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:28.028269" elapsed="0.092673"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:28.121536" elapsed="0.001890"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:28.027678" elapsed="0.096016"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:28.026461" elapsed="0.097375"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:28.025873" elapsed="0.098065"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.024425" elapsed="0.099636"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:28.023813" elapsed="0.100342"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.125318" level="INFO">${next} = 18007</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.124506" elapsed="0.000871"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.126650" level="INFO">${current_port} = 18007</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:28.125762" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.019234" elapsed="0.107634"/>
</kw>
<msg time="2026-04-11T23:14:28.126954" level="INFO">Repeating keyword, round 178/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:28.128874" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:28.128756" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.128499" elapsed="0.000441"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.129239" level="INFO">${current_Date} = 2026-04-11 23:14:28.129</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:28.129083" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.129732" level="INFO">${ellapsed_seconds} = 2676.117</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:28.129409" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.130058" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:28.129828" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.129809" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:28.128280" elapsed="0.001898"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.130694" level="INFO">${number} = 178</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.130318" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.132185" level="INFO">${number} = 178</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.131844" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.133847" level="INFO">${device-port} = 18007</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.133234" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.136247" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:28.169137" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.169355" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.136147" elapsed="0.033266"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.170313" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:28.170458" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:28.169613" elapsed="0.001064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:28.169531" elapsed="0.001247">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:28.135877" elapsed="0.035195">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:28.135474" elapsed="0.035744"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.172172" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18007 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:28.227369" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.227635" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.171785" elapsed="0.055911"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:28.227882" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:28.228749" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:28.134685" elapsed="0.094276"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:28.229543" elapsed="0.001799"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:28.134075" elapsed="0.097533"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:28.132899" elapsed="0.098860"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:28.132371" elapsed="0.099488"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.131324" elapsed="0.100685"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:28.130870" elapsed="0.101238"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.233288" level="INFO">${next} = 18008</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.232444" elapsed="0.000905"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.234667" level="INFO">${current_port} = 18008</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:28.233758" elapsed="0.001005"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.127440" elapsed="0.107450"/>
</kw>
<msg time="2026-04-11T23:14:28.234977" level="INFO">Repeating keyword, round 179/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:28.237562" elapsed="0.000054"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:28.237443" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.237233" elapsed="0.000437"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.238009" level="INFO">${current_Date} = 2026-04-11 23:14:28.238</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:28.237849" elapsed="0.000187"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.238494" level="INFO">${ellapsed_seconds} = 2676.008</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:28.238182" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.238851" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:28.238618" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.238597" elapsed="0.000331"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:28.236863" elapsed="0.002116"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.239481" level="INFO">${number} = 179</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.239122" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.240955" level="INFO">${number} = 179</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.240576" elapsed="0.000405"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.242612" level="INFO">${device-port} = 18008</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.241998" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.245019" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:28.277154" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.277372" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.244922" elapsed="0.032510"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.278362" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:28.278498" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:28.277636" elapsed="0.001002">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:28.277551" elapsed="0.001181">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:28.244629" elapsed="0.034382">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:28.244230" elapsed="0.034999"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.280259" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18008 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:28.335075" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.335286" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.279737" elapsed="0.055603"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:28.335522" elapsed="0.000193"/>
</return>
<msg time="2026-04-11T23:14:28.336338" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:28.243444" elapsed="0.093096"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:28.337163" elapsed="0.001822"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:28.242844" elapsed="0.096282"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:28.241650" elapsed="0.097563"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:28.241137" elapsed="0.098137"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.240137" elapsed="0.099218"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:28.239693" elapsed="0.099723"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.340120" level="INFO">${next} = 18009</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.339660" elapsed="0.000497"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.340943" level="INFO">${current_port} = 18009</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:28.340386" elapsed="0.000615"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.235419" elapsed="0.105660"/>
</kw>
<msg time="2026-04-11T23:14:28.341133" level="INFO">Repeating keyword, round 180/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:28.343085" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:28.342924" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.342642" elapsed="0.000533"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.343610" level="INFO">${current_Date} = 2026-04-11 23:14:28.343</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:28.343374" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.344285" level="INFO">${ellapsed_seconds} = 2675.903</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:28.343866" elapsed="0.000455"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.344781" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:28.344418" elapsed="0.000439"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.344393" elapsed="0.000497"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:28.342214" elapsed="0.002740"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.345673" level="INFO">${number} = 180</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.345150" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.347485" level="INFO">${number} = 180</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.347154" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.349161" level="INFO">${device-port} = 18009</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.348521" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.351757" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:28.385325" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.385541" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.351659" elapsed="0.033982"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.386534" elapsed="0.000093"/>
</kw>
<msg time="2026-04-11T23:14:28.386768" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:28.385808" elapsed="0.001158">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:28.385763" elapsed="0.001344">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:28.351368" elapsed="0.036032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:28.350971" elapsed="0.036571"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.388661" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18009 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:28.443047" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.443252" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.388111" elapsed="0.055195"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:28.443536" elapsed="0.000193"/>
</return>
<msg time="2026-04-11T23:14:28.444346" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:28.350014" elapsed="0.094564"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:28.445207" elapsed="0.001794"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:28.349396" elapsed="0.097832"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:28.348180" elapsed="0.099189"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:28.347683" elapsed="0.099785"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.346620" elapsed="0.101060"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:28.345919" elapsed="0.101863"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.448938" level="INFO">${next} = 18010</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.448131" elapsed="0.000868"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.450254" level="INFO">${current_port} = 18010</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:28.449350" elapsed="0.000996"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.341391" elapsed="0.109080"/>
</kw>
<msg time="2026-04-11T23:14:28.450554" level="INFO">Repeating keyword, round 181/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:28.452715" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:28.452561" elapsed="0.000198"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.452356" elapsed="0.000427"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.453125" level="INFO">${current_Date} = 2026-04-11 23:14:28.453</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:28.452967" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.453620" level="INFO">${ellapsed_seconds} = 2675.793</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:28.453297" elapsed="0.000350"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.453956" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:28.453718" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.453700" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:28.452139" elapsed="0.001944"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.454644" level="INFO">${number} = 181</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.454267" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.456131" level="INFO">${number} = 181</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.455770" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.457810" level="INFO">${device-port} = 18010</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.457191" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.460251" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:28.497216" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.497431" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.460148" elapsed="0.037340"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.498418" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:28.498555" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:28.497695" elapsed="0.001001">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:28.497648" elapsed="0.001139">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:28.459862" elapsed="0.039196">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:28.459429" elapsed="0.039849"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.500351" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18010 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:28.555358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.555612" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.499787" elapsed="0.055899"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:28.555873" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:28.556691" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:28.458662" elapsed="0.098240"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:28.557519" elapsed="0.001797"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:28.458049" elapsed="0.101506"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:28.456839" elapsed="0.102902"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:28.456314" elapsed="0.103543"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.455276" elapsed="0.104705"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:28.454823" elapsed="0.105253"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.561314" level="INFO">${next} = 18011</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.560424" elapsed="0.000955"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.562401" level="INFO">${current_port} = 18011</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:28.561801" elapsed="0.000658"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.451027" elapsed="0.111509"/>
</kw>
<msg time="2026-04-11T23:14:28.562615" level="INFO">Repeating keyword, round 182/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:28.564470" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:28.564310" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.564025" elapsed="0.000536"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.565014" level="INFO">${current_Date} = 2026-04-11 23:14:28.565</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:28.564786" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.565778" level="INFO">${ellapsed_seconds} = 2675.681</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:28.565291" elapsed="0.000524"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.566243" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:28.565912" elapsed="0.000405"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.565886" elapsed="0.000464"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:28.563691" elapsed="0.002723"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.567153" level="INFO">${number} = 182</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.566637" elapsed="0.000553"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.569166" level="INFO">${number} = 182</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.568683" elapsed="0.000519"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.571123" level="INFO">${device-port} = 18011</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.570500" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.573610" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:28.609092" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.609327" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.573488" elapsed="0.035898"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.610345" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:28.610482" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:28.609552" elapsed="0.001153">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:28.609508" elapsed="0.001296">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:28.573173" elapsed="0.037899">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:28.572781" elapsed="0.038428"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.612224" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18011 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:28.671453" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.671726" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.611739" elapsed="0.060046"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:28.671975" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:28.672779" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:28.571988" elapsed="0.100996"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:28.673562" elapsed="0.001787"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:28.571371" elapsed="0.104242"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:28.570160" elapsed="0.105604"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:28.569495" elapsed="0.106365"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.568041" elapsed="0.107937"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:28.567401" elapsed="0.108637"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.676743" level="INFO">${next} = 18012</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.676248" elapsed="0.000532"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.677528" level="INFO">${current_port} = 18012</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:28.677007" elapsed="0.000614"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.562887" elapsed="0.114815"/>
</kw>
<msg time="2026-04-11T23:14:28.677755" level="INFO">Repeating keyword, round 183/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:28.680778" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:28.680612" elapsed="0.000226"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.679129" elapsed="0.001739"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.681329" level="INFO">${current_Date} = 2026-04-11 23:14:28.681</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:28.681110" elapsed="0.000256"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.682046" level="INFO">${ellapsed_seconds} = 2675.565</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:28.681573" elapsed="0.000510"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.682501" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:28.682182" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.682157" elapsed="0.000477"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:28.678815" elapsed="0.003883"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.683445" level="INFO">${number} = 183</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.682931" elapsed="0.000551"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.685046" level="INFO">${number} = 183</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.684708" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.686684" level="INFO">${device-port} = 18012</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.686076" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.689038" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:28.725280" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.725493" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.688942" elapsed="0.036609"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.726448" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:28.726612" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:28.725759" elapsed="0.000961">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:28.725713" elapsed="0.001098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:28.688678" elapsed="0.038403">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:28.688279" elapsed="0.039003"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.728298" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18012 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:28.783284" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.783494" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.727808" elapsed="0.055739"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:28.783770" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:28.784725" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:28.687514" elapsed="0.097418"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:28.785505" elapsed="0.001764"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:28.686926" elapsed="0.100569"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:28.685743" elapsed="0.101947"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:28.685227" elapsed="0.102562"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.684250" elapsed="0.103660"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:28.683716" elapsed="0.104288"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.789139" level="INFO">${next} = 18013</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.788359" elapsed="0.000838"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.790414" level="INFO">${current_port} = 18013</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:28.789545" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.678016" elapsed="0.112651"/>
</kw>
<msg time="2026-04-11T23:14:28.790756" level="INFO">Repeating keyword, round 184/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:28.793116" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:28.793010" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.792991" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.793683" level="INFO">${current_Date} = 2026-04-11 23:14:28.793</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:28.793318" elapsed="0.000392"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.794163" level="INFO">${ellapsed_seconds} = 2675.453</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:28.793856" elapsed="0.000333"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.794485" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:28.794258" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.794240" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:28.792512" elapsed="0.002116"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.795130" level="INFO">${number} = 184</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.794771" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.796562" level="INFO">${number} = 184</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.796213" elapsed="0.000396"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.798195" level="INFO">${device-port} = 18013</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.797614" elapsed="0.000608"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.800545" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:28.837126" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.837346" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.800447" elapsed="0.036957"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.838305" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:28.838436" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:28.837573" elapsed="0.001075">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:28.837523" elapsed="0.001225">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:28.800158" elapsed="0.038865">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:28.799773" elapsed="0.039389"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.840148" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18013 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:28.894996" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.895199" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.839660" elapsed="0.055594"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:28.895433" elapsed="0.000178"/>
</return>
<msg time="2026-04-11T23:14:28.896224" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:28.799017" elapsed="0.097409"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:28.897030" elapsed="0.001749"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:28.798421" elapsed="0.100583"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:28.797256" elapsed="0.101888"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:28.796765" elapsed="0.102475"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.795777" elapsed="0.103585"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:28.795305" elapsed="0.104150"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.900565" level="INFO">${next} = 18014</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.899826" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.901942" level="INFO">${current_port} = 18014</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:28.901025" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.791165" elapsed="0.110929"/>
</kw>
<msg time="2026-04-11T23:14:28.902147" level="INFO">Repeating keyword, round 185/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:28.903689" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:28.903515" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.903487" elapsed="0.000292"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.904234" level="INFO">${current_Date} = 2026-04-11 23:14:28.904</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:28.904021" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:28.905225" level="INFO">${ellapsed_seconds} = 2675.342</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:28.904471" elapsed="0.000792"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.905720" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:28.905363" elapsed="0.000435"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:28.905337" elapsed="0.000493"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:28.903187" elapsed="0.002709"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.906628" level="INFO">${number} = 185</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.906096" elapsed="0.000571"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.908618" level="INFO">${number} = 185</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.908124" elapsed="0.000532"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:28.910806" level="INFO">${device-port} = 18014</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:28.910170" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.913167" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:28.945084" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:28.945314" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.913073" elapsed="0.032303"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:28.946332" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:28.946473" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:28.945549" elapsed="0.001060">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:28.945500" elapsed="0.001204">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:28.912807" elapsed="0.034168">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:28.912394" elapsed="0.034789"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:28.948186" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18014 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.003289" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.003495" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:28.947692" elapsed="0.055857"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.003767" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:29.004514" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:28.911642" elapsed="0.093121"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.005332" elapsed="0.001772"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:28.911034" elapsed="0.096297"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:28.909549" elapsed="0.097924"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:28.908875" elapsed="0.098694"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.907488" elapsed="0.100245"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:28.906877" elapsed="0.100952"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.008552" level="INFO">${next} = 18015</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.008087" elapsed="0.000523"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.009356" level="INFO">${current_port} = 18015</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.008832" elapsed="0.000580"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:28.902405" elapsed="0.107085"/>
</kw>
<msg time="2026-04-11T23:14:29.009544" level="INFO">Repeating keyword, round 186/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.011142" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.010989" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.010941" elapsed="0.000293"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.011683" level="INFO">${current_Date} = 2026-04-11 23:14:29.012</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.011432" elapsed="0.000288"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.012351" level="INFO">${ellapsed_seconds} = 2675.234</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.011924" elapsed="0.000462"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.013116" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.012785" elapsed="0.000407"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.012458" elapsed="0.000768"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.010634" elapsed="0.002657"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.014063" level="INFO">${number} = 186</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.013491" elapsed="0.000609"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.016175" level="INFO">${number} = 186</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.015788" elapsed="0.000412"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.017824" level="INFO">${device-port} = 18015</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.017208" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.020233" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:29.053162" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.053378" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.020136" elapsed="0.033300"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.054338" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:29.054470" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:29.053639" elapsed="0.001055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:29.053554" elapsed="0.001240">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:29.019861" elapsed="0.035200">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:29.019445" elapsed="0.035756"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.056250" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18015 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.111478" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.111717" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.055761" elapsed="0.056011"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.111955" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:29.112812" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:29.018666" elapsed="0.094352"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.113632" elapsed="0.001692"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:29.018059" elapsed="0.097517"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:29.016866" elapsed="0.098887"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:29.016357" elapsed="0.099494"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.014957" elapsed="0.101017"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.014313" elapsed="0.101754"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.117232" level="INFO">${next} = 18016</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.116434" elapsed="0.000858"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.118648" level="INFO">${current_port} = 18016</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.117694" elapsed="0.001054"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.009842" elapsed="0.109034"/>
</kw>
<msg time="2026-04-11T23:14:29.118961" level="INFO">Repeating keyword, round 187/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.121287" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.121177" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.121156" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.121721" level="INFO">${current_Date} = 2026-04-11 23:14:29.122</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.121529" elapsed="0.000219"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.122201" level="INFO">${ellapsed_seconds} = 2675.124</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.121893" elapsed="0.000334"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.122748" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.122297" elapsed="0.000506"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.122278" elapsed="0.000549"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.120868" elapsed="0.002006"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.123382" level="INFO">${number} = 187</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.123019" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.124852" level="INFO">${number} = 187</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.124473" elapsed="0.000406"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.126461" level="INFO">${device-port} = 18016</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.125881" elapsed="0.000606"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.128847" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:29.165676" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.165895" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.128744" elapsed="0.037209"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.166956" elapsed="0.000074"/>
</kw>
<msg time="2026-04-11T23:14:29.167156" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:29.166115" elapsed="0.001187">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:29.166071" elapsed="0.001364">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:29.128453" elapsed="0.039413">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:29.128046" elapsed="0.040119"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.169491" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18016 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.223162" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.223371" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.168847" elapsed="0.054579"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.223657" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:29.224417" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:29.127289" elapsed="0.097380"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.225248" elapsed="0.001771"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:29.126712" elapsed="0.100534"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:29.125526" elapsed="0.101860"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:29.125040" elapsed="0.102442"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.124022" elapsed="0.103626"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.123561" elapsed="0.104186"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.228874" level="INFO">${next} = 18017</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.228089" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.230183" level="INFO">${current_port} = 18017</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.229295" elapsed="0.000947"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.119376" elapsed="0.110944"/>
</kw>
<msg time="2026-04-11T23:14:29.230373" level="INFO">Repeating keyword, round 188/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.231940" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.231785" elapsed="0.000226"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.231750" elapsed="0.000305"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.232471" level="INFO">${current_Date} = 2026-04-11 23:14:29.232</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.232257" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.233490" level="INFO">${ellapsed_seconds} = 2675.014</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.232776" elapsed="0.000751"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.234039" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.233652" elapsed="0.000466"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.233623" elapsed="0.000529"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.231422" elapsed="0.002794"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.234951" level="INFO">${number} = 188</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.234416" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.236952" level="INFO">${number} = 188</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.236446" elapsed="0.000543"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.238934" level="INFO">${device-port} = 18017</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.238313" elapsed="0.000648"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.241300" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:29.273117" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.273329" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.241206" elapsed="0.032180"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.274304" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:29.274436" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:29.273546" elapsed="0.001109">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:29.273503" elapsed="0.001253">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:29.240937" elapsed="0.034089">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:29.240533" elapsed="0.034632"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.276148" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18017 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.335031" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.335243" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.275661" elapsed="0.059639"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.335483" elapsed="0.000187"/>
</return>
<msg time="2026-04-11T23:14:29.336282" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:29.239776" elapsed="0.096709"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.337108" elapsed="0.001720"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:29.239167" elapsed="0.099916"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:29.237950" elapsed="0.101275"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:29.237211" elapsed="0.102112"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.235838" elapsed="0.103607"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.235199" elapsed="0.104341"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.340710" level="INFO">${next} = 18018</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.339916" elapsed="0.000854"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.341994" level="INFO">${current_port} = 18018</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.341132" elapsed="0.000957"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.230654" elapsed="0.111562"/>
</kw>
<msg time="2026-04-11T23:14:29.342301" level="INFO">Repeating keyword, round 189/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.344358" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.344244" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.344225" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.344796" level="INFO">${current_Date} = 2026-04-11 23:14:29.345</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.344636" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.345471" level="INFO">${ellapsed_seconds} = 2674.901</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.344967" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.345820" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.345573" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.345550" elapsed="0.000348"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.344008" elapsed="0.001938"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.346455" level="INFO">${number} = 189</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.346094" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.347903" level="INFO">${number} = 189</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.347550" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.349525" level="INFO">${device-port} = 18018</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.348939" elapsed="0.000617"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.352009" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:29.385400" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.385649" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.351908" elapsed="0.033802"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.386564" elapsed="0.000093"/>
</kw>
<msg time="2026-04-11T23:14:29.386735" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:29.385872" elapsed="0.000968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:29.385827" elapsed="0.001101">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:29.351639" elapsed="0.035551">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:29.351238" elapsed="0.036165"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.388328" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18018 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.443255" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.443463" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.387956" elapsed="0.055561"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.443739" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:29.444543" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:29.350435" elapsed="0.094357"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.445371" elapsed="0.001722"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:29.349783" elapsed="0.097533"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:29.348572" elapsed="0.098884"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:29.348083" elapsed="0.099470"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.347110" elapsed="0.100605"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.346651" elapsed="0.101161"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.448946" level="INFO">${next} = 18019</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.448151" elapsed="0.000854"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.450248" level="INFO">${current_port} = 18019</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.449352" elapsed="0.000988"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.342750" elapsed="0.107714"/>
</kw>
<msg time="2026-04-11T23:14:29.450549" level="INFO">Repeating keyword, round 190/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.453055" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.452890" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.452847" elapsed="0.000270"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.453414" level="INFO">${current_Date} = 2026-04-11 23:14:29.453</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.453262" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.454119" level="INFO">${ellapsed_seconds} = 2674.793</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.453621" elapsed="0.000525"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.454447" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.454217" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.454199" elapsed="0.000325"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.452269" elapsed="0.002304"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.455092" level="INFO">${number} = 190</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.454732" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.456659" level="INFO">${number} = 190</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.456275" elapsed="0.000411"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.458288" level="INFO">${device-port} = 18019</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.457695" elapsed="0.000620"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.460734" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:29.493114" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.493338" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.460630" elapsed="0.032768"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.494296" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:29.494426" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:29.493562" elapsed="0.001079">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:29.493518" elapsed="0.001222">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:29.460307" elapsed="0.034700">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:29.459923" elapsed="0.035222"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.496136" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18019 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.551857" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.552238" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.495648" elapsed="0.056652"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.552619" elapsed="0.000202"/>
</return>
<msg time="2026-04-11T23:14:29.553510" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:29.459126" elapsed="0.094691"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.554522" elapsed="0.001926"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:29.458516" elapsed="0.098205"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:29.457327" elapsed="0.099557"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:29.456842" elapsed="0.100171"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.455837" elapsed="0.101311"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.455269" elapsed="0.101978"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.558345" level="INFO">${next} = 18020</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.557710" elapsed="0.000679"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.559235" level="INFO">${current_port} = 18020</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.558664" elapsed="0.000631"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.451000" elapsed="0.108377"/>
</kw>
<msg time="2026-04-11T23:14:29.559435" level="INFO">Repeating keyword, round 191/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.561310" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.561146" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.561110" elapsed="0.000292"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.562027" level="INFO">${current_Date} = 2026-04-11 23:14:29.562</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.561775" elapsed="0.000289"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.563172" level="INFO">${ellapsed_seconds} = 2674.684</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.562271" elapsed="0.000938"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.563690" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.563313" elapsed="0.000455"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.563286" elapsed="0.000515"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.560786" elapsed="0.003081"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.564627" level="INFO">${number} = 191</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.564068" elapsed="0.000598"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.566534" level="INFO">${number} = 191</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.566185" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.568230" level="INFO">${device-port} = 18020</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.567624" elapsed="0.000632"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.570727" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:29.601654" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.601894" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.570614" elapsed="0.031350"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.602947" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:29.603084" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:29.602134" elapsed="0.001057">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:29.602088" elapsed="0.001192">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:29.570324" elapsed="0.033240">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:29.569931" elapsed="0.033876"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.604849" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18020 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.659511" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.659775" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.604301" elapsed="0.055530"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.660031" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:14:29.660851" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:29.569102" elapsed="0.091958"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.661716" elapsed="0.001957"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:29.568461" elapsed="0.095452"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:29.567260" elapsed="0.096775"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:29.566751" elapsed="0.097345"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.565511" elapsed="0.098661"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.564882" elapsed="0.099350"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.664967" level="INFO">${next} = 18021</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.664455" elapsed="0.000549"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.665820" level="INFO">${current_port} = 18021</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.665232" elapsed="0.000648"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.559789" elapsed="0.106169"/>
</kw>
<msg time="2026-04-11T23:14:29.666011" level="INFO">Repeating keyword, round 192/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.667700" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.667520" elapsed="0.000239"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.667494" elapsed="0.000295"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.668225" level="INFO">${current_Date} = 2026-04-11 23:14:29.668</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.668000" elapsed="0.000262"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.669221" level="INFO">${ellapsed_seconds} = 2674.578</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.668462" elapsed="0.000796"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.669744" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.669357" elapsed="0.000468"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.669331" elapsed="0.000526"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.667177" elapsed="0.002746"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.670654" level="INFO">${number} = 192</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.670129" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.672478" level="INFO">${number} = 192</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.672144" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.674164" level="INFO">${device-port} = 18021</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.673520" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.676559" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:29.709334" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.709472" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.676462" elapsed="0.033047"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.710089" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:29.710171" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:29.709638" elapsed="0.000657">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:29.709608" elapsed="0.000747">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:29.676191" elapsed="0.034339">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:29.675796" elapsed="0.034847"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.711228" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18021 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.767544" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.767696" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.710925" elapsed="0.056805"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.767843" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:29.768330" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:29.675003" elapsed="0.093457"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.768851" elapsed="0.001065"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:29.674396" elapsed="0.095663"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:29.673179" elapsed="0.096968"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:29.672674" elapsed="0.097533"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.671563" elapsed="0.098721"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.670902" elapsed="0.099440"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.771038" level="INFO">${next} = 18022</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.770551" elapsed="0.000524"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.771838" level="INFO">${current_port} = 18022</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.771298" elapsed="0.000598"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.666282" elapsed="0.105692"/>
</kw>
<msg time="2026-04-11T23:14:29.772025" level="INFO">Repeating keyword, round 193/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.773564" elapsed="0.000065"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.773416" elapsed="0.000253"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.773390" elapsed="0.000309"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.774153" level="INFO">${current_Date} = 2026-04-11 23:14:29.774</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.773937" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.775092" level="INFO">${ellapsed_seconds} = 2674.472</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.774387" elapsed="0.000741"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.775545" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.775227" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.775202" elapsed="0.000473"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.773081" elapsed="0.002658"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.776471" level="INFO">${number} = 193</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.775937" elapsed="0.000570"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.778482" level="INFO">${number} = 193</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.778021" elapsed="0.000497"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.780819" level="INFO">${device-port} = 18022</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.779954" elapsed="0.000902"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.784121" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:29.821437" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.821597" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.783988" elapsed="0.037648"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.822182" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:14:29.822263" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:29.821739" elapsed="0.000588">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:29.821711" elapsed="0.000678">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:29.783606" elapsed="0.038948">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:29.783057" elapsed="0.039652"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.823318" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18022 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.879467" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.879632" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.823017" elapsed="0.056651"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.879790" elapsed="0.000094"/>
</return>
<msg time="2026-04-11T23:14:29.880272" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:29.781968" elapsed="0.098432"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.880801" elapsed="0.001091"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:29.781133" elapsed="0.100901"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:29.779443" elapsed="0.102681"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:29.778761" elapsed="0.103427"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.777358" elapsed="0.104907"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.776741" elapsed="0.105584"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.883022" level="INFO">${next} = 18023</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.882537" elapsed="0.000521"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.883828" level="INFO">${current_port} = 18023</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.883284" elapsed="0.000602"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.772300" elapsed="0.111663"/>
</kw>
<msg time="2026-04-11T23:14:29.884017" level="INFO">Repeating keyword, round 194/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.885724" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.885527" elapsed="0.000255"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.885493" elapsed="0.000319"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.886222" level="INFO">${current_Date} = 2026-04-11 23:14:29.886</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.886009" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.887208" level="INFO">${ellapsed_seconds} = 2674.36</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.886458" elapsed="0.000787"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.887720" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.887343" elapsed="0.000456"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.887317" elapsed="0.000514"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.885118" elapsed="0.002778"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.888616" level="INFO">${number} = 194</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.888092" elapsed="0.000561"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.890634" level="INFO">${number} = 194</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.890147" elapsed="0.000525"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.892922" level="INFO">${device-port} = 18023</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.892064" elapsed="0.000894"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.895712" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:29.929878" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.930041" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.895614" elapsed="0.034472"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.930694" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:14:29.930776" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:29.930214" elapsed="0.000692">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:29.930179" elapsed="0.000787">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:29.895325" elapsed="0.035813">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:29.894943" elapsed="0.036282"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:29.931841" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18023 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:29.987987" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:29.988117" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:29.931509" elapsed="0.056641"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:29.988264" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:29.988765" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:29.894154" elapsed="0.094739"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:29.989253" elapsed="0.001070"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:29.893288" elapsed="0.097175"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:29.891572" elapsed="0.098979"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:29.890888" elapsed="0.099763"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.889469" elapsed="0.101262"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.888863" elapsed="0.101927"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.991460" level="INFO">${next} = 18024</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.990998" elapsed="0.000497"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.992310" level="INFO">${current_port} = 18024</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:29.991737" elapsed="0.000631"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.884287" elapsed="0.108158"/>
</kw>
<msg time="2026-04-11T23:14:29.992497" level="INFO">Repeating keyword, round 195/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:29.994122" elapsed="0.000025"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:29.993947" elapsed="0.000247"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.993921" elapsed="0.000308"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.994741" level="INFO">${current_Date} = 2026-04-11 23:14:29.995</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:29.994469" elapsed="0.000308"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:29.997085" level="INFO">${ellapsed_seconds} = 2674.251</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:29.994978" elapsed="0.002145"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:29.997541" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:29.997223" elapsed="0.000462"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:29.997197" elapsed="0.000521"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:29.993613" elapsed="0.004170"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:29.998502" level="INFO">${number} = 195</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:29.998000" elapsed="0.000539"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.000655" level="INFO">${number} = 195</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.000154" elapsed="0.000538"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.003025" level="INFO">${device-port} = 18024</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.002130" elapsed="0.000941"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.005451" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:30.037441" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.037608" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.005358" elapsed="0.032290"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.038221" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:30.038303" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:30.037756" elapsed="0.000613">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:30.037726" elapsed="0.000699">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.005093" elapsed="0.033530">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.004706" elapsed="0.034054"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.039375" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18024 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:30.095657" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.095810" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.039050" elapsed="0.056795"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:30.095963" elapsed="0.000111"/>
</return>
<msg time="2026-04-11T23:14:30.096486" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.003930" elapsed="0.092717"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:30.097016" elapsed="0.001088"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.003321" elapsed="0.094926"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.001665" elapsed="0.096672"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.000908" elapsed="0.097493"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.999459" elapsed="0.099020"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:29.998794" elapsed="0.099746"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.099243" level="INFO">${next} = 18025</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.098777" elapsed="0.000502"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.100086" level="INFO">${current_port} = 18025</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:30.099500" elapsed="0.000647"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:29.992776" elapsed="0.107451"/>
</kw>
<msg time="2026-04-11T23:14:30.100282" level="INFO">Repeating keyword, round 196/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:30.101877" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:30.101724" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.101696" elapsed="0.000270"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.102384" level="INFO">${current_Date} = 2026-04-11 23:14:30.102</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:30.102166" elapsed="0.000254"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.103077" level="INFO">${ellapsed_seconds} = 2674.144</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:30.102645" elapsed="0.000467"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.103888" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:30.103496" elapsed="0.000469"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.103183" elapsed="0.000815"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:30.101348" elapsed="0.002716"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.104793" level="INFO">${number} = 196</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.104262" elapsed="0.000567"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.106305" level="INFO">${number} = 196</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.105971" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.107966" level="INFO">${device-port} = 18025</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.107332" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.110313" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:30.149296" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.149435" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.110220" elapsed="0.039251"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.150041" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:14:30.150123" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:30.149602" elapsed="0.000642">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:30.149545" elapsed="0.000759">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.109951" elapsed="0.040518">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.109551" elapsed="0.041006"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.151166" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18025 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:30.211548" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.211703" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.150865" elapsed="0.060872"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:30.211851" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:30.212319" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.108802" elapsed="0.103646"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:30.212842" elapsed="0.001092"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.108198" elapsed="0.105880"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.106999" elapsed="0.107168"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.106486" elapsed="0.107744"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.105485" elapsed="0.108824"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:30.105043" elapsed="0.109325"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.215062" level="INFO">${next} = 18026</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.214600" elapsed="0.000498"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.215860" level="INFO">${current_port} = 18026</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:30.215319" elapsed="0.000600"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.100541" elapsed="0.115456"/>
</kw>
<msg time="2026-04-11T23:14:30.216050" level="INFO">Repeating keyword, round 197/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:30.217644" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:30.217449" elapsed="0.000255"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.217423" elapsed="0.000312"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.218192" level="INFO">${current_Date} = 2026-04-11 23:14:30.218</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:30.217977" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.218875" level="INFO">${ellapsed_seconds} = 2674.028</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:30.218429" elapsed="0.000482"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.219627" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:30.219009" elapsed="0.000697"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.218984" elapsed="0.000755"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:30.217118" elapsed="0.002686"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.220512" level="INFO">${number} = 197</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.220005" elapsed="0.000544"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.222508" level="INFO">${number} = 197</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.222149" elapsed="0.000385"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.224153" level="INFO">${device-port} = 18026</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.223541" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.226548" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:30.261316" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.261492" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.226455" elapsed="0.035075"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.262141" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:14:30.262228" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:30.261673" elapsed="0.000623">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:30.261638" elapsed="0.000715">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.226183" elapsed="0.036348">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.225800" elapsed="0.036897"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.263311" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18026 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:30.319645" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.319776" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.262997" elapsed="0.056813"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:30.319926" elapsed="0.000093"/>
</return>
<msg time="2026-04-11T23:14:30.320403" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.225006" elapsed="0.095524"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:30.320927" elapsed="0.001090"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.224385" elapsed="0.098060"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.223202" elapsed="0.099375"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.222713" elapsed="0.099957"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.221443" elapsed="0.101308"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:30.220786" elapsed="0.102026"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.324530" level="INFO">${next} = 18027</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.323051" elapsed="0.001519"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.325392" level="INFO">${current_port} = 18027</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:30.324816" elapsed="0.000633"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.216305" elapsed="0.109222"/>
</kw>
<msg time="2026-04-11T23:14:30.325624" level="INFO">Repeating keyword, round 198/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:30.327267" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:30.327117" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.327089" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.327807" level="INFO">${current_Date} = 2026-04-11 23:14:30.328</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:30.327554" elapsed="0.000289"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.328533" level="INFO">${ellapsed_seconds} = 2673.918</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:30.328058" elapsed="0.000515"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.329376" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:30.328690" elapsed="0.000763"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.328664" elapsed="0.000821"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:30.326776" elapsed="0.002775"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.330350" level="INFO">${number} = 198</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.329810" elapsed="0.000577"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.331995" level="INFO">${number} = 198</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.331658" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.333732" level="INFO">${device-port} = 18027</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.333118" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.336115" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:30.373669" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.374039" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.336017" elapsed="0.038091"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.375328" elapsed="0.000068"/>
</kw>
<msg time="2026-04-11T23:14:30.375482" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:30.374356" elapsed="0.001464">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:30.374282" elapsed="0.001651">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.335753" elapsed="0.040516">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.335349" elapsed="0.041087"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.377631" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18027 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:30.431636" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.431850" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.377011" elapsed="0.054894"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:30.432094" elapsed="0.000173"/>
</return>
<msg time="2026-04-11T23:14:30.432951" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.334568" elapsed="0.098591"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:30.433792" elapsed="0.001938"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.333962" elapsed="0.102005"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.332782" elapsed="0.103331"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.332254" elapsed="0.103963"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.331205" elapsed="0.105144"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:30.330623" elapsed="0.105858"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.437685" level="INFO">${next} = 18028</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.436854" elapsed="0.000937"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.439086" level="INFO">${current_port} = 18028</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:30.438170" elapsed="0.001009"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.325898" elapsed="0.113410"/>
</kw>
<msg time="2026-04-11T23:14:30.439462" level="INFO">Repeating keyword, round 199/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:30.441084" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:30.440974" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.440953" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.441518" level="INFO">${current_Date} = 2026-04-11 23:14:30.441</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:30.441339" elapsed="0.000205"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.442074" level="INFO">${ellapsed_seconds} = 2673.805</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:30.441729" elapsed="0.000371"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.442696" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:30.442170" elapsed="0.000583"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.442152" elapsed="0.000625"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:30.440729" elapsed="0.002095"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.443343" level="INFO">${number} = 199</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.442968" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.445261" level="INFO">${number} = 199</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.444797" elapsed="0.000503"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.447325" level="INFO">${device-port} = 18028</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.446717" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.449895" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:30.481702" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.481922" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.449781" elapsed="0.032200"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.482912" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:30.483051" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:30.482157" elapsed="0.001005">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:30.482109" elapsed="0.001144">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.449489" elapsed="0.034046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.449077" elapsed="0.034817"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.485020" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18028 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:30.539658" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.539868" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.484464" elapsed="0.055459"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:30.540111" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:30.541011" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.448288" elapsed="0.092935"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:30.541843" elapsed="0.001796"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.447657" elapsed="0.096212"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.446252" elapsed="0.097763"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.445520" elapsed="0.098607"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.444196" elapsed="0.100061"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:30.443572" elapsed="0.100782"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.545391" level="INFO">${next} = 18029</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.544832" elapsed="0.000595"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.546230" level="INFO">${current_port} = 18029</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:30.545682" elapsed="0.000606"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.439992" elapsed="0.106374"/>
</kw>
<msg time="2026-04-11T23:14:30.546421" level="INFO">Repeating keyword, round 200/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:30.547998" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:30.547850" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.547823" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.548527" level="INFO">${current_Date} = 2026-04-11 23:14:30.548</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:30.548292" elapsed="0.000309"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.549652" level="INFO">${ellapsed_seconds} = 2673.698</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:30.548851" elapsed="0.000839"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.550133" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:30.549791" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.549765" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:30.547487" elapsed="0.002817"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.551035" level="INFO">${number} = 200</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.550501" elapsed="0.000570"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.553227" level="INFO">${number} = 200</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.552709" elapsed="0.000544"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.554867" level="INFO">${device-port} = 18029</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.554257" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.557293" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:30.593179" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.593416" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.557192" elapsed="0.036282"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.594381" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:30.594511" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:30.593681" elapsed="0.001049">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:30.593634" elapsed="0.001197">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.556910" elapsed="0.038190">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.556449" elapsed="0.038788"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.596229" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18029 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:30.651968" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.652258" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.595743" elapsed="0.056574"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:30.652551" elapsed="0.000212"/>
</return>
<msg time="2026-04-11T23:14:30.653435" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.555698" elapsed="0.098033"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:30.654372" elapsed="0.001820"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.555091" elapsed="0.101332"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.553919" elapsed="0.102657"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.553409" elapsed="0.103309"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.551982" elapsed="0.104869"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:30.551283" elapsed="0.105668"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.658123" level="INFO">${next} = 18030</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.657300" elapsed="0.000861"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.658963" level="INFO">${current_port} = 18030</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:30.658387" elapsed="0.000635"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.546710" elapsed="0.112394"/>
</kw>
<msg time="2026-04-11T23:14:30.659162" level="INFO">Repeating keyword, round 201/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:30.661016" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:30.660854" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.660824" elapsed="0.000281"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.661651" level="INFO">${current_Date} = 2026-04-11 23:14:30.661</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:30.661378" elapsed="0.000311"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.662777" level="INFO">${ellapsed_seconds} = 2673.585</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:30.661910" elapsed="0.000904"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.663261" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:30.662913" elapsed="0.000423"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.662887" elapsed="0.000481"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:30.660479" elapsed="0.002955"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.664170" level="INFO">${number} = 201</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.663656" elapsed="0.000550"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.666189" level="INFO">${number} = 201</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.665700" elapsed="0.000515"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.667847" level="INFO">${device-port} = 18030</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.667227" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.670285" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:30.701394" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.701645" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.670175" elapsed="0.031530"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.702641" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:30.702778" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:30.701867" elapsed="0.001019">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:30.701823" elapsed="0.001151">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.669909" elapsed="0.033345">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.669465" elapsed="0.033993"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.704516" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18030 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:30.759638" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.759849" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.704028" elapsed="0.055875"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:30.760086" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:30.760929" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.668680" elapsed="0.092461"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:30.761784" elapsed="0.001744"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.668075" elapsed="0.095718"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.666887" elapsed="0.097048"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.666372" elapsed="0.097661"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.665066" elapsed="0.099097"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:30.664420" elapsed="0.099838"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.765395" level="INFO">${next} = 18031</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.764641" elapsed="0.000811"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.766791" level="INFO">${current_port} = 18031</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:30.765866" elapsed="0.001065"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.659472" elapsed="0.107586"/>
</kw>
<msg time="2026-04-11T23:14:30.767145" level="INFO">Repeating keyword, round 202/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:30.768784" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:30.768676" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.768657" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.769135" level="INFO">${current_Date} = 2026-04-11 23:14:30.769</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:30.768985" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.769833" level="INFO">${ellapsed_seconds} = 2673.477</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:30.769309" elapsed="0.000550"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.770163" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:30.769930" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.769911" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:30.768417" elapsed="0.001867"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.770845" level="INFO">${number} = 202</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.770425" elapsed="0.000446"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.772259" level="INFO">${number} = 202</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.771930" elapsed="0.000355"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.773905" level="INFO">${device-port} = 18031</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.773288" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.776343" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:30.809454" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.809703" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.776248" elapsed="0.033516"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.810664" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:30.810796" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:30.809927" elapsed="0.001046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:30.809882" elapsed="0.001188">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.775976" elapsed="0.035391">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.775524" elapsed="0.035985"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.812474" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18031 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:30.867435" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.867689" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.811993" elapsed="0.055753"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:30.867961" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:14:30.868764" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.774745" elapsed="0.094225"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:30.869550" elapsed="0.001780"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.774138" elapsed="0.097421"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.772948" elapsed="0.098791"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.772445" elapsed="0.099438"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.771479" elapsed="0.100535"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:30.771042" elapsed="0.101061"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.872800" level="INFO">${next} = 18032</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.872315" elapsed="0.000521"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.873630" level="INFO">${current_port} = 18032</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:30.873064" elapsed="0.000627"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.767556" elapsed="0.106216"/>
</kw>
<msg time="2026-04-11T23:14:30.873826" level="INFO">Repeating keyword, round 203/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:30.875413" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:30.875262" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.875235" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.876039" level="INFO">${current_Date} = 2026-04-11 23:14:30.876</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:30.875772" elapsed="0.000304"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.877022" level="INFO">${ellapsed_seconds} = 2673.37</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:30.876278" elapsed="0.000784"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.877486" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:30.877162" elapsed="0.000397"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.877136" elapsed="0.000496"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:30.874921" elapsed="0.002777"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.878406" level="INFO">${number} = 203</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.877898" elapsed="0.000544"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.880453" level="INFO">${number} = 203</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.879989" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.882335" level="INFO">${device-port} = 18032</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.881748" elapsed="0.000613"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.884721" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:30.921478" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.921731" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.884623" elapsed="0.037166"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.922682" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:30.922813" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:30.921951" elapsed="0.000967">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:30.921908" elapsed="0.001116">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.884333" elapsed="0.039947">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.883925" elapsed="0.040624"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.925528" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18032 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:30.979647" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:30.979858" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.925045" elapsed="0.054867"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:30.980097" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:30.980914" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.883164" elapsed="0.098025"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:30.981805" elapsed="0.001703"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.882561" elapsed="0.101214"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.881385" elapsed="0.102532"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.880727" elapsed="0.103287"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.879328" elapsed="0.104807"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:30.878709" elapsed="0.105520"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.985394" level="INFO">${next} = 18033</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.984564" elapsed="0.000889"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.986856" level="INFO">${current_port} = 18033</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:30.985866" elapsed="0.001084"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.874103" elapsed="0.112972"/>
</kw>
<msg time="2026-04-11T23:14:30.987162" level="INFO">Repeating keyword, round 204/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:30.989831" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:30.989473" elapsed="0.000451"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.989422" elapsed="0.000550"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.990333" level="INFO">${current_Date} = 2026-04-11 23:14:30.990</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:30.990182" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:30.991028" level="INFO">${ellapsed_seconds} = 2673.256</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:30.990501" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:30.991353" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:30.991126" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:30.991106" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:30.988880" elapsed="0.002594"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.991994" level="INFO">${number} = 204</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.991633" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.993406" level="INFO">${number} = 204</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.993074" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:30.995046" level="INFO">${device-port} = 18033</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:30.994429" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:30.997423" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:31.029245" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.029356" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:30.997328" elapsed="0.032055"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.029790" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:31.029849" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:31.029457" elapsed="0.000474">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:31.029437" elapsed="0.000538">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:30.997051" elapsed="0.033104">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:30.996635" elapsed="0.033657"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.031271" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18033 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:31.087439" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.087693" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.030790" elapsed="0.056960"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:31.087939" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:14:31.088748" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:30.995868" elapsed="0.093087"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:31.089539" elapsed="0.001845"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:30.995272" elapsed="0.096376"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:30.994094" elapsed="0.097700"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:30.993605" elapsed="0.098288"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.992624" elapsed="0.099392"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:30.992169" elapsed="0.099943"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.093229" level="INFO">${next} = 18034</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.092448" elapsed="0.000839"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.094558" level="INFO">${current_port} = 18034</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:31.093696" elapsed="0.001027"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:30.987602" elapsed="0.107247"/>
</kw>
<msg time="2026-04-11T23:14:31.094933" level="INFO">Repeating keyword, round 205/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:31.097431" elapsed="0.000044"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:31.097194" elapsed="0.000342"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.097152" elapsed="0.000490"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.098439" level="INFO">${current_Date} = 2026-04-11 23:14:31.098</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:31.098088" elapsed="0.000408"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.099508" level="INFO">${ellapsed_seconds} = 2673.148</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:31.098903" elapsed="0.000631"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.099855" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:31.099622" elapsed="0.000287"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.099603" elapsed="0.000329"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:31.096666" elapsed="0.003317"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.100484" level="INFO">${number} = 205</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.100124" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.101904" level="INFO">${number} = 205</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.101555" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.103539" level="INFO">${device-port} = 18034</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.102956" elapsed="0.000609"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.105930" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:31.137609" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.137841" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.105834" elapsed="0.032067"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.138860" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:31.138997" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:31.138069" elapsed="0.001035">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:31.138023" elapsed="0.001223">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:31.105525" elapsed="0.034013">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:31.105143" elapsed="0.034637"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.140788" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18034 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:31.195713" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.195934" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.140252" elapsed="0.055739"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:31.196182" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:31.197003" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:31.104378" elapsed="0.092840"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:31.197864" elapsed="0.001789"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:31.103795" elapsed="0.096091"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:31.102615" elapsed="0.097413"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:31.102104" elapsed="0.098022"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.101121" elapsed="0.099130"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:31.100677" elapsed="0.099670"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.201489" level="INFO">${next} = 18035</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.200732" elapsed="0.000816"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.202889" level="INFO">${current_port} = 18035</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:31.201966" elapsed="0.001062"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.095366" elapsed="0.107792"/>
</kw>
<msg time="2026-04-11T23:14:31.203259" level="INFO">Repeating keyword, round 206/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:31.204829" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:31.204722" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.204702" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.205191" level="INFO">${current_Date} = 2026-04-11 23:14:31.205</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:31.205039" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.205907" level="INFO">${ellapsed_seconds} = 2673.041</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:31.205361" elapsed="0.000573"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.206237" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:31.206007" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.205988" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:31.204462" elapsed="0.001897"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.206911" level="INFO">${number} = 206</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.206502" elapsed="0.000453"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.208344" level="INFO">${number} = 206</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.208004" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.209994" level="INFO">${device-port} = 18035</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.209373" elapsed="0.000648"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.212394" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:31.249165" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.249262" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.212298" elapsed="0.036990"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.249695" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:31.249754" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:31.249363" elapsed="0.000480">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:31.249343" elapsed="0.000543">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:31.212026" elapsed="0.037981">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:31.211637" elapsed="0.038445"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.251050" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18035 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:31.307678" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.307915" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.250527" elapsed="0.057444"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:31.308159" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:14:31.308971" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:31.210825" elapsed="0.098349"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:31.309819" elapsed="0.001705"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:31.210221" elapsed="0.101563"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:31.209037" elapsed="0.102906"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:31.208526" elapsed="0.103519"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.207549" elapsed="0.104620"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:31.207107" elapsed="0.105158"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.313450" level="INFO">${next} = 18036</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.312690" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.314897" level="INFO">${current_port} = 18036</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:31.313969" elapsed="0.001024"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.203712" elapsed="0.111409"/>
</kw>
<msg time="2026-04-11T23:14:31.315207" level="INFO">Repeating keyword, round 207/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:31.317422" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:31.317312" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.317288" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.317857" level="INFO">${current_Date} = 2026-04-11 23:14:31.318</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:31.317694" elapsed="0.000189"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.319763" level="INFO">${ellapsed_seconds} = 2672.928</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:31.318027" elapsed="0.001762"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.320114" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:31.319861" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.319842" elapsed="0.000348"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:31.317060" elapsed="0.003176"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.320754" level="INFO">${number} = 207</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.320376" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.322157" level="INFO">${number} = 207</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.321824" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.324293" level="INFO">${device-port} = 18036</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.323660" elapsed="0.000659"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.326690" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:31.357545" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.357796" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.326592" elapsed="0.031262"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.358747" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:31.358880" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:31.358012" elapsed="0.000971">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:31.357968" elapsed="0.001105">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:31.326312" elapsed="0.033032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:31.325929" elapsed="0.033625"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.360562" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18036 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:31.415831" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.416039" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.360046" elapsed="0.056046"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:31.416275" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:31.417109" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:31.325126" elapsed="0.092190"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:31.417955" elapsed="0.001738"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:31.324521" elapsed="0.095401"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:31.322851" elapsed="0.097209"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:31.322337" elapsed="0.097819"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.321371" elapsed="0.098905"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:31.320932" elapsed="0.099437"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.421496" level="INFO">${next} = 18037</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.420737" elapsed="0.000817"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.422876" level="INFO">${current_port} = 18037</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:31.421967" elapsed="0.001006"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.315662" elapsed="0.107438"/>
</kw>
<msg time="2026-04-11T23:14:31.423185" level="INFO">Repeating keyword, round 208/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:31.425748" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:31.425450" elapsed="0.000391"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.425408" elapsed="0.000480"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.426279" level="INFO">${current_Date} = 2026-04-11 23:14:31.426</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:31.426130" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.426785" level="INFO">${ellapsed_seconds} = 2672.82</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:31.426446" elapsed="0.000364"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.427302" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:31.427066" elapsed="0.000289"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.426860" elapsed="0.000519"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:31.424872" elapsed="0.002553"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.427947" level="INFO">${number} = 208</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.427571" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.429371" level="INFO">${number} = 208</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.429034" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.431010" level="INFO">${device-port} = 18037</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.430388" elapsed="0.000649"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.433388" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:31.465567" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.465816" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.433292" elapsed="0.032582"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.466756" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:31.466888" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:31.466034" elapsed="0.001036">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:31.465989" elapsed="0.001182">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:31.432993" elapsed="0.034442">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:31.432612" elapsed="0.034992"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.468542" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18037 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:31.523953" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.524168" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.468061" elapsed="0.056162"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:31.524411" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:31.526247" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:31.431843" elapsed="0.094613"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:31.527078" elapsed="0.001788"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:31.431238" elapsed="0.097861"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:31.430053" elapsed="0.099186"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:31.429552" elapsed="0.099786"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.428564" elapsed="0.100897"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:31.428126" elapsed="0.101429"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.530766" level="INFO">${next} = 18038</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.529982" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.531698" level="INFO">${current_port} = 18038</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:31.531148" elapsed="0.000608"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.423627" elapsed="0.108208"/>
</kw>
<msg time="2026-04-11T23:14:31.531888" level="INFO">Repeating keyword, round 209/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:31.533446" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:31.533299" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.533272" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.534085" level="INFO">${current_Date} = 2026-04-11 23:14:31.534</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:31.533845" elapsed="0.000277"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.534776" level="INFO">${ellapsed_seconds} = 2672.712</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:31.534324" elapsed="0.000487"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.535509" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:31.534909" elapsed="0.000699"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.534883" elapsed="0.000759"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:31.532968" elapsed="0.002741"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.536414" level="INFO">${number} = 209</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.535909" elapsed="0.000541"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.538471" level="INFO">${number} = 209</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.537963" elapsed="0.000544"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.540267" level="INFO">${device-port} = 18038</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.539680" elapsed="0.000614"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.542697" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:31.577470" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.577723" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.542573" elapsed="0.035210"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.578867" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:31.579005" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:31.577943" elapsed="0.001167">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:31.577900" elapsed="0.001300">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:31.542303" elapsed="0.037165">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:31.541897" elapsed="0.037833"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.580722" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18038 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:31.636033" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.636275" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.580200" elapsed="0.056136"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:31.636539" elapsed="0.000217"/>
</return>
<msg time="2026-04-11T23:14:31.637449" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:31.541107" elapsed="0.096610"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:31.638351" elapsed="0.001929"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:31.540494" elapsed="0.100031"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:31.539328" elapsed="0.101388"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:31.538746" elapsed="0.102080"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.537321" elapsed="0.103636"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:31.536703" elapsed="0.104355"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.642280" level="INFO">${next} = 18039</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.641429" elapsed="0.000914"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.643827" level="INFO">${current_port} = 18039</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:31.642762" elapsed="0.001166"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.532155" elapsed="0.111896"/>
</kw>
<msg time="2026-04-11T23:14:31.644092" level="INFO">Repeating keyword, round 210/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:31.645203" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:31.645097" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.645077" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.645571" level="INFO">${current_Date} = 2026-04-11 23:14:31.645</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:31.645407" elapsed="0.000223"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.646082" level="INFO">${ellapsed_seconds} = 2672.601</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:31.645776" elapsed="0.000332"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.646626" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:31.646177" elapsed="0.000505"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.646158" elapsed="0.000547"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:31.644859" elapsed="0.001894"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.647301" level="INFO">${number} = 210</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.646896" elapsed="0.000432"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.648799" level="INFO">${number} = 210</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.648435" elapsed="0.000390"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.650450" level="INFO">${device-port} = 18039</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.649857" elapsed="0.000619"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.652842" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:31.685791" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.686023" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.652745" elapsed="0.033341"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.687057" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:31.687195" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:31.686262" elapsed="0.001190">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:31.686214" elapsed="0.001345">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:31.652457" elapsed="0.035438">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:31.652072" elapsed="0.035975"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.689125" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18039 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:31.744015" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.744321" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.688561" elapsed="0.055816"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:31.744664" elapsed="0.000172"/>
</return>
<msg time="2026-04-11T23:14:31.745500" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:31.651313" elapsed="0.094439"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:31.746394" elapsed="0.001889"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:31.650697" elapsed="0.097818"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:31.649472" elapsed="0.099215"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:31.648982" elapsed="0.099810"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.647944" elapsed="0.100978"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:31.647481" elapsed="0.101539"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.750166" level="INFO">${next} = 18040</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.749361" elapsed="0.000863"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.751458" level="INFO">${current_port} = 18040</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:31.750606" elapsed="0.000944"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.644283" elapsed="0.107428"/>
</kw>
<msg time="2026-04-11T23:14:31.751797" level="INFO">Repeating keyword, round 211/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:31.753770" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:31.753656" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.753633" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.754247" level="INFO">${current_Date} = 2026-04-11 23:14:31.754</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:31.754054" elapsed="0.000221"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.754772" level="INFO">${ellapsed_seconds} = 2672.492</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:31.754424" elapsed="0.000375"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.755358" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:31.754870" elapsed="0.000543"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.754852" elapsed="0.000585"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:31.753375" elapsed="0.002109"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.756038" level="INFO">${number} = 211</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.755659" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.757464" level="INFO">${number} = 211</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.757127" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.759141" level="INFO">${device-port} = 18040</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.758519" elapsed="0.000649"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.761776" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:31.797601" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.797805" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.761664" elapsed="0.036183"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.798538" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:14:31.798649" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:31.797994" elapsed="0.000733">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:31.797946" elapsed="0.000846">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:31.761374" elapsed="0.037626">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:31.760921" elapsed="0.038250"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.799864" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18040 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:31.855719" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.855942" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.799510" elapsed="0.056492"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:31.856202" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:14:31.857130" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:31.759979" elapsed="0.097377"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:31.858035" elapsed="0.001924"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:31.759370" elapsed="0.100831"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:31.758183" elapsed="0.102168"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:31.757683" elapsed="0.102775"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.756679" elapsed="0.103948"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:31.756219" elapsed="0.104516"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.862048" level="INFO">${next} = 18041</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.861202" elapsed="0.000885"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.862880" level="INFO">${current_port} = 18041</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:31.862315" elapsed="0.000622"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.752293" elapsed="0.110723"/>
</kw>
<msg time="2026-04-11T23:14:31.863071" level="INFO">Repeating keyword, round 212/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:31.864670" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:31.864495" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.864469" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.865205" level="INFO">${current_Date} = 2026-04-11 23:14:31.865</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:31.864967" elapsed="0.000275"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.866322" level="INFO">${ellapsed_seconds} = 2672.381</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:31.865445" elapsed="0.000915"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.866829" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:31.866461" elapsed="0.000443"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.866434" elapsed="0.000504"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:31.864167" elapsed="0.002836"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.867735" level="INFO">${number} = 212</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.867206" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.869774" level="INFO">${number} = 212</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.869258" elapsed="0.000552"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.871466" level="INFO">${device-port} = 18041</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.870880" elapsed="0.000613"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.873857" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:31.905509" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.905681" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.873761" elapsed="0.031957"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.906433" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:31.906605" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:31.905822" elapsed="0.001043">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:31.905793" elapsed="0.003844">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:31.873471" elapsed="0.036548">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:31.873089" elapsed="0.037092"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.911283" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18041 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:31.964080" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:31.964304" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.910743" elapsed="0.053619"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:31.964554" elapsed="0.000207"/>
</return>
<msg time="2026-04-11T23:14:31.965416" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:31.872303" elapsed="0.093376"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:31.966382" elapsed="0.001856"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:31.871719" elapsed="0.096763"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:31.870532" elapsed="0.098132"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:31.870032" elapsed="0.098741"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.868613" elapsed="0.100293"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:31.867982" elapsed="0.101028"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.970249" level="INFO">${next} = 18042</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.969374" elapsed="0.000937"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.971784" level="INFO">${current_port} = 18042</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:31.970737" elapsed="0.001148"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.863341" elapsed="0.108678"/>
</kw>
<msg time="2026-04-11T23:14:31.972111" level="INFO">Repeating keyword, round 213/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:31.974467" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:31.974357" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.974338" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.974899" level="INFO">${current_Date} = 2026-04-11 23:14:31.975</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:31.974735" elapsed="0.000190"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:31.975618" level="INFO">${ellapsed_seconds} = 2672.271</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:31.975071" elapsed="0.000574"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:31.975958" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:31.975717" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:31.975698" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:31.974092" elapsed="0.001989"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.976600" level="INFO">${number} = 213</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.976223" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.978052" level="INFO">${number} = 213</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.977694" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:31.979687" level="INFO">${device-port} = 18042</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:31.979079" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:31.982068" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:32.017449" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.017714" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:31.981971" elapsed="0.035807"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.018790" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:32.018930" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:32.017953" elapsed="0.001089">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:32.017904" elapsed="0.001233">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:31.981667" elapsed="0.037752">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:31.981265" elapsed="0.038404"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.020720" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18042 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:32.075845" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.076046" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.020155" elapsed="0.055945"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:32.076279" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:32.077071" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:31.980495" elapsed="0.096779"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:32.077893" elapsed="0.001809"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:31.979916" elapsed="0.100029"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:31.978746" elapsed="0.101350"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:31.978236" elapsed="0.101967"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.977223" elapsed="0.103113"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:31.976780" elapsed="0.103659"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.081634" level="INFO">${next} = 18043</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.080840" elapsed="0.000855"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.082969" level="INFO">${current_port} = 18043</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:32.082051" elapsed="0.001013"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:31.972574" elapsed="0.110613"/>
</kw>
<msg time="2026-04-11T23:14:32.083249" level="INFO">Repeating keyword, round 214/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:32.084346" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:32.084238" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.084214" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.084715" level="INFO">${current_Date} = 2026-04-11 23:14:32.085</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:32.084547" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.085382" level="INFO">${ellapsed_seconds} = 2672.161</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:32.084883" elapsed="0.000525"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.085745" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:32.085479" elapsed="0.000320"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.085460" elapsed="0.000362"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:32.083998" elapsed="0.001869"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.086366" level="INFO">${number} = 214</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.086009" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.087787" level="INFO">${number} = 214</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.087439" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.089395" level="INFO">${device-port} = 18043</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.088804" elapsed="0.000617"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.091815" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:32.133603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.133830" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.091716" elapsed="0.042172"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.134800" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:32.134933" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:32.134057" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:32.134012" elapsed="0.001237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:32.091425" elapsed="0.044094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:32.091045" elapsed="0.044649"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.136691" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18043 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:32.191511" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.191737" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.136159" elapsed="0.055622"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:32.191934" elapsed="0.000117"/>
</return>
<msg time="2026-04-11T23:14:32.192365" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:32.090245" elapsed="0.102212"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:32.192743" elapsed="0.000771"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:32.089659" elapsed="0.103978"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:32.088453" elapsed="0.105251"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:32.087966" elapsed="0.105785"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.087008" elapsed="0.106800"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:32.086541" elapsed="0.107311"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.194341" level="INFO">${next} = 18044</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.194005" elapsed="0.000362"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.194929" level="INFO">${current_port} = 18044</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:32.194525" elapsed="0.000445"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.083433" elapsed="0.111593"/>
</kw>
<msg time="2026-04-11T23:14:32.195069" level="INFO">Repeating keyword, round 215/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:32.196204" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:32.196092" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.196073" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.196629" level="INFO">${current_Date} = 2026-04-11 23:14:32.197</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:32.196449" elapsed="0.000207"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.197331" level="INFO">${ellapsed_seconds} = 2672.049</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:32.196801" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.197727" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:32.197428" elapsed="0.000364"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.197409" elapsed="0.000410"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:32.195854" elapsed="0.002021"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.198464" level="INFO">${number} = 215</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.198048" elapsed="0.000445"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.200127" level="INFO">${number} = 215</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.199785" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.201877" level="INFO">${device-port} = 18044</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.201160" elapsed="0.000743"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.204267" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:32.241389" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.241648" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.204172" elapsed="0.037536"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.242606" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:32.242743" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:32.241874" elapsed="0.000973">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:32.241828" elapsed="0.001108">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:32.203907" elapsed="0.039298">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:32.203481" elapsed="0.039929"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.244495" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18044 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:32.300995" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.301239" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.243919" elapsed="0.057380"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:32.301507" elapsed="0.000217"/>
</return>
<msg time="2026-04-11T23:14:32.302396" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:32.202717" elapsed="0.099938"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:32.303287" elapsed="0.001938"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:32.202107" elapsed="0.103366"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:32.200827" elapsed="0.104833"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:32.200314" elapsed="0.105452"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.199227" elapsed="0.106671"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:32.198693" elapsed="0.107310"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.307323" level="INFO">${next} = 18045</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.306380" elapsed="0.001007"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.308811" level="INFO">${current_port} = 18045</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:32.307820" elapsed="0.001094"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.195257" elapsed="0.113786"/>
</kw>
<msg time="2026-04-11T23:14:32.309087" level="INFO">Repeating keyword, round 216/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:32.310215" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:32.310107" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.310088" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.310620" level="INFO">${current_Date} = 2026-04-11 23:14:32.311</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:32.310424" elapsed="0.000223"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.311335" level="INFO">${ellapsed_seconds} = 2671.935</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:32.310792" elapsed="0.000569"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.311686" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:32.311432" elapsed="0.000308"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.311413" elapsed="0.000350"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:32.309864" elapsed="0.001945"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.312315" level="INFO">${number} = 216</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.311951" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.313755" level="INFO">${number} = 216</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.313401" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.315405" level="INFO">${device-port} = 18045</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.314813" elapsed="0.000619"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.317811" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:32.349034" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.349281" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.317710" elapsed="0.031631"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.350322" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:14:32.350467" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:32.349518" elapsed="0.001201">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:32.349466" elapsed="0.001358">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:32.317424" elapsed="0.033705">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:32.317035" elapsed="0.034244"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.352353" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18045 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:32.407277" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.407499" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.351825" elapsed="0.055732"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:32.407795" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:14:32.408651" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:32.316241" elapsed="0.092680"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:32.409667" elapsed="0.001857"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:32.315653" elapsed="0.096151"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:32.314430" elapsed="0.097525"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:32.313938" elapsed="0.098122"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.312966" elapsed="0.099226"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:32.312491" elapsed="0.099802"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.413521" level="INFO">${next} = 18046</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.412692" elapsed="0.000945"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.414959" level="INFO">${current_port} = 18046</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:32.414021" elapsed="0.001038"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.309279" elapsed="0.105913"/>
</kw>
<msg time="2026-04-11T23:14:32.415283" level="INFO">Repeating keyword, round 217/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:32.418076" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:32.417816" elapsed="0.000309"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.417769" elapsed="0.000377"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.418488" level="INFO">${current_Date} = 2026-04-11 23:14:32.418</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:32.418319" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.419209" level="INFO">${ellapsed_seconds} = 2671.828</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:32.418677" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.419542" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:32.419307" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.419288" elapsed="0.000349"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:32.417111" elapsed="0.002572"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.420186" level="INFO">${number} = 217</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.419826" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.421631" level="INFO">${number} = 217</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.421256" elapsed="0.000402"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.423253" level="INFO">${device-port} = 18046</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.422664" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.425654" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:32.457250" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.457461" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.425535" elapsed="0.031982"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.458463" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:32.458638" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:32.457740" elapsed="0.001011">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:32.457671" elapsed="0.001177">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:32.425235" elapsed="0.033897">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:32.424852" elapsed="0.034501"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.460391" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18046 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:32.515763" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.515987" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.459890" elapsed="0.056153"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:32.516230" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:32.517052" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:32.424083" elapsed="0.093179"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:32.517884" elapsed="0.001753"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:32.423479" elapsed="0.096388"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:32.422308" elapsed="0.097698"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:32.421814" elapsed="0.098289"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.420825" elapsed="0.099399"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:32.420364" elapsed="0.099953"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.521437" level="INFO">${next} = 18047</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.520690" elapsed="0.000805"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.522841" level="INFO">${current_port} = 18047</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:32.521909" elapsed="0.001028"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.415761" elapsed="0.107300"/>
</kw>
<msg time="2026-04-11T23:14:32.523137" level="INFO">Repeating keyword, round 218/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:32.524717" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:32.524527" elapsed="0.000249"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.524500" elapsed="0.000306"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.525219" level="INFO">${current_Date} = 2026-04-11 23:14:32.525</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:32.525000" elapsed="0.000260"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.526260" level="INFO">${ellapsed_seconds} = 2671.721</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:32.525460" elapsed="0.000839"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.526750" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:32.526399" elapsed="0.000427"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.526373" elapsed="0.000486"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:32.524198" elapsed="0.002724"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.527654" level="INFO">${number} = 218</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.527117" elapsed="0.000575"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.529634" level="INFO">${number} = 218</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.529144" elapsed="0.000528"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.531745" level="INFO">${device-port} = 18047</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.531092" elapsed="0.000680"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.534111" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:32.569301" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.569522" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.534012" elapsed="0.035613"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.570498" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:32.570684" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:32.569796" elapsed="0.001083">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:32.569750" elapsed="0.001226">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:32.533739" elapsed="0.037514">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:32.533337" elapsed="0.038056"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.572368" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18047 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:32.628133" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.628339" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.571889" elapsed="0.056503"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:32.628617" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:14:32.629380" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:32.532563" elapsed="0.097064"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:32.630211" elapsed="0.001801"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:32.531978" elapsed="0.100203"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:32.530623" elapsed="0.101647"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:32.529889" elapsed="0.102444"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.528510" elapsed="0.103901"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:32.527902" elapsed="0.104570"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.633167" level="INFO">${next} = 18048</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.632706" elapsed="0.000498"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.633986" level="INFO">${current_port} = 18048</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:32.633430" elapsed="0.000614"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.523402" elapsed="0.110720"/>
</kw>
<msg time="2026-04-11T23:14:32.634175" level="INFO">Repeating keyword, round 219/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:32.635756" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:32.635605" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.635557" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.636298" level="INFO">${current_Date} = 2026-04-11 23:14:32.636</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:32.636083" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.638542" level="INFO">${ellapsed_seconds} = 2671.61</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:32.636533" elapsed="0.002073"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.639030" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:32.638710" elapsed="0.000394"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.638684" elapsed="0.000453"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:32.635248" elapsed="0.004198"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.640150" level="INFO">${number} = 219</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.639671" elapsed="0.000505"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.641544" level="INFO">${number} = 219</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.641213" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.643188" level="INFO">${device-port} = 18048</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.642595" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.645517" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:32.677153" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.677369" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.645424" elapsed="0.032004"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.678319" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:32.678450" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:32.677628" elapsed="0.000926">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:32.677544" elapsed="0.001135">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:32.645163" elapsed="0.033782">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:32.644784" elapsed="0.034361"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.680173" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18048 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:32.735624" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.735834" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.679690" elapsed="0.056199"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:32.736108" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:32.736950" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:32.644026" elapsed="0.093131"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:32.737769" elapsed="0.001945"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:32.643429" elapsed="0.096525"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:32.642240" elapsed="0.097891"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:32.641752" elapsed="0.098478"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.640779" elapsed="0.099576"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:32.640326" elapsed="0.100125"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.741605" level="INFO">${next} = 18049</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.740828" elapsed="0.000839"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.742897" level="INFO">${current_port} = 18049</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:32.742019" elapsed="0.000973"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.634440" elapsed="0.108676"/>
</kw>
<msg time="2026-04-11T23:14:32.743203" level="INFO">Repeating keyword, round 220/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:32.745419" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:32.745311" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.745290" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.745803" level="INFO">${current_Date} = 2026-04-11 23:14:32.746</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:32.745643" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.746281" level="INFO">${ellapsed_seconds} = 2671.5</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:32.745972" elapsed="0.000335"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.746849" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:32.746610" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.746357" elapsed="0.000571"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:32.745041" elapsed="0.001932"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.747481" level="INFO">${number} = 220</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.747119" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.748939" level="INFO">${number} = 220</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.748604" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.750551" level="INFO">${device-port} = 18049</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.749957" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.752983" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:32.785625" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.785849" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.752887" elapsed="0.033020"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.786805" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:32.786936" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:32.786073" elapsed="0.001054">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:32.786027" elapsed="0.001195">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:32.752616" elapsed="0.034878">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:32.752213" elapsed="0.035453"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.788689" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18049 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:32.844243" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.844521" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.788120" elapsed="0.056503"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:32.844878" elapsed="0.000167"/>
</return>
<msg time="2026-04-11T23:14:32.845783" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:32.751380" elapsed="0.094629"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:32.846713" elapsed="0.001965"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:32.750796" elapsed="0.098156"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:32.749624" elapsed="0.099481"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:32.749120" elapsed="0.100096"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.748150" elapsed="0.101203"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:32.747692" elapsed="0.101769"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.850678" level="INFO">${next} = 18050</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.849867" elapsed="0.000872"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.851997" level="INFO">${current_port} = 18050</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:32.851096" elapsed="0.000994"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.743703" elapsed="0.108513"/>
</kw>
<msg time="2026-04-11T23:14:32.852302" level="INFO">Repeating keyword, round 221/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:32.854053" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:32.853938" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.853914" elapsed="0.000204"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.854487" level="INFO">${current_Date} = 2026-04-11 23:14:32.854</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:32.854315" elapsed="0.000198"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.855046" level="INFO">${ellapsed_seconds} = 2671.392</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:32.854711" elapsed="0.000361"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.855707" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:32.855142" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.855124" elapsed="0.000663"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:32.853687" elapsed="0.002147"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.856341" level="INFO">${number} = 221</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.855977" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.857790" level="INFO">${number} = 221</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.857436" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.859426" level="INFO">${device-port} = 18050</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.858837" elapsed="0.000616"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.861915" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:32.894204" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.894449" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.861812" elapsed="0.032700"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.895541" elapsed="0.000096"/>
</kw>
<msg time="2026-04-11T23:14:32.895725" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:32.894749" elapsed="0.001093">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:32.894693" elapsed="0.001247">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:32.861478" elapsed="0.034771">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:32.861095" elapsed="0.035404"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.897658" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18050 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:32.955861" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:32.956024" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.897043" elapsed="0.059017"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:32.956197" elapsed="0.000104"/>
</return>
<msg time="2026-04-11T23:14:32.956750" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:32.860269" elapsed="0.096613"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:32.957270" elapsed="0.001183"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:32.859673" elapsed="0.098954"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:32.858471" elapsed="0.100253"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:32.857972" elapsed="0.100819"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.856996" elapsed="0.101877"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:32.856520" elapsed="0.102417"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.959669" level="INFO">${next} = 18051</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.959154" elapsed="0.000552"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.960481" level="INFO">${current_port} = 18051</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:32.959933" elapsed="0.000606"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.852785" elapsed="0.107857"/>
</kw>
<msg time="2026-04-11T23:14:32.960701" level="INFO">Repeating keyword, round 222/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:32.962389" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:32.962236" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.962208" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.962932" level="INFO">${current_Date} = 2026-04-11 23:14:32.963</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:32.962700" elapsed="0.000269"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:32.963641" level="INFO">${ellapsed_seconds} = 2671.283</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:32.963171" elapsed="0.000507"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:32.964443" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:32.963778" elapsed="0.000743"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:32.963751" elapsed="0.000803"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:32.961897" elapsed="0.002748"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.965356" level="INFO">${number} = 222</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.964847" elapsed="0.000545"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.967526" level="INFO">${number} = 222</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.967052" elapsed="0.000510"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:32.969878" level="INFO">${device-port} = 18051</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:32.968993" elapsed="0.000923"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:32.972352" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:33.009700" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.009837" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:32.972253" elapsed="0.037620"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.010452" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:33.010535" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:33.010008" elapsed="0.000691">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:33.009977" elapsed="0.000785">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:32.971979" elapsed="0.038964">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:32.971573" elapsed="0.039458"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.011649" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18051 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:33.067392" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.067520" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.011314" elapsed="0.056239"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:33.067692" elapsed="0.000088"/>
</return>
<msg time="2026-04-11T23:14:33.068155" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:32.970815" elapsed="0.097465"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:33.068669" elapsed="0.001060"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:32.970204" elapsed="0.099668"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:32.968501" elapsed="0.101460"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:32.967805" elapsed="0.102218"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.966338" elapsed="0.103763"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:32.965709" elapsed="0.104452"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.070876" level="INFO">${next} = 18052</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.070390" elapsed="0.000523"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.071683" level="INFO">${current_port} = 18052</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:33.071139" elapsed="0.000604"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:32.960991" elapsed="0.110831"/>
</kw>
<msg time="2026-04-11T23:14:33.071875" level="INFO">Repeating keyword, round 223/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:33.073398" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:33.073249" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.073221" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.073985" level="INFO">${current_Date} = 2026-04-11 23:14:33.074</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:33.073773" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.074706" level="INFO">${ellapsed_seconds} = 2671.172</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:33.074221" elapsed="0.000521"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.075351" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:33.074841" elapsed="0.000565"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.074815" elapsed="0.000614"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:33.072919" elapsed="0.002557"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.075999" level="INFO">${number} = 223</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.075637" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.077405" level="INFO">${number} = 223</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.077072" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.079178" level="INFO">${device-port} = 18052</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.078466" elapsed="0.000739"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.081537" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:33.121339" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.121484" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.081442" elapsed="0.040078"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.122098" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:14:33.122179" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:33.121653" elapsed="0.000592">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:33.121622" elapsed="0.000679">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:33.081173" elapsed="0.041299">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:33.080786" elapsed="0.041837"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.123236" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18052 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:33.179775" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.180002" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.122930" elapsed="0.057126"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:33.180251" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:14:33.181079" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:33.080016" elapsed="0.101267"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:33.181914" elapsed="0.001837"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:33.079407" elapsed="0.104576"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:33.078115" elapsed="0.106012"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:33.077628" elapsed="0.106599"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.076634" elapsed="0.107719"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:33.076177" elapsed="0.108273"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.185627" level="INFO">${next} = 18053</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.184822" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.186938" level="INFO">${current_port} = 18053</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:33.186048" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.072135" elapsed="0.115072"/>
</kw>
<msg time="2026-04-11T23:14:33.187301" level="INFO">Repeating keyword, round 224/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:33.189036" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:33.188928" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.188908" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.189407" level="INFO">${current_Date} = 2026-04-11 23:14:33.189</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:33.189244" elapsed="0.000189"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.190169" level="INFO">${ellapsed_seconds} = 2671.057</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:33.189613" elapsed="0.000583"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.190507" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:33.190267" elapsed="0.000293"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.190248" elapsed="0.000353"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:33.188684" elapsed="0.001965"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.191153" level="INFO">${number} = 224</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.190791" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.192571" level="INFO">${number} = 224</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.192236" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.194231" level="INFO">${device-port} = 18053</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.193631" elapsed="0.000627"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.196657" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:33.229987" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.230204" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.196540" elapsed="0.033722"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.231166" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:33.231296" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:33.230425" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:33.230380" elapsed="0.001267">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:33.196269" elapsed="0.035657">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:33.195883" elapsed="0.036182"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.233058" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18053 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:33.287651" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.287879" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.232524" elapsed="0.055413"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:33.288117" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:33.288917" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:33.195066" elapsed="0.094056"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:33.289738" elapsed="0.001704"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:33.194459" elapsed="0.097245"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:33.193258" elapsed="0.098589"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:33.192766" elapsed="0.099202"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.191801" elapsed="0.100292"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:33.191343" elapsed="0.100848"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.293289" level="INFO">${next} = 18054</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.292526" elapsed="0.000821"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.294610" level="INFO">${current_port} = 18054</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:33.293747" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.187763" elapsed="0.107068"/>
</kw>
<msg time="2026-04-11T23:14:33.294916" level="INFO">Repeating keyword, round 225/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:33.296700" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:33.296592" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.296553" elapsed="0.000210"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.297085" level="INFO">${current_Date} = 2026-04-11 23:14:33.297</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:33.296934" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.297793" level="INFO">${ellapsed_seconds} = 2670.949</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:33.297254" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.298126" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:33.297890" elapsed="0.000289"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.297872" elapsed="0.000331"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:33.296337" elapsed="0.001911"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.298773" level="INFO">${number} = 225</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.298390" elapsed="0.000409"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.300202" level="INFO">${number} = 225</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.299849" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.301860" level="INFO">${device-port} = 18054</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.301234" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.304424" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:33.337904" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.338127" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.304141" elapsed="0.034044"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.339087" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:33.339217" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:33.338351" elapsed="0.000969">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:33.338306" elapsed="0.001102">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:33.303846" elapsed="0.035859">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:33.303446" elapsed="0.036473"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.340945" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18054 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:33.395971" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.396204" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.340411" elapsed="0.055851"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:33.396456" elapsed="0.000233"/>
</return>
<msg time="2026-04-11T23:14:33.397328" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:33.302697" elapsed="0.094839"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:33.398164" elapsed="0.001756"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:33.302094" elapsed="0.098054"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:33.300891" elapsed="0.099398"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:33.300389" elapsed="0.099998"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.299397" elapsed="0.101111"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:33.298952" elapsed="0.101743"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.401878" level="INFO">${next} = 18055</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.401073" elapsed="0.000863"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.403174" level="INFO">${current_port} = 18055</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:33.402292" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.295325" elapsed="0.108066"/>
</kw>
<msg time="2026-04-11T23:14:33.403476" level="INFO">Repeating keyword, round 226/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:33.405613" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:33.405468" elapsed="0.000190"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.405449" elapsed="0.000231"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.405984" level="INFO">${current_Date} = 2026-04-11 23:14:33.406</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:33.405826" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.406697" level="INFO">${ellapsed_seconds} = 2670.84</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:33.406153" elapsed="0.000570"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.407026" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:33.406795" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.406776" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:33.405221" elapsed="0.001926"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.407669" level="INFO">${number} = 226</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.407289" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.409083" level="INFO">${number} = 226</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.408750" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.410740" level="INFO">${device-port} = 18055</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.410128" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.413128" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:33.446168" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.446391" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.413025" elapsed="0.033425"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.447373" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:33.447504" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:33.446667" elapsed="0.001087">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:33.446614" elapsed="0.001241">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:33.412752" elapsed="0.035377">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:33.412328" elapsed="0.035942"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.449311" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18055 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:33.503777" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.503993" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.448779" elapsed="0.055269"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:33.504234" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:33.505044" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:33.411552" elapsed="0.093707"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:33.505954" elapsed="0.001755"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:33.410968" elapsed="0.096970"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:33.409794" elapsed="0.098287"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:33.409269" elapsed="0.098911"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.408286" elapsed="0.100022"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:33.407848" elapsed="0.100556"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.509618" level="INFO">${next} = 18056</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.508777" elapsed="0.000907"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.510616" level="INFO">${current_port} = 18056</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:33.510036" elapsed="0.000640"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.403931" elapsed="0.106824"/>
</kw>
<msg time="2026-04-11T23:14:33.510807" level="INFO">Repeating keyword, round 227/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:33.512344" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:33.512194" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.512168" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.512926" level="INFO">${current_Date} = 2026-04-11 23:14:33.513</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:33.512701" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.513933" level="INFO">${ellapsed_seconds} = 2670.733</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:33.513165" elapsed="0.000805"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.514391" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:33.514070" elapsed="0.000395"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.514044" elapsed="0.000454"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:33.511854" elapsed="0.002707"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.515288" level="INFO">${number} = 227</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.514786" elapsed="0.000538"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.517269" level="INFO">${number} = 227</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.516809" elapsed="0.000496"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.519311" level="INFO">${device-port} = 18056</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.518711" elapsed="0.000627"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.521697" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:33.553551" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.553816" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.521593" elapsed="0.032282"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.554773" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:33.554905" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:33.554035" elapsed="0.000974">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:33.553991" elapsed="0.001106">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:33.521296" elapsed="0.034063">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:33.520916" elapsed="0.034642"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.556624" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18056 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:33.612053" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.612272" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.556080" elapsed="0.056247"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:33.612512" elapsed="0.000200"/>
</return>
<msg time="2026-04-11T23:14:33.613331" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:33.520143" elapsed="0.093397"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:33.614221" elapsed="0.001765"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:33.519538" elapsed="0.096697"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:33.518276" elapsed="0.098112"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:33.517551" elapsed="0.098935"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.516170" elapsed="0.100476"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:33.515534" elapsed="0.101211"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.617907" level="INFO">${next} = 18057</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.617081" elapsed="0.000885"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.619226" level="INFO">${current_port} = 18057</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:33.618375" elapsed="0.000910"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.511063" elapsed="0.108299"/>
</kw>
<msg time="2026-04-11T23:14:33.619416" level="INFO">Repeating keyword, round 228/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:33.621025" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:33.620874" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.620848" elapsed="0.000280"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.621561" level="INFO">${current_Date} = 2026-04-11 23:14:33.621</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:33.621349" elapsed="0.000287"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.622561" level="INFO">${ellapsed_seconds} = 2670.625</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:33.621838" elapsed="0.000817"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.623075" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:33.622755" elapsed="0.000394"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.622729" elapsed="0.000453"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:33.620521" elapsed="0.002725"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.624058" level="INFO">${number} = 228</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.623441" elapsed="0.000658"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.626064" level="INFO">${number} = 228</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.625596" elapsed="0.000505"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.628260" level="INFO">${device-port} = 18057</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.627617" elapsed="0.000670"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.630656" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:33.665693" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.665907" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.630540" elapsed="0.035426"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.666895" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:33.667027" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:33.666131" elapsed="0.001084">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:33.666085" elapsed="0.001227">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:33.630271" elapsed="0.037345">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:33.629875" elapsed="0.037887"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.668767" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18057 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:33.723747" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.723956" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.668240" elapsed="0.055770"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:33.724212" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:33.725059" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:33.629093" elapsed="0.096188"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:33.725925" elapsed="0.001876"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:33.628488" elapsed="0.099566"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:33.627113" elapsed="0.101085"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:33.626397" elapsed="0.101902"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.624966" elapsed="0.103458"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:33.624315" elapsed="0.104204"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.729804" level="INFO">${next} = 18058</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.728915" elapsed="0.000964"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.731203" level="INFO">${current_port} = 18058</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:33.730256" elapsed="0.001044"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.619703" elapsed="0.111723"/>
</kw>
<msg time="2026-04-11T23:14:33.731510" level="INFO">Repeating keyword, round 229/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:33.733012" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:33.732901" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.732881" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.733411" level="INFO">${current_Date} = 2026-04-11 23:14:33.733</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:33.733251" elapsed="0.000190"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.734117" level="INFO">${ellapsed_seconds} = 2670.513</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:33.733601" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.734442" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:33.734215" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.734196" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:33.732646" elapsed="0.001918"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.735116" level="INFO">${number} = 229</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.734731" elapsed="0.000411"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.736538" level="INFO">${number} = 229</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.736207" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.738238" level="INFO">${device-port} = 18058</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.737608" elapsed="0.000663"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.740768" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:33.778063" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.778303" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.740670" elapsed="0.037699"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.779335" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:33.779486" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:33.778536" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:33.778491" elapsed="0.001255">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:33.740381" elapsed="0.039635">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:33.739991" elapsed="0.040233"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.781237" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18058 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:33.835944" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.836155" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.780745" elapsed="0.055464"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:33.836395" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:33.837210" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:33.739171" elapsed="0.098245"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:33.838042" elapsed="0.001773"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:33.738490" elapsed="0.101559"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:33.737246" elapsed="0.102945"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:33.736737" elapsed="0.103556"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.735774" elapsed="0.104643"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:33.735297" elapsed="0.105215"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.841674" level="INFO">${next} = 18059</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.840883" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.842993" level="INFO">${current_port} = 18059</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:33.842086" elapsed="0.001002"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.732007" elapsed="0.111205"/>
</kw>
<msg time="2026-04-11T23:14:33.843298" level="INFO">Repeating keyword, round 230/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:33.845009" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:33.844900" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.844876" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.845373" level="INFO">${current_Date} = 2026-04-11 23:14:33.845</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:33.845217" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.846100" level="INFO">${ellapsed_seconds} = 2670.401</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:33.845541" elapsed="0.000585"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.846425" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:33.846197" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.846179" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:33.844657" elapsed="0.001890"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.847070" level="INFO">${number} = 230</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.846711" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.848501" level="INFO">${number} = 230</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.848162" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.850158" level="INFO">${device-port} = 18059</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.849518" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.852553" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:33.889538" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.889795" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.852453" elapsed="0.037400"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.890751" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:33.890883" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:33.890019" elapsed="0.001043">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:33.889973" elapsed="0.001185">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:33.852174" elapsed="0.039248">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:33.851787" elapsed="0.039774"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.892549" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18059 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:33.948234" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:33.948460" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.892070" elapsed="0.056443"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:33.948742" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:33.949481" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:33.850990" elapsed="0.098748"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:33.950316" elapsed="0.001702"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:33.850385" elapsed="0.101861"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:33.849185" elapsed="0.103225"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:33.848698" elapsed="0.103812"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.847714" elapsed="0.104953"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:33.847250" elapsed="0.105514"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.953866" level="INFO">${next} = 18060</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.953099" elapsed="0.000826"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.955172" level="INFO">${current_port} = 18060</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:33.954274" elapsed="0.000990"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.843798" elapsed="0.111591"/>
</kw>
<msg time="2026-04-11T23:14:33.955474" level="INFO">Repeating keyword, round 231/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:33.957520" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:33.957414" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.957395" elapsed="0.000210"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.957933" level="INFO">${current_Date} = 2026-04-11 23:14:33.958</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:33.957776" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:33.959765" level="INFO">${ellapsed_seconds} = 2670.288</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:33.958102" elapsed="0.001690"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:33.960093" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:33.959863" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:33.959844" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:33.957179" elapsed="0.003041"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.960752" level="INFO">${number} = 231</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.960361" elapsed="0.000417"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.962149" level="INFO">${number} = 231</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.961818" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:33.963785" level="INFO">${device-port} = 18060</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:33.963175" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:33.966147" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.001632" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.001855" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:33.966055" elapsed="0.035858"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.002818" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:34.002951" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.002079" elapsed="0.000975">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.002033" elapsed="0.001112">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:33.965791" elapsed="0.037622">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:33.965391" elapsed="0.038314"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.004717" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18060 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:34.059626" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.059853" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.004170" elapsed="0.055737"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:34.060087" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:34.060887" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:33.964650" elapsed="0.096466"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:34.061726" elapsed="0.001696"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:33.964011" elapsed="0.099670"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:33.962842" elapsed="0.100980"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:33.962329" elapsed="0.101591"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.961367" elapsed="0.102676"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:33.960929" elapsed="0.103209"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.065263" level="INFO">${next} = 18061</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.064474" elapsed="0.000847"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.066615" level="INFO">${current_port} = 18061</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:34.065732" elapsed="0.000978"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:33.955923" elapsed="0.110911"/>
</kw>
<msg time="2026-04-11T23:14:34.066919" level="INFO">Repeating keyword, round 232/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:34.069415" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:34.069252" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.069208" elapsed="0.000270"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.069822" level="INFO">${current_Date} = 2026-04-11 23:14:34.070</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:34.069666" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.070299" level="INFO">${ellapsed_seconds} = 2670.176</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:34.069993" elapsed="0.000332"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.070848" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:34.070611" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.070375" elapsed="0.000550"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:34.068669" elapsed="0.002302"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.071480" level="INFO">${number} = 232</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.071115" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.072909" level="INFO">${number} = 232</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.072558" elapsed="0.000377"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.074559" level="INFO">${device-port} = 18061</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.073965" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.077059" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.109364" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.109615" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.076964" elapsed="0.032713"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.110605" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:34.110742" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.109845" elapsed="0.001077">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.109799" elapsed="0.001218">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:34.076698" elapsed="0.034582">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:34.076295" elapsed="0.035123"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.112406" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18061 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:34.167399" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.167642" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.111923" elapsed="0.055778"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:34.167882" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:34.168670" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:34.075514" elapsed="0.093359"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:34.169443" elapsed="0.001725"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:34.074811" elapsed="0.096583"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:34.073628" elapsed="0.097907"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:34.073108" elapsed="0.098574"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.072116" elapsed="0.099693"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:34.071674" elapsed="0.100229"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.173014" level="INFO">${next} = 18062</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.172241" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.174294" level="INFO">${current_port} = 18062</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:34.173421" elapsed="0.000931"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.067332" elapsed="0.107099"/>
</kw>
<msg time="2026-04-11T23:14:34.174484" level="INFO">Repeating keyword, round 233/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:34.176034" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:34.175886" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.175859" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.176615" level="INFO">${current_Date} = 2026-04-11 23:14:34.176</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:34.176377" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.177283" level="INFO">${ellapsed_seconds} = 2670.07</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:34.176858" elapsed="0.000461"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.178072" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:34.177415" elapsed="0.000735"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.177390" elapsed="0.000793"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:34.175529" elapsed="0.002720"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.178984" level="INFO">${number} = 233</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.178449" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.180972" level="INFO">${number} = 233</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.180482" elapsed="0.000526"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.183096" level="INFO">${device-port} = 18062</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.182474" elapsed="0.000649"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.185441" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.217310" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.217531" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.185345" elapsed="0.032280"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.218517" elapsed="0.000083"/>
</kw>
<msg time="2026-04-11T23:14:34.218682" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.217795" elapsed="0.000992">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.217749" elapsed="0.001128">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:34.185080" elapsed="0.034064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:34.184700" elapsed="0.034653"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.220356" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18062 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:34.275671" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.275897" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.219867" elapsed="0.056088"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:34.276143" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:34.276953" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:34.183927" elapsed="0.093230"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:34.277781" elapsed="0.001616"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:34.183323" elapsed="0.096216"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:34.182074" elapsed="0.097579"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:34.181224" elapsed="0.098493"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.179872" elapsed="0.099922"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:34.179234" elapsed="0.100622"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.280544" level="INFO">${next} = 18063</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.280072" elapsed="0.000530"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.281361" level="INFO">${current_port} = 18063</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:34.280828" elapsed="0.000590"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.174767" elapsed="0.106729"/>
</kw>
<msg time="2026-04-11T23:14:34.281550" level="INFO">Repeating keyword, round 234/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:34.283178" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:34.283028" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.282999" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.283706" level="INFO">${current_Date} = 2026-04-11 23:14:34.284</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:34.283464" elapsed="0.000279"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.284374" level="INFO">${ellapsed_seconds} = 2669.962</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:34.283945" elapsed="0.000464"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.285154" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:34.284506" elapsed="0.000725"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.284480" elapsed="0.000784"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:34.282689" elapsed="0.002643"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.286093" level="INFO">${number} = 234</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.285532" elapsed="0.000597"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.287977" level="INFO">${number} = 234</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.287640" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.289641" level="INFO">${device-port} = 18063</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.289009" elapsed="0.000661"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.292032" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.325373" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.325621" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.291937" elapsed="0.033745"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.326532" elapsed="0.000119"/>
</kw>
<msg time="2026-04-11T23:14:34.326732" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.325845" elapsed="0.001071">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.325801" elapsed="0.001211">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:34.291666" elapsed="0.035611">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:34.291260" elapsed="0.036156"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.328407" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18063 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:34.383325" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.383533" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.327922" elapsed="0.055700"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:34.383803" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:34.384541" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:34.290482" elapsed="0.094309"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:34.385363" elapsed="0.001743"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:34.289875" elapsed="0.097461"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:34.288671" elapsed="0.098806"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:34.288160" elapsed="0.099446"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.287174" elapsed="0.100565"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:34.286338" elapsed="0.101497"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.388960" level="INFO">${next} = 18064</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.388176" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.390271" level="INFO">${current_port} = 18064</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:34.389368" elapsed="0.000996"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.281852" elapsed="0.108637"/>
</kw>
<msg time="2026-04-11T23:14:34.390609" level="INFO">Repeating keyword, round 235/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:34.392704" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:34.392593" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.392551" elapsed="0.000217"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.393110" level="INFO">${current_Date} = 2026-04-11 23:14:34.393</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:34.392955" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.393622" level="INFO">${ellapsed_seconds} = 2669.853</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:34.393280" elapsed="0.000370"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.394140" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:34.393721" elapsed="0.000474"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.393703" elapsed="0.000516"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:34.392331" elapsed="0.001934"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.394796" level="INFO">${number} = 235</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.394409" elapsed="0.000413"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.396219" level="INFO">${number} = 235</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.395884" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.397881" level="INFO">${device-port} = 18064</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.397255" elapsed="0.000653"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.400365" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.433480" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.433761" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.400264" elapsed="0.033558"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.434777" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:34.434913" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.434015" elapsed="0.001006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.433965" elapsed="0.001146">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:34.399997" elapsed="0.035425">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:34.399614" elapsed="0.036062"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.436693" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18064 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:34.491441" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.491699" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.436149" elapsed="0.055609"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:34.491938" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:34.492745" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:34.398812" elapsed="0.094142"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:34.493534" elapsed="0.001760"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:34.398203" elapsed="0.097320"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:34.396918" elapsed="0.098801"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:34.396407" elapsed="0.099414"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.395427" elapsed="0.100518"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:34.394974" elapsed="0.101066"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.497206" level="INFO">${next} = 18065</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.496393" elapsed="0.000872"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.498632" level="INFO">${current_port} = 18065</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:34.497752" elapsed="0.000976"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.391071" elapsed="0.107782"/>
</kw>
<msg time="2026-04-11T23:14:34.498938" level="INFO">Repeating keyword, round 236/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:34.500777" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:34.500669" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.500649" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.501148" level="INFO">${current_Date} = 2026-04-11 23:14:34.501</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:34.500987" elapsed="0.000187"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.501887" level="INFO">${ellapsed_seconds} = 2669.745</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:34.501318" elapsed="0.000596"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.502218" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:34.501985" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.501967" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:34.500408" elapsed="0.001932"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.502864" level="INFO">${number} = 236</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.502483" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.504366" level="INFO">${number} = 236</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.504032" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.506028" level="INFO">${device-port} = 18065</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.505393" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.508419" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.541361" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.541606" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.508320" elapsed="0.033348"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.542519" elapsed="0.000088"/>
</kw>
<msg time="2026-04-11T23:14:34.542686" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.541829" elapsed="0.001038">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.541785" elapsed="0.001178">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:34.508051" elapsed="0.035178">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:34.507638" elapsed="0.035730"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.544325" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18065 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:34.599891" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.600094" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.543874" elapsed="0.056273"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:34.600348" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:34.601150" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:34.506868" elapsed="0.094487"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:34.601973" elapsed="0.001750"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:34.506261" elapsed="0.097691"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:34.505055" elapsed="0.099039"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:34.504545" elapsed="0.099647"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.503558" elapsed="0.100779"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:34.503041" elapsed="0.101392"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.605546" level="INFO">${next} = 18066</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.604809" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.606870" level="INFO">${current_port} = 18066</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:34.606006" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.499352" elapsed="0.107738"/>
</kw>
<msg time="2026-04-11T23:14:34.607175" level="INFO">Repeating keyword, round 237/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:34.609495" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:34.609388" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.609369" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.609928" level="INFO">${current_Date} = 2026-04-11 23:14:34.610</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:34.609774" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.610672" level="INFO">${ellapsed_seconds} = 2669.636</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:34.610112" elapsed="0.000587"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.611006" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:34.610772" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.610753" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:34.609015" elapsed="0.002114"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.611683" level="INFO">${number} = 237</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.611274" elapsed="0.000436"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.613116" level="INFO">${number} = 237</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.612781" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.614754" level="INFO">${device-port} = 18066</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.614141" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.617141" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.657416" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.657674" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.617042" elapsed="0.040695"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.658625" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:34.658763" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.657899" elapsed="0.000969">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.657855" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:34.616768" elapsed="0.042471">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:34.616366" elapsed="0.043082"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.660447" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18066 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:34.715234" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.715434" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.659949" elapsed="0.055538"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:34.715707" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:34.716462" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:34.615589" elapsed="0.101127"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:34.717318" elapsed="0.001736"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:34.614984" elapsed="0.104306"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:34.613806" elapsed="0.105632"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:34.613302" elapsed="0.106234"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.612305" elapsed="0.107401"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:34.611862" elapsed="0.107942"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.720905" level="INFO">${next} = 18067</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.720140" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.722264" level="INFO">${current_port} = 18067</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:34.721378" elapsed="0.000944"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.607629" elapsed="0.114770"/>
</kw>
<msg time="2026-04-11T23:14:34.722453" level="INFO">Repeating keyword, round 238/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:34.724153" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:34.723997" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.723971" elapsed="0.000270"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.724678" level="INFO">${current_Date} = 2026-04-11 23:14:34.725</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:34.724434" elapsed="0.000281"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.725686" level="INFO">${ellapsed_seconds} = 2669.521</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:34.724915" elapsed="0.000810"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.726141" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:34.725825" elapsed="0.000390"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.725798" elapsed="0.000449"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:34.723671" elapsed="0.002639"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.727045" level="INFO">${number} = 238</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.726506" elapsed="0.000575"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.729081" level="INFO">${number} = 238</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.728559" elapsed="0.000560"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.730934" level="INFO">${device-port} = 18067</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.730182" elapsed="0.000785"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.733324" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.765689" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.765899" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.733230" elapsed="0.032727"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.766866" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:34.767002" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.766115" elapsed="0.001074">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.766072" elapsed="0.001213">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:34.732939" elapsed="0.034610">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:34.732539" elapsed="0.035186"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.768706" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18067 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:34.823966" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.824179" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.768178" elapsed="0.056036"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:34.824371" elapsed="0.000116"/>
</return>
<msg time="2026-04-11T23:14:34.824938" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:34.731788" elapsed="0.093280"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:34.825477" elapsed="0.001545"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:34.731166" elapsed="0.096089"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:34.729847" elapsed="0.097553"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:34.729335" elapsed="0.098166"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.727949" elapsed="0.099718"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:34.727291" elapsed="0.100477"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.828907" level="INFO">${next} = 18068</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.828112" elapsed="0.000855"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.830466" level="INFO">${current_port} = 18068</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:34.829336" elapsed="0.001224"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.722735" elapsed="0.107999"/>
</kw>
<msg time="2026-04-11T23:14:34.830821" level="INFO">Repeating keyword, round 239/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:34.833385" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:34.833137" elapsed="0.000341"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.833093" elapsed="0.000434"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.834390" level="INFO">${current_Date} = 2026-04-11 23:14:34.834</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:34.834209" elapsed="0.000208"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.835182" level="INFO">${ellapsed_seconds} = 2669.412</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:34.834564" elapsed="0.000644"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.835528" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:34.835279" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.835261" elapsed="0.000361"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:34.832599" elapsed="0.003070"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.836172" level="INFO">${number} = 239</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.835811" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.837612" level="INFO">${number} = 239</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.837248" elapsed="0.000391"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.839268" level="INFO">${device-port} = 18068</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.838673" elapsed="0.000621"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.841659" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.881186" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.881280" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.841543" elapsed="0.039763"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.881730" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:34.881791" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.881377" elapsed="0.000462">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.881358" elapsed="0.000533">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:34.841278" elapsed="0.040750">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:34.840891" elapsed="0.041230"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.882542" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18068 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:34.939133" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.939227" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.882326" elapsed="0.056925"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:34.939333" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:14:34.939698" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:34.840103" elapsed="0.099688"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:34.940050" elapsed="0.000773"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:34.839495" elapsed="0.101431"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:34.838313" elapsed="0.102675"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:34.837811" elapsed="0.103220"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.836807" elapsed="0.104277"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:34.836349" elapsed="0.104778"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.941627" level="INFO">${next} = 18069</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.941277" elapsed="0.000376"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.942179" level="INFO">${current_port} = 18069</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:34.941809" elapsed="0.000431"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.831273" elapsed="0.111022"/>
</kw>
<msg time="2026-04-11T23:14:34.942332" level="INFO">Repeating keyword, round 240/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:34.943429" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:34.943323" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.943301" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.943806" level="INFO">${current_Date} = 2026-04-11 23:14:34.944</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:34.943652" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:34.944471" level="INFO">${ellapsed_seconds} = 2669.302</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:34.943979" elapsed="0.000518"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.944819" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:34.944570" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:34.944548" elapsed="0.000346"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:34.943081" elapsed="0.001858"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.945438" level="INFO">${number} = 240</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.945080" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.946877" level="INFO">${number} = 240</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.946530" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:34.948733" level="INFO">${device-port} = 18069</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:34.947901" elapsed="0.000859"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.951101" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:34.988820" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:34.988915" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.951003" elapsed="0.037938"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:34.989325" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:34.989383" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:34.989013" elapsed="0.000449">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:34.988994" elapsed="0.000512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:34.950731" elapsed="0.038916">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:34.950328" elapsed="0.039383"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:34.990128" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18069 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:35.051288" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.051385" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:34.989914" elapsed="0.061496"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:35.051495" elapsed="0.000068"/>
</return>
<msg time="2026-04-11T23:14:35.051865" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:34.949544" elapsed="0.102413"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:35.052223" elapsed="0.000779"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:34.948960" elapsed="0.104145"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:34.947546" elapsed="0.105623"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:34.947057" elapsed="0.106156"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.946065" elapsed="0.107204"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:34.945628" elapsed="0.107684"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.053816" level="INFO">${next} = 18070</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.053465" elapsed="0.000377"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.054377" level="INFO">${current_port} = 18070</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:35.053999" elapsed="0.000420"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:34.942514" elapsed="0.111960"/>
</kw>
<msg time="2026-04-11T23:14:35.054513" level="INFO">Repeating keyword, round 241/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:35.055673" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:35.055545" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.055521" elapsed="0.000215"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.056069" level="INFO">${current_Date} = 2026-04-11 23:14:35.056</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:35.055914" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.056761" level="INFO">${ellapsed_seconds} = 2669.19</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:35.056238" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.057088" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:35.056858" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.056840" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:35.055306" elapsed="0.001904"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.057728" level="INFO">${number} = 241</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.057350" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.059146" level="INFO">${number} = 241</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.058801" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.060812" level="INFO">${device-port} = 18070</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.060159" elapsed="0.000680"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.063184" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:35.100812" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.100912" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.063089" elapsed="0.037849"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.101317" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:35.101376" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:35.101009" elapsed="0.000414">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:35.100990" elapsed="0.000472">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:35.062800" elapsed="0.038812">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:35.062403" elapsed="0.039302"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.102123" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18070 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:35.162873" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.162969" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.101908" elapsed="0.061085"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:35.163077" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:14:35.163434" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:35.061645" elapsed="0.101879"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:35.163808" elapsed="0.000741"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:35.061038" elapsed="0.103637"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:35.059826" elapsed="0.104911"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:35.059325" elapsed="0.105455"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.058349" elapsed="0.106485"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:35.057906" elapsed="0.106970"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.165362" level="INFO">${next} = 18071</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.165030" elapsed="0.000358"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.165941" level="INFO">${current_port} = 18071</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:35.165550" elapsed="0.000432"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.054725" elapsed="0.111311"/>
</kw>
<msg time="2026-04-11T23:14:35.166074" level="INFO">Repeating keyword, round 242/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:35.167176" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:35.167068" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.167049" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.167550" level="INFO">${current_Date} = 2026-04-11 23:14:35.167</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:35.167391" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.168232" level="INFO">${ellapsed_seconds} = 2669.079</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:35.167736" elapsed="0.000522"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.168556" elapsed="0.000054"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:35.168328" elapsed="0.000316"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.168310" elapsed="0.000357"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:35.166827" elapsed="0.001885"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.169208" level="INFO">${number} = 242</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.168853" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.170613" level="INFO">${number} = 242</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.170267" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.172282" level="INFO">${device-port} = 18071</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.171694" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.174698" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:35.217375" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.217626" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.174567" elapsed="0.043120"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.218560" elapsed="0.000089"/>
</kw>
<msg time="2026-04-11T23:14:35.218725" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:35.217850" elapsed="0.001098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:35.217806" elapsed="0.001239">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:35.174297" elapsed="0.045017">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:35.173911" elapsed="0.045539"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.220395" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18071 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:35.275807" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.276036" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.220028" elapsed="0.056064"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:35.276280" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:35.277081" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:35.173146" elapsed="0.104136"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:35.277890" elapsed="0.001729"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:35.172510" elapsed="0.107339"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:35.171290" elapsed="0.108716"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:35.170799" elapsed="0.109307"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.169835" elapsed="0.110398"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:35.169382" elapsed="0.110947"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.281429" level="INFO">${next} = 18072</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.280697" elapsed="0.000791"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.282770" level="INFO">${current_port} = 18072</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:35.281896" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.166259" elapsed="0.116732"/>
</kw>
<msg time="2026-04-11T23:14:35.283074" level="INFO">Repeating keyword, round 243/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:35.284951" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:35.284843" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.284823" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.285350" level="INFO">${current_Date} = 2026-04-11 23:14:35.285</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:35.285194" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.287223" level="INFO">${ellapsed_seconds} = 2668.961</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:35.285519" elapsed="0.001730"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.287552" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:35.287320" elapsed="0.000302"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.287301" elapsed="0.000345"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:35.284599" elapsed="0.003092"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.288215" level="INFO">${number} = 243</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.287832" elapsed="0.000410"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.289646" level="INFO">${number} = 243</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.289281" elapsed="0.000392"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.291260" level="INFO">${device-port} = 18072</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.290674" elapsed="0.000612"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.293639" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:35.325522" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.325763" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.293527" elapsed="0.032295"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.326712" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:35.326844" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:35.325981" elapsed="0.000967">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:35.325938" elapsed="0.001097">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:35.293264" elapsed="0.034036">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:35.292883" elapsed="0.034616"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.328512" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18072 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:35.387446" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.387687" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.327984" elapsed="0.059759"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:35.387923" elapsed="0.000134"/>
</return>
<msg time="2026-04-11T23:14:35.388730" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:35.292113" elapsed="0.096820"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:35.389501" elapsed="0.001708"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:35.291486" elapsed="0.099946"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:35.290315" elapsed="0.101285"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:35.289828" elapsed="0.101874"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.288848" elapsed="0.102976"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:35.288392" elapsed="0.103524"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.393029" level="INFO">${next} = 18073</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.392247" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.394331" level="INFO">${current_port} = 18073</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:35.393435" elapsed="0.000989"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.283490" elapsed="0.111057"/>
</kw>
<msg time="2026-04-11T23:14:35.394667" level="INFO">Repeating keyword, round 244/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:35.397151" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:35.396914" elapsed="0.000303"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.396871" elapsed="0.000368"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.397529" level="INFO">${current_Date} = 2026-04-11 23:14:35.397</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:35.397380" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.398041" level="INFO">${ellapsed_seconds} = 2668.849</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:35.397741" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.398556" elapsed="0.000044"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:35.398324" elapsed="0.000310"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.398117" elapsed="0.000541"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:35.396310" elapsed="0.002394"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.399203" level="INFO">${number} = 244</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.398846" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.400667" level="INFO">${number} = 244</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.400275" elapsed="0.000459"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.402555" level="INFO">${device-port} = 18073</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.401967" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.404954" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:35.437610" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.437824" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.404859" elapsed="0.033024"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.438766" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:35.438898" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:35.438044" elapsed="0.001030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:35.438000" elapsed="0.001170">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:35.404548" elapsed="0.034885">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:35.404164" elapsed="0.035440"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.440536" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18073 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:35.495703" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.495923" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.440058" elapsed="0.055921"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:35.496166" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:35.496972" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:35.403391" elapsed="0.093834"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:35.497852" elapsed="0.001709"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:35.402808" elapsed="0.097018"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:35.401634" elapsed="0.098332"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:35.401113" elapsed="0.098953"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.399839" elapsed="0.100352"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:35.399380" elapsed="0.100907"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.501453" level="INFO">${next} = 18074</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.500657" elapsed="0.000856"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.502789" level="INFO">${current_port} = 18074</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:35.501915" elapsed="0.000968"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.395078" elapsed="0.107931"/>
</kw>
<msg time="2026-04-11T23:14:35.503094" level="INFO">Repeating keyword, round 245/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:35.505688" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:35.505371" elapsed="0.000414"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.505328" elapsed="0.000504"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.506388" level="INFO">${current_Date} = 2026-04-11 23:14:35.506</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:35.506231" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.506885" level="INFO">${ellapsed_seconds} = 2668.74</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:35.506559" elapsed="0.000352"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.507420" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:35.506981" elapsed="0.000494"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.506963" elapsed="0.000535"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:35.504796" elapsed="0.002748"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.508065" level="INFO">${number} = 245</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.507705" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.509488" level="INFO">${number} = 245</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.509142" elapsed="0.000372"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.511218" level="INFO">${device-port} = 18074</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.510522" elapsed="0.000723"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.513625" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:35.545182" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.545418" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.513513" elapsed="0.031965"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.546374" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:35.546517" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:35.545679" elapsed="0.000977">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:35.545632" elapsed="0.001117">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:35.513245" elapsed="0.033772">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:35.512831" elapsed="0.034396"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.548215" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18074 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:35.603347" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.603549" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.547733" elapsed="0.055907"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:35.603820" elapsed="0.000134"/>
</return>
<msg time="2026-04-11T23:14:35.604554" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:35.512058" elapsed="0.092745"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:35.605369" elapsed="0.001729"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:35.511450" elapsed="0.095873"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:35.510189" elapsed="0.097273"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:35.509701" elapsed="0.097857"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.508702" elapsed="0.099016"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:35.508244" elapsed="0.099570"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.608921" level="INFO">${next} = 18075</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.608146" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.610238" level="INFO">${current_port} = 18075</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:35.609324" elapsed="0.001005"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.503511" elapsed="0.106941"/>
</kw>
<msg time="2026-04-11T23:14:35.610537" level="INFO">Repeating keyword, round 246/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:35.613021" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:35.612784" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.612743" elapsed="0.000418"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.613939" level="INFO">${current_Date} = 2026-04-11 23:14:35.614</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:35.613469" elapsed="0.000529"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.614610" level="INFO">${ellapsed_seconds} = 2668.632</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:35.614295" elapsed="0.000342"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.615126" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:35.614707" elapsed="0.000473"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.614688" elapsed="0.000516"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:35.612227" elapsed="0.003024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.615773" level="INFO">${number} = 246</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.615393" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.617357" level="INFO">${number} = 246</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.617022" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.619035" level="INFO">${device-port} = 18075</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.618420" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.621390" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:35.653513" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.653777" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.621295" elapsed="0.032543"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.654799" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:35.654932" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:35.654047" elapsed="0.001083">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:35.653997" elapsed="0.001230">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:35.621028" elapsed="0.034471">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:35.620642" elapsed="0.035032"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.656662" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18075 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:35.711635" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.711836" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.656132" elapsed="0.055758"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:35.712067" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:35.712859" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:35.619873" elapsed="0.093189"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:35.713670" elapsed="0.001708"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:35.619266" elapsed="0.096371"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:35.618085" elapsed="0.097697"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:35.617539" elapsed="0.098340"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.616395" elapsed="0.099607"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:35.615950" elapsed="0.100146"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.717203" level="INFO">${next} = 18076</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.716430" elapsed="0.000835"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.718554" level="INFO">${current_port} = 18076</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:35.717665" elapsed="0.001022"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.610985" elapsed="0.107829"/>
</kw>
<msg time="2026-04-11T23:14:35.718898" level="INFO">Repeating keyword, round 247/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:35.720552" elapsed="0.000042"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:35.720402" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.720374" elapsed="0.000291"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.721145" level="INFO">${current_Date} = 2026-04-11 23:14:35.721</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:35.720918" elapsed="0.000264"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.721990" level="INFO">${ellapsed_seconds} = 2668.525</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:35.721385" elapsed="0.000649"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.722781" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:35.722136" elapsed="0.000722"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.722110" elapsed="0.000781"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:35.720067" elapsed="0.002890"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.723687" level="INFO">${number} = 247</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.723156" elapsed="0.000568"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.725685" level="INFO">${number} = 247</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.725180" elapsed="0.000542"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.727913" level="INFO">${device-port} = 18076</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.727304" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.730264" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:35.761467" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.761717" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.730168" elapsed="0.031608"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.762698" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:35.762833" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:35.761936" elapsed="0.001001">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:35.761893" elapsed="0.001132">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:35.729895" elapsed="0.033391">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:35.729492" elapsed="0.033998"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.764472" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18076 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:35.819603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.819811" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.763984" elapsed="0.055880"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:35.820044" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:35.820828" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:35.728741" elapsed="0.092288"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:35.821627" elapsed="0.001727"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:35.728142" elapsed="0.095463"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:35.726854" elapsed="0.096896"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:35.725939" elapsed="0.097909"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.724552" elapsed="0.099417"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:35.723939" elapsed="0.100124"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.825167" level="INFO">${next} = 18077</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.824397" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.826468" level="INFO">${current_port} = 18077</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:35.825630" elapsed="0.000930"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.719269" elapsed="0.107454"/>
</kw>
<msg time="2026-04-11T23:14:35.826847" level="INFO">Repeating keyword, round 248/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:35.828660" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:35.828486" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.828451" elapsed="0.000297"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.829158" level="INFO">${current_Date} = 2026-04-11 23:14:35.829</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:35.828941" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.830137" level="INFO">${ellapsed_seconds} = 2668.417</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:35.829391" elapsed="0.000783"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.830616" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:35.830273" elapsed="0.000418"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.830247" elapsed="0.000476"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:35.828152" elapsed="0.002635"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.831504" level="INFO">${number} = 248</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.831006" elapsed="0.000533"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.833478" level="INFO">${number} = 248</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.833016" elapsed="0.000498"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.835644" level="INFO">${device-port} = 18077</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.834976" elapsed="0.000695"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.837998" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:35.877525" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.877781" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.837904" elapsed="0.039937"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.878733" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:35.878866" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:35.878006" elapsed="0.001072">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:35.877961" elapsed="0.001217">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:35.837635" elapsed="0.041817">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:35.837229" elapsed="0.042393"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.880655" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18077 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:35.938969" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.939171" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.880124" elapsed="0.059102"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:35.939436" elapsed="0.000187"/>
</return>
<msg time="2026-04-11T23:14:35.940248" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:35.836449" elapsed="0.104012"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:35.941080" elapsed="0.001736"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:35.835871" elapsed="0.107173"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:35.834446" elapsed="0.108740"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:35.833770" elapsed="0.109515"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.832385" elapsed="0.111077"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:35.831774" elapsed="0.111785"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.944505" level="INFO">${next} = 18078</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.943940" elapsed="0.000601"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.945323" level="INFO">${current_port} = 18078</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:35.944800" elapsed="0.000580"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.827352" elapsed="0.118105"/>
</kw>
<msg time="2026-04-11T23:14:35.945510" level="INFO">Repeating keyword, round 249/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:35.947052" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:35.946905" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.946879" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.947650" level="INFO">${current_Date} = 2026-04-11 23:14:35.948</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:35.947415" elapsed="0.000272"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:35.948627" level="INFO">${ellapsed_seconds} = 2668.298</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:35.947888" elapsed="0.000779"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.949092" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:35.948767" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:35.948741" elapsed="0.000456"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:35.946555" elapsed="0.002706"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.949988" level="INFO">${number} = 249</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.949458" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.952021" level="INFO">${number} = 249</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.951525" elapsed="0.000533"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:35.953726" level="INFO">${device-port} = 18078</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:35.953121" elapsed="0.000632"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.956078" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:35.989012" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:35.989143" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.955984" elapsed="0.033195"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:35.990030" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:35.990160" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:35.989309" elapsed="0.000954">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:35.989261" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:35.955713" elapsed="0.034935">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:35.955293" elapsed="0.035569"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:35.991875" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18078 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:36.047488" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.047726" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:35.991320" elapsed="0.056461"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:36.048006" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:36.048802" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:35.954533" elapsed="0.094484"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:36.049623" elapsed="0.001686"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:35.953954" elapsed="0.097579"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:35.952786" elapsed="0.098926"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:35.952263" elapsed="0.099547"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.950875" elapsed="0.101097"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:35.950235" elapsed="0.101839"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.053173" level="INFO">${next} = 18079</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.052409" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.054464" level="INFO">${current_port} = 18079</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:36.053628" elapsed="0.000927"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:35.945791" elapsed="0.108927"/>
</kw>
<msg time="2026-04-11T23:14:36.054805" level="INFO">Repeating keyword, round 250/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:36.056853" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:36.056747" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.056727" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.057214" level="INFO">${current_Date} = 2026-04-11 23:14:36.057</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:36.057064" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.057906" level="INFO">${ellapsed_seconds} = 2668.189</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:36.057382" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.058235" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:36.058011" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.057992" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:36.056489" elapsed="0.001867"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.058879" level="INFO">${number} = 250</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.058496" elapsed="0.000409"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.060295" level="INFO">${number} = 250</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.059957" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.061941" level="INFO">${device-port} = 18079</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.061316" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.064324" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:36.097404" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.097654" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.064228" elapsed="0.033488"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.098621" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:36.098754" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:36.097887" elapsed="0.001051">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:36.097840" elapsed="0.001194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:36.063952" elapsed="0.035349">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:36.063520" elapsed="0.035919"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.100461" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18079 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:36.155667" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.155865" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.099940" elapsed="0.055979"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:36.156099" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:36.156912" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:36.062768" elapsed="0.094348"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:36.157720" elapsed="0.001687"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:36.062166" elapsed="0.097503"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:36.060982" elapsed="0.098833"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:36.060476" elapsed="0.099439"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.059487" elapsed="0.100551"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:36.059054" elapsed="0.101078"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.161267" level="INFO">${next} = 18080</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.160514" elapsed="0.000790"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.162082" level="INFO">${current_port} = 18080</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:36.161524" elapsed="0.000616"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.055218" elapsed="0.106999"/>
</kw>
<msg time="2026-04-11T23:14:36.162271" level="INFO">Repeating keyword, round 251/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:36.163829" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:36.163674" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.163641" elapsed="0.000276"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.164386" level="INFO">${current_Date} = 2026-04-11 23:14:36.164</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:36.164155" elapsed="0.000267"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.165338" level="INFO">${ellapsed_seconds} = 2668.082</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:36.164645" elapsed="0.000730"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.165848" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:36.165473" elapsed="0.000450"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.165448" elapsed="0.000507"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:36.163319" elapsed="0.002700"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.166738" level="INFO">${number} = 251</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.166215" elapsed="0.000559"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.168747" level="INFO">${number} = 251</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.168223" elapsed="0.000561"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.170506" level="INFO">${device-port} = 18080</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.169918" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.172864" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:36.205446" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.205690" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.172770" elapsed="0.032981"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.206622" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:36.206756" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:36.205910" elapsed="0.000949">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:36.205867" elapsed="0.001080">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:36.172489" elapsed="0.034718">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:36.172095" elapsed="0.035317"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.208392" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18080 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:36.267611" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.267816" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.207911" elapsed="0.059958"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:36.268050" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:36.268865" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:36.171333" elapsed="0.097740"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:36.269682" elapsed="0.001692"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:36.170757" elapsed="0.100878"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:36.169554" elapsed="0.102225"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:36.168999" elapsed="0.102878"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.167616" elapsed="0.104383"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:36.166986" elapsed="0.105107"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.273237" level="INFO">${next} = 18081</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.272429" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.274328" level="INFO">${current_port} = 18081</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:36.273710" elapsed="0.000678"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.162528" elapsed="0.111939"/>
</kw>
<msg time="2026-04-11T23:14:36.274523" level="INFO">Repeating keyword, round 252/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:36.276174" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:36.276023" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.275997" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.276700" level="INFO">${current_Date} = 2026-04-11 23:14:36.277</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:36.276461" elapsed="0.000275"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.277683" level="INFO">${ellapsed_seconds} = 2667.969</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:36.276950" elapsed="0.000771"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.278139" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:36.277820" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.277794" elapsed="0.000450"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:36.275679" elapsed="0.002628"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.279029" level="INFO">${number} = 252</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.278503" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.281044" level="INFO">${number} = 252</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.280530" elapsed="0.000550"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.282743" level="INFO">${device-port} = 18081</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.282133" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.285098" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:36.321383" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.321627" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.284996" elapsed="0.036692"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.322543" elapsed="0.000088"/>
</kw>
<msg time="2026-04-11T23:14:36.322709" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:36.321848" elapsed="0.001053">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:36.321805" elapsed="0.001192">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:36.284720" elapsed="0.038546">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:36.284316" elapsed="0.039088"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.324373" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18081 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:36.383247" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.383453" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.323898" elapsed="0.059608"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:36.383722" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:36.384461" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:36.283549" elapsed="0.101158"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:36.385274" elapsed="0.001728"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:36.282971" elapsed="0.104256"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:36.281800" elapsed="0.105570"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:36.281295" elapsed="0.106172"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.279923" elapsed="0.107699"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:36.279273" elapsed="0.108447"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.388820" level="INFO">${next} = 18082</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.388054" elapsed="0.000825"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.390187" level="INFO">${current_port} = 18082</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:36.389238" elapsed="0.001034"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.274819" elapsed="0.115531"/>
</kw>
<msg time="2026-04-11T23:14:36.390403" level="INFO">Repeating keyword, round 253/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:36.391952" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:36.391795" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.391769" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.392489" level="INFO">${current_Date} = 2026-04-11 23:14:36.392</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:36.392279" elapsed="0.000246"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.393437" level="INFO">${ellapsed_seconds} = 2667.854</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:36.392749" elapsed="0.000725"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.393940" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:36.393620" elapsed="0.000395"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.393547" elapsed="0.000500"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:36.391439" elapsed="0.002671"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.394838" level="INFO">${number} = 253</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.394309" elapsed="0.000565"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.396806" level="INFO">${number} = 253</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.396323" elapsed="0.000519"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.398865" level="INFO">${device-port} = 18082</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.398256" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.401207" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:36.437163" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.437393" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.401104" elapsed="0.036349"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.438412" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:36.438548" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:36.437703" elapsed="0.000986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:36.437653" elapsed="0.001129">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:36.400836" elapsed="0.038227">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:36.400438" elapsed="0.038830"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.440267" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18082 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:36.499614" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.499877" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.439774" elapsed="0.060158"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:36.500140" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:14:36.500966" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:36.399697" elapsed="0.101472"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:36.501816" elapsed="0.001793"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:36.399099" elapsed="0.104739"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:36.397796" elapsed="0.106179"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:36.397056" elapsed="0.107017"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.395720" elapsed="0.108478"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:36.395083" elapsed="0.109213"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.505632" level="INFO">${next} = 18083</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.504666" elapsed="0.001027"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.506754" level="INFO">${current_port} = 18083</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:36.506094" elapsed="0.000722"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.390682" elapsed="0.116218"/>
</kw>
<msg time="2026-04-11T23:14:36.506958" level="INFO">Repeating keyword, round 254/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:36.508722" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:36.508528" elapsed="0.000256"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.508499" elapsed="0.000318"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.509288" level="INFO">${current_Date} = 2026-04-11 23:14:36.509</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:36.509033" elapsed="0.000306"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.510429" level="INFO">${ellapsed_seconds} = 2667.737</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:36.509562" elapsed="0.000905"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.510960" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:36.510598" elapsed="0.000440"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.510544" elapsed="0.000528"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:36.508172" elapsed="0.002968"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.511906" level="INFO">${number} = 254</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.511354" elapsed="0.000590"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.514063" level="INFO">${number} = 254</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.513486" elapsed="0.000616"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.515780" level="INFO">${device-port} = 18083</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.515167" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.518158" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:36.549440" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.549693" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.518058" elapsed="0.031696"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.550697" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:36.550831" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:36.549919" elapsed="0.001119">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:36.549874" elapsed="0.001261">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:36.517771" elapsed="0.033646">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:36.517365" elapsed="0.034191"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.552524" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18083 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:36.607857" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.608079" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.552043" elapsed="0.056092"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:36.608322" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:36.609127" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:36.516607" elapsed="0.092722"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:36.609950" elapsed="0.001828"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:36.516007" elapsed="0.096002"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:36.514828" elapsed="0.097322"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:36.514311" elapsed="0.097942"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.512843" elapsed="0.099561"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:36.512169" elapsed="0.100333"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.613683" level="INFO">${next} = 18084</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.612880" elapsed="0.000864"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.615026" level="INFO">${current_port} = 18084</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:36.614098" elapsed="0.001024"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.507273" elapsed="0.107964"/>
</kw>
<msg time="2026-04-11T23:14:36.615296" level="INFO">Repeating keyword, round 255/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:36.616890" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:36.616734" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.616708" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.617438" level="INFO">${current_Date} = 2026-04-11 23:14:36.617</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:36.617222" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.619732" level="INFO">${ellapsed_seconds} = 2667.629</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:36.617727" elapsed="0.002042"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.620193" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:36.619869" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.619843" elapsed="0.000457"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:36.616370" elapsed="0.003994"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.621089" level="INFO">${number} = 255</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.620562" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.623119" level="INFO">${number} = 255</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.622651" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.624775" level="INFO">${device-port} = 18084</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.624165" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.627166" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:36.657332" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.657552" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.627071" elapsed="0.030577"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.658499" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:36.658689" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:36.657810" elapsed="0.000985">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:36.657766" elapsed="0.001118">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:36.626808" elapsed="0.032341">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:36.626353" elapsed="0.032999"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.660334" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18084 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:36.715452" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.715702" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.659851" elapsed="0.055908"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:36.715942" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:36.716746" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:36.625605" elapsed="0.091347"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:36.717533" elapsed="0.001757"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:36.625004" elapsed="0.094428"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:36.623833" elapsed="0.095687"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:36.623327" elapsed="0.096276"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.621994" elapsed="0.097689"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:36.621334" elapsed="0.098408"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.720424" level="INFO">${next} = 18085</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.719954" elapsed="0.000505"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.721241" level="INFO">${current_port} = 18085</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:36.720700" elapsed="0.000599"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.615572" elapsed="0.105805"/>
</kw>
<msg time="2026-04-11T23:14:36.721431" level="INFO">Repeating keyword, round 256/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:36.723088" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:36.722932" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.722902" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.723639" level="INFO">${current_Date} = 2026-04-11 23:14:36.723</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:36.723389" elapsed="0.000288"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.724326" level="INFO">${ellapsed_seconds} = 2667.523</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:36.723880" elapsed="0.000481"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.725136" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:36.724794" elapsed="0.000417"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.724432" elapsed="0.000812"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:36.722552" elapsed="0.002757"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.726079" level="INFO">${number} = 256</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.725508" elapsed="0.000608"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.727903" level="INFO">${number} = 256</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.727529" elapsed="0.000400"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.729534" level="INFO">${device-port} = 18085</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.728938" elapsed="0.000623"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.731945" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:36.765333" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.765466" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.731845" elapsed="0.033658"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.766070" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:36.766152" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:36.765627" elapsed="0.000694">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:36.765598" elapsed="0.000819">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:36.731554" elapsed="0.035173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:36.731164" elapsed="0.035707"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.767885" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18085 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:36.823477" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.823724" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.767355" elapsed="0.056424"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:36.823961" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:36.824747" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:36.730375" elapsed="0.094577"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:36.825518" elapsed="0.001722"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:36.729789" elapsed="0.097701"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:36.728600" elapsed="0.099065"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:36.728083" elapsed="0.099682"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.727015" elapsed="0.100871"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:36.726328" elapsed="0.101652"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.829093" level="INFO">${next} = 18086</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.828323" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.830397" level="INFO">${current_port} = 18086</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:36.829504" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.721744" elapsed="0.108904"/>
</kw>
<msg time="2026-04-11T23:14:36.830738" level="INFO">Repeating keyword, round 257/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:36.832702" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:36.832592" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.832553" elapsed="0.000211"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.833105" level="INFO">${current_Date} = 2026-04-11 23:14:36.833</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:36.832947" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.833625" level="INFO">${ellapsed_seconds} = 2667.413</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:36.833274" elapsed="0.000379"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.834145" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:36.833723" elapsed="0.000477"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.833704" elapsed="0.000520"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:36.832333" elapsed="0.001938"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.834798" level="INFO">${number} = 257</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.834414" elapsed="0.000410"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.836223" level="INFO">${number} = 257</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.835887" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.837991" level="INFO">${device-port} = 18086</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.837242" elapsed="0.000776"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.840372" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:36.878062" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.878275" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.840276" elapsed="0.038057"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.879227" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:36.879360" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:36.878493" elapsed="0.000970">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:36.878449" elapsed="0.001176">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:36.840005" elapsed="0.039895">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:36.839621" elapsed="0.040484"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.881080" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18086 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:36.935445" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.935811" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.880559" elapsed="0.055312"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:36.936102" elapsed="0.000175"/>
</return>
<msg time="2026-04-11T23:14:36.936966" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:36.838832" elapsed="0.098338"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:36.937893" elapsed="0.001960"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:36.838220" elapsed="0.101882"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:36.836907" elapsed="0.103358"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:36.836404" elapsed="0.103983"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.835431" elapsed="0.105091"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:36.834977" elapsed="0.105685"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.941922" level="INFO">${next} = 18087</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.941037" elapsed="0.000947"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.943371" level="INFO">${current_port} = 18087</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:36.942369" elapsed="0.001045"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.831152" elapsed="0.112321"/>
</kw>
<msg time="2026-04-11T23:14:36.943513" level="INFO">Repeating keyword, round 258/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:36.944773" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:36.944659" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.944637" elapsed="0.000201"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.945176" level="INFO">${current_Date} = 2026-04-11 23:14:36.945</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:36.944987" elapsed="0.000216"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:36.945720" level="INFO">${ellapsed_seconds} = 2667.301</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:36.945349" elapsed="0.000397"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.946341" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:36.945817" elapsed="0.000579"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:36.945797" elapsed="0.000622"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:36.944394" elapsed="0.002072"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.947012" level="INFO">${number} = 258</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.946651" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.948627" level="INFO">${number} = 258</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.948099" elapsed="0.000554"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:36.950276" level="INFO">${device-port} = 18087</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:36.949682" elapsed="0.000621"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.952693" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:36.989882" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:36.990131" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.952593" elapsed="0.037599"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:36.991158" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:36.991294" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:36.990368" elapsed="0.001147">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:36.990320" elapsed="0.001324">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:36.952309" elapsed="0.039631">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:36.951924" elapsed="0.040188"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:36.993146" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18087 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:37.051777" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.052000" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:36.992629" elapsed="0.059428"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:37.052277" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:14:37.053118" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:36.951115" elapsed="0.102213"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:37.053982" elapsed="0.001793"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:36.950505" elapsed="0.105500"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:36.949317" elapsed="0.106831"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:36.948811" elapsed="0.107456"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.947649" elapsed="0.108746"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:36.947188" elapsed="0.109304"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.057687" level="INFO">${next} = 18088</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.056866" elapsed="0.000886"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.059036" level="INFO">${current_port} = 18088</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:37.058117" elapsed="0.001014"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:36.943766" elapsed="0.115494"/>
</kw>
<msg time="2026-04-11T23:14:37.059345" level="INFO">Repeating keyword, round 259/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:37.061535" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:37.061428" elapsed="0.000176"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.061407" elapsed="0.000221"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.061968" level="INFO">${current_Date} = 2026-04-11 23:14:37.062</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:37.061806" elapsed="0.000188"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.062458" level="INFO">${ellapsed_seconds} = 2667.184</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:37.062139" elapsed="0.000345"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.063037" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:37.062554" elapsed="0.000538"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.062536" elapsed="0.000580"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:37.061114" elapsed="0.002049"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.063695" level="INFO">${number} = 259</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.063311" elapsed="0.000411"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.065125" level="INFO">${number} = 259</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.064789" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.066773" level="INFO">${device-port} = 18088</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.066154" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.069157" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:37.104887" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.105126" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.069061" elapsed="0.036129"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.106117" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:37.106249" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:37.105368" elapsed="0.000986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:37.105322" elapsed="0.001172">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:37.068794" elapsed="0.038012">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:37.068391" elapsed="0.038638"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.108036" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18088 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:37.163310" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.163524" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.107504" elapsed="0.056107"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:37.163801" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:37.164563" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:37.067606" elapsed="0.097238"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:37.165426" elapsed="0.001788"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:37.067001" elapsed="0.100443"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:37.065819" elapsed="0.101797"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:37.065307" elapsed="0.102414"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.064337" elapsed="0.103509"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:37.063876" elapsed="0.104066"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.169116" level="INFO">${next} = 18089</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.168285" elapsed="0.000890"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.170000" level="INFO">${current_port} = 18089</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:37.169420" elapsed="0.000638"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.059796" elapsed="0.110341"/>
</kw>
<msg time="2026-04-11T23:14:37.170192" level="INFO">Repeating keyword, round 260/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:37.171799" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:37.171640" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.171613" elapsed="0.000273"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.172310" level="INFO">${current_Date} = 2026-04-11 23:14:37.172</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:37.172089" elapsed="0.000257"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.173437" level="INFO">${ellapsed_seconds} = 2667.074</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:37.172715" elapsed="0.000760"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.173940" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:37.173610" elapsed="0.000405"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.173549" elapsed="0.000498"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:37.171282" elapsed="0.002829"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.174862" level="INFO">${number} = 260</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.174310" elapsed="0.000589"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.176901" level="INFO">${number} = 260</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.176357" elapsed="0.000581"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.178632" level="INFO">${device-port} = 18089</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.178033" elapsed="0.000626"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.181050" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:37.213595" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.213810" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.180951" elapsed="0.032917"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.214755" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:37.214886" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:37.214030" elapsed="0.001037">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:37.213985" elapsed="0.001177">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:37.180628" elapsed="0.034801">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:37.180214" elapsed="0.035383"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.216536" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18089 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:37.271442" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.271858" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.216055" elapsed="0.055864"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:37.272193" elapsed="0.000370"/>
</return>
<msg time="2026-04-11T23:14:37.273314" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:37.179448" elapsed="0.094078"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:37.274272" elapsed="0.001897"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:37.178861" elapsed="0.097544"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:37.177697" elapsed="0.098857"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:37.177153" elapsed="0.099540"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.175744" elapsed="0.101083"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:37.175109" elapsed="0.101818"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.278186" level="INFO">${next} = 18090</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.277321" elapsed="0.000925"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.279080" level="INFO">${current_port} = 18090</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:37.278479" elapsed="0.000659"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.170453" elapsed="0.108767"/>
</kw>
<msg time="2026-04-11T23:14:37.279277" level="INFO">Repeating keyword, round 261/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:37.281027" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:37.280865" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.280829" elapsed="0.000305"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.281691" level="INFO">${current_Date} = 2026-04-11 23:14:37.282</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:37.281400" elapsed="0.000328"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.282790" level="INFO">${ellapsed_seconds} = 2666.964</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:37.281933" elapsed="0.000894"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.283279" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:37.282925" elapsed="0.000429"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.282899" elapsed="0.000487"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:37.280494" elapsed="0.002958"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.284213" level="INFO">${number} = 261</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.283678" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.286268" level="INFO">${number} = 261</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.285796" elapsed="0.000498"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.287953" level="INFO">${device-port} = 18090</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.287340" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.290352" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:37.333381" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.333638" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.290244" elapsed="0.043457"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.334626" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:37.334762" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:37.333874" elapsed="0.000994">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:37.333820" elapsed="0.001136">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:37.289978" elapsed="0.045262">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:37.289585" elapsed="0.045857"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.336422" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18090 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:37.391228" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.391441" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.335938" elapsed="0.055557"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:37.391718" elapsed="0.000156"/>
</return>
<msg time="2026-04-11T23:14:37.392499" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:37.288793" elapsed="0.103955"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:37.393351" elapsed="0.001841"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:37.288186" elapsed="0.107236"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:37.287006" elapsed="0.108557"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:37.286450" elapsed="0.109319"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.285147" elapsed="0.110771"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:37.284464" elapsed="0.111556"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.397135" level="INFO">${next} = 18091</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.396360" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.398400" level="INFO">${current_port} = 18091</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:37.397625" elapsed="0.000833"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.279632" elapsed="0.118902"/>
</kw>
<msg time="2026-04-11T23:14:37.398609" level="INFO">Repeating keyword, round 262/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:37.400188" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:37.400032" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.400005" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.400708" level="INFO">${current_Date} = 2026-04-11 23:14:37.401</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:37.400471" elapsed="0.000273"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.401674" level="INFO">${ellapsed_seconds} = 2666.845</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:37.400942" elapsed="0.000769"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.402130" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:37.401811" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.401784" elapsed="0.000451"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:37.399693" elapsed="0.002604"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.403018" level="INFO">${number} = 262</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.402492" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.404999" level="INFO">${number} = 262</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.404513" elapsed="0.000523"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.407023" level="INFO">${device-port} = 18091</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.406411" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.409362" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:37.445295" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.445508" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.409266" elapsed="0.036301"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.446484" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:37.446646" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:37.445795" elapsed="0.001035">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:37.445722" elapsed="0.001204">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:37.408995" elapsed="0.038198">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:37.408609" elapsed="0.038722"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.448321" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18091 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:37.502393" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.502630" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.447831" elapsed="0.054862"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:37.502872" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:37.503650" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:37.407850" elapsed="0.096007"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:37.504423" elapsed="0.001752"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:37.407250" elapsed="0.099109"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:37.406000" elapsed="0.100447"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:37.405262" elapsed="0.101246"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.403910" elapsed="0.102695"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:37.403263" elapsed="0.103404"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.507333" level="INFO">${next} = 18092</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.506878" elapsed="0.000499"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.508144" level="INFO">${current_port} = 18092</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:37.507622" elapsed="0.000579"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.398876" elapsed="0.109403"/>
</kw>
<msg time="2026-04-11T23:14:37.508331" level="INFO">Repeating keyword, round 263/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:37.509882" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:37.509733" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.509706" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.510437" level="INFO">${current_Date} = 2026-04-11 23:14:37.510</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:37.510225" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.511375" level="INFO">${ellapsed_seconds} = 2666.736</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:37.510696" elapsed="0.000715"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.511856" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:37.511510" elapsed="0.000420"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.511484" elapsed="0.000479"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:37.509374" elapsed="0.002652"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.512786" level="INFO">${number} = 263</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.512223" elapsed="0.000599"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.514643" level="INFO">${number} = 263</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.514295" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.516253" level="INFO">${device-port} = 18092</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.515663" elapsed="0.000617"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.518833" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:37.549506" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.549758" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.518700" elapsed="0.031117"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.550750" elapsed="0.000070"/>
</kw>
<msg time="2026-04-11T23:14:37.550898" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:37.549986" elapsed="0.001020">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:37.549939" elapsed="0.001166">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:37.518362" elapsed="0.033017">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:37.517899" elapsed="0.033740"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.552627" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18092 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:37.606791" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.606994" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.552107" elapsed="0.054940"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:37.607229" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:37.608044" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:37.517079" elapsed="0.091192"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:37.608909" elapsed="0.001824"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:37.516478" elapsed="0.094484"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:37.515303" elapsed="0.095798"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:37.514823" elapsed="0.096377"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.513666" elapsed="0.097658"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:37.513034" elapsed="0.098387"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.612535" level="INFO">${next} = 18093</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.611794" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.613870" level="INFO">${current_port} = 18093</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:37.612999" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.508622" elapsed="0.105464"/>
</kw>
<msg time="2026-04-11T23:14:37.614172" level="INFO">Repeating keyword, round 264/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:37.616184" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:37.616033" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.616000" elapsed="0.000272"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.616752" level="INFO">${current_Date} = 2026-04-11 23:14:37.617</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:37.616475" elapsed="0.000313"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.617736" level="INFO">${ellapsed_seconds} = 2666.629</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:37.616989" elapsed="0.000784"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.618196" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:37.617872" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.617846" elapsed="0.000456"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:37.615696" elapsed="0.002669"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.619104" level="INFO">${number} = 264</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.618600" elapsed="0.000540"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.621099" level="INFO">${number} = 264</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.620630" elapsed="0.000505"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.623377" level="INFO">${device-port} = 18093</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.622568" elapsed="0.000836"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.625756" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:37.657150" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.657324" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.625659" elapsed="0.031705"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.658023" elapsed="0.000041"/>
</kw>
<msg time="2026-04-11T23:14:37.658114" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:37.657488" elapsed="0.000765">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:37.657452" elapsed="0.000878">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:37.625370" elapsed="0.033160">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:37.624987" elapsed="0.033708"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.659404" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18093 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:37.715409" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.715651" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.659036" elapsed="0.056674"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:37.715896" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:37.716699" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:37.624214" elapsed="0.092688"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:37.717481" elapsed="0.001880"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:37.623623" elapsed="0.095886"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:37.622064" elapsed="0.097558"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:37.621351" elapsed="0.098337"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.619982" elapsed="0.099785"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:37.619349" elapsed="0.100478"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.720508" level="INFO">${next} = 18094</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.720040" elapsed="0.000504"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.721328" level="INFO">${current_port} = 18094</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:37.720791" elapsed="0.000594"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.614665" elapsed="0.106798"/>
</kw>
<msg time="2026-04-11T23:14:37.721517" level="INFO">Repeating keyword, round 265/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:37.723103" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:37.722954" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.722928" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.723677" level="INFO">${current_Date} = 2026-04-11 23:14:37.724</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:37.723431" elapsed="0.000290"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.724648" level="INFO">${ellapsed_seconds} = 2666.522</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:37.723923" elapsed="0.000762"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.725107" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:37.724784" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.724759" elapsed="0.000456"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:37.722603" elapsed="0.002677"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.726036" level="INFO">${number} = 265</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.725476" elapsed="0.000597"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.727863" level="INFO">${number} = 265</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.727491" elapsed="0.000398"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.729481" level="INFO">${device-port} = 18094</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.728894" elapsed="0.000614"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.732854" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:37.764707" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.764847" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.732752" elapsed="0.032131"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.765429" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:14:37.765511" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:37.764989" elapsed="0.000619">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:37.764962" elapsed="0.000706">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:37.732463" elapsed="0.033376">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:37.732046" elapsed="0.033955"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.766624" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18094 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:37.822972" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.823182" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.766290" elapsed="0.056971"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:37.823446" elapsed="0.000179"/>
</return>
<msg time="2026-04-11T23:14:37.824249" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:37.731232" elapsed="0.093220"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:37.825062" elapsed="0.001693"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:37.729730" elapsed="0.097261"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:37.728545" elapsed="0.098585"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:37.728050" elapsed="0.099299"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.726962" elapsed="0.100550"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:37.726284" elapsed="0.101369"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.828613" level="INFO">${next} = 18095</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.828015" elapsed="0.000637"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.829389" level="INFO">${current_port} = 18095</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:37.828871" elapsed="0.000575"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.721814" elapsed="0.107709"/>
</kw>
<msg time="2026-04-11T23:14:37.829600" level="INFO">Repeating keyword, round 266/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:37.831149" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:37.831000" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.830974" elapsed="0.000291"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.831719" level="INFO">${current_Date} = 2026-04-11 23:14:37.832</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:37.831475" elapsed="0.000281"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.832700" level="INFO">${ellapsed_seconds} = 2666.414</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:37.831956" elapsed="0.000782"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.833153" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:37.832837" elapsed="0.000390"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.832811" elapsed="0.000448"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:37.830666" elapsed="0.002655"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.834042" level="INFO">${number} = 266</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.833517" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.836031" level="INFO">${number} = 266</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.835546" elapsed="0.000521"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.838321" level="INFO">${device-port} = 18095</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.837468" elapsed="0.000890"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.841265" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:37.876991" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.877123" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.841171" elapsed="0.035988"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.877711" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:37.877794" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:37.877259" elapsed="0.000655">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:37.877231" elapsed="0.000743">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:37.840898" elapsed="0.037239">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:37.840492" elapsed="0.037730"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.878842" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18095 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:37.934998" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.935123" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.878504" elapsed="0.056653"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:37.935267" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:37.935783" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:37.839507" elapsed="0.096404"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:37.936266" elapsed="0.001054"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:37.838661" elapsed="0.098799"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:37.837003" elapsed="0.100549"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:37.836281" elapsed="0.101358"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.834923" elapsed="0.102793"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:37.834287" elapsed="0.103487"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.938478" level="INFO">${next} = 18096</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.937990" elapsed="0.000525"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.939285" level="INFO">${current_port} = 18096</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:37.938769" elapsed="0.000574"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.829868" elapsed="0.109553"/>
</kw>
<msg time="2026-04-11T23:14:37.939474" level="INFO">Repeating keyword, round 267/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:37.941050" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:37.940900" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.940866" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.941628" level="INFO">${current_Date} = 2026-04-11 23:14:37.942</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:37.941394" elapsed="0.000272"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:37.944010" level="INFO">${ellapsed_seconds} = 2666.304</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:37.941868" elapsed="0.002179"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.944463" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:37.944147" elapsed="0.000390"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:37.944121" elapsed="0.000468"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:37.940540" elapsed="0.004116"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.945354" level="INFO">${number} = 267</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.944853" elapsed="0.000538"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.947338" level="INFO">${number} = 267</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.946874" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:37.949256" level="INFO">${device-port} = 18096</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:37.948664" elapsed="0.000619"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.951759" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:37.984899" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:37.985032" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.951662" elapsed="0.033406"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:37.985624" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:14:37.985710" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:37.985168" elapsed="0.000607">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:37.985140" elapsed="0.000691">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:37.951370" elapsed="0.034626">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:37.950989" elapsed="0.035135"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:37.986741" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18096 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:38.043031" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.043158" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:37.986406" elapsed="0.056786"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:38.043305" elapsed="0.000088"/>
</return>
<msg time="2026-04-11T23:14:38.043806" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:37.950087" elapsed="0.093846"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:38.044308" elapsed="0.001051"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:37.949483" elapsed="0.096017"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:37.948309" elapsed="0.097302"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:37.947635" elapsed="0.098039"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.946239" elapsed="0.099512"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:37.945624" elapsed="0.100186"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.046473" level="INFO">${next} = 18097</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.046018" elapsed="0.000491"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.047270" level="INFO">${current_port} = 18097</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:38.046751" elapsed="0.000576"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:37.939783" elapsed="0.107622"/>
</kw>
<msg time="2026-04-11T23:14:38.047459" level="INFO">Repeating keyword, round 268/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:38.049031" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:38.048884" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.048858" elapsed="0.000260"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.049522" level="INFO">${current_Date} = 2026-04-11 23:14:38.049</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:38.049313" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.050195" level="INFO">${ellapsed_seconds} = 2666.197</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:38.049782" elapsed="0.000448"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.050937" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:38.050607" elapsed="0.000406"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.050301" elapsed="0.000744"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:38.048526" elapsed="0.002583"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.051886" level="INFO">${number} = 268</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.051306" elapsed="0.000617"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.053886" level="INFO">${number} = 268</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.053398" elapsed="0.000525"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.056372" level="INFO">${device-port} = 18097</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.055337" elapsed="0.001062"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.058735" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:38.093151" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.093285" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.058640" elapsed="0.034681"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.093881" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:14:38.093963" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:38.093421" elapsed="0.000656">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:38.093393" elapsed="0.000744">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:38.058360" elapsed="0.035942">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:38.057971" elapsed="0.036417"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.095004" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18097 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:38.151171" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.151455" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.094702" elapsed="0.056793"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:38.151726" elapsed="0.000154"/>
</return>
<msg time="2026-04-11T23:14:38.152396" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:38.057203" elapsed="0.095320"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:38.153019" elapsed="0.001234"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:38.056618" elapsed="0.097779"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:38.054868" elapsed="0.099623"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:38.054158" elapsed="0.100401"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.052791" elapsed="0.101883"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:38.052154" elapsed="0.102587"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.155473" level="INFO">${next} = 18098</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.154968" elapsed="0.000542"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.156334" level="INFO">${current_port} = 18098</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:38.155764" elapsed="0.000632"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.047736" elapsed="0.108753"/>
</kw>
<msg time="2026-04-11T23:14:38.156549" level="INFO">Repeating keyword, round 269/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:38.158314" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:38.158154" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.158121" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.159566" level="INFO">${current_Date} = 2026-04-11 23:14:38.159</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:38.159105" elapsed="0.000627"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.160857" level="INFO">${ellapsed_seconds} = 2666.087</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:38.160091" elapsed="0.000830"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.162131" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:38.161081" elapsed="0.001173"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.161039" elapsed="0.001270"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:38.157803" elapsed="0.004610"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.163610" level="INFO">${number} = 269</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.162759" elapsed="0.000912"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.166320" level="INFO">${number} = 269</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.165817" elapsed="0.000542"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.168833" level="INFO">${device-port} = 18098</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.167884" elapsed="0.000989"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.172422" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:38.205667" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.205913" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.172230" elapsed="0.033740"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.206944" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:38.207078" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:38.206164" elapsed="0.001023">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:38.206107" elapsed="0.001171">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:38.171835" elapsed="0.035760">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:38.171237" elapsed="0.036592"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.208896" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18098 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:38.263506" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.263909" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.208304" elapsed="0.055673"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:38.264243" elapsed="0.000124"/>
</return>
<msg time="2026-04-11T23:14:38.264734" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:38.170080" elapsed="0.094752"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:38.265162" elapsed="0.000889"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:38.169176" elapsed="0.096982"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:38.167353" elapsed="0.098874"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:38.166612" elapsed="0.099665"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.165076" elapsed="0.101262"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:38.164012" elapsed="0.102373"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.266934" level="INFO">${next} = 18099</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.266544" elapsed="0.000417"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.267538" level="INFO">${current_port} = 18099</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:38.267128" elapsed="0.000474"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.156902" elapsed="0.110761"/>
</kw>
<msg time="2026-04-11T23:14:38.267705" level="INFO">Repeating keyword, round 270/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:38.268968" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:38.268854" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.268832" elapsed="0.000207"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.269363" level="INFO">${current_Date} = 2026-04-11 23:14:38.269</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:38.269186" elapsed="0.000203"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.269889" level="INFO">${ellapsed_seconds} = 2665.977</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:38.269533" elapsed="0.000382"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.270494" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:38.269984" elapsed="0.000565"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.269966" elapsed="0.000623"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:38.268559" elapsed="0.002081"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.271147" level="INFO">${number} = 270</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.270784" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.272590" level="INFO">${number} = 270</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.272234" elapsed="0.000385"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.274292" level="INFO">${device-port} = 18099</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.273693" elapsed="0.000626"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.276712" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:38.317231" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.317428" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.276609" elapsed="0.040848"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.318091" elapsed="0.000031"/>
</kw>
<msg time="2026-04-11T23:14:38.318159" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:38.317617" elapsed="0.000691">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:38.317550" elapsed="0.000807">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:38.276321" elapsed="0.042188">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:38.275927" elapsed="0.042669"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.319108" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18099 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:38.375044" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.375277" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.318856" elapsed="0.056450"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:38.375475" elapsed="0.000128"/>
</return>
<msg time="2026-04-11T23:14:38.375931" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:38.275148" elapsed="0.100883"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:38.376373" elapsed="0.000930"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:38.274524" elapsed="0.102887"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:38.273295" elapsed="0.104185"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:38.272789" elapsed="0.104740"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.271797" elapsed="0.105810"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:38.271325" elapsed="0.106331"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.378184" level="INFO">${next} = 18100</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.377814" elapsed="0.000396"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.378800" level="INFO">${current_port} = 18100</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:38.378380" elapsed="0.000462"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.267941" elapsed="0.110959"/>
</kw>
<msg time="2026-04-11T23:14:38.378940" level="INFO">Repeating keyword, round 271/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:38.380187" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:38.380072" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.380050" elapsed="0.000201"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.380660" level="INFO">${current_Date} = 2026-04-11 23:14:38.381</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:38.380460" elapsed="0.000226"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.381198" level="INFO">${ellapsed_seconds} = 2665.865</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:38.380832" elapsed="0.000392"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.381807" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:38.381296" elapsed="0.000566"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.381276" elapsed="0.000609"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:38.379824" elapsed="0.002109"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.382440" level="INFO">${number} = 271</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.382077" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.383894" level="INFO">${number} = 271</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.383536" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.385602" level="INFO">${device-port} = 18100</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.384973" elapsed="0.000658"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.387980" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:38.429316" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.429463" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.387879" elapsed="0.041611"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.430029" elapsed="0.000029"/>
</kw>
<msg time="2026-04-11T23:14:38.430095" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:38.429621" elapsed="0.000527">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:38.429586" elapsed="0.000605">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:38.387612" elapsed="0.042724">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:38.387203" elapsed="0.043262"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.430969" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18100 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:38.487113" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.487262" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.430722" elapsed="0.056566"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:38.487428" elapsed="0.000092"/>
</return>
<msg time="2026-04-11T23:14:38.487850" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:38.386423" elapsed="0.101522"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:38.488251" elapsed="0.000885"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:38.385833" elapsed="0.103408"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:38.384631" elapsed="0.104678"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:38.384075" elapsed="0.105285"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.383090" elapsed="0.106330"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:38.382638" elapsed="0.106849"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.490019" level="INFO">${next} = 18101</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.489659" elapsed="0.000386"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.490636" level="INFO">${current_port} = 18101</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:38.490215" elapsed="0.000463"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.379183" elapsed="0.111552"/>
</kw>
<msg time="2026-04-11T23:14:38.490776" level="INFO">Repeating keyword, round 272/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:38.492024" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:38.491912" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.491891" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.492436" level="INFO">${current_Date} = 2026-04-11 23:14:38.492</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:38.492233" elapsed="0.000231"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.493234" level="INFO">${ellapsed_seconds} = 2665.754</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:38.492647" elapsed="0.000614"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.493667" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:38.493345" elapsed="0.000377"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.493322" elapsed="0.000423"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:38.491658" elapsed="0.002134"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.494307" level="INFO">${number} = 272</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.493933" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.495774" level="INFO">${number} = 272</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.495416" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.497533" level="INFO">${device-port} = 18101</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.496884" elapsed="0.000676"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.500001" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:38.537000" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.537142" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.499900" elapsed="0.037270"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.537747" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:38.537811" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:38.537283" elapsed="0.000658">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:38.537246" elapsed="0.000741">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:38.499624" elapsed="0.038504">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:38.499181" elapsed="0.039013"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.538702" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18101 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:38.595252" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.595442" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.538437" elapsed="0.057032"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:38.595629" elapsed="0.000096"/>
</return>
<msg time="2026-04-11T23:14:38.596039" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:38.498393" elapsed="0.097739"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:38.596481" elapsed="0.000872"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:38.497782" elapsed="0.099680"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:38.496476" elapsed="0.101054"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:38.495955" elapsed="0.101643"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.494977" elapsed="0.102684"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:38.494510" elapsed="0.103196"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.598246" level="INFO">${next} = 18102</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.597878" elapsed="0.000394"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.598860" level="INFO">${current_port} = 18102</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:38.598441" elapsed="0.000460"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.491003" elapsed="0.107954"/>
</kw>
<msg time="2026-04-11T23:14:38.598997" level="INFO">Repeating keyword, round 273/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:38.600266" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:38.600152" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.600131" elapsed="0.000203"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.600780" level="INFO">${current_Date} = 2026-04-11 23:14:38.601</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:38.600602" elapsed="0.000204"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.601559" level="INFO">${ellapsed_seconds} = 2665.645</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:38.600951" elapsed="0.000656"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.601963" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:38.601679" elapsed="0.000340"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.601661" elapsed="0.000383"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:38.599900" elapsed="0.002191"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.602664" level="INFO">${number} = 273</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.602235" elapsed="0.000455"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.604100" level="INFO">${number} = 273</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.603761" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.605841" level="INFO">${device-port} = 18102</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.605176" elapsed="0.000693"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.608300" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:38.645141" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.645299" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.608199" elapsed="0.037130"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.645907" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:38.645986" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:38.645460" elapsed="0.000582">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:38.645422" elapsed="0.000675">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:38.607922" elapsed="0.038321">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:38.607516" elapsed="0.038857"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.646893" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18102 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:38.703746" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.704053" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.646641" elapsed="0.057470"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:38.704348" elapsed="0.000166"/>
</return>
<msg time="2026-04-11T23:14:38.705205" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:38.606722" elapsed="0.098695"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:38.706114" elapsed="0.001651"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:38.606072" elapsed="0.101847"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:38.604841" elapsed="0.103176"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:38.604285" elapsed="0.103801"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.603286" elapsed="0.104894"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:38.602843" elapsed="0.105405"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.709035" level="INFO">${next} = 18103</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.708480" elapsed="0.000593"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.709970" level="INFO">${current_port} = 18103</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:38.709316" elapsed="0.000716"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.599233" elapsed="0.110882"/>
</kw>
<msg time="2026-04-11T23:14:38.710188" level="INFO">Repeating keyword, round 274/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:38.711987" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:38.711823" elapsed="0.000226"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.711786" elapsed="0.000296"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.712548" level="INFO">${current_Date} = 2026-04-11 23:14:38.712</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:38.712301" elapsed="0.000308"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.713679" level="INFO">${ellapsed_seconds} = 2665.534</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:38.712823" elapsed="0.000895"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.714181" elapsed="0.000066"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:38.713826" elapsed="0.000471"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.713798" elapsed="0.000534"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:38.711436" elapsed="0.002965"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.715208" level="INFO">${number} = 274</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.714670" elapsed="0.000577"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.716680" level="INFO">${number} = 274</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.716326" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.718379" level="INFO">${device-port} = 18103</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.717726" elapsed="0.000680"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.720882" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:38.753687" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.753935" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.720778" elapsed="0.033218"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.755033" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:38.755169" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:38.754183" elapsed="0.001213">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:38.754130" elapsed="0.001371">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:38.720481" elapsed="0.035360">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:38.720045" elapsed="0.035943"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.757020" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18103 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:38.811718" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.812000" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.756463" elapsed="0.055593"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:38.812281" elapsed="0.000180"/>
</return>
<msg time="2026-04-11T23:14:38.813165" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:38.719251" elapsed="0.094129"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:38.814089" elapsed="0.001913"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:38.718632" elapsed="0.097603"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:38.717359" elapsed="0.099018"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:38.716861" elapsed="0.099616"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.715886" elapsed="0.100749"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:38.715422" elapsed="0.101313"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.817932" level="INFO">${next} = 18104</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.817092" elapsed="0.000901"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.819341" level="INFO">${current_port} = 18104</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:38.818347" elapsed="0.001057"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.710517" elapsed="0.108974"/>
</kw>
<msg time="2026-04-11T23:14:38.819551" level="INFO">Repeating keyword, round 275/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:38.821340" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:38.821176" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.821146" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.822090" level="INFO">${current_Date} = 2026-04-11 23:14:38.822</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:38.821831" elapsed="0.000298"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.823260" level="INFO">${ellapsed_seconds} = 2665.424</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:38.822353" elapsed="0.000948"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.823952" elapsed="0.000041"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:38.823426" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.823395" elapsed="0.000694"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:38.820805" elapsed="0.003353"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.824968" level="INFO">${number} = 275</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.824375" elapsed="0.000640"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.827467" level="INFO">${number} = 275</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.826837" elapsed="0.000657"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.829217" level="INFO">${device-port} = 18104</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.828604" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.831695" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:38.865531" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.865839" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.831589" elapsed="0.034313"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.867122" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:38.867261" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:38.866094" elapsed="0.001282">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:38.866040" elapsed="0.001427">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:38.831300" elapsed="0.036512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:38.830897" elapsed="0.037172"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.869152" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18104 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:38.923363" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.923701" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.868618" elapsed="0.055153"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:38.924008" elapsed="0.000169"/>
</return>
<msg time="2026-04-11T23:14:38.924871" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:38.830069" elapsed="0.095014"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:38.925770" elapsed="0.001881"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:38.829453" elapsed="0.098444"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:38.828195" elapsed="0.099851"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:38.827677" elapsed="0.100469"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.826075" elapsed="0.102199"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:38.825352" elapsed="0.103025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.929536" level="INFO">${next} = 18105</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.928758" elapsed="0.000897"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.931048" level="INFO">${current_port} = 18105</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:38.930048" elapsed="0.001100"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.819901" elapsed="0.111374"/>
</kw>
<msg time="2026-04-11T23:14:38.931334" level="INFO">Repeating keyword, round 276/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:38.932566" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:38.932453" elapsed="0.000174"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.932428" elapsed="0.000221"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.932978" level="INFO">${current_Date} = 2026-04-11 23:14:38.933</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:38.932798" elapsed="0.000208"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:38.933753" level="INFO">${ellapsed_seconds} = 2665.313</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:38.933151" elapsed="0.000629"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.934105" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:38.933852" elapsed="0.000309"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:38.933833" elapsed="0.000352"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:38.932197" elapsed="0.002035"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.934789" level="INFO">${number} = 276</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.934376" elapsed="0.000439"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.936326" level="INFO">${number} = 276</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.935962" elapsed="0.000397"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:38.938053" level="INFO">${device-port} = 18105</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:38.937410" elapsed="0.000678"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.940662" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:38.977201" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:38.977348" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.940541" elapsed="0.036834"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:38.977900" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:38.977963" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:38.977483" elapsed="0.000602">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:38.977449" elapsed="0.000682">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:38.940266" elapsed="0.038008">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:38.939869" elapsed="0.038500"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:38.978891" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18105 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:39.035658" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.035998" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:38.978655" elapsed="0.057401"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:39.036309" elapsed="0.000176"/>
</return>
<msg time="2026-04-11T23:14:39.037166" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:38.939028" elapsed="0.098344"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:39.038066" elapsed="0.001844"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:38.938304" elapsed="0.101832"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:38.937062" elapsed="0.103214"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:38.936533" elapsed="0.103812"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.935503" elapsed="0.104929"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:38.935001" elapsed="0.105497"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.041284" level="INFO">${next} = 18106</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.040760" elapsed="0.000566"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.042189" level="INFO">${current_port} = 18106</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:39.041565" elapsed="0.000685"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:38.931565" elapsed="0.110769"/>
</kw>
<msg time="2026-04-11T23:14:39.042393" level="INFO">Repeating keyword, round 277/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:39.044233" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:39.044066" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.044027" elapsed="0.000306"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.044887" level="INFO">${current_Date} = 2026-04-11 23:14:39.045</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:39.044639" elapsed="0.000286"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.045979" level="INFO">${ellapsed_seconds} = 2665.201</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:39.045140" elapsed="0.000879"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.046478" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:39.046124" elapsed="0.000434"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.046097" elapsed="0.000561"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:39.043698" elapsed="0.003031"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.047520" level="INFO">${number} = 277</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.046944" elapsed="0.000615"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.049198" level="INFO">${number} = 277</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.048860" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.050855" level="INFO">${device-port} = 18106</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.050235" elapsed="0.000647"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.053317" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:39.085389" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.085664" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.053210" elapsed="0.032514"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.086673" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:39.086807" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:39.085903" elapsed="0.001012">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:39.085852" elapsed="0.001153">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:39.052938" elapsed="0.034342">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:39.052536" elapsed="0.034999"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.088531" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18106 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:39.143021" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.143183" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.088036" elapsed="0.055173"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:39.143334" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:14:39.143770" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:39.051749" elapsed="0.092118"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:39.144170" elapsed="0.000848"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:39.051083" elapsed="0.094040"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:39.049900" elapsed="0.095288"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:39.049382" elapsed="0.095852"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.048404" elapsed="0.096897"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:39.047807" elapsed="0.097550"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.145916" level="INFO">${next} = 18107</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.145539" elapsed="0.000403"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.146502" level="INFO">${current_port} = 18107</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:39.146107" elapsed="0.000437"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.042778" elapsed="0.103841"/>
</kw>
<msg time="2026-04-11T23:14:39.146660" level="INFO">Repeating keyword, round 278/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:39.147891" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:39.147781" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.147761" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.148266" level="INFO">${current_Date} = 2026-04-11 23:14:39.148</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:39.148098" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.149017" level="INFO">${ellapsed_seconds} = 2665.098</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:39.148441" elapsed="0.000602"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.149358" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:39.149115" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.149096" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:39.147518" elapsed="0.001962"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.150001" level="INFO">${number} = 278</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.149640" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.151488" level="INFO">${number} = 278</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.151139" elapsed="0.000395"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.153214" level="INFO">${device-port} = 18107</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.152571" elapsed="0.000670"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.155857" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:39.193376" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.193643" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.155754" elapsed="0.037951"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.194631" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:39.194761" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:39.193882" elapsed="0.001081">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:39.193833" elapsed="0.001225">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:39.155268" elapsed="0.040066">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:39.154876" elapsed="0.040595"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.196436" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18107 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:39.251181" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.251376" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.196014" elapsed="0.055414"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:39.251642" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:14:39.252397" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:39.154088" elapsed="0.098547"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:39.253200" elapsed="0.001706"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:39.153446" elapsed="0.101681"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:39.152231" elapsed="0.103032"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:39.151726" elapsed="0.103633"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.150648" elapsed="0.105005"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:39.150178" elapsed="0.105573"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.256862" level="INFO">${next} = 18108</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.256101" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.258148" level="INFO">${current_port} = 18108</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:39.257275" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.146884" elapsed="0.111476"/>
</kw>
<msg time="2026-04-11T23:14:39.258443" level="INFO">Repeating keyword, round 279/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:39.260653" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:39.260526" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.260507" elapsed="0.000209"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.261059" level="INFO">${current_Date} = 2026-04-11 23:14:39.261</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:39.260893" elapsed="0.000192"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.262716" level="INFO">${ellapsed_seconds} = 2664.985</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:39.261230" elapsed="0.001515"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.263084" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:39.262822" elapsed="0.000318"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.262800" elapsed="0.000363"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:39.260221" elapsed="0.002997"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.263764" level="INFO">${number} = 279</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.263366" elapsed="0.000425"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.265260" level="INFO">${number} = 279</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.264904" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.267115" level="INFO">${device-port} = 18108</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.266333" elapsed="0.000812"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.269523" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:39.305333" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.305538" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.269430" elapsed="0.036199"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.306464" elapsed="0.000053"/>
</kw>
<msg time="2026-04-11T23:14:39.306620" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:39.305787" elapsed="0.000937">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:39.305745" elapsed="0.001068">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:39.269169" elapsed="0.037904">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:39.268786" elapsed="0.038480"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.308242" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18108 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:39.363349" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.363551" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.307749" elapsed="0.055894"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:39.363818" elapsed="0.000134"/>
</return>
<msg time="2026-04-11T23:14:39.364631" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:39.268002" elapsed="0.096836"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:39.365395" elapsed="0.001676"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:39.267351" elapsed="0.099959"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:39.265996" elapsed="0.101450"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:39.265456" elapsed="0.102084"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.264430" elapsed="0.103265"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:39.263965" elapsed="0.103824"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.368887" level="INFO">${next} = 18109</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.368137" elapsed="0.000807"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.370162" level="INFO">${current_port} = 18109</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:39.369283" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.258926" elapsed="0.111449"/>
</kw>
<msg time="2026-04-11T23:14:39.370459" level="INFO">Repeating keyword, round 280/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:39.373055" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:39.372823" elapsed="0.000323"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.372782" elapsed="0.000411"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.373611" level="INFO">${current_Date} = 2026-04-11 23:14:39.373</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:39.373421" elapsed="0.000218"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.374078" level="INFO">${ellapsed_seconds} = 2664.873</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:39.373781" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.374611" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:39.374359" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.374154" elapsed="0.000535"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:39.372104" elapsed="0.002631"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.375236" level="INFO">${number} = 280</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.374877" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.376672" level="INFO">${number} = 280</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.376320" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.378283" level="INFO">${device-port} = 18109</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.377702" elapsed="0.000608"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.380681" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:39.413517" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.413763" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.380584" elapsed="0.033239"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.414709" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:39.414840" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:39.413985" elapsed="0.001034">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:39.413941" elapsed="0.001174">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:39.380301" elapsed="0.035077">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:39.379898" elapsed="0.035617"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.416504" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18109 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:39.471248" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.471452" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.415998" elapsed="0.055508"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:39.471720" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:39.472498" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:39.379130" elapsed="0.093648"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:39.473357" elapsed="0.001715"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:39.378509" elapsed="0.096789"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:39.377334" elapsed="0.098101"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:39.376851" elapsed="0.098681"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.375874" elapsed="0.099814"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:39.375418" elapsed="0.100366"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.476895" level="INFO">${next} = 18110</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.476117" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.478307" level="INFO">${current_port} = 18110</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:39.477299" elapsed="0.001100"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.370894" elapsed="0.107630"/>
</kw>
<msg time="2026-04-11T23:14:39.478645" level="INFO">Repeating keyword, round 281/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:39.481136" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:39.480898" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.480857" elapsed="0.000418"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.481700" level="INFO">${current_Date} = 2026-04-11 23:14:39.482</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:39.481489" elapsed="0.000237"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.482184" level="INFO">${ellapsed_seconds} = 2664.764</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:39.481875" elapsed="0.000335"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.482737" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:39.482281" elapsed="0.000512"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.482262" elapsed="0.000555"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:39.480306" elapsed="0.002558"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.483375" level="INFO">${number} = 281</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.483010" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.484824" level="INFO">${number} = 281</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.484470" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.486454" level="INFO">${device-port} = 18110</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.485853" elapsed="0.000628"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.488861" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:39.525499" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.525765" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.488761" elapsed="0.037063"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.526774" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:39.526907" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:39.526004" elapsed="0.001010">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:39.525954" elapsed="0.001151">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:39.488445" elapsed="0.038939">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:39.488067" elapsed="0.039571"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.528679" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18110 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:39.583445" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.583744" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.528108" elapsed="0.055692"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:39.584023" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:14:39.584901" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:39.487297" elapsed="0.097813"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:39.585768" elapsed="0.001753"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:39.486709" elapsed="0.101070"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:39.485500" elapsed="0.102424"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:39.485006" elapsed="0.103018"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.484017" elapsed="0.104135"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:39.483556" elapsed="0.104693"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.589474" level="INFO">${next} = 18111</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.588621" elapsed="0.000914"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.590864" level="INFO">${current_port} = 18111</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:39.589948" elapsed="0.001011"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.479065" elapsed="0.112023"/>
</kw>
<msg time="2026-04-11T23:14:39.591177" level="INFO">Repeating keyword, round 282/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:39.593612" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:39.593461" elapsed="0.000197"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.593439" elapsed="0.000242"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.593999" level="INFO">${current_Date} = 2026-04-11 23:14:39.594</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:39.593826" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.594498" level="INFO">${ellapsed_seconds} = 2664.652</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:39.594169" elapsed="0.000355"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.595117" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:39.594620" elapsed="0.000554"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.594599" elapsed="0.000599"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:39.593041" elapsed="0.002206"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.595793" level="INFO">${number} = 282</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.595401" elapsed="0.000418"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.597250" level="INFO">${number} = 282</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.596906" elapsed="0.000370"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.598978" level="INFO">${device-port} = 18111</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.598346" elapsed="0.000659"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.601407" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:39.641267" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.641509" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.601305" elapsed="0.040301"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.642544" elapsed="0.000091"/>
</kw>
<msg time="2026-04-11T23:14:39.642714" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:39.641792" elapsed="0.001140">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:39.641743" elapsed="0.001285">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:39.601035" elapsed="0.042304">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:39.600610" elapsed="0.042876"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.644509" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18111 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:39.699564" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.699860" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.643994" elapsed="0.055921"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:39.700133" elapsed="0.000173"/>
</return>
<msg time="2026-04-11T23:14:39.700985" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:39.599830" elapsed="0.101424"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:39.701934" elapsed="0.001872"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:39.599208" elapsed="0.104832"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:39.598006" elapsed="0.106177"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:39.597455" elapsed="0.106829"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.596432" elapsed="0.107997"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:39.595973" elapsed="0.108566"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.705787" level="INFO">${next} = 18112</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.704917" elapsed="0.000932"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.707131" level="INFO">${current_port} = 18112</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:39.706212" elapsed="0.001012"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.591688" elapsed="0.115669"/>
</kw>
<msg time="2026-04-11T23:14:39.707446" level="INFO">Repeating keyword, round 283/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:39.709837" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:39.709724" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.709703" elapsed="0.000201"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.710279" level="INFO">${current_Date} = 2026-04-11 23:14:39.710</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:39.710107" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.710844" level="INFO">${ellapsed_seconds} = 2664.536</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:39.710480" elapsed="0.000391"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.711430" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:39.710943" elapsed="0.000543"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.710925" elapsed="0.000585"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:39.709299" elapsed="0.002263"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.712107" level="INFO">${number} = 283</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.711735" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.713609" level="INFO">${number} = 283</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.713236" elapsed="0.000405"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.715294" level="INFO">${device-port} = 18112</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.714687" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.717795" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:39.749372" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.749650" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.717681" elapsed="0.032030"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.750679" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:39.750813" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:39.749891" elapsed="0.001032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:39.749841" elapsed="0.001172">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:39.717386" elapsed="0.033930">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:39.716958" elapsed="0.034586"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.752611" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18112 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:39.807259" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.807464" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.752053" elapsed="0.055465"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:39.807740" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:39.808508" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:39.716159" elapsed="0.092596"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:39.809353" elapsed="0.001845"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:39.715527" elapsed="0.095919"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:39.714306" elapsed="0.097373"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:39.713800" elapsed="0.097986"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.712775" elapsed="0.099136"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:39.712289" elapsed="0.099717"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.813146" level="INFO">${next} = 18113</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.812359" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.814476" level="INFO">${current_port} = 18113</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:39.813657" elapsed="0.000881"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.707941" elapsed="0.106707"/>
</kw>
<msg time="2026-04-11T23:14:39.814708" level="INFO">Repeating keyword, round 284/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:39.816432" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:39.816262" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.816227" elapsed="0.000300"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.817010" level="INFO">${current_Date} = 2026-04-11 23:14:39.817</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:39.816769" elapsed="0.000279"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.818110" level="INFO">${ellapsed_seconds} = 2664.429</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:39.817261" elapsed="0.000889"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.818655" elapsed="0.000035"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:39.818259" elapsed="0.000482"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.818231" elapsed="0.000546"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:39.815903" elapsed="0.002943"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.819659" level="INFO">${number} = 284</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.819064" elapsed="0.000636"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.821866" level="INFO">${number} = 284</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.821281" elapsed="0.000625"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.823735" level="INFO">${device-port} = 18113</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.823097" elapsed="0.000665"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.826187" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:39.861329" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.861564" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.826089" elapsed="0.035570"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.862522" elapsed="0.000084"/>
</kw>
<msg time="2026-04-11T23:14:39.862684" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:39.861820" elapsed="0.001049">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:39.861777" elapsed="0.001189">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:39.825810" elapsed="0.037441">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:39.825365" elapsed="0.038028"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.864401" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18113 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:39.919503" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.919757" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.863893" elapsed="0.055923"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:39.920007" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:14:39.920877" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:39.824590" elapsed="0.096526"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:39.921807" elapsed="0.001906"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:39.823968" elapsed="0.099987"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:39.822755" elapsed="0.101348"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:39.822139" elapsed="0.102098"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.820625" elapsed="0.103754"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:39.819928" elapsed="0.104553"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.925802" level="INFO">${next} = 18114</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.924878" elapsed="0.000991"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.926858" level="INFO">${current_port} = 18114</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:39.926261" elapsed="0.000656"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.814991" elapsed="0.112005"/>
</kw>
<msg time="2026-04-11T23:14:39.927049" level="INFO">Repeating keyword, round 285/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:39.928649" elapsed="0.000027"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:39.928475" elapsed="0.000240"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.928449" elapsed="0.000296"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.929199" level="INFO">${current_Date} = 2026-04-11 23:14:39.929</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:39.928984" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:39.930180" level="INFO">${ellapsed_seconds} = 2664.317</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:39.929451" elapsed="0.000765"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.930671" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:39.930320" elapsed="0.000428"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:39.930290" elapsed="0.000490"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:39.928137" elapsed="0.002707"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.931562" level="INFO">${number} = 285</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.931043" elapsed="0.000600"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.933648" level="INFO">${number} = 285</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.933144" elapsed="0.000572"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:39.935539" level="INFO">${device-port} = 18114</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:39.934928" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.937952" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:39.969463" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:39.969730" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.937856" elapsed="0.031970"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:39.970786" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:14:39.970929" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:39.970011" elapsed="0.001030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:39.969963" elapsed="0.001173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:39.937554" elapsed="0.033865">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:39.937161" elapsed="0.034509"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:39.972730" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18114 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:40.027154" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.027374" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:39.972161" elapsed="0.055273"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:40.027668" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:14:40.028463" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:39.936383" elapsed="0.092338"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:40.029335" elapsed="0.001588"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:39.935794" elapsed="0.095271"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:39.934589" elapsed="0.096563"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:39.933947" elapsed="0.097267"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.932500" elapsed="0.098789"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:39.931859" elapsed="0.099491"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.032051" level="INFO">${next} = 18115</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.031566" elapsed="0.000521"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.032848" level="INFO">${current_port} = 18115</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:40.032304" elapsed="0.000603"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:39.927318" elapsed="0.105665"/>
</kw>
<msg time="2026-04-11T23:14:40.033037" level="INFO">Repeating keyword, round 286/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:40.034610" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:40.034442" elapsed="0.000229"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.034415" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.035110" level="INFO">${current_Date} = 2026-04-11 23:14:40.035</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:40.034900" elapsed="0.000246"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.036050" level="INFO">${ellapsed_seconds} = 2664.211</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:40.035345" elapsed="0.000741"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.036504" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:40.036187" elapsed="0.000439"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.036160" elapsed="0.000501"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:40.034106" elapsed="0.002619"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.037426" level="INFO">${number} = 286</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.036925" elapsed="0.000537"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.039182" level="INFO">${number} = 286</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.038851" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.040858" level="INFO">${device-port} = 18115</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.040202" elapsed="0.000687"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.043198" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:40.077404" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.077655" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.043104" elapsed="0.034611"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.078635" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:40.078770" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:40.077880" elapsed="0.001128">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:40.077833" elapsed="0.001275">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:40.042841" elapsed="0.036537">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:40.042443" elapsed="0.037073"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.080533" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18115 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:40.135163" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.135369" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.080047" elapsed="0.055376"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:40.135653" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:40.136413" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:40.041688" elapsed="0.094969"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:40.137238" elapsed="0.001805"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:40.041088" elapsed="0.098183"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:40.039863" elapsed="0.099550"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:40.039362" elapsed="0.100120"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.038340" elapsed="0.101225"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:40.037694" elapsed="0.101958"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.140385" level="INFO">${next} = 18116</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.139884" elapsed="0.000540"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.141269" level="INFO">${current_port} = 18116</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:40.140686" elapsed="0.000647"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.033292" elapsed="0.108125"/>
</kw>
<msg time="2026-04-11T23:14:40.141475" level="INFO">Repeating keyword, round 287/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:40.143175" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:40.143014" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.142980" elapsed="0.000289"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.143788" level="INFO">${current_Date} = 2026-04-11 23:14:40.144</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:40.143529" elapsed="0.000297"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.144851" level="INFO">${ellapsed_seconds} = 2664.102</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:40.144041" elapsed="0.000849"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.145340" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:40.144997" elapsed="0.000421"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.144969" elapsed="0.000484"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:40.142649" elapsed="0.002871"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.146390" level="INFO">${number} = 287</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.145822" elapsed="0.000607"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.148150" level="INFO">${number} = 287</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.147811" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.149819" level="INFO">${device-port} = 18116</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.149205" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.152210" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:40.185233" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.185465" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.152108" elapsed="0.033415"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.186475" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:40.186636" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:40.185732" elapsed="0.001010">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:40.185683" elapsed="0.001149">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:40.151836" elapsed="0.035268">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:40.151437" elapsed="0.035884"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.188317" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18116 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:40.243408" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.243698" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.187830" elapsed="0.055926"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:40.243981" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:14:40.244820" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:40.150677" elapsed="0.094373"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:40.245699" elapsed="0.001825"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:40.150048" elapsed="0.097738"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:40.148869" elapsed="0.099063"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:40.148333" elapsed="0.099710"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.147337" elapsed="0.100833"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:40.146681" elapsed="0.101586"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.249417" level="INFO">${next} = 18117</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.248637" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.250855" level="INFO">${current_port} = 18117</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:40.249890" elapsed="0.001060"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.141781" elapsed="0.109311"/>
</kw>
<msg time="2026-04-11T23:14:40.251183" level="INFO">Repeating keyword, round 288/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:40.252496" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:40.252385" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.252364" elapsed="0.000198"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.252893" level="INFO">${current_Date} = 2026-04-11 23:14:40.253</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:40.252724" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.253684" level="INFO">${ellapsed_seconds} = 2663.993</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:40.253067" elapsed="0.000644"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.254028" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:40.253784" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.253765" elapsed="0.000351"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:40.252134" elapsed="0.002030"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.254713" level="INFO">${number} = 288</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.254307" elapsed="0.000433"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.256163" level="INFO">${number} = 288</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.255813" elapsed="0.000377"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.257859" level="INFO">${device-port} = 18117</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.257214" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.260349" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:40.293208" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.293457" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.260238" elapsed="0.033279"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.294499" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:40.294683" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:40.293742" elapsed="0.001157">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:40.293683" elapsed="0.001313">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:40.259959" elapsed="0.035317">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:40.259544" elapsed="0.035882"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.296428" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18117 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:40.351304" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.351551" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.295935" elapsed="0.055699"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:40.351842" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:14:40.352651" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:40.258760" elapsed="0.094099"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:40.353464" elapsed="0.001811"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:40.258090" elapsed="0.097409"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:40.256869" elapsed="0.098800"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:40.256346" elapsed="0.099424"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.255350" elapsed="0.100545"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:40.254893" elapsed="0.101099"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.357109" level="INFO">${next} = 18118</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.356325" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.358420" level="INFO">${current_port} = 18118</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:40.357524" elapsed="0.000988"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.251508" elapsed="0.107170"/>
</kw>
<msg time="2026-04-11T23:14:40.358805" level="INFO">Repeating keyword, round 289/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:40.361330" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:40.361094" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.361052" elapsed="0.000419"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.362299" level="INFO">${current_Date} = 2026-04-11 23:14:40.362</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:40.361951" elapsed="0.000406"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.363622" level="INFO">${ellapsed_seconds} = 2663.884</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:40.362727" elapsed="0.000923"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.363964" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:40.363722" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.363703" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:40.360539" elapsed="0.003547"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.364604" level="INFO">${number} = 289</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.364229" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.366041" level="INFO">${number} = 289</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.365702" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.367694" level="INFO">${device-port} = 18118</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.367083" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.370076" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:40.401488" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.401761" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.369971" elapsed="0.031850"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.402762" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:40.402916" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:40.402001" elapsed="0.001024">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:40.401951" elapsed="0.001177">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:40.369698" elapsed="0.033710">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:40.369289" elapsed="0.034364"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.404661" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18118 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:40.459401" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.459652" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.404127" elapsed="0.055583"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:40.459894" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:40.460677" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:40.368512" elapsed="0.092369"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:40.461452" elapsed="0.001744"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:40.367923" elapsed="0.095498"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:40.366735" elapsed="0.096823"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:40.366222" elapsed="0.097467"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.365230" elapsed="0.098609"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:40.364784" elapsed="0.099155"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.465059" level="INFO">${next} = 18119</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.464278" elapsed="0.000839"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.466369" level="INFO">${current_port} = 18119</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:40.465466" elapsed="0.000993"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.359266" elapsed="0.107347"/>
</kw>
<msg time="2026-04-11T23:14:40.466704" level="INFO">Repeating keyword, round 290/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:40.468246" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:40.468128" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.468109" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.468637" level="INFO">${current_Date} = 2026-04-11 23:14:40.469</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:40.468456" elapsed="0.000208"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.469332" level="INFO">${ellapsed_seconds} = 2663.777</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:40.468808" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.469715" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:40.469430" elapsed="0.000340"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.469411" elapsed="0.000382"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:40.467883" elapsed="0.001956"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.470342" level="INFO">${number} = 290</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.469980" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.471793" level="INFO">${number} = 290</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.471443" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.473420" level="INFO">${device-port} = 18119</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.472828" elapsed="0.000619"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.475841" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:40.513294" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.513501" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.475743" elapsed="0.037816"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.514451" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:40.514609" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:40.513754" elapsed="0.001038">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:40.513712" elapsed="0.001174">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:40.475452" elapsed="0.039753">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:40.475063" elapsed="0.040283"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.516303" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18119 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:40.571347" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.571543" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.515830" elapsed="0.055803"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:40.571809" elapsed="0.000133"/>
</return>
<msg time="2026-04-11T23:14:40.572529" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:40.474258" elapsed="0.098514"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:40.573336" elapsed="0.001686"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:40.473668" elapsed="0.101576"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:40.472466" elapsed="0.102939"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:40.471974" elapsed="0.103528"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.470991" elapsed="0.104665"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:40.470524" elapsed="0.105227"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.576830" level="INFO">${next} = 18120</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.576083" elapsed="0.000805"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.578104" level="INFO">${current_port} = 18120</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:40.577231" elapsed="0.000964"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.467175" elapsed="0.111143"/>
</kw>
<msg time="2026-04-11T23:14:40.578402" level="INFO">Repeating keyword, round 291/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:40.580620" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:40.580494" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.580475" elapsed="0.000208"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.581009" level="INFO">${current_Date} = 2026-04-11 23:14:40.581</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:40.580858" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.582646" level="INFO">${ellapsed_seconds} = 2663.665</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:40.581178" elapsed="0.001495"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.582974" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:40.582746" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.582728" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:40.580123" elapsed="0.002973"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.583628" level="INFO">${number} = 291</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.583237" elapsed="0.000418"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.585032" level="INFO">${number} = 291</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.584698" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.586679" level="INFO">${device-port} = 18120</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.586062" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.589260" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:40.621637" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.621853" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.589166" elapsed="0.032744"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.622819" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:40.622949" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:40.622096" elapsed="0.000973">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:40.622050" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:40.588901" elapsed="0.034554">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:40.588494" elapsed="0.035202"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.624712" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18120 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:40.679749" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.679967" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.624185" elapsed="0.055838"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:40.680203" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:40.681019" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:40.587732" elapsed="0.093492"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:40.681840" elapsed="0.001774"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:40.586909" elapsed="0.096940"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:40.585726" elapsed="0.098283"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:40.585212" elapsed="0.098895"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.584245" elapsed="0.099986"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:40.583806" elapsed="0.100520"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.685453" level="INFO">${next} = 18121</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.684693" elapsed="0.000818"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.686808" level="INFO">${current_port} = 18121</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:40.685920" elapsed="0.000985"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.578846" elapsed="0.108198"/>
</kw>
<msg time="2026-04-11T23:14:40.687135" level="INFO">Repeating keyword, round 292/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:40.688984" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:40.688877" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.688858" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.689338" level="INFO">${current_Date} = 2026-04-11 23:14:40.689</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:40.689188" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.689843" level="INFO">${ellapsed_seconds} = 2663.557</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:40.689507" elapsed="0.000361"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.690360" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:40.690125" elapsed="0.000289"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.689919" elapsed="0.000519"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:40.688640" elapsed="0.001844"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.691011" level="INFO">${number} = 292</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.690649" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.692434" level="INFO">${number} = 292</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.692104" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.694238" level="INFO">${device-port} = 18121</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.693649" elapsed="0.000616"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.696633" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:40.733169" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.733264" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.696520" elapsed="0.036770"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.733697" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:40.733756" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:40.733365" elapsed="0.000472">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:40.733343" elapsed="0.000538">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:40.696257" elapsed="0.037741">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:40.695875" elapsed="0.038185"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.734482" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18121 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:40.790751" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.790844" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.734262" elapsed="0.056606"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:40.790949" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:14:40.791276" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:40.695077" elapsed="0.096289"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:40.791645" elapsed="0.000751"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:40.694465" elapsed="0.098032"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:40.693271" elapsed="0.099290"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:40.692778" elapsed="0.099845"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.691667" elapsed="0.101012"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:40.691190" elapsed="0.101532"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.793214" level="INFO">${next} = 18122</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.792889" elapsed="0.000351"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.793785" level="INFO">${current_port} = 18122</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:40.793396" elapsed="0.000430"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.687650" elapsed="0.106232"/>
</kw>
<msg time="2026-04-11T23:14:40.793920" level="INFO">Repeating keyword, round 293/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:40.794997" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:40.794891" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.794873" elapsed="0.000186"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.795396" level="INFO">${current_Date} = 2026-04-11 23:14:40.795</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:40.795238" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.795895" level="INFO">${ellapsed_seconds} = 2663.451</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:40.795563" elapsed="0.000357"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.796403" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:40.795989" elapsed="0.000469"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.795971" elapsed="0.000511"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:40.794659" elapsed="0.001869"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.797067" level="INFO">${number} = 293</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.796703" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.798645" level="INFO">${number} = 293</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.798287" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.800275" level="INFO">${device-port} = 18122</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.799658" elapsed="0.000643"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.802661" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:40.840957" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.841053" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.802549" elapsed="0.038530"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.841468" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:40.841526" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:40.841151" elapsed="0.000440">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:40.841131" elapsed="0.000502">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:40.802286" elapsed="0.039466">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:40.801908" elapsed="0.039935"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.842264" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18122 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:40.899236" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.899328" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.842048" elapsed="0.057304"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:40.899434" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:14:40.899796" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:40.801134" elapsed="0.098754"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:40.900161" elapsed="0.000765"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:40.800501" elapsed="0.100529"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:40.799309" elapsed="0.101784"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:40.798826" elapsed="0.102311"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.797704" elapsed="0.103488"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:40.797246" elapsed="0.103988"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.901727" level="INFO">${next} = 18123</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.901383" elapsed="0.000370"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.902278" level="INFO">${current_port} = 18123</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:40.901909" elapsed="0.000410"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.794103" elapsed="0.108271"/>
</kw>
<msg time="2026-04-11T23:14:40.902412" level="INFO">Repeating keyword, round 294/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:40.903638" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:40.903517" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.903499" elapsed="0.000201"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.903987" level="INFO">${current_Date} = 2026-04-11 23:14:40.904</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:40.903839" elapsed="0.000174"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:40.904468" level="INFO">${ellapsed_seconds} = 2663.342</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:40.904167" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.905006" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:40.904562" elapsed="0.000498"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:40.904543" elapsed="0.000541"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:40.903280" elapsed="0.001850"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.905646" level="INFO">${number} = 294</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.905271" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.907044" level="INFO">${number} = 294</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.906711" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:40.908742" level="INFO">${device-port} = 18123</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:40.908090" elapsed="0.000680"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.911109" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:40.953041" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:40.953136" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.911014" elapsed="0.042148"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:40.953544" elapsed="0.000044"/>
</kw>
<msg time="2026-04-11T23:14:40.953624" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:40.953233" elapsed="0.000473">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:40.953214" elapsed="0.000535">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:40.910744" elapsed="0.043130">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:40.910341" elapsed="0.043595"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:40.954354" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18123 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.010799" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.010891" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:40.954138" elapsed="0.056777"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:41.011000" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:14:41.011337" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:40.909564" elapsed="0.101870"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:41.011716" elapsed="0.000770"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:40.908972" elapsed="0.103636"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:40.907725" elapsed="0.104949"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:40.907224" elapsed="0.105493"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.906256" elapsed="0.106516"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:40.905821" elapsed="0.106993"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.013290" level="INFO">${next} = 18124</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.012963" elapsed="0.000353"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.013878" level="INFO">${current_port} = 18124</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:41.013478" elapsed="0.000442"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:40.902743" elapsed="0.111234"/>
</kw>
<msg time="2026-04-11T23:14:41.014015" level="INFO">Repeating keyword, round 295/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:41.015094" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:41.014989" elapsed="0.000146"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.014970" elapsed="0.000186"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.015486" level="INFO">${current_Date} = 2026-04-11 23:14:41.015</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:41.015328" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.015968" level="INFO">${ellapsed_seconds} = 2663.231</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:41.015671" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.016495" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:41.016063" elapsed="0.000487"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.016045" elapsed="0.000560"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:41.014756" elapsed="0.001899"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.017168" level="INFO">${number} = 295</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.016800" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.018600" level="INFO">${number} = 295</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.018247" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.020203" level="INFO">${device-port} = 18124</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.019615" elapsed="0.000614"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.022620" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:41.060852" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.060946" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.022505" elapsed="0.038467"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.061349" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:41.061413" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:41.061043" elapsed="0.000417">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:41.061023" elapsed="0.000476">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:41.022243" elapsed="0.039391">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:41.021861" elapsed="0.039876"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.062155" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18124 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.119017" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.119110" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.061940" elapsed="0.057194"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:41.119214" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:14:41.119550" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:41.021093" elapsed="0.098576"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:41.119924" elapsed="0.000794"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:41.020458" elapsed="0.100362"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:41.019269" elapsed="0.101613"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:41.018788" elapsed="0.102136"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.017806" elapsed="0.103172"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:41.017347" elapsed="0.103673"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.121507" level="INFO">${next} = 18125</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.121176" elapsed="0.000357"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.122081" level="INFO">${current_port} = 18125</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:41.121709" elapsed="0.000412"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.014198" elapsed="0.107978"/>
</kw>
<msg time="2026-04-11T23:14:41.122213" level="INFO">Repeating keyword, round 296/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:41.123319" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:41.123213" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.123194" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.123691" level="INFO">${current_Date} = 2026-04-11 23:14:41.124</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:41.123523" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.124387" level="INFO">${ellapsed_seconds} = 2663.122</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:41.123876" elapsed="0.000569"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.125197" elapsed="0.000046"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:41.124687" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.124642" elapsed="0.000724"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:41.122965" elapsed="0.002501"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.126708" level="INFO">${number} = 296</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.125819" elapsed="0.000948"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.129649" level="INFO">${number} = 296</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.129164" elapsed="0.000511"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.131250" level="INFO">${device-port} = 18125</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.130668" elapsed="0.000608"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.133620" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:41.173117" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.173326" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.133505" elapsed="0.039878"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.174272" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:41.174404" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:41.173541" elapsed="0.001068">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:41.173498" elapsed="0.001209">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:41.133240" elapsed="0.041730">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:41.132855" elapsed="0.042251"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.176072" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18125 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.231234" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.231460" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.175551" elapsed="0.055963"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:41.231753" elapsed="0.000154"/>
</return>
<msg time="2026-04-11T23:14:41.232525" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:41.132081" elapsed="0.100734"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:41.233430" elapsed="0.001724"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:41.131482" elapsed="0.103896"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:41.130312" elapsed="0.105204"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:41.129830" elapsed="0.105814"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.128103" elapsed="0.107667"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:41.127103" elapsed="0.108761"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.236980" level="INFO">${next} = 18126</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.236208" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.238281" level="INFO">${current_port} = 18126</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:41.237385" elapsed="0.000990"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.122396" elapsed="0.116102"/>
</kw>
<msg time="2026-04-11T23:14:41.238614" level="INFO">Repeating keyword, round 297/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:41.241109" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:41.240869" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.240825" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.241708" level="INFO">${current_Date} = 2026-04-11 23:14:41.242</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:41.241519" elapsed="0.000215"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.242362" level="INFO">${ellapsed_seconds} = 2663.004</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:41.241879" elapsed="0.000509"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.242719" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:41.242468" elapsed="0.000305"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.242441" elapsed="0.000356"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:41.240265" elapsed="0.002578"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.243345" level="INFO">${number} = 297</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.242986" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.244778" level="INFO">${number} = 297</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.244415" elapsed="0.000389"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.246385" level="INFO">${device-port} = 18126</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.245805" elapsed="0.000610"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.248733" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:41.285459" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.285706" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.248633" elapsed="0.037132"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.286632" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:41.286766" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:41.285922" elapsed="0.000947">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:41.285879" elapsed="0.001089">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:41.248350" elapsed="0.038879">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:41.247971" elapsed="0.039458"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.288403" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18126 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.343411" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.343701" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.287921" elapsed="0.055838"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:41.343966" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:41.344749" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:41.247211" elapsed="0.097737"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:41.345559" elapsed="0.001699"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:41.246634" elapsed="0.100846"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:41.245439" elapsed="0.102209"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:41.244959" elapsed="0.102789"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.243984" elapsed="0.103885"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:41.243522" elapsed="0.104440"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.349104" level="INFO">${next} = 18127</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.348299" elapsed="0.000865"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.350103" level="INFO">${current_port} = 18127</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:41.349527" elapsed="0.000634"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.239027" elapsed="0.111211"/>
</kw>
<msg time="2026-04-11T23:14:41.350290" level="INFO">Repeating keyword, round 298/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:41.351839" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:41.351691" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.351665" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.352327" level="INFO">${current_Date} = 2026-04-11 23:14:41.352</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:41.352118" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.353291" level="INFO">${ellapsed_seconds} = 2662.894</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:41.352588" elapsed="0.000740"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.353826" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:41.353435" elapsed="0.000471"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.353402" elapsed="0.000538"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:41.351333" elapsed="0.002674"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.354766" level="INFO">${number} = 298</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.354217" elapsed="0.000585"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.356737" level="INFO">${number} = 298</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.356254" elapsed="0.000520"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.358595" level="INFO">${device-port} = 18127</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.357989" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.360948" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:41.397247" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.397461" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.360852" elapsed="0.036667"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.398399" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:41.398528" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:41.397718" elapsed="0.001039">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:41.397674" elapsed="0.001182">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:41.360554" elapsed="0.038565">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:41.360172" elapsed="0.039083"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.400236" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18127 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.455298" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.455498" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.399759" elapsed="0.055792"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:41.455765" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:41.456495" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:41.359405" elapsed="0.097331"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:41.457322" elapsed="0.001685"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:41.358823" elapsed="0.100407"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:41.357654" elapsed="0.101712"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:41.357015" elapsed="0.102446"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.355646" elapsed="0.103965"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:41.355011" elapsed="0.104697"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.460792" level="INFO">${next} = 18128</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.460041" elapsed="0.000810"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.461964" level="INFO">${current_port} = 18128</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:41.461255" elapsed="0.000767"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.350551" elapsed="0.111549"/>
</kw>
<msg time="2026-04-11T23:14:41.462152" level="INFO">Repeating keyword, round 299/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:41.463698" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:41.463529" elapsed="0.000227"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.463503" elapsed="0.000282"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.464244" level="INFO">${current_Date} = 2026-04-11 23:14:41.464</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:41.464032" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.465178" level="INFO">${ellapsed_seconds} = 2662.782</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:41.464481" elapsed="0.000748"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.465702" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:41.465330" elapsed="0.000448"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.465304" elapsed="0.000507"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:41.463195" elapsed="0.002679"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.466595" level="INFO">${number} = 299</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.466072" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.468538" level="INFO">${number} = 299</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.468077" elapsed="0.000518"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.470737" level="INFO">${device-port} = 18128</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.470021" elapsed="0.000742"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.473064" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:41.505266" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.505523" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.472970" elapsed="0.032653"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.506516" elapsed="0.000101"/>
</kw>
<msg time="2026-04-11T23:14:41.506723" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:41.505808" elapsed="0.001041">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:41.505758" elapsed="0.001197">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:41.472702" elapsed="0.034519">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:41.472304" elapsed="0.035120"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.508472" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18128 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.563715" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.563969" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.507973" elapsed="0.056053"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:41.564218" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:41.565032" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:41.471542" elapsed="0.093691"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:41.565908" elapsed="0.001775"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:41.470962" elapsed="0.096961"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:41.469523" elapsed="0.098539"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:41.468814" elapsed="0.099344"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.467453" elapsed="0.100843"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:41.466846" elapsed="0.101543"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.569553" level="INFO">${next} = 18129</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.568777" elapsed="0.000879"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.570923" level="INFO">${current_port} = 18129</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:41.570028" elapsed="0.000992"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.462410" elapsed="0.108734"/>
</kw>
<msg time="2026-04-11T23:14:41.571232" level="INFO">Repeating keyword, round 300/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:41.573928" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:41.573665" elapsed="0.000361"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.573536" elapsed="0.000538"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.574611" level="INFO">${current_Date} = 2026-04-11 23:14:41.575</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:41.574399" elapsed="0.000240"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.575294" level="INFO">${ellapsed_seconds} = 2662.671</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:41.574784" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.575642" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:41.575393" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.575374" elapsed="0.000347"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:41.572993" elapsed="0.002774"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.576282" level="INFO">${number} = 300</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.575911" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.577776" level="INFO">${number} = 300</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.577377" elapsed="0.000426"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.579427" level="INFO">${device-port} = 18129</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.578824" elapsed="0.000630"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.581866" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:41.617322" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.617567" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.581770" elapsed="0.035898"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.618523" elapsed="0.000098"/>
</kw>
<msg time="2026-04-11T23:14:41.618701" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:41.617831" elapsed="0.001048">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:41.617786" elapsed="0.001192">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:41.581446" elapsed="0.037795">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:41.581056" elapsed="0.038321"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.620380" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18129 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.675157" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.675378" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.619897" elapsed="0.055538"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:41.675660" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:41.676421" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:41.580272" elapsed="0.096397"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:41.677242" elapsed="0.001797"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:41.579674" elapsed="0.099593"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:41.578459" elapsed="0.100962"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:41.577964" elapsed="0.101560"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.576930" elapsed="0.102758"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:41.576463" elapsed="0.103320"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.680913" level="INFO">${next} = 18130</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.680118" elapsed="0.000854"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.682347" level="INFO">${current_port} = 18130</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:41.681318" elapsed="0.001124"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.571680" elapsed="0.110856"/>
</kw>
<msg time="2026-04-11T23:14:41.682642" level="INFO">Repeating keyword, round 301/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:41.684191" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:41.684039" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.684013" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.684786" level="INFO">${current_Date} = 2026-04-11 23:14:41.685</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:41.684537" elapsed="0.000286"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.685764" level="INFO">${ellapsed_seconds} = 2662.561</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:41.685026" elapsed="0.000777"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.686226" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:41.685904" elapsed="0.000397"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.685877" elapsed="0.000457"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:41.683703" elapsed="0.002694"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.687167" level="INFO">${number} = 301</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.686657" elapsed="0.000548"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.689191" level="INFO">${number} = 301</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.688720" elapsed="0.000507"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.691235" level="INFO">${device-port} = 18130</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.690642" elapsed="0.000621"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.693633" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:41.725426" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.725670" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.693521" elapsed="0.032208"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.726667" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:41.726817" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:41.725919" elapsed="0.001004">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:41.725869" elapsed="0.001143">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:41.693245" elapsed="0.034045">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:41.692862" elapsed="0.034640"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.728495" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18130 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.783632" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.783836" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.727991" elapsed="0.055899"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:41.784080" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:41.784879" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:41.692083" elapsed="0.093006"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:41.785707" elapsed="0.001802"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:41.691464" elapsed="0.096309"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:41.690200" elapsed="0.097713"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:41.689444" elapsed="0.098565"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.688079" elapsed="0.100053"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:41.687420" elapsed="0.100825"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.789373" level="INFO">${next} = 18131</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.788621" elapsed="0.000812"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.790666" level="INFO">${current_port} = 18131</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:41.789844" elapsed="0.000881"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.682907" elapsed="0.107898"/>
</kw>
<msg time="2026-04-11T23:14:41.790860" level="INFO">Repeating keyword, round 302/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:41.792452" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:41.792291" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.792258" elapsed="0.000283"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.792973" level="INFO">${current_Date} = 2026-04-11 23:14:41.793</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:41.792761" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.793989" level="INFO">${ellapsed_seconds} = 2662.453</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:41.793210" elapsed="0.000820"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.794463" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:41.794131" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.794104" elapsed="0.000491"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:41.791933" elapsed="0.002731"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.795379" level="INFO">${number} = 302</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.794865" elapsed="0.000552"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.797408" level="INFO">${number} = 302</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.796926" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.799425" level="INFO">${device-port} = 18131</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.798827" elapsed="0.000627"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.801847" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:41.833514" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.833758" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.801751" elapsed="0.032065"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.834710" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:41.834841" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:41.833973" elapsed="0.001059">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:41.833932" elapsed="0.001196">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:41.801459" elapsed="0.033931">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:41.801041" elapsed="0.034486"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.836477" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18131 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.891596" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.891833" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.836005" elapsed="0.055925"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:41.892124" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:41.892978" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:41.800267" elapsed="0.092919"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:41.893821" elapsed="0.001904"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:41.799678" elapsed="0.096350"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:41.798460" elapsed="0.097721"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:41.797722" elapsed="0.098560"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.796272" elapsed="0.100132"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:41.795653" elapsed="0.100850"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.897696" level="INFO">${next} = 18132</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.896894" elapsed="0.000864"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.898841" level="INFO">${current_port} = 18132</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:41.898191" elapsed="0.000719"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.791128" elapsed="0.107864"/>
</kw>
<msg time="2026-04-11T23:14:41.899046" level="INFO">Repeating keyword, round 303/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:41.900661" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:41.900480" elapsed="0.000240"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.900448" elapsed="0.000301"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.901235" level="INFO">${current_Date} = 2026-04-11 23:14:41.901</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:41.901016" elapsed="0.000256"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:41.903745" level="INFO">${ellapsed_seconds} = 2662.345</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:41.901475" elapsed="0.002320"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.904257" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:41.903900" elapsed="0.000435"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:41.903873" elapsed="0.000495"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:41.900130" elapsed="0.004303"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.905186" level="INFO">${number} = 303</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.904661" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.907061" level="INFO">${number} = 303</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.906707" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:41.908901" level="INFO">${device-port} = 18132</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:41.908273" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.911332" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:41.941681" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:41.941894" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.911234" elapsed="0.030718"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:41.942879" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:41.943015" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:41.942112" elapsed="0.001006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:41.942070" elapsed="0.001138">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:41.910963" elapsed="0.032508">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:41.910557" elapsed="0.033189"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:41.944763" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18132 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:41.999815" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.000017" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:41.944207" elapsed="0.055867"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.000252" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:42.001067" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:41.909755" elapsed="0.091514"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.001902" elapsed="0.001792"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:41.909141" elapsed="0.094784"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:41.907914" elapsed="0.096150"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:41.907244" elapsed="0.096916"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.906172" elapsed="0.098112"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:41.905446" elapsed="0.098932"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.005519" level="INFO">${next} = 18133</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.004772" elapsed="0.000859"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.006942" level="INFO">${current_port} = 18133</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.005997" elapsed="0.001042"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:41.899310" elapsed="0.107854"/>
</kw>
<msg time="2026-04-11T23:14:42.007249" level="INFO">Repeating keyword, round 304/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.008906" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.008753" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.008725" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.009402" level="INFO">${current_Date} = 2026-04-11 23:14:42.009</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.009190" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.010134" level="INFO">${ellapsed_seconds} = 2662.237</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.009694" elapsed="0.000477"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.010932" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.010557" elapsed="0.000453"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.010243" elapsed="0.000801"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.008384" elapsed="0.002726"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.011872" level="INFO">${number} = 304</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.011312" elapsed="0.000598"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.014167" level="INFO">${number} = 304</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.013650" elapsed="0.000556"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.016262" level="INFO">${device-port} = 18133</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.015651" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.018690" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:42.049499" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.049751" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.018592" elapsed="0.031220"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.050752" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:42.050888" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:42.049973" elapsed="0.001095">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:42.049929" elapsed="0.001235">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.018293" elapsed="0.033156">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.017901" elapsed="0.033725"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.052632" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18133 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:42.107437" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.107680" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.052085" elapsed="0.055655"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.107920" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:42.108735" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.017116" elapsed="0.091823"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.109524" elapsed="0.001791"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.016497" elapsed="0.095050"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.015212" elapsed="0.096514"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.014484" elapsed="0.097343"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.012787" elapsed="0.099163"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.012126" elapsed="0.099918"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.113195" level="INFO">${next} = 18134</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.112415" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.114607" level="INFO">${current_port} = 18134</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.113673" elapsed="0.001035"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.007606" elapsed="0.107227"/>
</kw>
<msg time="2026-04-11T23:14:42.114920" level="INFO">Repeating keyword, round 305/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.116342" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.116234" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.116215" elapsed="0.000205"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.116786" level="INFO">${current_Date} = 2026-04-11 23:14:42.117</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.116627" elapsed="0.000185"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.117259" level="INFO">${ellapsed_seconds} = 2662.129</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.116958" elapsed="0.000327"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.117838" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.117356" elapsed="0.000538"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.117337" elapsed="0.000581"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.115998" elapsed="0.001968"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.118659" level="INFO">${number} = 305</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.118111" elapsed="0.000575"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.120093" level="INFO">${number} = 305</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.119756" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.121766" level="INFO">${device-port} = 18134</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.121130" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.124192" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:42.161011" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.161242" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.124096" elapsed="0.037204"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.162213" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:42.162350" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:42.161462" elapsed="0.000992">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:42.161418" elapsed="0.001125">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.123828" elapsed="0.039043">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.123412" elapsed="0.039699"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.164118" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18134 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:42.219732" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.220077" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.163622" elapsed="0.056515"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.220398" elapsed="0.000224"/>
</return>
<msg time="2026-04-11T23:14:42.221297" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.122649" elapsed="0.098859"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.222207" elapsed="0.001916"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.121997" elapsed="0.102360"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.120791" elapsed="0.103715"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.120275" elapsed="0.104369"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.119287" elapsed="0.105491"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.118841" elapsed="0.106038"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.226070" level="INFO">${next} = 18135</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.225235" elapsed="0.000893"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.227503" level="INFO">${current_port} = 18135</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.226553" elapsed="0.001076"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.115334" elapsed="0.112429"/>
</kw>
<msg time="2026-04-11T23:14:42.227855" level="INFO">Repeating keyword, round 306/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.230554" elapsed="0.000063"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.230308" elapsed="0.000417"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.230261" elapsed="0.000521"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.231467" level="INFO">${current_Date} = 2026-04-11 23:14:42.231</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.231108" elapsed="0.000418"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.232070" level="INFO">${ellapsed_seconds} = 2662.015</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.231734" elapsed="0.000361"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.232710" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.232166" elapsed="0.000600"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.232147" elapsed="0.000642"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.229767" elapsed="0.003069"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.233343" level="INFO">${number} = 306</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.232980" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.234802" level="INFO">${number} = 306</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.234431" elapsed="0.000397"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.236440" level="INFO">${device-port} = 18135</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.235842" elapsed="0.000626"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.238875" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:42.265449" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.265705" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.238772" elapsed="0.026994"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.266664" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:42.266821" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:42.265930" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:42.265886" elapsed="0.001239">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.238465" elapsed="0.028945">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.238079" elapsed="0.029470"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.268517" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18135 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:42.323204" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.323422" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.268033" elapsed="0.055443"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.323701" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:42.324460" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.237293" elapsed="0.087421"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.325296" elapsed="0.001779"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.236697" elapsed="0.090606"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.235488" elapsed="0.091957"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.234985" elapsed="0.092559"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.233993" elapsed="0.093745"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.233525" elapsed="0.094310"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.328948" level="INFO">${next} = 18136</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.328174" elapsed="0.000835"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.330307" level="INFO">${current_port} = 18136</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.329415" elapsed="0.000985"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.228334" elapsed="0.102193"/>
</kw>
<msg time="2026-04-11T23:14:42.330644" level="INFO">Repeating keyword, round 307/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.332557" elapsed="0.000042"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.332406" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.332377" elapsed="0.000291"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.333143" level="INFO">${current_Date} = 2026-04-11 23:14:42.333</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.332921" elapsed="0.000257"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.333840" level="INFO">${ellapsed_seconds} = 2661.913</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.333383" elapsed="0.000494"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.334607" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.333976" elapsed="0.000709"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.333950" elapsed="0.000769"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.332072" elapsed="0.002713"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.335510" level="INFO">${number} = 307</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.334999" elapsed="0.000547"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.337509" level="INFO">${number} = 307</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.337045" elapsed="0.000501"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.339746" level="INFO">${device-port} = 18136</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.338997" elapsed="0.000777"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.342103" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:42.381464" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.381649" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.341998" elapsed="0.039692"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.382276" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:14:42.382365" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:42.381801" elapsed="0.000635">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:42.381771" elapsed="0.000726">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.341727" elapsed="0.040983">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.341330" elapsed="0.041523"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.383507" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18136 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:42.439381" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.439652" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.383179" elapsed="0.056535"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.439917" elapsed="0.000154"/>
</return>
<msg time="2026-04-11T23:14:42.440781" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.340566" elapsed="0.100440"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.441667" elapsed="0.001972"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.339981" elapsed="0.103905"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.338476" elapsed="0.105559"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.337785" elapsed="0.106355"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.336415" elapsed="0.107859"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.335798" elapsed="0.108579"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.445646" level="INFO">${next} = 18137</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.444783" elapsed="0.000930"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.447303" level="INFO">${current_port} = 18137</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.446171" elapsed="0.001249"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.331110" elapsed="0.116399"/>
</kw>
<msg time="2026-04-11T23:14:42.447549" level="INFO">Repeating keyword, round 308/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.448703" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.448590" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.448556" elapsed="0.000210"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.449070" level="INFO">${current_Date} = 2026-04-11 23:14:42.449</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.448907" elapsed="0.000189"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.449850" level="INFO">${ellapsed_seconds} = 2661.797</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.449240" elapsed="0.000638"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.450192" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.449950" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.449931" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.448334" elapsed="0.001981"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.450845" level="INFO">${number} = 308</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.450458" elapsed="0.000413"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.452293" level="INFO">${number} = 308</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.451956" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.453950" level="INFO">${device-port} = 18137</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.453328" elapsed="0.000648"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.456328" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:42.489011" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.489106" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.456231" elapsed="0.032900"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.489516" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:42.489595" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:42.489203" elapsed="0.000487">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:42.489183" elapsed="0.000551">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.455958" elapsed="0.033902">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.455559" elapsed="0.034364"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.490342" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18137 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:42.546718" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.546823" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.490126" elapsed="0.056721"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.546938" elapsed="0.000069"/>
</return>
<msg time="2026-04-11T23:14:42.547299" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.454778" elapsed="0.092616"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.547688" elapsed="0.000765"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.454176" elapsed="0.094379"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.452993" elapsed="0.095652"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.452474" elapsed="0.096217"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.451487" elapsed="0.097259"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.451023" elapsed="0.097767"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.549277" level="INFO">${next} = 18138</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.548942" elapsed="0.000362"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.549877" level="INFO">${current_port} = 18138</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.549467" elapsed="0.000451"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.447762" elapsed="0.102213"/>
</kw>
<msg time="2026-04-11T23:14:42.550014" level="INFO">Repeating keyword, round 309/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.551144" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.551036" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.551016" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.551564" level="INFO">${current_Date} = 2026-04-11 23:14:42.551</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.551399" elapsed="0.000209"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.552278" level="INFO">${ellapsed_seconds} = 2661.695</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.551755" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.552652" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.552375" elapsed="0.000332"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.552356" elapsed="0.000374"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.550790" elapsed="0.001987"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.553278" level="INFO">${number} = 309</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.552919" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.554706" level="INFO">${number} = 309</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.554351" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.556358" level="INFO">${device-port} = 18138</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.555763" elapsed="0.000622"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.558754" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:42.596939" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.597034" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.558656" elapsed="0.038403"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.597441" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:14:42.597500" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:42.597130" elapsed="0.000417">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:42.597110" elapsed="0.000502">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.558362" elapsed="0.039380">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.557977" elapsed="0.039863"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.598260" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18138 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:42.654926" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.655018" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.598044" elapsed="0.056998"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.655122" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:14:42.655468" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.557219" elapsed="0.098342"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.655841" elapsed="0.000751"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.556638" elapsed="0.100058"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.555413" elapsed="0.101346"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.554888" elapsed="0.101914"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.553913" elapsed="0.102943"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.553453" elapsed="0.103446"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.657387" level="INFO">${next} = 18139</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.657052" elapsed="0.000361"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.657957" level="INFO">${current_port} = 18139</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.657583" elapsed="0.000414"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.550216" elapsed="0.107836"/>
</kw>
<msg time="2026-04-11T23:14:42.658090" level="INFO">Repeating keyword, round 310/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.659192" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.659086" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.659062" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.659564" level="INFO">${current_Date} = 2026-04-11 23:14:42.659</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.659397" elapsed="0.000207"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.660237" level="INFO">${ellapsed_seconds} = 2661.587</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.659747" elapsed="0.000517"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.660599" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.660335" elapsed="0.000320"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.660316" elapsed="0.000363"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.658845" elapsed="0.001880"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.661222" level="INFO">${number} = 310</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.660865" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.662631" level="INFO">${number} = 310</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.662283" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.664262" level="INFO">${device-port} = 18139</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.663680" elapsed="0.000608"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.666640" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:42.704843" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.704945" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.666528" elapsed="0.038449"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.705359" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:42.705417" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:42.705051" elapsed="0.000447">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:42.705030" elapsed="0.000512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.666256" elapsed="0.039429">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.665877" elapsed="0.039871"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.706163" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18139 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:42.762887" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.762987" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.705948" elapsed="0.057063"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.763095" elapsed="0.000066"/>
</return>
<msg time="2026-04-11T23:14:42.763432" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.665114" elapsed="0.098411"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.763829" elapsed="0.000775"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.664485" elapsed="0.100222"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.663295" elapsed="0.101473"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.662812" elapsed="0.102000"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.661850" elapsed="0.103017"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.661397" elapsed="0.103512"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.765392" level="INFO">${next} = 18140</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.765059" elapsed="0.000359"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.765967" level="INFO">${current_port} = 18140</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.765590" elapsed="0.000419"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.658274" elapsed="0.107792"/>
</kw>
<msg time="2026-04-11T23:14:42.766105" level="INFO">Repeating keyword, round 311/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.767209" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.767102" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.767083" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.767628" level="INFO">${current_Date} = 2026-04-11 23:14:42.768</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.767452" elapsed="0.000229"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.768327" level="INFO">${ellapsed_seconds} = 2661.478</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.767826" elapsed="0.000527"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.768685" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.768423" elapsed="0.000317"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.768405" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.766864" elapsed="0.001944"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.769307" level="INFO">${number} = 311</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.768949" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.770731" level="INFO">${number} = 311</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.770377" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.772352" level="INFO">${device-port} = 18140</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.771758" elapsed="0.000620"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.774729" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:42.812815" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.812912" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.774632" elapsed="0.038305"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.813320" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:14:42.813378" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:42.813009" elapsed="0.000416">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:42.812990" elapsed="0.000474">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.774353" elapsed="0.039255">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.773972" elapsed="0.039731"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.814120" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18140 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:42.870874" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.870964" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.813904" elapsed="0.057084"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.871068" elapsed="0.000060"/>
</return>
<msg time="2026-04-11T23:14:42.871397" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.773205" elapsed="0.098282"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.871765" elapsed="0.000746"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.772624" elapsed="0.100009"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.771401" elapsed="0.101296"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.770912" elapsed="0.101829"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.769943" elapsed="0.102851"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.769484" elapsed="0.103352"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.873321" level="INFO">${next} = 18141</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.872987" elapsed="0.000360"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.873899" level="INFO">${current_port} = 18141</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.873509" elapsed="0.000431"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.766293" elapsed="0.107702"/>
</kw>
<msg time="2026-04-11T23:14:42.874033" level="INFO">Repeating keyword, round 312/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.875142" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.875035" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.875013" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.875493" level="INFO">${current_Date} = 2026-04-11 23:14:42.875</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.875343" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.876190" level="INFO">${ellapsed_seconds} = 2661.371</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.875682" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.876515" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.876287" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.876268" elapsed="0.000354"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.874788" elapsed="0.001881"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.877170" level="INFO">${number} = 312</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.876811" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.878585" level="INFO">${number} = 312</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.878234" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.880218" level="INFO">${device-port} = 18141</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.879606" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.882614" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:42.924765" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.924861" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.882502" elapsed="0.042385"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.925276" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:42.925334" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:42.924959" elapsed="0.000463">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:42.924939" elapsed="0.000526">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.882226" elapsed="0.043377">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.881839" elapsed="0.043829"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.926085" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18141 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:42.983011" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:42.983114" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.925870" elapsed="0.057268"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:42.983225" elapsed="0.000067"/>
</return>
<msg time="2026-04-11T23:14:42.983566" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.881073" elapsed="0.102611"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:42.983946" elapsed="0.000801"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.880446" elapsed="0.104404"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.879258" elapsed="0.105656"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.878771" elapsed="0.106187"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.877801" elapsed="0.107212"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.877346" elapsed="0.107709"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.985543" level="INFO">${next} = 18142</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.985208" elapsed="0.000381"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.986140" level="INFO">${current_port} = 18142</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:42.985765" elapsed="0.000416"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.874224" elapsed="0.112012"/>
</kw>
<msg time="2026-04-11T23:14:42.986274" level="INFO">Repeating keyword, round 313/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:42.987400" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:42.987291" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.987266" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.987816" level="INFO">${current_Date} = 2026-04-11 23:14:42.988</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:42.987657" elapsed="0.000185"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:42.988505" level="INFO">${ellapsed_seconds} = 2661.258</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:42.987999" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:42.988866" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:42.988631" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:42.988612" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:42.987047" elapsed="0.001941"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.989489" level="INFO">${number} = 313</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.989130" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.990915" level="INFO">${number} = 313</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.990561" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:42.992552" level="INFO">${device-port} = 18142</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:42.991937" elapsed="0.000695"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:42.994958" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:43.036796" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.036891" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:42.994858" elapsed="0.042058"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.037300" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:14:43.037359" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:43.036989" elapsed="0.000416">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:43.036969" elapsed="0.000476">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:42.994565" elapsed="0.043023">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:42.994182" elapsed="0.043503"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.038106" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18142 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:43.094843" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.094933" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.037889" elapsed="0.057069"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:43.095038" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:14:43.095368" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:42.993420" elapsed="0.102037"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:43.095737" elapsed="0.000765"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:42.992836" elapsed="0.103790"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:42.991604" elapsed="0.105091"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:42.991103" elapsed="0.105636"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.990127" elapsed="0.106666"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:42.989683" elapsed="0.107152"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.097317" level="INFO">${next} = 18143</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.096985" elapsed="0.000358"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.097893" level="INFO">${current_port} = 18143</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:43.097500" elapsed="0.000434"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:42.986472" elapsed="0.111519"/>
</kw>
<msg time="2026-04-11T23:14:43.098029" level="INFO">Repeating keyword, round 314/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:43.099150" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:43.099040" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.099021" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.099508" level="INFO">${current_Date} = 2026-04-11 23:14:43.099</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:43.099355" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.100204" level="INFO">${ellapsed_seconds} = 2661.147</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:43.099699" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.100526" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:43.100301" elapsed="0.000310"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.100282" elapsed="0.000353"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:43.098787" elapsed="0.001894"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.101186" level="INFO">${number} = 314</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.100822" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.102592" level="INFO">${number} = 314</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.102247" elapsed="0.000372"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.104217" level="INFO">${device-port} = 18143</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.103607" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.106607" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:43.145069" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.145294" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.106491" elapsed="0.038861"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.146301" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:43.146440" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:43.145539" elapsed="0.001176">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:43.145489" elapsed="0.001332">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:43.106221" elapsed="0.040877">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:43.105836" elapsed="0.041405"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.148302" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18143 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:43.203419" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.203702" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.147774" elapsed="0.055987"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:43.203944" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:43.204839" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:43.105074" elapsed="0.099977"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:43.205694" elapsed="0.001743"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:43.104444" elapsed="0.103280"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:43.103259" elapsed="0.104611"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:43.102774" elapsed="0.105197"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.101812" elapsed="0.106282"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:43.101361" elapsed="0.106829"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.209353" level="INFO">${next} = 18144</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.208562" elapsed="0.000852"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.210757" level="INFO">${current_port} = 18144</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:43.209847" elapsed="0.001010"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.098214" elapsed="0.112772"/>
</kw>
<msg time="2026-04-11T23:14:43.211072" level="INFO">Repeating keyword, round 315/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:43.213771" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:43.213496" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.213447" elapsed="0.000389"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.214188" level="INFO">${current_Date} = 2026-04-11 23:14:43.214</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:43.214016" elapsed="0.000198"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.216021" level="INFO">${ellapsed_seconds} = 2661.032</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:43.214361" elapsed="0.001687"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.216375" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:43.216121" elapsed="0.000310"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.216102" elapsed="0.000352"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:43.212914" elapsed="0.003588"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.217042" level="INFO">${number} = 315</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.216668" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.218499" level="INFO">${number} = 315</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.218157" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.220192" level="INFO">${device-port} = 18144</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.219549" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.222702" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:43.253310" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.253532" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.222604" elapsed="0.031028"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.254520" elapsed="0.000092"/>
</kw>
<msg time="2026-04-11T23:14:43.254697" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:43.253799" elapsed="0.001003">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:43.253754" elapsed="0.001138">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:43.222312" elapsed="0.032849">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:43.221920" elapsed="0.033460"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.256491" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18144 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:43.311217" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.311429" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.255929" elapsed="0.055554"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:43.311709" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:43.312546" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:43.221117" elapsed="0.091685"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:43.313415" elapsed="0.001862"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:43.220464" elapsed="0.095056"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:43.219210" elapsed="0.096494"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:43.218700" elapsed="0.097103"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.217700" elapsed="0.098226"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:43.217220" elapsed="0.098801"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.317209" level="INFO">${next} = 18145</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.316390" elapsed="0.000879"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.318605" level="INFO">${current_port} = 18145</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:43.317700" elapsed="0.001008"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.211492" elapsed="0.107344"/>
</kw>
<msg time="2026-04-11T23:14:43.318923" level="INFO">Repeating keyword, round 316/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:43.321532" elapsed="0.000125"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:43.321268" elapsed="0.000437"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.321225" elapsed="0.000503"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.322027" level="INFO">${current_Date} = 2026-04-11 23:14:43.322</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:43.321871" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.322504" level="INFO">${ellapsed_seconds} = 2660.924</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:43.322197" elapsed="0.000333"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.376085" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:43.375638" elapsed="0.000533"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.322604" elapsed="0.053602"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:43.320723" elapsed="0.055560"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.377009" level="INFO">${number} = 316</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.376448" elapsed="0.000590"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.378554" level="INFO">${number} = 316</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.378198" elapsed="0.000400"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.380340" level="INFO">${device-port} = 18145</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.379704" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.382873" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:43.395266" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.395365" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.382757" elapsed="0.012635"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.395820" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:43.395881" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:43.395468" elapsed="0.000534">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:43.395448" elapsed="0.000597">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:43.382465" elapsed="0.013716">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:43.382047" elapsed="0.014199"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.396708" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18145 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:43.455073" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.455165" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.396449" elapsed="0.058740"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:43.455273" elapsed="0.000066"/>
</return>
<msg time="2026-04-11T23:14:43.455643" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:43.381233" elapsed="0.074504"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:43.455995" elapsed="0.000795"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:43.380610" elapsed="0.076284"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:43.379293" elapsed="0.077665"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:43.378760" elapsed="0.078242"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.377717" elapsed="0.079345"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:43.377208" elapsed="0.079897"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.457602" level="INFO">${next} = 18146</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.457255" elapsed="0.000375"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.458177" level="INFO">${current_port} = 18146</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:43.457791" elapsed="0.000428"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.319336" elapsed="0.138939"/>
</kw>
<msg time="2026-04-11T23:14:43.458314" level="INFO">Repeating keyword, round 317/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:43.459618" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:43.459490" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.459471" elapsed="0.000212"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.460072" level="INFO">${current_Date} = 2026-04-11 23:14:43.460</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:43.459897" elapsed="0.000200"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.460595" level="INFO">${ellapsed_seconds} = 2660.786</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:43.460243" elapsed="0.000380"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.460935" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:43.460704" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.460675" elapsed="0.000336"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:43.459249" elapsed="0.001808"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.461558" level="INFO">${number} = 317</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.461198" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.462982" level="INFO">${number} = 317</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.462646" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.464655" level="INFO">${device-port} = 18146</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.464012" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.467032" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:43.504962" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.505060" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.466937" elapsed="0.038149"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.505470" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:43.505529" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:43.505161" elapsed="0.000435">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:43.505140" elapsed="0.000499">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:43.466670" elapsed="0.039088">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:43.466262" elapsed="0.039591"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.506272" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18146 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:43.563517" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.563767" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.506056" elapsed="0.057766"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:43.564007" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:43.564815" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:43.465492" elapsed="0.099554"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:43.565662" elapsed="0.001695"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:43.464914" elapsed="0.102702"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:43.463677" elapsed="0.104086"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:43.463163" elapsed="0.104702"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.462197" elapsed="0.105792"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:43.461756" elapsed="0.106329"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.569254" level="INFO">${next} = 18147</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.568427" elapsed="0.000886"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.570186" level="INFO">${current_port} = 18147</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:43.569649" elapsed="0.000595"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.458499" elapsed="0.111823"/>
</kw>
<msg time="2026-04-11T23:14:43.570377" level="INFO">Repeating keyword, round 318/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:43.572252" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:43.572103" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.572076" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.572782" level="INFO">${current_Date} = 2026-04-11 23:14:43.573</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:43.572540" elapsed="0.000278"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.573470" level="INFO">${ellapsed_seconds} = 2660.673</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:43.573036" elapsed="0.000470"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.573981" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:43.573659" elapsed="0.000396"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.573631" elapsed="0.000456"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:43.571763" elapsed="0.002388"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.574886" level="INFO">${number} = 318</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.574350" elapsed="0.000573"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.576934" level="INFO">${number} = 318</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.576405" elapsed="0.000567"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.578763" level="INFO">${device-port} = 18147</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.578144" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.581318" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:43.613825" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.614038" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.581061" elapsed="0.033036"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.614997" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:43.615129" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:43.614261" elapsed="0.001054">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:43.614216" elapsed="0.001197">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:43.580780" elapsed="0.034936">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:43.580371" elapsed="0.035490"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.616845" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18147 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:43.672030" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.672176" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.616314" elapsed="0.055897"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:43.672363" elapsed="0.000103"/>
</return>
<msg time="2026-04-11T23:14:43.672902" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:43.579611" elapsed="0.093446"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:43.673450" elapsed="0.001159"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:43.578994" elapsed="0.095767"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:43.577806" elapsed="0.097047"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:43.577192" elapsed="0.097723"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.575780" elapsed="0.099216"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:43.575135" elapsed="0.099922"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.675785" level="INFO">${next} = 18148</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.675274" elapsed="0.000550"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.676618" level="INFO">${current_port} = 18148</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:43.676049" elapsed="0.000632"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.570677" elapsed="0.106085"/>
</kw>
<msg time="2026-04-11T23:14:43.676818" level="INFO">Repeating keyword, round 319/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:43.678773" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:43.678615" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.678564" elapsed="0.000299"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.679342" level="INFO">${current_Date} = 2026-04-11 23:14:43.679</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:43.679116" elapsed="0.000263"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.680050" level="INFO">${ellapsed_seconds} = 2660.567</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:43.679613" elapsed="0.000474"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.680525" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:43.680187" elapsed="0.000440"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.680162" elapsed="0.000500"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:43.678237" elapsed="0.002491"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.681528" level="INFO">${number} = 319</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.680930" elapsed="0.000636"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.683039" level="INFO">${number} = 319</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.682695" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.684726" level="INFO">${device-port} = 18148</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.684089" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.687324" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:43.725594" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.725817" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.687224" elapsed="0.038651"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.726847" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:43.726985" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:43.726040" elapsed="0.001050">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:43.725996" elapsed="0.001184">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:43.686952" elapsed="0.040518">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:43.686405" elapsed="0.041320"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.728749" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18148 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:43.783208" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.783472" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.728200" elapsed="0.055341"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:43.783778" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:14:43.784548" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:43.685620" elapsed="0.099192"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:43.785459" elapsed="0.001851"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:43.684960" elapsed="0.102603"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:43.683751" elapsed="0.104002"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:43.683224" elapsed="0.104629"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.682222" elapsed="0.105756"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:43.681773" elapsed="0.106301"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.789256" level="INFO">${next} = 18149</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.788415" elapsed="0.000902"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.790194" level="INFO">${current_port} = 18149</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:43.789656" elapsed="0.000596"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.677108" elapsed="0.113224"/>
</kw>
<msg time="2026-04-11T23:14:43.790388" level="INFO">Repeating keyword, round 320/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:43.792502" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:43.792338" elapsed="0.000257"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.792304" elapsed="0.000328"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.793064" level="INFO">${current_Date} = 2026-04-11 23:14:43.793</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:43.792836" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.793824" level="INFO">${ellapsed_seconds} = 2660.453</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:43.793331" elapsed="0.000529"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.794290" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:43.793960" elapsed="0.000407"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.793934" elapsed="0.000465"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:43.791979" elapsed="0.002484"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.795197" level="INFO">${number} = 320</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.794687" elapsed="0.000546"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.797313" level="INFO">${number} = 320</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.796798" elapsed="0.000552"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.799037" level="INFO">${device-port} = 18149</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.798422" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.801436" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:43.833434" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.833684" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.801334" elapsed="0.032411"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.834638" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:43.834771" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:43.833907" elapsed="0.001065">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:43.833862" elapsed="0.001210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:43.801043" elapsed="0.034305">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:43.800658" elapsed="0.034826"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.836483" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18149 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:43.891695" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.891925" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.835977" elapsed="0.056003"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:43.892191" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:14:43.893022" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:43.799876" elapsed="0.093353"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:43.893901" elapsed="0.001784"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:43.799263" elapsed="0.096687"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:43.798088" elapsed="0.098014"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:43.797560" elapsed="0.098642"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.796149" elapsed="0.100178"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:43.795447" elapsed="0.100976"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.897790" level="INFO">${next} = 18150</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.896800" elapsed="0.001049"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.899098" level="INFO">${current_port} = 18150</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:43.898210" elapsed="0.000981"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.790679" elapsed="0.108638"/>
</kw>
<msg time="2026-04-11T23:14:43.899405" level="INFO">Repeating keyword, round 321/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:43.902348" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:43.902233" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.902213" elapsed="0.000206"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.902812" level="INFO">${current_Date} = 2026-04-11 23:14:43.903</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:43.902636" elapsed="0.000202"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:43.903306" level="INFO">${ellapsed_seconds} = 2660.343</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:43.902984" elapsed="0.000347"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.903659" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:43.903401" elapsed="0.000313"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:43.903383" elapsed="0.000354"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:43.901939" elapsed="0.001845"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.904284" level="INFO">${number} = 321</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.903926" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.905835" level="INFO">${number} = 321</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.905422" elapsed="0.000440"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:43.907477" level="INFO">${device-port} = 18150</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:43.906886" elapsed="0.000617"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.909904" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:43.941484" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.941736" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.909805" elapsed="0.031990"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:43.942689" elapsed="0.000070"/>
</kw>
<msg time="2026-04-11T23:14:43.942840" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:43.941956" elapsed="0.001007">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:43.941913" elapsed="0.001142">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:43.909511" elapsed="0.033818">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:43.909078" elapsed="0.034550"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:43.944646" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18150 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:43.999187" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:43.999374" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:43.944109" elapsed="0.055303"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:43.999559" elapsed="0.000133"/>
</return>
<msg time="2026-04-11T23:14:44.000013" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:43.908312" elapsed="0.091801"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.000432" elapsed="0.000899"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:43.907728" elapsed="0.093736"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:43.906535" elapsed="0.095007"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:43.906025" elapsed="0.095584"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.904926" elapsed="0.096745"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:43.904462" elapsed="0.097259"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.002284" level="INFO">${next} = 18151</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.001881" elapsed="0.000430"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.003488" level="INFO">${current_port} = 18151</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.002487" elapsed="0.001176"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:43.899893" elapsed="0.103953"/>
</kw>
<msg time="2026-04-11T23:14:44.003944" level="INFO">Repeating keyword, round 322/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.007291" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.007133" elapsed="0.000218"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.007105" elapsed="0.000280"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.007947" level="INFO">${current_Date} = 2026-04-11 23:14:44.008</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.007666" elapsed="0.000327"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.008851" level="INFO">${ellapsed_seconds} = 2660.238</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.008204" elapsed="0.000700"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.009531" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.009042" elapsed="0.000633"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.009004" elapsed="0.000725"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.006774" elapsed="0.003058"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.010854" level="INFO">${number} = 322</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.010135" elapsed="0.000769"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.013694" level="INFO">${number} = 322</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.012989" elapsed="0.000755"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.015915" level="INFO">${device-port} = 18151</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.015262" elapsed="0.000680"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.018395" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:44.049252" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.049471" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.018290" elapsed="0.031277"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.050515" elapsed="0.000087"/>
</kw>
<msg time="2026-04-11T23:14:44.050684" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:44.049783" elapsed="0.001115">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:44.049732" elapsed="0.001263">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:44.018014" elapsed="0.033265">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:44.017612" elapsed="0.033807"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.052402" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18151 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:44.107034" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.107243" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.051917" elapsed="0.055380"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:44.107481" elapsed="0.000189"/>
</return>
<msg time="2026-04-11T23:14:44.108287" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:44.016785" elapsed="0.091709"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.109117" elapsed="0.001758"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:44.016152" elapsed="0.094869"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:44.014862" elapsed="0.096257"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:44.014038" elapsed="0.097144"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.012138" elapsed="0.099130"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:44.011248" elapsed="0.100080"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.112037" level="INFO">${next} = 18152</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.111549" elapsed="0.000525"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.112859" level="INFO">${current_port} = 18152</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.112299" elapsed="0.000620"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.004493" elapsed="0.108506"/>
</kw>
<msg time="2026-04-11T23:14:44.113053" level="INFO">Repeating keyword, round 323/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.114928" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.114778" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.114751" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.115493" level="INFO">${current_Date} = 2026-04-11 23:14:44.115</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.115265" elapsed="0.000264"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.116189" level="INFO">${ellapsed_seconds} = 2660.131</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.115756" elapsed="0.000469"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.116713" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.116323" elapsed="0.000466"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.116297" elapsed="0.000525"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.114414" elapsed="0.002473"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.117639" level="INFO">${number} = 323</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.117086" elapsed="0.000592"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.119333" level="INFO">${number} = 323</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.118990" elapsed="0.000370"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.120983" level="INFO">${device-port} = 18152</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.120363" elapsed="0.000647"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.123331" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:44.157053" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.157240" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.123234" elapsed="0.034058"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.158071" elapsed="0.000047"/>
</kw>
<msg time="2026-04-11T23:14:44.158183" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:44.157428" elapsed="0.000828">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:44.157390" elapsed="0.000925">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:44.122967" elapsed="0.035554">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:44.122583" elapsed="0.036159"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.159549" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18152 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:44.215692" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.216033" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.159130" elapsed="0.056963"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:44.216351" elapsed="0.000175"/>
</return>
<msg time="2026-04-11T23:14:44.217229" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:44.121822" elapsed="0.095611"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.218189" elapsed="0.001859"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:44.121211" elapsed="0.099074"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:44.120028" elapsed="0.100405"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:44.119518" elapsed="0.101018"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.118509" elapsed="0.102192"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:44.117895" elapsed="0.102906"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.222106" level="INFO">${next} = 18153</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.221189" elapsed="0.000979"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.223129" level="INFO">${current_port} = 18153</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.222535" elapsed="0.000654"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.113314" elapsed="0.109958"/>
</kw>
<msg time="2026-04-11T23:14:44.223331" level="INFO">Repeating keyword, round 324/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.225475" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.225314" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.225284" elapsed="0.000328"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.226089" level="INFO">${current_Date} = 2026-04-11 23:14:44.226</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.225847" elapsed="0.000280"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.226827" level="INFO">${ellapsed_seconds} = 2660.02</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.226336" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.227328" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.226980" elapsed="0.000424"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.226953" elapsed="0.000484"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.224954" elapsed="0.002552"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.228257" level="INFO">${number} = 324</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.227732" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.230412" level="INFO">${number} = 324</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.229920" elapsed="0.000531"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.232211" level="INFO">${device-port} = 18153</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.231535" elapsed="0.000703"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.234705" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:44.265475" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.265734" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.234600" elapsed="0.031251"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.266782" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:44.266921" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:44.266024" elapsed="0.001138">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:44.265979" elapsed="0.001305">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:44.234313" elapsed="0.033323">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:44.233912" elapsed="0.033897"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.268864" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18153 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:44.323411" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.323655" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.268309" elapsed="0.055404"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:44.323897" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:44.324695" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:44.233103" elapsed="0.091800"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.325494" elapsed="0.001799"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:44.232447" elapsed="0.095109"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:44.231192" elapsed="0.096571"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:44.230673" elapsed="0.097190"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.229176" elapsed="0.098812"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:44.228512" elapsed="0.099570"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.329208" level="INFO">${next} = 18154</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.328421" elapsed="0.000846"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.330563" level="INFO">${current_port} = 18154</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.329654" elapsed="0.000994"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.223672" elapsed="0.107056"/>
</kw>
<msg time="2026-04-11T23:14:44.330781" level="INFO">Repeating keyword, round 325/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.332725" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.332551" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.332525" elapsed="0.000289"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.333273" level="INFO">${current_Date} = 2026-04-11 23:14:44.333</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.333058" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.333964" level="INFO">${ellapsed_seconds} = 2659.913</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.333512" elapsed="0.000488"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.334412" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.334098" elapsed="0.000388"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.334072" elapsed="0.000446"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.332213" elapsed="0.002390"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.335314" level="INFO">${number} = 325</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.334806" elapsed="0.000545"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.337333" level="INFO">${number} = 325</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.336854" elapsed="0.000515"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.339331" level="INFO">${device-port} = 18154</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.338747" elapsed="0.000610"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.341699" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:44.378385" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.378634" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.341600" elapsed="0.037096"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.379551" elapsed="0.000087"/>
</kw>
<msg time="2026-04-11T23:14:44.379718" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:44.378859" elapsed="0.000963">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:44.378814" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:44.341310" elapsed="0.038863">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:44.340917" elapsed="0.039460"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.381374" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18154 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:44.435858" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.436142" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.380884" elapsed="0.055314"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:44.436407" elapsed="0.000218"/>
</return>
<msg time="2026-04-11T23:14:44.437273" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:44.340157" elapsed="0.097314"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.438182" elapsed="0.001881"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:44.339558" elapsed="0.100749"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:44.338321" elapsed="0.102135"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:44.337606" elapsed="0.102959"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.336221" elapsed="0.104515"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:44.335564" elapsed="0.105276"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.442104" level="INFO">${next} = 18155</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.441208" elapsed="0.000961"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.443144" level="INFO">${current_port} = 18155</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.442558" elapsed="0.000646"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.331040" elapsed="0.112244"/>
</kw>
<msg time="2026-04-11T23:14:44.443340" level="INFO">Repeating keyword, round 326/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.445282" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.445129" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.445101" elapsed="0.000270"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.445845" level="INFO">${current_Date} = 2026-04-11 23:14:44.446</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.445613" elapsed="0.000268"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.446546" level="INFO">${ellapsed_seconds} = 2659.8</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.446110" elapsed="0.000493"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.447031" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.446702" elapsed="0.000402"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.446676" elapsed="0.000460"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.444791" elapsed="0.002408"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.447916" level="INFO">${number} = 326</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.447395" elapsed="0.000557"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.449926" level="INFO">${number} = 326</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.449409" elapsed="0.000553"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.451786" level="INFO">${device-port} = 18155</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.451178" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.454156" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:44.486228" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.486442" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.454055" elapsed="0.032445"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.487399" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:44.487530" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:44.486697" elapsed="0.001065">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:44.486650" elapsed="0.001210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:44.453770" elapsed="0.034367">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:44.453365" elapsed="0.034913"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.489260" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18155 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:44.543618" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.543750" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.488773" elapsed="0.055011"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:44.543896" elapsed="0.000086"/>
</return>
<msg time="2026-04-11T23:14:44.544359" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:44.452616" elapsed="0.091868"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.544876" elapsed="0.001052"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:44.452012" elapsed="0.094057"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:44.450844" elapsed="0.095348"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:44.450215" elapsed="0.096041"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.448801" elapsed="0.097531"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:44.448162" elapsed="0.098230"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.547079" level="INFO">${next} = 18156</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.546622" elapsed="0.000494"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.547872" level="INFO">${current_port} = 18156</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.547333" elapsed="0.000596"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.443652" elapsed="0.104355"/>
</kw>
<msg time="2026-04-11T23:14:44.548060" level="INFO">Repeating keyword, round 327/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.549889" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.549741" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.549714" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.550452" level="INFO">${current_Date} = 2026-04-11 23:14:44.550</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.550236" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.551130" level="INFO">${ellapsed_seconds} = 2659.696</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.550713" elapsed="0.000453"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.551598" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.551263" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.551238" elapsed="0.000469"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.549362" elapsed="0.002409"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.552472" level="INFO">${number} = 327</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.551970" elapsed="0.000537"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.554541" level="INFO">${number} = 327</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.554021" elapsed="0.000577"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.556200" level="INFO">${device-port} = 18156</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.555614" elapsed="0.000612"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.558536" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:44.597392" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.597544" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.558442" elapsed="0.039164"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.598181" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:44.598282" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:44.597721" elapsed="0.000627">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:44.597688" elapsed="0.000734">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:44.558178" elapsed="0.040444">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:44.557784" elapsed="0.041081"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.599479" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18156 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:44.655490" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.655647" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.599165" elapsed="0.056517"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:44.655799" elapsed="0.000091"/>
</return>
<msg time="2026-04-11T23:14:44.656276" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:44.557031" elapsed="0.099371"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.656792" elapsed="0.001093"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:44.556427" elapsed="0.101599"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:44.555255" elapsed="0.102863"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:44.554762" elapsed="0.103420"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.553349" elapsed="0.104931"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:44.552740" elapsed="0.105604"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.659052" level="INFO">${next} = 18157</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.658557" elapsed="0.000530"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.659863" level="INFO">${current_port} = 18157</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.659306" elapsed="0.000616"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.548316" elapsed="0.111685"/>
</kw>
<msg time="2026-04-11T23:14:44.660055" level="INFO">Repeating keyword, round 328/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.663236" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.663084" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.663057" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.663775" level="INFO">${current_Date} = 2026-04-11 23:14:44.664</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.663522" elapsed="0.000289"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.664453" level="INFO">${ellapsed_seconds} = 2659.582</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.664012" elapsed="0.000477"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.664954" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.664613" elapsed="0.000417"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.664564" elapsed="0.000499"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.662740" elapsed="0.002387"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.665886" level="INFO">${number} = 328</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.665325" elapsed="0.000598"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.667528" level="INFO">${number} = 328</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.667190" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.669174" level="INFO">${device-port} = 18157</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.668562" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.671541" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:44.709511" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.709678" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.671443" elapsed="0.038273"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.710255" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:44.710356" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:44.709819" elapsed="0.000663">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:44.709791" elapsed="0.000751">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:44.671175" elapsed="0.039564">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:44.670787" elapsed="0.040043"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.711416" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18157 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:44.767376" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.767506" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.711114" elapsed="0.056425"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:44.767680" elapsed="0.000086"/>
</return>
<msg time="2026-04-11T23:14:44.768147" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:44.670005" elapsed="0.098269"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.768661" elapsed="0.001056"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:44.669403" elapsed="0.100456"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:44.668226" elapsed="0.101720"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:44.667731" elapsed="0.102276"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.666752" elapsed="0.103331"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:44.666135" elapsed="0.104007"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.770854" level="INFO">${next} = 18158</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.770353" elapsed="0.000538"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.771656" level="INFO">${current_port} = 18158</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.771109" elapsed="0.000606"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.660324" elapsed="0.111470"/>
</kw>
<msg time="2026-04-11T23:14:44.771847" level="INFO">Repeating keyword, round 329/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.773691" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.773496" elapsed="0.000254"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.773469" elapsed="0.000310"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.774239" level="INFO">${current_Date} = 2026-04-11 23:14:44.774</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.774022" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.774960" level="INFO">${ellapsed_seconds} = 2659.472</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.774512" elapsed="0.000485"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.775413" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.775096" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.775070" elapsed="0.000450"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.773159" elapsed="0.002448"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.776321" level="INFO">${number} = 329</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.775815" elapsed="0.000542"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.778349" level="INFO">${number} = 329</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.777881" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.780678" level="INFO">${device-port} = 18158</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.779837" elapsed="0.000878"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.783882" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:44.821349" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.821514" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.783786" elapsed="0.037765"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.822177" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:14:44.822262" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:44.821700" elapsed="0.000629">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:44.821665" elapsed="0.000721">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:44.783458" elapsed="0.039148">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:44.782921" elapsed="0.039834"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.823378" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18158 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:44.879437" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.879565" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.823061" elapsed="0.056562"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:44.879739" elapsed="0.000091"/>
</return>
<msg time="2026-04-11T23:14:44.880210" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:44.781832" elapsed="0.098504"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.880728" elapsed="0.001100"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:44.781003" elapsed="0.100967"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:44.779340" elapsed="0.102718"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:44.778647" elapsed="0.103474"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.777217" elapsed="0.104983"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:44.776588" elapsed="0.105672"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.883000" level="INFO">${next} = 18159</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.882475" elapsed="0.000562"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.883845" level="INFO">${current_port} = 18159</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.883264" elapsed="0.000641"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.772102" elapsed="0.111882"/>
</kw>
<msg time="2026-04-11T23:14:44.884039" level="INFO">Repeating keyword, round 330/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.885965" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.885813" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.885786" elapsed="0.000270"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.886482" level="INFO">${current_Date} = 2026-04-11 23:14:44.886</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.886258" elapsed="0.000262"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.887218" level="INFO">${ellapsed_seconds} = 2659.36</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.886779" elapsed="0.000475"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.887704" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.887353" elapsed="0.000426"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.887326" elapsed="0.000485"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.885111" elapsed="0.002766"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.888600" level="INFO">${number} = 330</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.888076" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.890641" level="INFO">${number} = 330</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.890138" elapsed="0.000541"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.892928" level="INFO">${device-port} = 18159</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.892078" elapsed="0.000893"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.896102" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:44.933377" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.933510" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.895998" elapsed="0.037548"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.934106" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:14:44.934187" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:44.933675" elapsed="0.000631">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:44.933646" elapsed="0.000720">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:44.895721" elapsed="0.038812">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:44.895196" elapsed="0.039469"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:44.935254" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18159 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:44.991434" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:44.991562" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:44.934954" elapsed="0.056667"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:44.991735" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:14:44.992196" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:44.894091" elapsed="0.098232"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:44.992713" elapsed="0.001056"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:44.893250" elapsed="0.100661"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:44.891610" elapsed="0.102388"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:44.890901" elapsed="0.103157"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.889467" elapsed="0.104668"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:44.888850" elapsed="0.105343"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.994902" level="INFO">${next} = 18160</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.994405" elapsed="0.000535"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:44.995703" level="INFO">${current_port} = 18160</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:44.995160" elapsed="0.000603"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.884302" elapsed="0.111539"/>
</kw>
<msg time="2026-04-11T23:14:44.995893" level="INFO">Repeating keyword, round 331/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:44.997745" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:44.997538" elapsed="0.000268"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.997237" elapsed="0.000599"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.998298" level="INFO">${current_Date} = 2026-04-11 23:14:44.998</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:44.998082" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:44.999012" level="INFO">${ellapsed_seconds} = 2659.248</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:44.998537" elapsed="0.000512"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:44.999468" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:44.999148" elapsed="0.000397"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:44.999122" elapsed="0.000480"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:44.996935" elapsed="0.002735"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.000400" level="INFO">${number} = 331</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:44.999871" elapsed="0.000567"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.002436" level="INFO">${number} = 331</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.001968" elapsed="0.000505"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.004776" level="INFO">${device-port} = 18160</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.003915" elapsed="0.001066"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.008104" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:45.041346" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.041500" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.008006" elapsed="0.033531"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.042141" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:45.042223" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:45.041680" elapsed="0.000611">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:45.041645" elapsed="0.000703">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.007725" elapsed="0.034799">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.007232" elapsed="0.035454"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.043315" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18160 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:45.099531" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.099807" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.043003" elapsed="0.056862"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:45.100053" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:45.100859" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.006116" elapsed="0.094947"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:45.101670" elapsed="0.001755"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.005269" elapsed="0.098430"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.003410" elapsed="0.100445"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.002729" elapsed="0.101224"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.001296" elapsed="0.102782"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.000675" elapsed="0.103498"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.105304" level="INFO">${next} = 18161</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.104518" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.106660" level="INFO">${current_port} = 18161</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:45.105769" elapsed="0.001025"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:44.996149" elapsed="0.110778"/>
</kw>
<msg time="2026-04-11T23:14:45.107014" level="INFO">Repeating keyword, round 332/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:45.108774" elapsed="0.000325"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:45.108625" elapsed="0.000515"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.108597" elapsed="0.000574"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.109659" level="INFO">${current_Date} = 2026-04-11 23:14:45.109</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:45.109377" elapsed="0.000322"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.110465" level="INFO">${ellapsed_seconds} = 2659.137</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:45.109907" elapsed="0.000596"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.110990" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:45.110637" elapsed="0.000428"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.110607" elapsed="0.000490"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:45.108275" elapsed="0.002886"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.111888" level="INFO">${number} = 332</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.111359" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.113913" level="INFO">${number} = 332</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.113396" elapsed="0.000553"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.116042" level="INFO">${device-port} = 18161</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.115371" elapsed="0.000698"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.118406" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:45.149626" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.149843" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.118306" elapsed="0.031595"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.150819" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:45.150954" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:45.150076" elapsed="0.001124">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:45.150031" elapsed="0.001287">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.118035" elapsed="0.033588">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.117648" elapsed="0.034119"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.152762" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18161 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:45.207720" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.207973" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.152230" elapsed="0.055806"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:45.208247" elapsed="0.000159"/>
</return>
<msg time="2026-04-11T23:14:45.209207" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.116880" elapsed="0.092552"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:45.210375" elapsed="0.001798"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.116272" elapsed="0.096059"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.114902" elapsed="0.097528"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.114164" elapsed="0.098350"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.112780" elapsed="0.099861"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.112138" elapsed="0.100578"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.213528" level="INFO">${next} = 18162</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.212983" elapsed="0.000625"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.214511" level="INFO">${current_port} = 18162</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:45.213897" elapsed="0.000712"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.107429" elapsed="0.107290"/>
</kw>
<msg time="2026-04-11T23:14:45.214780" level="INFO">Repeating keyword, round 333/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:45.217111" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:45.216656" elapsed="0.000518"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.216620" elapsed="0.000585"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.217713" level="INFO">${current_Date} = 2026-04-11 23:14:45.218</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:45.217460" elapsed="0.000291"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.218440" level="INFO">${ellapsed_seconds} = 2659.028</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:45.217959" elapsed="0.000517"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.219083" elapsed="0.000039"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:45.218637" elapsed="0.000536"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.218551" elapsed="0.000656"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:45.216258" elapsed="0.003021"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.219938" level="INFO">${number} = 333</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.219484" elapsed="0.000481"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.221404" level="INFO">${number} = 333</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.221058" elapsed="0.000372"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.223111" level="INFO">${device-port} = 18162</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.222469" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.225535" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:45.257020" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.257118" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.225423" elapsed="0.031721"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.257542" elapsed="0.000045"/>
</kw>
<msg time="2026-04-11T23:14:45.257626" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:45.257217" elapsed="0.000462">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:45.257197" elapsed="0.000522">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.225156" elapsed="0.032699">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.224739" elapsed="0.033236"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.258402" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18162 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:45.314875" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.314965" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.258183" elapsed="0.056821"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:45.315089" elapsed="0.000067"/>
</return>
<msg time="2026-04-11T23:14:45.315433" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.223956" elapsed="0.091568"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:45.315829" elapsed="0.000783"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.223342" elapsed="0.093376"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.222120" elapsed="0.094661"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.221607" elapsed="0.095219"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.220603" elapsed="0.096284"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.220122" elapsed="0.096810"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.317418" level="INFO">${next} = 18163</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.317088" elapsed="0.000356"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.318010" level="INFO">${current_port} = 18163</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:45.317617" elapsed="0.000435"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.215165" elapsed="0.102944"/>
</kw>
<msg time="2026-04-11T23:14:45.318149" level="INFO">Repeating keyword, round 334/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:45.319469" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:45.319165" elapsed="0.000348"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.319146" elapsed="0.000389"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.319861" level="INFO">${current_Date} = 2026-04-11 23:14:45.320</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:45.319697" elapsed="0.000191"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.320339" level="INFO">${ellapsed_seconds} = 2658.926</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:45.320033" elapsed="0.000332"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.320700" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:45.320435" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.320417" elapsed="0.000360"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:45.318909" elapsed="0.001914"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.321388" level="INFO">${number} = 334</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.321026" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.322824" level="INFO">${number} = 334</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.322464" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.324474" level="INFO">${device-port} = 18163</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.323885" elapsed="0.000616"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.326973" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:45.365150" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.365244" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.326877" elapsed="0.038394"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.365676" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:45.365736" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:45.365344" elapsed="0.000477">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:45.365324" elapsed="0.000545">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.326602" elapsed="0.039389">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.326181" elapsed="0.039873"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.366473" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18163 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:45.423018" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.423121" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.366256" elapsed="0.056891"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:45.423228" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:14:45.423564" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.325339" elapsed="0.098343"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:45.423939" elapsed="0.000767"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.324752" elapsed="0.100057"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.323533" elapsed="0.101338"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.323041" elapsed="0.101873"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.322028" elapsed="0.102940"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.321584" elapsed="0.103426"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.425486" level="INFO">${next} = 18164</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.425160" elapsed="0.000353"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.426070" level="INFO">${current_port} = 18164</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:45.425692" elapsed="0.000420"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.318337" elapsed="0.107861"/>
</kw>
<msg time="2026-04-11T23:14:45.426238" level="INFO">Repeating keyword, round 335/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:45.427641" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:45.427507" elapsed="0.000178"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.427277" elapsed="0.000431"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.428071" level="INFO">${current_Date} = 2026-04-11 23:14:45.428</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:45.427903" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.428555" level="INFO">${ellapsed_seconds} = 2658.818</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:45.428241" elapsed="0.000357"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.428905" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:45.428671" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.428652" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:45.427040" elapsed="0.001988"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.429533" level="INFO">${number} = 335</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.429172" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.430994" level="INFO">${number} = 335</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.430658" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.432756" level="INFO">${device-port} = 18164</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.432141" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.435129" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:45.476965" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.477059" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.435014" elapsed="0.042071"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.477467" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:14:45.477526" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:45.477155" elapsed="0.000440">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:45.477136" elapsed="0.000507">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.434742" elapsed="0.043028">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.434344" elapsed="0.043519"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.478282" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18164 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:45.534808" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.534899" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.478066" elapsed="0.056857"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:45.535005" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:14:45.535359" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.433585" elapsed="0.101866"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:45.535733" elapsed="0.000752"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.432982" elapsed="0.103626"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.431805" elapsed="0.104869"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.431207" elapsed="0.105511"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.430174" elapsed="0.106598"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.429734" elapsed="0.107080"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.537289" level="INFO">${next} = 18165</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.536964" elapsed="0.000351"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.537879" level="INFO">${current_port} = 18165</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:45.537476" elapsed="0.000444"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.426437" elapsed="0.111544"/>
</kw>
<msg time="2026-04-11T23:14:45.538020" level="INFO">Repeating keyword, round 336/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:45.539319" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:45.539191" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.538986" elapsed="0.000398"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.539699" level="INFO">${current_Date} = 2026-04-11 23:14:45.540</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:45.539526" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.540171" level="INFO">${ellapsed_seconds} = 2658.706</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:45.539871" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.540491" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:45.540266" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.540247" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:45.538769" elapsed="0.001878"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.541152" level="INFO">${number} = 336</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.540794" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.542555" level="INFO">${number} = 336</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.542222" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.544217" level="INFO">${device-port} = 18165</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.543619" elapsed="0.000625"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.546628" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:45.584647" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.584742" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.546516" elapsed="0.038252"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.585147" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:45.585212" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:45.584840" elapsed="0.000456">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:45.584821" elapsed="0.000518">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.546248" elapsed="0.039209">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.545865" elapsed="0.039654"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.585962" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18165 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:45.643193" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.643433" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.585746" elapsed="0.057742"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:45.643717" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:14:45.644475" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.545087" elapsed="0.099638"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:45.645312" elapsed="0.002078"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.544445" elapsed="0.103239"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.543263" elapsed="0.104570"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.542753" elapsed="0.105179"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.541781" elapsed="0.106274"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.541327" elapsed="0.106823"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.649260" level="INFO">${next} = 18166</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.648489" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.650609" level="INFO">${current_port} = 18166</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:45.649743" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.538204" elapsed="0.112631"/>
</kw>
<msg time="2026-04-11T23:14:45.650921" level="INFO">Repeating keyword, round 337/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:45.652656" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:45.652524" elapsed="0.000175"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.652307" elapsed="0.000414"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.653067" level="INFO">${current_Date} = 2026-04-11 23:14:45.653</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:45.652905" elapsed="0.000188"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.653549" level="INFO">${ellapsed_seconds} = 2658.593</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:45.653238" elapsed="0.000372"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.653917" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:45.653683" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.653664" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:45.652088" elapsed="0.001951"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.654539" level="INFO">${number} = 337</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.654181" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.655968" level="INFO">${number} = 337</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.655635" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.657642" level="INFO">${device-port} = 18166</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.656993" elapsed="0.000686"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.660054" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:45.692682" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.692891" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.659958" elapsed="0.032990"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.693835" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:45.693967" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:45.693106" elapsed="0.000964">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:45.693063" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.659689" elapsed="0.034734">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.659266" elapsed="0.035399"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.695657" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18166 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:45.755317" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.755540" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.695117" elapsed="0.060523"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:45.755822" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:45.756560" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.658505" elapsed="0.098299"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:45.757375" elapsed="0.001810"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.657887" elapsed="0.101523"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.656660" elapsed="0.102945"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.656155" elapsed="0.103552"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.655177" elapsed="0.104654"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.654739" elapsed="0.105188"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.761040" level="INFO">${next} = 18167</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.760276" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.762357" level="INFO">${current_port} = 18167</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:45.761449" elapsed="0.001000"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.651393" elapsed="0.111213"/>
</kw>
<msg time="2026-04-11T23:14:45.762697" level="INFO">Repeating keyword, round 338/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:45.765079" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:45.764965" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.764771" elapsed="0.000372"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.765433" level="INFO">${current_Date} = 2026-04-11 23:14:45.765</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:45.765283" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.765938" level="INFO">${ellapsed_seconds} = 2658.481</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:45.765639" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.766258" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:45.766033" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.766015" elapsed="0.000318"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:45.764422" elapsed="0.001955"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.766890" level="INFO">${number} = 338</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.766517" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.768308" level="INFO">${number} = 338</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.767976" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.769937" level="INFO">${device-port} = 18167</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.769319" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.772295" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:45.805119" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.805332" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.772200" elapsed="0.033189"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.806281" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:45.806426" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:45.805548" elapsed="0.001087">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:45.805505" elapsed="0.001230">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.771933" elapsed="0.035067">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.771533" elapsed="0.035605"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.808161" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18167 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:45.862978" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.863187" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.807647" elapsed="0.055595"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:45.863428" elapsed="0.000210"/>
</return>
<msg time="2026-04-11T23:14:45.864253" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.770763" elapsed="0.093692"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:45.865078" elapsed="0.001726"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.770161" elapsed="0.096870"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.768989" elapsed="0.098182"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.768487" elapsed="0.098782"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.767515" elapsed="0.099878"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.767064" elapsed="0.100423"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.868648" level="INFO">${next} = 18168</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.867877" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.869926" level="INFO">${current_port} = 18168</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:45.869058" elapsed="0.000962"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.763109" elapsed="0.107037"/>
</kw>
<msg time="2026-04-11T23:14:45.870231" level="INFO">Repeating keyword, round 339/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:45.872905" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:45.872788" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.872470" elapsed="0.000499"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.873305" level="INFO">${current_Date} = 2026-04-11 23:14:45.873</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:45.873147" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.873799" level="INFO">${ellapsed_seconds} = 2658.373</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:45.873475" elapsed="0.000350"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.874124" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:45.873895" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.873877" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:45.871972" elapsed="0.002274"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.874760" level="INFO">${number} = 339</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.874387" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.876174" level="INFO">${number} = 339</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.875843" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.877814" level="INFO">${device-port} = 18168</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.877208" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.880159" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:45.912801" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.913012" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.880064" elapsed="0.033006"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.913949" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:45.914078" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:45.913230" elapsed="0.000952">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:45.913187" elapsed="0.001083">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.879797" elapsed="0.034741">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.879389" elapsed="0.035385"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.915773" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18168 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:45.971185" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:45.971394" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.915224" elapsed="0.056224"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:45.971691" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:45.972447" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.878640" elapsed="0.094052"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:45.973287" elapsed="0.001816"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.878039" elapsed="0.097290"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.876875" elapsed="0.098594"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.876355" elapsed="0.099210"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.875374" elapsed="0.100374"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.874936" elapsed="0.100906"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.976960" level="INFO">${next} = 18169</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.976181" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.978277" level="INFO">${current_port} = 18169</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:45.977385" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.870678" elapsed="0.107815"/>
</kw>
<msg time="2026-04-11T23:14:45.978608" level="INFO">Repeating keyword, round 340/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:45.982234" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:45.982117" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.980756" elapsed="0.001542"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.982615" level="INFO">${current_Date} = 2026-04-11 23:14:45.983</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:45.982438" elapsed="0.000206"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:45.983091" level="INFO">${ellapsed_seconds} = 2658.263</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:45.982787" elapsed="0.000330"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:45.983416" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:45.983186" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:45.983167" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:45.980349" elapsed="0.003186"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.984058" level="INFO">${number} = 340</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.983703" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.985479" level="INFO">${number} = 340</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.985144" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:45.987145" level="INFO">${device-port} = 18169</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:45.986542" elapsed="0.000630"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:45.989502" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.020814" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.021024" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:45.989407" elapsed="0.031674"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.021973" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:46.022103" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.021238" elapsed="0.001055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.021195" elapsed="0.001193">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:45.989141" elapsed="0.033555">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:45.988760" elapsed="0.034077"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.023837" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18169 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:46.078971" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.079180" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.023287" elapsed="0.055946"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:46.079418" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:46.080251" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:45.988004" elapsed="0.092450"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:46.081080" elapsed="0.001772"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:45.987369" elapsed="0.095709"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:45.986209" elapsed="0.097010"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:45.985701" elapsed="0.097616"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.984708" elapsed="0.098730"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:45.984233" elapsed="0.099299"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.084947" level="INFO">${next} = 18170</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.084160" elapsed="0.000846"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.086237" level="INFO">${current_port} = 18170</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:46.085357" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:45.979034" elapsed="0.107422"/>
</kw>
<msg time="2026-04-11T23:14:46.086543" level="INFO">Repeating keyword, round 341/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:46.088850" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:46.088744" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.088725" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.089443" level="INFO">${current_Date} = 2026-04-11 23:14:46.089</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:46.089089" elapsed="0.000381"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.089946" level="INFO">${ellapsed_seconds} = 2658.157</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:46.089633" elapsed="0.000339"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.090275" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:46.090040" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.090023" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:46.088309" elapsed="0.002086"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.090914" level="INFO">${number} = 341</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.090536" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.092330" level="INFO">${number} = 341</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.091995" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.093983" level="INFO">${device-port} = 18170</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.093371" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.096347" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.128604" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.128700" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.096251" elapsed="0.032475"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.129124" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:46.129186" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.128798" elapsed="0.000435">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.128779" elapsed="0.000493">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:46.095980" elapsed="0.033414">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:46.095551" elapsed="0.033936"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.130338" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18170 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:46.187324" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.187525" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.129858" elapsed="0.057755"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:46.187795" elapsed="0.000159"/>
</return>
<msg time="2026-04-11T23:14:46.188561" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:46.094806" elapsed="0.094007"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:46.189381" elapsed="0.001697"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:46.094209" elapsed="0.097091"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:46.093041" elapsed="0.098397"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:46.092511" elapsed="0.099024"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.091529" elapsed="0.100164"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:46.091089" elapsed="0.100700"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.192904" level="INFO">${next} = 18171</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.192142" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.194205" level="INFO">${current_port} = 18171</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:46.193311" elapsed="0.000985"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.086995" elapsed="0.107424"/>
</kw>
<msg time="2026-04-11T23:14:46.194504" level="INFO">Repeating keyword, round 342/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:46.196823" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:46.196718" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.196698" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.197175" level="INFO">${current_Date} = 2026-04-11 23:14:46.197</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:46.197026" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.197878" level="INFO">${ellapsed_seconds} = 2658.049</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:46.197344" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.198203" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:46.197975" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.197956" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:46.196267" elapsed="0.002059"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.198844" level="INFO">${number} = 342</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.198467" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.200253" level="INFO">${number} = 342</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.199923" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.201883" level="INFO">${device-port} = 18171</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.201267" elapsed="0.000643"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.204220" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.236753" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.236966" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.204127" elapsed="0.032897"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.237917" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:14:46.238055" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.237185" elapsed="0.001050">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.237142" elapsed="0.001190">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:46.203859" elapsed="0.034766">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:46.203445" elapsed="0.035326"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.239746" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18171 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:46.295174" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.295411" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.239222" elapsed="0.056245"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:46.295694" elapsed="0.000154"/>
</return>
<msg time="2026-04-11T23:14:46.296491" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:46.202705" elapsed="0.094036"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:46.297333" elapsed="0.001751"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:46.202110" elapsed="0.097197"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:46.200933" elapsed="0.098515"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:46.200433" elapsed="0.099114"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.199458" elapsed="0.100248"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:46.199020" elapsed="0.100783"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.300931" level="INFO">${next} = 18172</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.300161" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.302242" level="INFO">${current_port} = 18172</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:46.301340" elapsed="0.000993"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.194946" elapsed="0.107513"/>
</kw>
<msg time="2026-04-11T23:14:46.302546" level="INFO">Repeating keyword, round 343/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:46.304836" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:46.304723" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.304701" elapsed="0.000199"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.305272" level="INFO">${current_Date} = 2026-04-11 23:14:46.305</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:46.305101" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.305813" level="INFO">${ellapsed_seconds} = 2657.941</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:46.305444" elapsed="0.000395"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.306390" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:46.306145" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.305891" elapsed="0.000578"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:46.304320" elapsed="0.002195"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.307038" level="INFO">${number} = 343</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.306675" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.308462" level="INFO">${number} = 343</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.308125" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.310124" level="INFO">${device-port} = 18172</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.309500" elapsed="0.000651"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.312523" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.345126" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.345340" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.312420" elapsed="0.032977"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.346307" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:46.346440" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.345561" elapsed="0.000987">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.345516" elapsed="0.001157">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:46.312149" elapsed="0.034807">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:46.311728" elapsed="0.035446"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.348184" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18172 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:46.402808" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.403010" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.347669" elapsed="0.055395"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:46.403243" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:46.404071" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:46.310959" elapsed="0.093317"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:46.404877" elapsed="0.001678"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:46.310353" elapsed="0.096464"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:46.309163" elapsed="0.097797"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:46.308661" elapsed="0.098397"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.307674" elapsed="0.099510"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:46.307217" elapsed="0.100063"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.408400" level="INFO">${next} = 18173</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.407646" elapsed="0.000812"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.409750" level="INFO">${current_port} = 18173</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:46.408863" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.303012" elapsed="0.106957"/>
</kw>
<msg time="2026-04-11T23:14:46.410057" level="INFO">Repeating keyword, round 344/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:46.412625" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:46.412341" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.412298" elapsed="0.000393"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.412989" level="INFO">${current_Date} = 2026-04-11 23:14:46.413</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:46.412833" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.413470" level="INFO">${ellapsed_seconds} = 2657.833</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:46.413158" elapsed="0.000337"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.414015" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:46.413565" elapsed="0.000505"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.413546" elapsed="0.000548"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:46.411755" elapsed="0.002385"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.414659" level="INFO">${number} = 344</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.414281" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.416082" level="INFO">${number} = 344</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.415735" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.417740" level="INFO">${device-port} = 18173</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.417124" elapsed="0.000643"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.420141" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.452617" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.452723" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.420043" elapsed="0.032708"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.453154" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:46.453214" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.452828" elapsed="0.000484">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.452807" elapsed="0.000549">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:46.419748" elapsed="0.033734">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:46.419334" elapsed="0.034211"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.453994" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18173 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:46.511141" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.511349" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.453772" elapsed="0.057631"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:46.511630" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:14:46.512413" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:46.418549" elapsed="0.094102"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:46.513228" elapsed="0.001735"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:46.417969" elapsed="0.097221"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:46.416790" elapsed="0.098537"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:46.416269" elapsed="0.099157"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.415279" elapsed="0.100273"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:46.414838" elapsed="0.100865"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.516840" level="INFO">${next} = 18174</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.516045" elapsed="0.000835"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.517728" level="INFO">${current_port} = 18174</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:46.517126" elapsed="0.000664"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.410468" elapsed="0.107407"/>
</kw>
<msg time="2026-04-11T23:14:46.517933" level="INFO">Repeating keyword, round 345/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:46.519630" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:46.519443" elapsed="0.000249"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.519416" elapsed="0.000308"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.520240" level="INFO">${current_Date} = 2026-04-11 23:14:46.520</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:46.519986" elapsed="0.000293"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.521336" level="INFO">${ellapsed_seconds} = 2657.726</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:46.520494" elapsed="0.000882"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.521881" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:46.521483" elapsed="0.000474"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.521455" elapsed="0.000535"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:46.519087" elapsed="0.002968"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.522794" level="INFO">${number} = 345</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.522258" elapsed="0.000576"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.524877" level="INFO">${number} = 345</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.524435" elapsed="0.000468"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.526518" level="INFO">${device-port} = 18174</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.525913" elapsed="0.000632"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.529078" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.561140" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.561348" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.528982" elapsed="0.032422"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.562288" elapsed="0.000053"/>
</kw>
<msg time="2026-04-11T23:14:46.562429" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.561562" elapsed="0.000971">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.561520" elapsed="0.001142">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:46.528710" elapsed="0.034237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:46.528310" elapsed="0.034839"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.564148" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18174 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:46.619153" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.619367" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.563641" elapsed="0.055780"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:46.619653" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:46.620430" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:46.527378" elapsed="0.093292"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:46.621256" elapsed="0.001721"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:46.526792" elapsed="0.096411"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:46.525559" elapsed="0.097782"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:46.525061" elapsed="0.098378"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.523747" elapsed="0.099815"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:46.523061" elapsed="0.100629"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.624816" level="INFO">${next} = 18175</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.624029" elapsed="0.000826"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.625680" level="INFO">${current_port} = 18175</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:46.625092" elapsed="0.000650"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.518219" elapsed="0.107606"/>
</kw>
<msg time="2026-04-11T23:14:46.625883" level="INFO">Repeating keyword, round 346/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:46.627552" elapsed="0.000042"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:46.627392" elapsed="0.000243"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.627358" elapsed="0.000309"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.628115" level="INFO">${current_Date} = 2026-04-11 23:14:46.628</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:46.627884" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.629214" level="INFO">${ellapsed_seconds} = 2657.618</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:46.628388" elapsed="0.000866"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.629763" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:46.629396" elapsed="0.000448"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.629366" elapsed="0.000512"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:46.627037" elapsed="0.002908"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.630704" level="INFO">${number} = 346</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.630156" elapsed="0.000586"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.632815" level="INFO">${number} = 346</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.632296" elapsed="0.000554"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.634694" level="INFO">${device-port} = 18175</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.633881" elapsed="0.000841"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.637084" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.669195" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.669404" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.636988" elapsed="0.032472"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.670346" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:46.670473" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.669656" elapsed="0.001030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.669610" elapsed="0.001174">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:46.636714" elapsed="0.034346">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:46.636315" elapsed="0.034882"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.672172" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18175 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:46.727044" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.727258" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.671689" elapsed="0.055622"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:46.727492" elapsed="0.000189"/>
</return>
<msg time="2026-04-11T23:14:46.728311" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:46.635517" elapsed="0.092995"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:46.729127" elapsed="0.001749"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:46.634929" elapsed="0.096172"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:46.633499" elapsed="0.097741"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:46.633007" elapsed="0.098332"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.631635" elapsed="0.099828"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:46.630965" elapsed="0.100594"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.732765" level="INFO">${next} = 18176</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.731934" elapsed="0.000877"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.733600" level="INFO">${current_port} = 18176</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:46.733038" elapsed="0.000621"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.626182" elapsed="0.107556"/>
</kw>
<msg time="2026-04-11T23:14:46.733791" level="INFO">Repeating keyword, round 347/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:46.735381" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:46.735222" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.735196" elapsed="0.000273"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.736069" level="INFO">${current_Date} = 2026-04-11 23:14:46.736</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:46.735839" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.737121" level="INFO">${ellapsed_seconds} = 2657.51</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:46.736329" elapsed="0.000829"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.737611" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:46.737258" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.737232" elapsed="0.000489"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:46.734891" elapsed="0.002895"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.738488" level="INFO">${number} = 347</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.737986" elapsed="0.000538"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.740508" level="INFO">${number} = 347</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.740011" elapsed="0.000534"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.742191" level="INFO">${device-port} = 18176</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.741599" elapsed="0.000619"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.744548" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.777059" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.777268" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.744452" elapsed="0.032873"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.778208" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:46.778337" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.777483" elapsed="0.000956">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.777441" elapsed="0.001085">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:46.744175" elapsed="0.034656">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:46.743795" elapsed="0.035253"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.780021" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18176 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:46.835003" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.835209" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.779498" elapsed="0.055764"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:46.835440" elapsed="0.000180"/>
</return>
<msg time="2026-04-11T23:14:46.836245" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:46.743022" elapsed="0.093470"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:46.837102" elapsed="0.001698"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:46.742419" elapsed="0.096604"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:46.741249" elapsed="0.097910"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:46.740753" elapsed="0.098501"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.739374" elapsed="0.100002"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:46.738759" elapsed="0.100710"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.840634" level="INFO">${next} = 18177</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.839847" elapsed="0.000847"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.841948" level="INFO">${current_port} = 18177</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:46.841086" elapsed="0.000955"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.734070" elapsed="0.108095"/>
</kw>
<msg time="2026-04-11T23:14:46.842250" level="INFO">Repeating keyword, round 348/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:46.844779" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:46.844539" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.844498" elapsed="0.000344"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.845142" level="INFO">${current_Date} = 2026-04-11 23:14:46.845</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:46.844987" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.845826" level="INFO">${ellapsed_seconds} = 2657.401</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:46.845309" elapsed="0.000544"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.846217" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:46.845923" elapsed="0.000347"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.845905" elapsed="0.000388"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:46.843945" elapsed="0.002394"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.846859" level="INFO">${number} = 348</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.846480" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.848247" level="INFO">${number} = 348</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.847918" elapsed="0.000355"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.849947" level="INFO">${device-port} = 18177</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.849336" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.852399" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.885131" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.885376" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.852281" elapsed="0.033155"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.886398" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:46.886528" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.885658" elapsed="0.001105">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.885604" elapsed="0.001258">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:46.852013" elapsed="0.035133">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:46.851621" elapsed="0.035664"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.888294" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18177 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:46.943363" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.943615" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.887797" elapsed="0.055877"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:46.943858" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:46.944674" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:46.850778" elapsed="0.094102"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:46.945462" elapsed="0.001749"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:46.850173" elapsed="0.097266"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:46.849002" elapsed="0.098602"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:46.848440" elapsed="0.099267"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.847467" elapsed="0.100363"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:46.847034" elapsed="0.100890"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.949011" level="INFO">${next} = 18178</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.948278" elapsed="0.000772"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.949880" level="INFO">${current_port} = 18178</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:46.949282" elapsed="0.000661"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.842696" elapsed="0.107329"/>
</kw>
<msg time="2026-04-11T23:14:46.950081" level="INFO">Repeating keyword, round 349/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:46.951788" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:46.951628" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.951592" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.952384" level="INFO">${current_Date} = 2026-04-11 23:14:46.952</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:46.952146" elapsed="0.000290"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:46.953436" level="INFO">${ellapsed_seconds} = 2657.294</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:46.952674" elapsed="0.000801"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.953986" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:46.953633" elapsed="0.000432"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:46.953552" elapsed="0.000548"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:46.951212" elapsed="0.002955"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.954936" level="INFO">${number} = 349</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.954377" elapsed="0.000597"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.957009" level="INFO">${number} = 349</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.956544" elapsed="0.000491"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:46.958716" level="INFO">${device-port} = 18178</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:46.958100" elapsed="0.000643"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.961113" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:46.993095" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:46.993300" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.961014" elapsed="0.032342"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:46.994227" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:46.994354" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:46.993511" elapsed="0.000944">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:46.993469" elapsed="0.001074">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:46.960746" elapsed="0.034092">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:46.960326" elapsed="0.034711"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:46.996004" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18178 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:47.051014" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.051155" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:46.995487" elapsed="0.055703"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:47.051311" elapsed="0.000094"/>
</return>
<msg time="2026-04-11T23:14:47.051831" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:46.959536" elapsed="0.092427"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:47.052330" elapsed="0.001112"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:46.958946" elapsed="0.094660"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:46.957765" elapsed="0.095934"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:46.957241" elapsed="0.096519"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.955870" elapsed="0.097967"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:46.955197" elapsed="0.098699"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.054594" level="INFO">${next} = 18179</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.054108" elapsed="0.000525"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.055396" level="INFO">${current_port} = 18179</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:47.054859" elapsed="0.000594"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:46.950360" elapsed="0.105170"/>
</kw>
<msg time="2026-04-11T23:14:47.055604" level="INFO">Repeating keyword, round 350/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:47.057259" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:47.057111" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.057084" elapsed="0.000270"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.057861" level="INFO">${current_Date} = 2026-04-11 23:14:47.058</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:47.057552" elapsed="0.000345"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.058851" level="INFO">${ellapsed_seconds} = 2657.188</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:47.058099" elapsed="0.000789"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.059322" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:47.058994" elapsed="0.000401"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.058961" elapsed="0.000467"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:47.056768" elapsed="0.002723"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.060204" level="INFO">${number} = 350</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.059709" elapsed="0.000531"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.062065" level="INFO">${number} = 350</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.061735" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.063852" level="INFO">${device-port} = 18179</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.063238" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.066239" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:47.105227" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.105373" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.066143" elapsed="0.039267"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.106006" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:47.106088" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:47.105524" elapsed="0.000705">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:47.105490" elapsed="0.000801">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:47.065874" elapsed="0.040598">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:47.065470" elapsed="0.041090"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.107186" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18179 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:47.163501" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.163751" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.106873" elapsed="0.056934"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:47.163993" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:14:47.164854" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:47.064702" elapsed="0.100383"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:47.165712" elapsed="0.001734"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:47.064080" elapsed="0.103630"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:47.062904" elapsed="0.104967"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:47.062248" elapsed="0.105740"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.061119" elapsed="0.106998"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:47.060447" elapsed="0.107769"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.169394" level="INFO">${next} = 18180</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.168558" elapsed="0.000896"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.170782" level="INFO">${current_port} = 18180</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:47.169875" elapsed="0.001024"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.055874" elapsed="0.115160"/>
</kw>
<msg time="2026-04-11T23:14:47.171121" level="INFO">Repeating keyword, round 351/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:47.173806" elapsed="0.000043"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:47.173529" elapsed="0.000399"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.173486" elapsed="0.000498"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.174781" level="INFO">${current_Date} = 2026-04-11 23:14:47.175</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:47.174382" elapsed="0.000457"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.176350" level="INFO">${ellapsed_seconds} = 2657.071</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:47.175169" elapsed="0.001240"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.177288" elapsed="0.000047"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:47.176686" elapsed="0.000724"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.176529" elapsed="0.000933"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:47.172982" elapsed="0.004585"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.178189" level="INFO">${number} = 351</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.177828" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.179610" level="INFO">${number} = 351</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.179262" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.181248" level="INFO">${device-port} = 18180</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.180665" elapsed="0.000609"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.183592" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:47.212994" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.213089" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.183484" elapsed="0.029630"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.213499" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:47.213557" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:47.213185" elapsed="0.000439">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:47.213166" elapsed="0.000504">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:47.183221" elapsed="0.030573">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:47.182839" elapsed="0.031049"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.214307" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18180 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:47.270942" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.271032" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.214092" elapsed="0.056964"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:47.271137" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:14:47.271473" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:47.182071" elapsed="0.089495"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:47.271852" elapsed="0.000764"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:47.181474" elapsed="0.091262"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:47.180289" elapsed="0.092514"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:47.179792" elapsed="0.093055"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.178826" elapsed="0.094076"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:47.178366" elapsed="0.094579"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.273419" level="INFO">${next} = 18181</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.273095" elapsed="0.000350"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.273989" level="INFO">${current_port} = 18181</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:47.273615" elapsed="0.000415"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.171561" elapsed="0.102523"/>
</kw>
<msg time="2026-04-11T23:14:47.274123" level="INFO">Repeating keyword, round 352/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:47.275220" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:47.275113" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.275090" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.275593" level="INFO">${current_Date} = 2026-04-11 23:14:47.276</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:47.275425" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.277423" level="INFO">${ellapsed_seconds} = 2656.97</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:47.275768" elapsed="0.001682"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.277770" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:47.277522" elapsed="0.000302"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.277502" elapsed="0.000345"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:47.274874" elapsed="0.003018"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.278391" level="INFO">${number} = 352</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.278034" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.279804" level="INFO">${number} = 352</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.279452" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.281446" level="INFO">${device-port} = 18181</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.280859" elapsed="0.000613"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.283804" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:47.324832" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.324939" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.283710" elapsed="0.041256"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.325372" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:47.325431" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:47.325049" elapsed="0.000476">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:47.325024" elapsed="0.000561">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:47.283429" elapsed="0.042286">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:47.283050" elapsed="0.042728"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.326205" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18181 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:47.433619" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.433731" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.325986" elapsed="0.107769"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:47.433847" elapsed="0.000074"/>
</return>
<msg time="2026-04-11T23:14:47.434214" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:47.282277" elapsed="0.152031"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:47.434602" elapsed="0.000797"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:47.281690" elapsed="0.153812"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:47.280462" elapsed="0.155121"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:47.279983" elapsed="0.155649"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.279020" elapsed="0.156671"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:47.278581" elapsed="0.157155"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.436243" level="INFO">${next} = 18182</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.435892" elapsed="0.000377"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.436858" level="INFO">${current_port} = 18182</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:47.436433" elapsed="0.000467"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.274307" elapsed="0.162654"/>
</kw>
<msg time="2026-04-11T23:14:47.437000" level="INFO">Repeating keyword, round 353/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:47.438171" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:47.438061" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.438040" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.438600" level="INFO">${current_Date} = 2026-04-11 23:14:47.438</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:47.438415" elapsed="0.000212"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.439094" level="INFO">${ellapsed_seconds} = 2656.808</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:47.438771" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.439691" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:47.439409" elapsed="0.000337"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.439171" elapsed="0.000599"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:47.437815" elapsed="0.002003"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.440318" level="INFO">${number} = 353</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.439962" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.441764" level="INFO">${number} = 353</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.441410" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.443392" level="INFO">${device-port} = 18182</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.442798" elapsed="0.000621"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.445844" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:47.480851" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.480953" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.445747" elapsed="0.035232"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.481365" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:47.481425" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:47.481051" elapsed="0.000421">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:47.481031" elapsed="0.000481">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:47.445463" elapsed="0.036196">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:47.445081" elapsed="0.036673"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.482176" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18182 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:47.538976" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.539077" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.481961" elapsed="0.057141"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:47.539188" elapsed="0.000068"/>
</return>
<msg time="2026-04-11T23:14:47.539532" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:47.444268" elapsed="0.095381"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:47.539912" elapsed="0.000782"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:47.443680" elapsed="0.097118"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:47.442441" elapsed="0.098439"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:47.441946" elapsed="0.098978"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.440972" elapsed="0.100012"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:47.440496" elapsed="0.100532"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.541515" level="INFO">${next} = 18183</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.541181" elapsed="0.000360"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.542110" level="INFO">${current_port} = 18183</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:47.541724" elapsed="0.000427"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.437205" elapsed="0.105001"/>
</kw>
<msg time="2026-04-11T23:14:47.542245" level="INFO">Repeating keyword, round 354/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:47.543360" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:47.543252" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.543230" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.543744" level="INFO">${current_Date} = 2026-04-11 23:14:47.544</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:47.543566" elapsed="0.000204"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.544244" level="INFO">${ellapsed_seconds} = 2656.702</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:47.543915" elapsed="0.000355"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.544847" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:47.544341" elapsed="0.000563"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.544321" elapsed="0.000610"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:47.543011" elapsed="0.001978"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.545498" level="INFO">${number} = 354</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.545132" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.546927" level="INFO">${number} = 354</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.546590" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.548558" level="INFO">${device-port} = 18183</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.547970" elapsed="0.000665"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.551002" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:47.589377" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.589473" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.550906" elapsed="0.038593"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.589956" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:47.590015" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:47.589590" elapsed="0.000520">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:47.589552" elapsed="0.000600">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:47.550633" elapsed="0.039645">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:47.550226" elapsed="0.040115"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.590789" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18183 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:47.647132" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.647224" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.590549" elapsed="0.056699"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:47.647327" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:14:47.647686" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:47.549441" elapsed="0.098338"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:47.648037" elapsed="0.000764"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:47.548853" elapsed="0.100067"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:47.547625" elapsed="0.101360"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:47.547116" elapsed="0.101913"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.546139" elapsed="0.102944"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:47.545693" elapsed="0.103432"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.649618" level="INFO">${next} = 18184</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.649276" elapsed="0.000369"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.650177" level="INFO">${current_port} = 18184</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:47.649804" elapsed="0.000415"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.542436" elapsed="0.107839"/>
</kw>
<msg time="2026-04-11T23:14:47.650312" level="INFO">Repeating keyword, round 355/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:47.651403" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:47.651298" elapsed="0.000146"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.651277" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.651825" level="INFO">${current_Date} = 2026-04-11 23:14:47.652</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:47.651665" elapsed="0.000187"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.652298" level="INFO">${ellapsed_seconds} = 2656.594</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:47.651998" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.652840" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:47.652393" elapsed="0.000502"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.652375" elapsed="0.000554"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:47.651060" elapsed="0.001916"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.653486" level="INFO">${number} = 355</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.653125" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.654910" level="INFO">${number} = 355</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.654559" elapsed="0.000377"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.656531" level="INFO">${device-port} = 18184</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.655941" elapsed="0.000617"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.659062" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:47.696909" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.697015" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.658966" elapsed="0.038075"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.697423" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:47.697482" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:47.697114" elapsed="0.000414">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:47.697094" elapsed="0.000493">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:47.658688" elapsed="0.039023">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:47.658289" elapsed="0.039516"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.698228" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18184 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:47.755145" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.755247" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.698013" elapsed="0.057259"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:47.755358" elapsed="0.000069"/>
</return>
<msg time="2026-04-11T23:14:47.755731" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:47.657499" elapsed="0.098325"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:47.756087" elapsed="0.000786"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:47.656890" elapsed="0.100103"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:47.655593" elapsed="0.101467"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:47.655092" elapsed="0.102013"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.654124" elapsed="0.103037"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:47.653681" elapsed="0.103523"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.757714" level="INFO">${next} = 18185</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.757356" elapsed="0.000385"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.758290" level="INFO">${current_port} = 18185</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:47.757901" elapsed="0.000430"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.650498" elapsed="0.107888"/>
</kw>
<msg time="2026-04-11T23:14:47.758425" level="INFO">Repeating keyword, round 356/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:47.759541" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:47.759434" elapsed="0.000165"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.759413" elapsed="0.000209"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.759933" level="INFO">${current_Date} = 2026-04-11 23:14:47.760</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:47.759774" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.760411" level="INFO">${ellapsed_seconds} = 2656.486</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:47.760102" elapsed="0.000335"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.761001" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:47.760506" elapsed="0.000562"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.760487" elapsed="0.000605"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:47.759194" elapsed="0.001945"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.761661" level="INFO">${number} = 356</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.761280" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.763244" level="INFO">${number} = 356</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.762909" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.764889" level="INFO">${device-port} = 18185</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.764277" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.767275" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:47.805227" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.805324" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.767179" elapsed="0.038171"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.805756" elapsed="0.000031"/>
</kw>
<msg time="2026-04-11T23:14:47.805821" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:47.805422" elapsed="0.000488">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:47.805403" elapsed="0.000550">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:47.766900" elapsed="0.039178">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:47.766499" elapsed="0.039641"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.806592" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18185 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:47.863191" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.863297" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.806348" elapsed="0.056973"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:47.863410" elapsed="0.000073"/>
</return>
<msg time="2026-04-11T23:14:47.863795" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:47.765743" elapsed="0.098143"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:47.864157" elapsed="0.000801"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:47.765134" elapsed="0.099969"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:47.763935" elapsed="0.101235"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:47.763425" elapsed="0.101789"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.762413" elapsed="0.102859"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:47.761838" elapsed="0.103478"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.865824" level="INFO">${next} = 18186</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.865469" elapsed="0.000381"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.866386" level="INFO">${current_port} = 18186</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:47.866008" elapsed="0.000418"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.758632" elapsed="0.107851"/>
</kw>
<msg time="2026-04-11T23:14:47.866522" level="INFO">Repeating keyword, round 357/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:47.867662" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:47.867535" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.867516" elapsed="0.000209"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.868093" level="INFO">${current_Date} = 2026-04-11 23:14:47.868</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:47.867922" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.868811" level="INFO">${ellapsed_seconds} = 2656.378</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:47.868263" elapsed="0.000574"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.869156" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:47.868909" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.868890" elapsed="0.000344"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:47.867300" elapsed="0.001981"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.869804" level="INFO">${number} = 357</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.869425" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.871225" level="INFO">${number} = 357</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.870882" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.873008" level="INFO">${device-port} = 18186</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.872252" elapsed="0.000813"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.875420" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:47.916796" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.916891" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.875323" elapsed="0.041593"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.917331" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:14:47.917389" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:47.916988" elapsed="0.000448">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:47.916968" elapsed="0.000507">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:47.875056" elapsed="0.042563">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:47.874673" elapsed="0.043041"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.918135" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18186 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:47.979258" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:47.979365" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.917917" elapsed="0.061473"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:47.979480" elapsed="0.000070"/>
</return>
<msg time="2026-04-11T23:14:47.979856" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:47.873885" elapsed="0.106064"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:47.980220" elapsed="0.000797"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:47.873274" elapsed="0.107862"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:47.871917" elapsed="0.109284"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:47.871406" elapsed="0.109840"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.870424" elapsed="0.110878"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:47.869982" elapsed="0.111364"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.981857" level="INFO">${next} = 18187</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.981502" elapsed="0.000381"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.982435" level="INFO">${current_port} = 18187</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:47.982050" elapsed="0.000426"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.866738" elapsed="0.115794"/>
</kw>
<msg time="2026-04-11T23:14:47.982585" level="INFO">Repeating keyword, round 358/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:47.983728" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:47.983615" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.983595" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.984094" level="INFO">${current_Date} = 2026-04-11 23:14:47.984</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:47.983935" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:47.984813" level="INFO">${ellapsed_seconds} = 2656.262</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:47.984262" elapsed="0.000578"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:47.985161" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:47.984910" elapsed="0.000305"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:47.984892" elapsed="0.000346"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:47.983358" elapsed="0.001925"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.985795" level="INFO">${number} = 358</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.985422" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.987207" level="INFO">${number} = 358</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.986865" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:47.988898" level="INFO">${device-port} = 18187</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:47.988246" elapsed="0.000679"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:47.991298" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:48.029305" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.029398" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:47.991202" elapsed="0.038222"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.029824" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:48.029883" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:48.029495" elapsed="0.000482">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:48.029476" elapsed="0.000544">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:47.990936" elapsed="0.039210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:47.990524" elapsed="0.039685"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.030647" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18187 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:48.086891" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.086989" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.030410" elapsed="0.056603"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:48.087094" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:14:48.087428" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:47.989760" elapsed="0.097763"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:48.087807" elapsed="0.000752"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:47.989154" elapsed="0.099531"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:47.987905" elapsed="0.100844"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:47.987390" elapsed="0.101403"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.986411" elapsed="0.102438"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:47.985971" elapsed="0.102920"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.089385" level="INFO">${next} = 18188</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.089042" elapsed="0.000369"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.089961" level="INFO">${current_port} = 18188</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:48.089588" elapsed="0.000414"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:47.982795" elapsed="0.107263"/>
</kw>
<msg time="2026-04-11T23:14:48.090096" level="INFO">Repeating keyword, round 359/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:48.091186" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:48.091080" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.091056" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.091586" level="INFO">${current_Date} = 2026-04-11 23:14:48.091</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:48.091420" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.092250" level="INFO">${ellapsed_seconds} = 2656.155</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:48.091762" elapsed="0.000514"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.092602" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:48.092346" elapsed="0.000312"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.092328" elapsed="0.000353"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:48.090840" elapsed="0.001887"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.093258" level="INFO">${number} = 359</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.092868" elapsed="0.000420"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.094675" level="INFO">${number} = 359</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.094328" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.096291" level="INFO">${device-port} = 18188</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.095697" elapsed="0.000620"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.098705" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:48.137058" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.137162" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.098604" elapsed="0.038599"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.137631" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:48.137693" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:48.137283" elapsed="0.000457">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:48.137260" elapsed="0.000519">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:48.098322" elapsed="0.039583">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:48.097944" elapsed="0.040070"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.138443" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18188 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:48.194986" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.195077" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.138222" elapsed="0.056879"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:48.195183" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:14:48.195517" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:48.097144" elapsed="0.098490"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:48.195895" elapsed="0.000791"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:48.096516" elapsed="0.100273"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:48.095344" elapsed="0.101509"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:48.094861" elapsed="0.102037"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.093896" elapsed="0.103059"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:48.093441" elapsed="0.103557"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.197509" level="INFO">${next} = 18189</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.197152" elapsed="0.000383"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.198100" level="INFO">${current_port} = 18189</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:48.197716" elapsed="0.000425"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.090279" elapsed="0.107918"/>
</kw>
<msg time="2026-04-11T23:14:48.198237" level="INFO">Repeating keyword, round 360/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:48.199341" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:48.199235" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.199216" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.199716" level="INFO">${current_Date} = 2026-04-11 23:14:48.200</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:48.199541" elapsed="0.000201"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.200406" level="INFO">${ellapsed_seconds} = 2656.046</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:48.199884" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.200764" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:48.200503" elapsed="0.000315"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.200484" elapsed="0.000356"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:48.198995" elapsed="0.001890"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.201414" level="INFO">${number} = 360</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.201026" elapsed="0.000413"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.202828" level="INFO">${number} = 360</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.202474" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.204442" level="INFO">${device-port} = 18189</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.203852" elapsed="0.000618"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.206852" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:48.253210" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.253406" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.206753" elapsed="0.046702"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.253973" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:48.254031" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:48.253619" elapsed="0.000493">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:48.253551" elapsed="0.000604">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:48.206474" elapsed="0.047799">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:48.206088" elapsed="0.048247"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.254773" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18189 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:48.311281" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.311370" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.254538" elapsed="0.056857"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:48.311475" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:14:48.311839" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:48.205315" elapsed="0.106618"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:48.312188" elapsed="0.000771"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:48.204721" elapsed="0.108339"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:48.203502" elapsed="0.109621"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:48.203008" elapsed="0.110159"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.202044" elapsed="0.111178"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:48.201606" elapsed="0.111659"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.313776" level="INFO">${next} = 18190</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.313432" elapsed="0.000370"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.314327" level="INFO">${current_port} = 18190</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:48.313958" elapsed="0.000410"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.198423" elapsed="0.116000"/>
</kw>
<msg time="2026-04-11T23:14:48.314461" level="INFO">Repeating keyword, round 361/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:48.315549" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:48.315445" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.315426" elapsed="0.000201"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.315948" level="INFO">${current_Date} = 2026-04-11 23:14:48.316</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:48.315797" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.316623" level="INFO">${ellapsed_seconds} = 2655.93</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:48.316117" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.316957" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:48.316723" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.316704" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:48.315207" elapsed="0.001872"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.317626" level="INFO">${number} = 361</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.317222" elapsed="0.000430"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.319026" level="INFO">${number} = 361</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.318692" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.320693" level="INFO">${device-port} = 18190</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.320050" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.323025" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:48.365075" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.365182" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.322930" elapsed="0.042278"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.365656" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:48.365716" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:48.365289" elapsed="0.000475">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:48.365265" elapsed="0.000547">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:48.322661" elapsed="0.043275">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:48.322264" elapsed="0.043772"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.366465" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18190 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:48.426925" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.427025" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.366245" elapsed="0.060805"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:48.427133" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:14:48.427474" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:48.321509" elapsed="0.106056"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:48.427847" elapsed="0.000786"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:48.320919" elapsed="0.107818"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:48.319715" elapsed="0.109085"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:48.319213" elapsed="0.109631"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.318242" elapsed="0.110659"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:48.317805" elapsed="0.111140"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.429464" level="INFO">${next} = 18191</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.429102" elapsed="0.000387"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.430062" level="INFO">${current_port} = 18191</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:48.429665" elapsed="0.000438"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.314662" elapsed="0.115503"/>
</kw>
<msg time="2026-04-11T23:14:48.430204" level="INFO">Repeating keyword, round 362/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:48.431325" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:48.431214" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.431196" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.431710" level="INFO">${current_Date} = 2026-04-11 23:14:48.432</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:48.431531" elapsed="0.000204"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.432401" level="INFO">${ellapsed_seconds} = 2655.814</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:48.431878" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.432762" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:48.432498" elapsed="0.000318"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.432479" elapsed="0.000360"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:48.430979" elapsed="0.001906"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.433400" level="INFO">${number} = 362</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.433025" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.434814" level="INFO">${number} = 362</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.434467" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.436423" level="INFO">${device-port} = 18191</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.435833" elapsed="0.000617"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.438856" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:48.477286" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.477479" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.438759" elapsed="0.038769"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.478030" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:48.478088" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:48.477702" elapsed="0.000471">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:48.477664" elapsed="0.000552">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:48.438467" elapsed="0.039868">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:48.438089" elapsed="0.040308"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.478837" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18191 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:48.539081" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.539173" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.478622" elapsed="0.060575"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:48.539276" elapsed="0.000060"/>
</return>
<msg time="2026-04-11T23:14:48.539629" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:48.437285" elapsed="0.102437"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:48.539975" elapsed="0.000753"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:48.436701" elapsed="0.104128"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:48.435483" elapsed="0.105408"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:48.434994" elapsed="0.105940"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.434034" elapsed="0.106955"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:48.433591" elapsed="0.107440"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.541540" level="INFO">${next} = 18192</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.541180" elapsed="0.000387"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.542112" level="INFO">${current_port} = 18192</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:48.541740" elapsed="0.000414"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.430393" elapsed="0.111816"/>
</kw>
<msg time="2026-04-11T23:14:48.542246" level="INFO">Repeating keyword, round 363/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:48.543320" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:48.543215" elapsed="0.000146"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.543196" elapsed="0.000186"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.543721" level="INFO">${current_Date} = 2026-04-11 23:14:48.544</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:48.543553" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.544380" level="INFO">${ellapsed_seconds} = 2655.702</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:48.543895" elapsed="0.000511"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.544732" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:48.544477" elapsed="0.000309"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.544459" elapsed="0.000350"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:48.542982" elapsed="0.001872"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.545357" level="INFO">${number} = 363</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.545001" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.546928" level="INFO">${number} = 363</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.546527" elapsed="0.000433"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.548610" level="INFO">${device-port} = 18192</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.548007" elapsed="0.000631"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.551658" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:48.588949" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.589047" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.551542" elapsed="0.037530"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.589495" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:48.589554" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:48.589150" elapsed="0.000474">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:48.589127" elapsed="0.000540">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:48.551261" elapsed="0.038539">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:48.550874" elapsed="0.039033"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.590326" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18192 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:48.646782" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.646874" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.590111" elapsed="0.056787"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:48.646980" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:14:48.647314" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:48.550088" elapsed="0.097316"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:48.647684" elapsed="0.000753"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:48.548838" elapsed="0.099700"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:48.547633" elapsed="0.100989"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:48.547116" elapsed="0.101551"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.546049" elapsed="0.102673"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:48.545549" elapsed="0.103216"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.649245" level="INFO">${next} = 18193</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.648914" elapsed="0.000356"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.649862" level="INFO">${current_port} = 18193</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:48.649431" elapsed="0.000473"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.542428" elapsed="0.107531"/>
</kw>
<msg time="2026-04-11T23:14:48.649998" level="INFO">Repeating keyword, round 364/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:48.651090" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:48.650984" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.650964" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.651455" level="INFO">${current_Date} = 2026-04-11 23:14:48.651</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:48.651292" elapsed="0.000189"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.653178" level="INFO">${ellapsed_seconds} = 2655.595</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:48.651639" elapsed="0.001565"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.653520" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:48.653275" elapsed="0.000314"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.653256" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:48.650744" elapsed="0.002916"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.654164" level="INFO">${number} = 364</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.653806" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.655565" level="INFO">${number} = 364</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.655234" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.657206" level="INFO">${device-port} = 18193</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.656620" elapsed="0.000612"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.659601" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:48.693072" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.693179" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.659489" elapsed="0.033716"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.693659" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:48.693720" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:48.693285" elapsed="0.000541">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:48.693261" elapsed="0.000608">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:48.659227" elapsed="0.034771">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:48.658847" elapsed="0.035214"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.694492" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18193 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:48.751423" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.751516" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.694271" elapsed="0.057268"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:48.751640" elapsed="0.000066"/>
</return>
<msg time="2026-04-11T23:14:48.751983" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:48.658067" elapsed="0.094006"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:48.752330" elapsed="0.000786"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:48.657433" elapsed="0.095786"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:48.656243" elapsed="0.097039"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:48.655760" elapsed="0.097567"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.654800" elapsed="0.098583"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:48.654339" elapsed="0.099086"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.753945" level="INFO">${next} = 18194</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.753608" elapsed="0.000363"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.754511" level="INFO">${current_port} = 18194</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:48.754129" elapsed="0.000424"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.650184" elapsed="0.104451"/>
</kw>
<msg time="2026-04-11T23:14:48.754675" level="INFO">Repeating keyword, round 365/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:48.755906" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:48.755791" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.755768" elapsed="0.000203"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.756335" level="INFO">${current_Date} = 2026-04-11 23:14:48.756</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:48.756161" elapsed="0.000200"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.756844" level="INFO">${ellapsed_seconds} = 2655.49</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:48.756504" elapsed="0.000365"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.757404" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:48.757157" elapsed="0.000302"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.756921" elapsed="0.000561"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:48.755502" elapsed="0.002058"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.758085" level="INFO">${number} = 365</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.757722" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.759495" level="INFO">${number} = 365</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.759164" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.761153" level="INFO">${device-port} = 18194</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.760549" elapsed="0.000631"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.763515" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:48.805310" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.805525" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.763419" elapsed="0.042237"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.806519" elapsed="0.000083"/>
</kw>
<msg time="2026-04-11T23:14:48.806683" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:48.805822" elapsed="0.000967">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:48.805777" elapsed="0.001101">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:48.763155" elapsed="0.043994">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:48.762773" elapsed="0.044588"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.808344" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18194 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:48.863660" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.863868" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.807863" elapsed="0.056058"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:48.864105" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:48.864915" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:48.761999" elapsed="0.103120"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:48.865750" elapsed="0.001692"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:48.761381" elapsed="0.106321"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:48.760214" elapsed="0.107634"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:48.759716" elapsed="0.108229"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.758723" elapsed="0.109345"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:48.758263" elapsed="0.109898"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.869263" level="INFO">${next} = 18195</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.868495" elapsed="0.000827"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.870749" level="INFO">${current_port} = 18195</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:48.869879" elapsed="0.000930"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.754876" elapsed="0.116012"/>
</kw>
<msg time="2026-04-11T23:14:48.870942" level="INFO">Repeating keyword, round 366/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:48.872474" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:48.872324" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.872295" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.872997" level="INFO">${current_Date} = 2026-04-11 23:14:48.873</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:48.872786" elapsed="0.000247"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.873724" level="INFO">${ellapsed_seconds} = 2655.373</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:48.873234" elapsed="0.000526"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.874435" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:48.873858" elapsed="0.000653"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.873832" elapsed="0.000712"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:48.871992" elapsed="0.002641"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.875338" level="INFO">${number} = 366</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.874833" elapsed="0.000542"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.877319" level="INFO">${number} = 366</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.876860" elapsed="0.000496"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.879640" level="INFO">${device-port} = 18195</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.878789" elapsed="0.000889"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.885091" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:48.913972" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.914199" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.884876" elapsed="0.029383"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.915162" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:48.915293" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:48.914424" elapsed="0.001047">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:48.914380" elapsed="0.001214">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:48.884242" elapsed="0.031622">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:48.883322" elapsed="0.032681"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.916986" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18195 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:48.972076" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:48.972305" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.916460" elapsed="0.055902"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:48.972557" elapsed="0.000193"/>
</return>
<msg time="2026-04-11T23:14:48.973379" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:48.881519" elapsed="0.092121"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:48.974239" elapsed="0.001766"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:48.879957" elapsed="0.096275"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:48.878295" elapsed="0.098074"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:48.877615" elapsed="0.098852"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.876232" elapsed="0.100388"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:48.875608" elapsed="0.101113"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.977862" level="INFO">${next} = 18196</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.977063" elapsed="0.000863"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.979153" level="INFO">${current_port} = 18196</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:48.978281" elapsed="0.000964"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.871201" elapsed="0.108170"/>
</kw>
<msg time="2026-04-11T23:14:48.979456" level="INFO">Repeating keyword, round 367/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:48.982044" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:48.981805" elapsed="0.000333"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.981760" elapsed="0.000427"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.982844" level="INFO">${current_Date} = 2026-04-11 23:14:48.983</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:48.982621" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:48.983329" level="INFO">${ellapsed_seconds} = 2655.263</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:48.983018" elapsed="0.000337"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:48.983899" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:48.983425" elapsed="0.000537"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:48.983407" elapsed="0.000580"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:48.981165" elapsed="0.002869"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.984547" level="INFO">${number} = 367</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.984180" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.986025" level="INFO">${number} = 367</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.985680" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:48.987740" level="INFO">${device-port} = 18196</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:48.987060" elapsed="0.000707"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:48.990148" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:49.020674" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.020890" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:48.990046" elapsed="0.030901"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.021860" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:49.021993" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:49.021106" elapsed="0.000991">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:49.021063" elapsed="0.001123">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:48.989771" elapsed="0.032682">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:48.989346" elapsed="0.033342"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.023662" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18196 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:49.079061" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.079314" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.023143" elapsed="0.056227"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:49.079620" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:14:49.080409" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:48.988564" elapsed="0.092088"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:49.081268" elapsed="0.001797"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:48.987971" elapsed="0.095323"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:48.986718" elapsed="0.096719"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:48.986209" elapsed="0.097328"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.985193" elapsed="0.098503"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:48.984746" elapsed="0.099051"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.084933" level="INFO">${next} = 18197</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.084147" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.086244" level="INFO">${current_port} = 18197</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:49.085345" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:48.979909" elapsed="0.106551"/>
</kw>
<msg time="2026-04-11T23:14:49.086549" level="INFO">Repeating keyword, round 368/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:49.089127" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:49.088887" elapsed="0.000332"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.088843" elapsed="0.000425"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.090008" level="INFO">${current_Date} = 2026-04-11 23:14:49.090</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:49.089611" elapsed="0.000455"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.090927" level="INFO">${ellapsed_seconds} = 2655.156</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:49.090387" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.091513" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:49.091024" elapsed="0.000560"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.091004" elapsed="0.000606"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:49.088289" elapsed="0.003369"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.092166" level="INFO">${number} = 368</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.091802" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.093718" level="INFO">${number} = 368</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.093343" elapsed="0.000402"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.095362" level="INFO">${device-port} = 18197</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.094770" elapsed="0.000619"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.097775" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:49.129276" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.129506" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.097673" elapsed="0.031891"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.130526" elapsed="0.000083"/>
</kw>
<msg time="2026-04-11T23:14:49.130687" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:49.129803" elapsed="0.001110">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:49.129753" elapsed="0.001257">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:49.097380" elapsed="0.033908">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:49.096994" elapsed="0.034434"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.132433" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18197 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:49.187151" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.187447" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.131940" elapsed="0.055564"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:49.187772" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:14:49.188560" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:49.096206" elapsed="0.092603"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:49.189432" elapsed="0.001796"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:49.095608" elapsed="0.095849"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:49.094409" elapsed="0.097218"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:49.093907" elapsed="0.097823"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.092899" elapsed="0.098958"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:49.092344" elapsed="0.099614"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.193116" level="INFO">${next} = 18198</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.192300" elapsed="0.000875"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.194476" level="INFO">${current_port} = 18198</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:49.193537" elapsed="0.001103"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.087016" elapsed="0.107726"/>
</kw>
<msg time="2026-04-11T23:14:49.194801" level="INFO">Repeating keyword, round 369/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:49.196513" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:49.196352" elapsed="0.000260"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.196315" elapsed="0.000332"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.197177" level="INFO">${current_Date} = 2026-04-11 23:14:49.197</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:49.196937" elapsed="0.000279"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.198269" level="INFO">${ellapsed_seconds} = 2655.049</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:49.197432" elapsed="0.000876"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.198787" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:49.198414" elapsed="0.000454"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.198387" elapsed="0.000516"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:49.195993" elapsed="0.002979"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.199740" level="INFO">${number} = 369</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.199186" elapsed="0.000593"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.201887" level="INFO">${number} = 369</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.201336" elapsed="0.000590"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.203849" level="INFO">${device-port} = 18198</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.203233" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.206257" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:49.237442" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.237700" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.206150" elapsed="0.031646"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.238731" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:49.238865" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:49.237980" elapsed="0.000991">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:49.237928" elapsed="0.001132">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:49.205878" elapsed="0.033457">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:49.205461" elapsed="0.034098"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.240553" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18198 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:49.295511" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.295810" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.240063" elapsed="0.055804"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:49.296087" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:14:49.296922" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:49.204691" elapsed="0.092438"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:49.297802" elapsed="0.001742"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:49.204079" elapsed="0.095725"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:49.202897" elapsed="0.097048"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:49.202229" elapsed="0.097817"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.200685" elapsed="0.099489"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:49.200005" elapsed="0.100265"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.301384" level="INFO">${next} = 18199</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.300637" elapsed="0.000802"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.302743" level="INFO">${current_port} = 18199</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:49.301862" elapsed="0.000975"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.195117" elapsed="0.107846"/>
</kw>
<msg time="2026-04-11T23:14:49.303051" level="INFO">Repeating keyword, round 370/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:49.305566" elapsed="0.000109"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:49.305331" elapsed="0.000461"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.305289" elapsed="0.000558"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.306505" level="INFO">${current_Date} = 2026-04-11 23:14:49.306</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:49.306160" elapsed="0.000402"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.307364" level="INFO">${ellapsed_seconds} = 2654.94</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:49.306790" elapsed="0.000660"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.307788" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:49.307528" elapsed="0.000314"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.307508" elapsed="0.000357"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:49.304795" elapsed="0.003117"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.308414" level="INFO">${number} = 370</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.308054" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.309876" level="INFO">${number} = 370</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.309491" elapsed="0.000412"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.311512" level="INFO">${device-port} = 18199</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.310907" elapsed="0.000632"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.313973" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:49.345662" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.345917" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.313865" elapsed="0.032112"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.346907" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:49.347038" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:49.346151" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:49.346101" elapsed="0.001240">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:49.313548" elapsed="0.034098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:49.313158" elapsed="0.034632"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.348789" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18199 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:49.403944" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.404229" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.348257" elapsed="0.056030"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:49.404514" elapsed="0.000204"/>
</return>
<msg time="2026-04-11T23:14:49.405344" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:49.312367" elapsed="0.093186"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:49.406238" elapsed="0.001785"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:49.311766" elapsed="0.096480"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:49.310554" elapsed="0.097834"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:49.310057" elapsed="0.098433"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.309053" elapsed="0.099594"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:49.308605" elapsed="0.100143"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.409928" level="INFO">${next} = 18200</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.409085" elapsed="0.000903"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.411047" level="INFO">${current_port} = 18200</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:49.410336" elapsed="0.000773"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.303492" elapsed="0.107701"/>
</kw>
<msg time="2026-04-11T23:14:49.411252" level="INFO">Repeating keyword, round 371/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:49.413063" elapsed="0.000089"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:49.412901" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.412871" elapsed="0.000359"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.413824" level="INFO">${current_Date} = 2026-04-11 23:14:49.414</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:49.413512" elapsed="0.000351"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.414886" level="INFO">${ellapsed_seconds} = 2654.832</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:49.414083" elapsed="0.000842"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.415381" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:49.415032" elapsed="0.000428"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.415004" elapsed="0.000491"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:49.412510" elapsed="0.003052"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.416338" level="INFO">${number} = 371</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.415799" elapsed="0.000579"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.418532" level="INFO">${number} = 371</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.418036" elapsed="0.000555"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.420235" level="INFO">${device-port} = 18200</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.419642" elapsed="0.000624"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.422629" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:49.453702" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.454012" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.422511" elapsed="0.031561"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.455080" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:49.455213" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:49.454273" elapsed="0.001047">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:49.454215" elapsed="0.001214">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:49.422240" elapsed="0.033498">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:49.421856" elapsed="0.034134"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.457098" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18200 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:49.511631" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.511836" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.456514" elapsed="0.055377"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:49.512075" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:49.512880" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:49.421069" elapsed="0.092022"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:49.513707" elapsed="0.001769"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:49.420466" elapsed="0.095270"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:49.419283" elapsed="0.096596"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:49.418786" elapsed="0.097193"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.417288" elapsed="0.098816"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:49.416623" elapsed="0.099576"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.517326" level="INFO">${next} = 18201</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.516547" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.518793" level="INFO">${current_port} = 18201</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:49.517783" elapsed="0.001071"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.411564" elapsed="0.107370"/>
</kw>
<msg time="2026-04-11T23:14:49.518990" level="INFO">Repeating keyword, round 372/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:49.520587" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:49.520419" elapsed="0.000229"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.520387" elapsed="0.000292"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.521110" level="INFO">${current_Date} = 2026-04-11 23:14:49.521</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:49.520885" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.522149" level="INFO">${ellapsed_seconds} = 2654.725</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:49.521346" elapsed="0.000841"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.522648" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:49.522288" elapsed="0.000437"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.522261" elapsed="0.000497"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:49.520083" elapsed="0.002741"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.523527" level="INFO">${number} = 372</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.523026" elapsed="0.000537"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.525520" level="INFO">${number} = 372</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.525054" elapsed="0.000503"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.527872" level="INFO">${device-port} = 18201</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.527017" elapsed="0.000892"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.531086" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:49.561645" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.561889" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.530989" elapsed="0.030959"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.562845" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:49.562977" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:49.562111" elapsed="0.001064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:49.562066" elapsed="0.001206">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:49.530714" elapsed="0.032830">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:49.530153" elapsed="0.033564"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.564695" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18201 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:49.619128" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.619344" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.564172" elapsed="0.055227"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:49.619638" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:14:49.620407" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:49.529038" elapsed="0.091616"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:49.621244" elapsed="0.001803"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:49.528190" elapsed="0.095084"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:49.526515" elapsed="0.096902"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:49.525815" elapsed="0.097701"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.524418" elapsed="0.099256"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:49.523799" elapsed="0.099973"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.624912" level="INFO">${next} = 18202</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.624111" elapsed="0.000870"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.626271" level="INFO">${current_port} = 18202</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:49.625328" elapsed="0.001037"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.519257" elapsed="0.107235"/>
</kw>
<msg time="2026-04-11T23:14:49.626605" level="INFO">Repeating keyword, round 373/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:49.627817" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:49.627704" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.627684" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.628231" level="INFO">${current_Date} = 2026-04-11 23:14:49.628</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:49.628065" elapsed="0.000192"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.628969" level="INFO">${ellapsed_seconds} = 2654.618</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:49.628401" elapsed="0.000595"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.629306" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:49.629068" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.629049" elapsed="0.000333"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:49.627450" elapsed="0.001979"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.629967" level="INFO">${number} = 373</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.629587" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.631388" level="INFO">${number} = 373</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.631051" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.633051" level="INFO">${device-port} = 18202</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.632416" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.635431" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:49.669532" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.669788" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.635336" elapsed="0.034509"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.670757" elapsed="0.000068"/>
</kw>
<msg time="2026-04-11T23:14:49.670904" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:49.670034" elapsed="0.001028">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:49.669989" elapsed="0.001163">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:49.635062" elapsed="0.036363">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:49.634679" elapsed="0.036999"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.672667" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18202 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:49.727486" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.727726" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.672141" elapsed="0.055640"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:49.727960" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:49.728738" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:49.633897" elapsed="0.095045"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:49.729509" elapsed="0.001736"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:49.633281" elapsed="0.098190"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:49.632082" elapsed="0.099560"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:49.631585" elapsed="0.100158"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.630605" elapsed="0.101261"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:49.630146" elapsed="0.101815"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.733056" level="INFO">${next} = 18203</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.732294" elapsed="0.000821"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.734402" level="INFO">${current_port} = 18203</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:49.733472" elapsed="0.001022"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.626870" elapsed="0.107784"/>
</kw>
<msg time="2026-04-11T23:14:49.734735" level="INFO">Repeating keyword, round 374/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:49.736272" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:49.736123" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.736097" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.736784" level="INFO">${current_Date} = 2026-04-11 23:14:49.737</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:49.736552" elapsed="0.000268"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.737748" level="INFO">${ellapsed_seconds} = 2654.509</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:49.737017" elapsed="0.000768"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.738219" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:49.737885" elapsed="0.000408"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.737859" elapsed="0.000466"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:49.735787" elapsed="0.002600"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.739111" level="INFO">${number} = 374</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.738609" elapsed="0.000538"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.741076" level="INFO">${number} = 374</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.740616" elapsed="0.000496"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.743219" level="INFO">${device-port} = 18203</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.742542" elapsed="0.000703"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.745557" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:49.777818" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.778071" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.745462" elapsed="0.032673"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.779105" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:49.779243" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:49.778310" elapsed="0.001123">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:49.778261" elapsed="0.001276">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:49.745200" elapsed="0.034664">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:49.744810" elapsed="0.035203"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.781058" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18203 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:49.835648" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.835862" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.780500" elapsed="0.055417"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:49.836106" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:49.836908" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:49.744041" elapsed="0.093072"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:49.837723" elapsed="0.001823"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:49.743443" elapsed="0.096384"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:49.742078" elapsed="0.097890"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:49.741333" elapsed="0.098731"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.739988" elapsed="0.100200"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:49.739357" elapsed="0.100927"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.841392" level="INFO">${next} = 18204</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.840650" elapsed="0.000800"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.842756" level="INFO">${current_port} = 18204</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:49.841857" elapsed="0.000993"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.734993" elapsed="0.107983"/>
</kw>
<msg time="2026-04-11T23:14:49.843062" level="INFO">Repeating keyword, round 375/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:49.845543" elapsed="0.000108"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:49.845305" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.845251" elapsed="0.000515"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.846551" level="INFO">${current_Date} = 2026-04-11 23:14:49.846</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:49.846200" elapsed="0.000460"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.847378" level="INFO">${ellapsed_seconds} = 2654.4</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:49.846846" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.847731" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:49.847477" elapsed="0.000312"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.847458" elapsed="0.000355"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:49.844772" elapsed="0.003087"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.848362" level="INFO">${number} = 375</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.848003" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.849802" level="INFO">${number} = 375</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.849432" elapsed="0.000396"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.851438" level="INFO">${device-port} = 18204</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.850846" elapsed="0.000619"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.853830" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:49.889560" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.889795" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.853733" elapsed="0.036118"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.890785" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:49.890919" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:49.890051" elapsed="0.000973">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:49.889966" elapsed="0.001146">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:49.853449" elapsed="0.037933">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:49.853064" elapsed="0.038560"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.892566" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18204 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:49.951852" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:49.952085" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.892087" elapsed="0.060053"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:49.952339" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:14:49.953155" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:49.852278" elapsed="0.101080"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:49.954020" elapsed="0.001770"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:49.851685" elapsed="0.104333"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:49.850486" elapsed="0.105673"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:49.849993" elapsed="0.106264"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.848997" elapsed="0.107383"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:49.848538" elapsed="0.107938"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.957623" level="INFO">${next} = 18205</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.956840" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.958878" level="INFO">${current_port} = 18205</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:49.958076" elapsed="0.000860"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.843481" elapsed="0.115532"/>
</kw>
<msg time="2026-04-11T23:14:49.959068" level="INFO">Repeating keyword, round 376/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:49.960684" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:49.960513" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.960487" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.961200" level="INFO">${current_Date} = 2026-04-11 23:14:49.961</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:49.960975" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:49.963434" level="INFO">${ellapsed_seconds} = 2654.285</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:49.961433" elapsed="0.002038"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:49.963924" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:49.963590" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:49.963544" elapsed="0.000487"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:49.960174" elapsed="0.003922"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.964817" level="INFO">${number} = 376</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.964293" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.966821" level="INFO">${number} = 376</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.966332" elapsed="0.000526"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:49.969096" level="INFO">${device-port} = 18205</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:49.968243" elapsed="0.000890"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:49.971960" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.005682" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.005906" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:49.971862" elapsed="0.034102"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.006936" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:50.007067" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.006177" elapsed="0.001091">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.006129" elapsed="0.001234">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:49.971590" elapsed="0.036079">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:49.971194" elapsed="0.036618"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.008790" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18205 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:50.063896" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.064095" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.008264" elapsed="0.055884"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:50.064331" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:50.065134" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:49.970293" elapsed="0.095049"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:50.065960" elapsed="0.001789"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:49.969410" elapsed="0.098571"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:49.967778" elapsed="0.100345"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:49.967073" elapsed="0.101148"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.965710" elapsed="0.102633"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:49.965063" elapsed="0.103373"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.069539" level="INFO">${next} = 18206</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.068804" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.070864" level="INFO">${current_port} = 18206</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:50.069996" elapsed="0.000927"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:49.959358" elapsed="0.111643"/>
</kw>
<msg time="2026-04-11T23:14:50.071055" level="INFO">Repeating keyword, round 377/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:50.072599" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:50.072432" elapsed="0.000227"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.072406" elapsed="0.000283"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.073151" level="INFO">${current_Date} = 2026-04-11 23:14:50.073</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:50.072928" elapsed="0.000258"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.073875" level="INFO">${ellapsed_seconds} = 2654.173</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:50.073388" elapsed="0.000523"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.074641" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:50.074283" elapsed="0.000435"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.073983" elapsed="0.000766"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:50.072105" elapsed="0.002709"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.075511" level="INFO">${number} = 377</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.075012" elapsed="0.000535"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.077501" level="INFO">${number} = 377</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.077033" elapsed="0.000505"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.079900" level="INFO">${device-port} = 18206</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.078988" elapsed="0.000939"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.082293" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.113713" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.113922" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.082198" elapsed="0.031781"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.114897" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:50.115030" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.114162" elapsed="0.000971">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.114118" elapsed="0.001104">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:50.081915" elapsed="0.033568">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:50.081516" elapsed="0.034201"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.116692" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18206 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:50.172027" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.172229" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.116172" elapsed="0.056111"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:50.172462" elapsed="0.000178"/>
</return>
<msg time="2026-04-11T23:14:50.173248" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:50.080744" elapsed="0.092704"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:50.174055" elapsed="0.001733"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:50.080131" elapsed="0.095881"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:50.078498" elapsed="0.097654"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:50.077799" elapsed="0.098450"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.076397" elapsed="0.099973"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:50.075779" elapsed="0.100686"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.177557" level="INFO">${next} = 18207</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.176833" elapsed="0.000823"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.178901" level="INFO">${current_port} = 18207</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:50.178011" elapsed="0.000985"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.071315" elapsed="0.107805"/>
</kw>
<msg time="2026-04-11T23:14:50.179205" level="INFO">Repeating keyword, round 378/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:50.181732" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:50.181416" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.181372" elapsed="0.000501"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.182609" level="INFO">${current_Date} = 2026-04-11 23:14:50.182</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:50.182230" elapsed="0.000441"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.183169" level="INFO">${ellapsed_seconds} = 2654.064</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:50.182872" elapsed="0.000322"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.183695" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:50.183264" elapsed="0.000486"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.183245" elapsed="0.000529"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:50.180890" elapsed="0.002931"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.184327" level="INFO">${number} = 378</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.183964" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.185924" level="INFO">${number} = 378</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.185557" elapsed="0.000392"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.187593" level="INFO">${device-port} = 18207</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.186986" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.189945" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.221286" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.221394" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.189850" elapsed="0.031570"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.221945" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:50.222097" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.221501" elapsed="0.000788">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.221478" elapsed="0.000907">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:50.189566" elapsed="0.033123">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:50.189187" elapsed="0.033648"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.223824" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18207 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:50.279662" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.279865" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.223290" elapsed="0.056629"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:50.280097" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:50.280879" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:50.188415" elapsed="0.092667"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:50.281692" elapsed="0.001484"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:50.187830" elapsed="0.095488"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:50.186651" elapsed="0.096756"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:50.186151" elapsed="0.097317"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.185120" elapsed="0.098426"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:50.184667" elapsed="0.098961"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.284299" level="INFO">${next} = 18208</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.283839" elapsed="0.000496"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.285096" level="INFO">${current_port} = 18208</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:50.284553" elapsed="0.000602"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.179647" elapsed="0.105587"/>
</kw>
<msg time="2026-04-11T23:14:50.285286" level="INFO">Repeating keyword, round 379/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:50.286858" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:50.286701" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.286674" elapsed="0.000272"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.287416" level="INFO">${current_Date} = 2026-04-11 23:14:50.287</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:50.287197" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.288093" level="INFO">${ellapsed_seconds} = 2653.959</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:50.287673" elapsed="0.000456"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.288829" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:50.288225" elapsed="0.000681"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.288200" elapsed="0.000739"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:50.286350" elapsed="0.002653"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.289757" level="INFO">${number} = 379</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.289200" elapsed="0.000700"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.291562" level="INFO">${number} = 379</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.291229" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.293185" level="INFO">${device-port} = 18208</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.292597" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.295559" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.329541" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.329783" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.295463" elapsed="0.034378"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.330736" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:50.330871" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.330000" elapsed="0.000974">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.329957" elapsed="0.001105">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:50.295199" elapsed="0.036124">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:50.294821" elapsed="0.036711"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.332499" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18208 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:50.387468" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.387779" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.332017" elapsed="0.055857"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:50.388101" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:50.389044" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:50.294032" elapsed="0.095343"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:50.390120" elapsed="0.001819"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:50.293411" elapsed="0.098757"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:50.292251" elapsed="0.100079"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:50.291760" elapsed="0.100754"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.290795" elapsed="0.101930"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:50.290155" elapsed="0.102716"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.394233" level="INFO">${next} = 18209</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.393274" elapsed="0.001039"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.395407" level="INFO">${current_port} = 18209</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:50.394738" elapsed="0.000730"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.285543" elapsed="0.110004"/>
</kw>
<msg time="2026-04-11T23:14:50.395683" level="INFO">Repeating keyword, round 380/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:50.397268" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:50.397113" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.397086" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.397809" level="INFO">${current_Date} = 2026-04-11 23:14:50.398</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:50.397556" elapsed="0.000289"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.398478" level="INFO">${ellapsed_seconds} = 2653.848</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:50.398045" elapsed="0.000469"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.399212" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:50.398632" elapsed="0.000656"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.398605" elapsed="0.000716"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:50.396783" elapsed="0.002602"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.400106" level="INFO">${number} = 380</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.399604" elapsed="0.000538"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.402080" level="INFO">${number} = 380</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.401619" elapsed="0.000497"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.403951" level="INFO">${device-port} = 18209</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.403348" elapsed="0.000630"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.406302" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.437743" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.437964" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.406206" elapsed="0.031816"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.438968" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:50.439100" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.438214" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.438166" elapsed="0.001239">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:50.405920" elapsed="0.033793">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:50.405519" elapsed="0.034337"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.440836" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18209 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:50.495534" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.495778" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.440307" elapsed="0.055525"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:50.496015" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:50.496809" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:50.404773" elapsed="0.092242"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:50.497617" elapsed="0.001737"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:50.404179" elapsed="0.095432"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:50.403017" elapsed="0.096741"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:50.402424" elapsed="0.097431"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.400988" elapsed="0.098989"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:50.400353" elapsed="0.099717"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.501184" level="INFO">${next} = 18210</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.500404" elapsed="0.000839"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.502599" level="INFO">${current_port} = 18210</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:50.501681" elapsed="0.001015"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.395945" elapsed="0.106875"/>
</kw>
<msg time="2026-04-11T23:14:50.502876" level="INFO">Repeating keyword, round 381/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:50.504401" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:50.504253" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.504227" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.504974" level="INFO">${current_Date} = 2026-04-11 23:14:50.505</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:50.504749" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.505965" level="INFO">${ellapsed_seconds} = 2653.741</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:50.505213" elapsed="0.000789"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.506437" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:50.506102" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.506076" elapsed="0.000467"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:50.503917" elapsed="0.002713"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.507326" level="INFO">${number} = 381</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.506829" elapsed="0.000533"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.509292" level="INFO">${number} = 381</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.508832" elapsed="0.000496"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.511627" level="INFO">${device-port} = 18210</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.510785" elapsed="0.000880"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.514921" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.545535" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.545777" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.514825" elapsed="0.031010"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.546731" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:50.546868" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.545996" elapsed="0.000974">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.545952" elapsed="0.001120">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:50.514427" elapsed="0.032908">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:50.513862" elapsed="0.033674"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.548496" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18210 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:50.607445" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.607679" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.548021" elapsed="0.059714"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:50.607914" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:50.608693" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:50.512787" elapsed="0.096110"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:50.609463" elapsed="0.001731"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:50.511947" elapsed="0.099470"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:50.510289" elapsed="0.101266"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:50.509553" elapsed="0.102134"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.508204" elapsed="0.103606"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:50.507591" elapsed="0.104314"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.613011" level="INFO">${next} = 18211</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.612246" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.614354" level="INFO">${current_port} = 18211</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:50.613412" elapsed="0.001036"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.503137" elapsed="0.111465"/>
</kw>
<msg time="2026-04-11T23:14:50.614693" level="INFO">Repeating keyword, round 382/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:50.616223" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:50.616076" elapsed="0.000204"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.616050" elapsed="0.000260"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.616739" level="INFO">${current_Date} = 2026-04-11 23:14:50.617</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:50.616510" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.617710" level="INFO">${ellapsed_seconds} = 2653.629</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:50.616978" elapsed="0.000769"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.618163" elapsed="0.000041"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:50.617846" elapsed="0.000404"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.617820" elapsed="0.000463"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:50.615749" elapsed="0.002597"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.619062" level="INFO">${number} = 382</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.618544" elapsed="0.000554"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.621033" level="INFO">${number} = 382</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.620552" elapsed="0.000518"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.623325" level="INFO">${device-port} = 18211</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.622484" elapsed="0.000879"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.626868" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.657620" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.657835" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.626756" elapsed="0.031136"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.658794" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:50.658925" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.658055" elapsed="0.001062">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.658011" elapsed="0.001200">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:50.626326" elapsed="0.033153">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:50.625532" elapsed="0.034118"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.660616" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18211 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:50.719681" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.719881" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.660101" elapsed="0.059833"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:50.720113" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:50.720894" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:50.624473" elapsed="0.096621"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:50.721697" elapsed="0.001706"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:50.623664" elapsed="0.099996"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:50.621998" elapsed="0.101806"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:50.621286" elapsed="0.102616"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.619939" elapsed="0.104087"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:50.619309" elapsed="0.104812"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.725221" level="INFO">${next} = 18212</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.724456" elapsed="0.000823"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.726559" level="INFO">${current_port} = 18212</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:50.725675" elapsed="0.001023"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.614972" elapsed="0.111829"/>
</kw>
<msg time="2026-04-11T23:14:50.726854" level="INFO">Repeating keyword, round 383/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:50.728398" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:50.728250" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.728225" elapsed="0.000259"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.728970" level="INFO">${current_Date} = 2026-04-11 23:14:50.729</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:50.728753" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.729925" level="INFO">${ellapsed_seconds} = 2653.517</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:50.729207" elapsed="0.000754"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.730398" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:50.730061" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.730035" elapsed="0.000471"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:50.727925" elapsed="0.002665"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.731289" level="INFO">${number} = 383</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.730792" elapsed="0.000533"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.733277" level="INFO">${number} = 383</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.732816" elapsed="0.000497"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.735418" level="INFO">${device-port} = 18212</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.734825" elapsed="0.000619"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.737777" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.769510" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.769753" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.737680" elapsed="0.032131"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.770706" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:50.770837" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.769969" elapsed="0.000971">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.769925" elapsed="0.001103">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:50.737394" elapsed="0.033896">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:50.737017" elapsed="0.034472"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.772454" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18212 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:50.827508" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.827746" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.771975" elapsed="0.055825"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:50.827977" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:50.828756" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:50.736248" elapsed="0.092711"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:50.829518" elapsed="0.001735"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:50.735665" elapsed="0.095810"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:50.734349" elapsed="0.097296"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:50.733529" elapsed="0.098214"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.732189" elapsed="0.099685"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:50.731537" elapsed="0.100433"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.833074" level="INFO">${next} = 18213</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.832307" elapsed="0.000825"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.834738" level="INFO">${current_port} = 18213</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:50.833491" elapsed="0.001351"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.727118" elapsed="0.107853"/>
</kw>
<msg time="2026-04-11T23:14:50.835060" level="INFO">Repeating keyword, round 384/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:50.837607" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:50.837339" elapsed="0.000366"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.837296" elapsed="0.000458"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.838460" level="INFO">${current_Date} = 2026-04-11 23:14:50.838</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:50.838067" elapsed="0.000452"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.839535" level="INFO">${ellapsed_seconds} = 2653.408</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:50.838887" elapsed="0.000675"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.839890" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:50.839656" elapsed="0.000287"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.839637" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:50.836788" elapsed="0.003224"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.840518" level="INFO">${number} = 384</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.840155" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.841936" level="INFO">${number} = 384</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.841602" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.843601" level="INFO">${device-port} = 18213</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.842988" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.845975" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.877248" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.877456" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.845873" elapsed="0.031639"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.878420" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:50.878551" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.877712" elapsed="0.001053">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.877667" elapsed="0.001195">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:50.845606" elapsed="0.033525">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:50.845204" elapsed="0.034065"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.880241" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18213 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:50.935401" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.935634" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.879762" elapsed="0.055929"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:50.935868" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:50.936649" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:50.844420" elapsed="0.092438"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:50.937425" elapsed="0.001724"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:50.843832" elapsed="0.095542"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:50.842644" elapsed="0.096887"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:50.842122" elapsed="0.097542"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.841152" elapsed="0.098636"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:50.840711" elapsed="0.099171"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.940975" level="INFO">${next} = 18214</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.940216" elapsed="0.000818"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.942325" level="INFO">${current_port} = 18214</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:50.941394" elapsed="0.001028"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.835481" elapsed="0.107066"/>
</kw>
<msg time="2026-04-11T23:14:50.942666" level="INFO">Repeating keyword, round 385/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:50.943826" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:50.943720" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.943696" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.944222" level="INFO">${current_Date} = 2026-04-11 23:14:50.944</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:50.944068" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:50.944896" level="INFO">${ellapsed_seconds} = 2653.302</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:50.944391" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.945218" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:50.944993" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:50.944974" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:50.943464" elapsed="0.001876"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.945880" level="INFO">${number} = 385</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.945481" elapsed="0.000425"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.947297" level="INFO">${number} = 385</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.946967" elapsed="0.000355"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:50.948907" level="INFO">${device-port} = 18214</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:50.948303" elapsed="0.000631"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.951395" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:50.985515" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:50.985761" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.951301" elapsed="0.034519"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:50.986721" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:50.986854" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:50.985981" elapsed="0.000977">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:50.985937" elapsed="0.001109">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:50.951033" elapsed="0.036274">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:50.950654" elapsed="0.036860"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:50.988486" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18214 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:51.045669" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.046013" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:50.988005" elapsed="0.058067"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:51.046357" elapsed="0.000186"/>
</return>
<msg time="2026-04-11T23:14:51.047258" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:50.949849" elapsed="0.097612"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:51.048144" elapsed="0.001844"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:50.949225" elapsed="0.100995"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:50.947973" elapsed="0.102415"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:50.947475" elapsed="0.103018"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.946513" elapsed="0.104140"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:50.946058" elapsed="0.104699"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.051924" level="INFO">${next} = 18215</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.051108" elapsed="0.000874"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.053235" level="INFO">${current_port} = 18215</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:51.052337" elapsed="0.000987"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:50.942925" elapsed="0.110524"/>
</kw>
<msg time="2026-04-11T23:14:51.053539" level="INFO">Repeating keyword, round 386/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:51.055600" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:51.055449" elapsed="0.000196"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.055422" elapsed="0.000247"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.056001" level="INFO">${current_Date} = 2026-04-11 23:14:51.056</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:51.055821" elapsed="0.000206"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.056825" level="INFO">${ellapsed_seconds} = 2653.19</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:51.056170" elapsed="0.000682"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.057176" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:51.056923" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.056904" elapsed="0.000348"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:51.055188" elapsed="0.002109"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.057821" level="INFO">${number} = 386</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.057440" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.059262" level="INFO">${number} = 386</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.058925" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.060941" level="INFO">${device-port} = 18215</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.060320" elapsed="0.000647"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.063378" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:51.093833" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.094369" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.063267" elapsed="0.031192"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.095507" elapsed="0.000040"/>
</kw>
<msg time="2026-04-11T23:14:51.095611" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:51.094836" elapsed="0.000976">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:51.094732" elapsed="0.001144">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:51.062996" elapsed="0.033084">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:51.062591" elapsed="0.033578"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.096914" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18215 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:51.151526" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.151898" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.096513" elapsed="0.055441"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:51.152211" elapsed="0.000178"/>
</return>
<msg time="2026-04-11T23:14:51.153079" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:51.061785" elapsed="0.091498"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:51.153963" elapsed="0.001902"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:51.061171" elapsed="0.094924"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:51.059983" elapsed="0.096252"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:51.059441" elapsed="0.096897"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.058461" elapsed="0.098004"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:51.057999" elapsed="0.098565"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.157754" level="INFO">${next} = 18216</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.156941" elapsed="0.000871"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.158925" level="INFO">${current_port} = 18216</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:51.158173" elapsed="0.000795"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.054133" elapsed="0.104893"/>
</kw>
<msg time="2026-04-11T23:14:51.159067" level="INFO">Repeating keyword, round 387/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:51.160414" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:51.160298" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.160275" elapsed="0.000203"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.160892" level="INFO">${current_Date} = 2026-04-11 23:14:51.161</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:51.160701" elapsed="0.000218"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.161701" level="INFO">${ellapsed_seconds} = 2653.085</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:51.161065" elapsed="0.000663"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.162052" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:51.161800" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.161781" elapsed="0.000348"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:51.160042" elapsed="0.002133"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.162731" level="INFO">${number} = 387</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.162318" elapsed="0.000439"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.164153" level="INFO">${number} = 387</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.163816" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.165826" level="INFO">${device-port} = 18216</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.165188" elapsed="0.000665"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.168236" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:51.201259" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.201548" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.168126" elapsed="0.033523"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.202727" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:14:51.202866" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:51.201864" elapsed="0.001116">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:51.201801" elapsed="0.001272">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:51.167861" elapsed="0.035542">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:51.167454" elapsed="0.036220"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.204729" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18216 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:51.259100" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.259307" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.204172" elapsed="0.055189"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:51.259545" elapsed="0.000185"/>
</return>
<msg time="2026-04-11T23:14:51.260343" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:51.166681" elapsed="0.093867"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:51.261162" elapsed="0.002186"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:51.166055" elapsed="0.097563"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:51.164852" elapsed="0.098921"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:51.164334" elapsed="0.099536"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.163355" elapsed="0.100639"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:51.162911" elapsed="0.101178"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.265342" level="INFO">${next} = 18217</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.264440" elapsed="0.000961"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.266393" level="INFO">${current_port} = 18217</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:51.265780" elapsed="0.000675"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.159320" elapsed="0.107219"/>
</kw>
<msg time="2026-04-11T23:14:51.266619" level="INFO">Repeating keyword, round 388/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:51.268303" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:51.268137" elapsed="0.000228"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.268110" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.268918" level="INFO">${current_Date} = 2026-04-11 23:14:51.269</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:51.268668" elapsed="0.000288"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.271669" level="INFO">${ellapsed_seconds} = 2652.977</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:51.269166" elapsed="0.002543"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.272179" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:51.271816" elapsed="0.000441"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.271788" elapsed="0.000504"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:51.267789" elapsed="0.004569"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.273161" level="INFO">${number} = 388</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.272622" elapsed="0.000578"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.275145" level="INFO">${number} = 388</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.274804" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.276792" level="INFO">${device-port} = 18217</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.276185" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.279147" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:51.309465" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.309707" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.279053" elapsed="0.030714"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.310655" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:51.310784" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:51.309926" elapsed="0.001054">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:51.309883" elapsed="0.001192">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:51.278786" elapsed="0.032551">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:51.278386" elapsed="0.033087"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.312426" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18217 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:51.368020" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.368239" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.311953" elapsed="0.056339"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:51.368476" elapsed="0.000193"/>
</return>
<msg time="2026-04-11T23:14:51.369279" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:51.277621" elapsed="0.091858"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:51.370100" elapsed="0.001734"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:51.277019" elapsed="0.095038"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:51.275851" elapsed="0.096343"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:51.275327" elapsed="0.096965"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.274102" elapsed="0.098312"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:51.273421" elapsed="0.099088"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.373631" level="INFO">${next} = 18218</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.372872" elapsed="0.000820"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.374927" level="INFO">${current_port} = 18218</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:51.374041" elapsed="0.000978"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.266910" elapsed="0.108231"/>
</kw>
<msg time="2026-04-11T23:14:51.375225" level="INFO">Repeating keyword, round 389/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:51.377753" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:51.377441" elapsed="0.000404"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.377401" elapsed="0.000492"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.378698" level="INFO">${current_Date} = 2026-04-11 23:14:51.378</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:51.378271" elapsed="0.000486"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.379326" level="INFO">${ellapsed_seconds} = 2652.868</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:51.379004" elapsed="0.000347"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.379885" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:51.379640" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.379402" elapsed="0.000561"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:51.376924" elapsed="0.003085"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.380509" level="INFO">${number} = 389</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.380151" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.381940" level="INFO">${number} = 389</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.381604" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.383565" level="INFO">${device-port} = 18218</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.382978" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.385924" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:51.421349" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.421558" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.385828" elapsed="0.035824"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.422519" elapsed="0.000082"/>
</kw>
<msg time="2026-04-11T23:14:51.422681" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:51.421812" elapsed="0.000974">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:51.421769" elapsed="0.001105">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:51.385545" elapsed="0.037599">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:51.385160" elapsed="0.038188"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.424317" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18218 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:51.479391" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.479639" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.423840" elapsed="0.055856"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:51.479873" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:51.480648" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:51.384394" elapsed="0.096458"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:51.481417" elapsed="0.001740"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:51.383816" elapsed="0.099566"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:51.382644" elapsed="0.100878"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:51.382121" elapsed="0.101531"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.381141" elapsed="0.102637"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:51.380701" elapsed="0.103171"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.484976" level="INFO">${next} = 18219</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.484204" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.486274" level="INFO">${current_port} = 18219</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:51.485385" elapsed="0.000980"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.375672" elapsed="0.110842"/>
</kw>
<msg time="2026-04-11T23:14:51.486631" level="INFO">Repeating keyword, round 390/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:51.489061" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:51.488827" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.488784" elapsed="0.000419"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.489924" level="INFO">${current_Date} = 2026-04-11 23:14:51.490</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:51.489513" elapsed="0.000469"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.491004" level="INFO">${ellapsed_seconds} = 2652.756</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:51.490299" elapsed="0.000731"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.491518" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:51.491101" elapsed="0.000485"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.491082" elapsed="0.000529"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:51.488273" elapsed="0.003386"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.492167" level="INFO">${number} = 390</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.491804" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.493593" level="INFO">${number} = 390</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.493238" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.495227" level="INFO">${device-port} = 18219</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.494635" elapsed="0.000619"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.497561" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:51.529260" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.529471" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.497465" elapsed="0.032064"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.530444" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:51.530601" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:51.529733" elapsed="0.001049">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:51.529688" elapsed="0.001193">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:51.497196" elapsed="0.033948">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:51.496811" elapsed="0.034470"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.532266" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18219 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:51.587619" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.587820" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.531769" elapsed="0.056104"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:51.588055" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:51.588842" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:51.496050" elapsed="0.092994"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:51.589648" elapsed="0.001717"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:51.495452" elapsed="0.096169"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:51.494261" elapsed="0.097508"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:51.493776" elapsed="0.098094"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.492801" elapsed="0.099191"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:51.492344" elapsed="0.099742"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.593189" level="INFO">${next} = 18220</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.592421" elapsed="0.000827"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.594529" level="INFO">${current_port} = 18220</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:51.593644" elapsed="0.001014"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.487043" elapsed="0.107741"/>
</kw>
<msg time="2026-04-11T23:14:51.594839" level="INFO">Repeating keyword, round 391/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:51.596350" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:51.596201" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.596173" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.596916" level="INFO">${current_Date} = 2026-04-11 23:14:51.597</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:51.596702" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.597566" level="INFO">${ellapsed_seconds} = 2652.649</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:51.597153" elapsed="0.000502"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.598334" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:51.597754" elapsed="0.000673"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.597729" elapsed="0.000733"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:51.595873" elapsed="0.002655"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.599260" level="INFO">${number} = 391</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.598755" elapsed="0.000540"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.601238" level="INFO">${number} = 391</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.600776" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.603539" level="INFO">${device-port} = 18220</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.602714" elapsed="0.000884"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.606339" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:51.637566" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.637809" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.606244" elapsed="0.031621"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.638764" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:51.638897" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:51.638025" elapsed="0.000975">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:51.637982" elapsed="0.001107">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:51.605977" elapsed="0.033374">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:51.605591" elapsed="0.033963"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.640532" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18220 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:51.695250" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.695476" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.640044" elapsed="0.055460"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:51.695671" elapsed="0.000108"/>
</return>
<msg time="2026-04-11T23:14:51.696100" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:51.604826" elapsed="0.091366"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:51.696522" elapsed="0.000902"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:51.603986" elapsed="0.093545"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:51.602205" elapsed="0.095413"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:51.601491" elapsed="0.096177"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.600147" elapsed="0.097585"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:51.599507" elapsed="0.098273"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.698325" level="INFO">${next} = 18221</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.697946" elapsed="0.000405"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.699246" level="INFO">${current_port} = 18221</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:51.698547" elapsed="0.000799"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.595097" elapsed="0.104385"/>
</kw>
<msg time="2026-04-11T23:14:51.699608" level="INFO">Repeating keyword, round 392/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:51.702318" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:51.702074" elapsed="0.000337"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.702029" elapsed="0.000457"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.703216" level="INFO">${current_Date} = 2026-04-11 23:14:51.703</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:51.702853" elapsed="0.000421"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.704332" level="INFO">${ellapsed_seconds} = 2652.543</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:51.703624" elapsed="0.000765"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.705698" elapsed="0.000051"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:51.704544" elapsed="0.001282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.704502" elapsed="0.001378"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:51.701473" elapsed="0.004512"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.707046" level="INFO">${number} = 392</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.706304" elapsed="0.000770"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.708468" level="INFO">${number} = 392</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.708133" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.710307" level="INFO">${device-port} = 18221</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.709708" elapsed="0.000626"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.712761" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:51.745482" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.745727" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.712657" elapsed="0.033128"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.746712" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:51.746845" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:51.745945" elapsed="0.001107">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:51.745902" elapsed="0.001245">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:51.712368" elapsed="0.035060">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:51.711977" elapsed="0.035588"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.748621" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18221 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:51.804780" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.804987" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.748068" elapsed="0.056973"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:51.805221" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:51.806009" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:51.711191" elapsed="0.095021"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:51.806853" elapsed="0.001699"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:51.710587" elapsed="0.098225"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:51.709341" elapsed="0.099611"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:51.708666" elapsed="0.100382"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.707694" elapsed="0.101475"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:51.707231" elapsed="0.102032"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.810365" level="INFO">${next} = 18222</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.809633" elapsed="0.000790"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.811376" level="INFO">${current_port} = 18222</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:51.810853" elapsed="0.000580"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.700113" elapsed="0.111397"/>
</kw>
<msg time="2026-04-11T23:14:51.811563" level="INFO">Repeating keyword, round 393/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:51.813098" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:51.812951" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.812925" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.813674" level="INFO">${current_Date} = 2026-04-11 23:14:51.814</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:51.813437" elapsed="0.000273"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.814769" level="INFO">${ellapsed_seconds} = 2652.432</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:51.813914" elapsed="0.000893"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.815230" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:51.814908" elapsed="0.000396"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.814882" elapsed="0.000455"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:51.812622" elapsed="0.002780"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.816153" level="INFO">${number} = 393</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.815647" elapsed="0.000541"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.818132" level="INFO">${number} = 393</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.817666" elapsed="0.000502"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.820080" level="INFO">${device-port} = 18222</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.819389" elapsed="0.000718"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.822469" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:51.857479" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.857728" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.822355" elapsed="0.035431"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.858691" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:51.858825" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:51.857946" elapsed="0.000984">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:51.857902" elapsed="0.001116">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:51.822082" elapsed="0.037197">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:51.821700" elapsed="0.037790"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.860463" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18222 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:51.915810" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.916014" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.859977" elapsed="0.056090"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:51.916249" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:51.917047" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:51.820933" elapsed="0.096319"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:51.917868" elapsed="0.001751"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:51.820311" elapsed="0.099544"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:51.819050" elapsed="0.100944"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:51.818385" elapsed="0.101707"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.817039" elapsed="0.103174"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:51.816400" elapsed="0.103907"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.921416" level="INFO">${next} = 18223</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.920677" elapsed="0.000796"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.922767" level="INFO">${current_port} = 18223</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:51.921877" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.811847" elapsed="0.111139"/>
</kw>
<msg time="2026-04-11T23:14:51.923073" level="INFO">Repeating keyword, round 394/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:51.925547" elapsed="0.000110"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:51.925312" elapsed="0.000483"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.925271" elapsed="0.000574"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.926566" level="INFO">${current_Date} = 2026-04-11 23:14:51.926</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:51.926163" elapsed="0.000504"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:51.927510" level="INFO">${ellapsed_seconds} = 2652.32</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:51.926995" elapsed="0.000542"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.927874" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:51.927642" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:51.927622" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:51.924775" elapsed="0.003221"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.928495" level="INFO">${number} = 394</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.928138" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.929903" level="INFO">${number} = 394</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.929555" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:51.931525" level="INFO">${device-port} = 18223</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:51.930939" elapsed="0.000612"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.933908" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:51.965397" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:51.965641" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.933808" elapsed="0.031894"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:51.966623" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:51.966760" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:51.965865" elapsed="0.001136">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:51.965821" elapsed="0.001280">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:51.933517" elapsed="0.033853">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:51.933131" elapsed="0.034379"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:51.968490" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18223 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:52.023679" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.023886" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:51.968005" elapsed="0.055934"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:52.024118" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:52.024893" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:51.932358" elapsed="0.092745"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:52.025702" elapsed="0.001734"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:51.931775" elapsed="0.095921"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:51.930602" elapsed="0.097238"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:51.930083" elapsed="0.097854"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.929122" elapsed="0.098936"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:51.928687" elapsed="0.099464"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.029256" level="INFO">${next} = 18224</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.028490" elapsed="0.000825"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.030629" level="INFO">${current_port} = 18224</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:52.029719" elapsed="0.001006"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:51.923499" elapsed="0.107351"/>
</kw>
<msg time="2026-04-11T23:14:52.030894" level="INFO">Repeating keyword, round 395/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:52.032055" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:52.031947" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.031923" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.032445" level="INFO">${current_Date} = 2026-04-11 23:14:52.032</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:52.032293" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.033119" level="INFO">${ellapsed_seconds} = 2652.214</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:52.032630" elapsed="0.000516"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.033445" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:52.033218" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.033199" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:52.031705" elapsed="0.001862"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.034108" level="INFO">${number} = 395</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.033748" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.035535" level="INFO">${number} = 395</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.035201" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.037167" level="INFO">${device-port} = 18224</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.036561" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.039518" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:52.072902" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.073115" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.039416" elapsed="0.033757"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.074056" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:52.074187" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:52.073335" elapsed="0.000956">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:52.073291" elapsed="0.001088">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:52.039149" elapsed="0.035548">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:52.038769" elapsed="0.036136"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.075891" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18224 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:52.131297" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.131502" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.075361" elapsed="0.056195"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:52.131776" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:52.132519" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:52.037995" elapsed="0.094771"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:52.133338" elapsed="0.001733"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:52.037394" elapsed="0.097901"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:52.036231" elapsed="0.099201"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:52.035744" elapsed="0.099783"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.034760" elapsed="0.100924"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:52.034283" elapsed="0.101497"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.136881" level="INFO">${next} = 18225</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.136120" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.138172" level="INFO">${current_port} = 18225</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:52.137285" elapsed="0.000979"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.031144" elapsed="0.107244"/>
</kw>
<msg time="2026-04-11T23:14:52.138471" level="INFO">Repeating keyword, round 396/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:52.139808" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:52.139702" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.139683" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.140170" level="INFO">${current_Date} = 2026-04-11 23:14:52.140</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:52.140015" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.140849" level="INFO">${ellapsed_seconds} = 2652.106</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:52.140338" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.141175" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:52.140947" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.140927" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:52.139443" elapsed="0.001853"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.141836" level="INFO">${number} = 396</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.141437" elapsed="0.000427"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.143246" level="INFO">${number} = 396</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.142915" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.144861" level="INFO">${device-port} = 18225</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.144258" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.147230" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:52.180973" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.181184" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.147135" elapsed="0.034107"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.182146" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:52.182275" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:52.181404" elapsed="0.001056">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:52.181360" elapsed="0.001245">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:52.146865" elapsed="0.036013">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:52.146446" elapsed="0.036571"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.183988" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18225 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:52.239058" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.239260" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.183468" elapsed="0.055845"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:52.239495" elapsed="0.000184"/>
</return>
<msg time="2026-04-11T23:14:52.240291" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:52.145708" elapsed="0.094786"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:52.241113" elapsed="0.001832"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:52.145102" elapsed="0.098075"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:52.143924" elapsed="0.099392"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:52.143425" elapsed="0.099988"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.142450" elapsed="0.101084"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:52.142015" elapsed="0.101649"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.244767" level="INFO">${next} = 18226</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.244002" elapsed="0.000823"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.246027" level="INFO">${current_port} = 18226</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:52.245169" elapsed="0.000950"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.138894" elapsed="0.107349"/>
</kw>
<msg time="2026-04-11T23:14:52.246327" level="INFO">Repeating keyword, round 397/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:52.247768" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:52.247661" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.247642" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.248156" level="INFO">${current_Date} = 2026-04-11 23:14:52.248</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:52.248005" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.248828" level="INFO">${ellapsed_seconds} = 2651.998</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:52.248325" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.249156" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:52.248930" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.248911" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:52.247395" elapsed="0.001882"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.249794" level="INFO">${number} = 397</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.249419" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.251222" level="INFO">${number} = 397</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.250891" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.252843" level="INFO">${device-port} = 18226</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.252239" elapsed="0.000631"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.255178" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:52.293268" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.293478" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.255075" elapsed="0.038460"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.294421" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:14:52.294622" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:52.293739" elapsed="0.000992">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:52.293692" elapsed="0.001128">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:52.254810" elapsed="0.040288">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:52.254401" elapsed="0.040906"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.296294" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18226 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:52.351500" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.351758" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.295809" elapsed="0.056004"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:52.351999" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:52.352799" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:52.253659" elapsed="0.099347"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:52.353615" elapsed="0.001734"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:52.253067" elapsed="0.102539"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:52.251905" elapsed="0.103848"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:52.251401" elapsed="0.104450"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.250409" elapsed="0.105564"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:52.249971" elapsed="0.106096"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.357188" level="INFO">${next} = 18227</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.356415" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.358608" level="INFO">${current_port} = 18227</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:52.357657" elapsed="0.001053"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.246849" elapsed="0.111996"/>
</kw>
<msg time="2026-04-11T23:14:52.358939" level="INFO">Repeating keyword, round 398/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:52.361715" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:52.361363" elapsed="0.000454"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.361318" elapsed="0.000551"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.362665" level="INFO">${current_Date} = 2026-04-11 23:14:52.362</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:52.362207" elapsed="0.000524"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.363465" level="INFO">${ellapsed_seconds} = 2651.884</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:52.362931" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.363813" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:52.363563" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.363544" elapsed="0.000345"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:52.360797" elapsed="0.003138"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.364430" level="INFO">${number} = 398</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.364076" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.365862" level="INFO">${number} = 398</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.365495" elapsed="0.000393"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.367494" level="INFO">${device-port} = 18227</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.366910" elapsed="0.000611"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.369871" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:52.401455" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.401695" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.369774" elapsed="0.031980"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.402656" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:52.402798" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:52.401915" elapsed="0.001074">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:52.401872" elapsed="0.001214">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:52.369483" elapsed="0.033877">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:52.369101" elapsed="0.034396"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.404454" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18227 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:52.459358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.459559" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.403978" elapsed="0.055677"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:52.459836" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:52.460608" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:52.368323" elapsed="0.092496"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:52.461386" elapsed="0.001731"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:52.367739" elapsed="0.095602"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:52.366553" elapsed="0.096925"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:52.366046" elapsed="0.097556"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.365060" elapsed="0.098670"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:52.364621" elapsed="0.099203"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.464912" level="INFO">${next} = 18228</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.464157" elapsed="0.000813"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.466194" level="INFO">${current_port} = 18228</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:52.465314" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.359391" elapsed="0.107015"/>
</kw>
<msg time="2026-04-11T23:14:52.466488" level="INFO">Repeating keyword, round 399/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:52.468186" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:52.468040" elapsed="0.000204"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.468013" elapsed="0.000260"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.468747" level="INFO">${current_Date} = 2026-04-11 23:14:52.469</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:52.468512" elapsed="0.000270"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.469710" level="INFO">${ellapsed_seconds} = 2651.777</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:52.468982" elapsed="0.000765"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.470164" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:52.469846" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.469820" elapsed="0.000450"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:52.467703" elapsed="0.002631"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.471072" level="INFO">${number} = 399</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.470546" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.473041" level="INFO">${number} = 399</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.472559" elapsed="0.000518"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.475443" level="INFO">${device-port} = 18228</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.474466" elapsed="0.001018"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.478134" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:52.509684" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.509893" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.478038" elapsed="0.031912"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.510844" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:52.510974" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:52.510107" elapsed="0.000969">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:52.510065" elapsed="0.001099">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:52.477761" elapsed="0.033662">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:52.477358" elapsed="0.034297"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.512623" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18228 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:52.567519" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.567780" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.512108" elapsed="0.055728"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:52.568025" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:52.568832" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:52.476614" elapsed="0.092422"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:52.569649" elapsed="0.001781"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:52.475792" elapsed="0.095900"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:52.474002" elapsed="0.097833"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:52.473292" elapsed="0.098639"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.471952" elapsed="0.100098"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:52.471319" elapsed="0.100823"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.573260" level="INFO">${next} = 18229</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.572481" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.574667" level="INFO">${current_port} = 18229</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:52.573732" elapsed="0.001051"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.466926" elapsed="0.108002"/>
</kw>
<msg time="2026-04-11T23:14:52.575015" level="INFO">Repeating keyword, round 400/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:52.576159" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:52.576052" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.576033" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.576523" level="INFO">${current_Date} = 2026-04-11 23:14:52.576</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:52.576362" elapsed="0.000192"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.578317" level="INFO">${ellapsed_seconds} = 2651.67</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:52.576717" elapsed="0.001626"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.578707" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:52.578412" elapsed="0.000359"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.578394" elapsed="0.000404"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:52.575808" elapsed="0.003037"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.579350" level="INFO">${number} = 400</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.578987" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.580851" level="INFO">${number} = 400</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.580426" elapsed="0.000451"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.582468" level="INFO">${device-port} = 18229</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.581879" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.584905" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:52.617463" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.617713" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.584809" elapsed="0.032963"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.618661" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:52.618791" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:52.617932" elapsed="0.001044">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:52.617890" elapsed="0.001179">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:52.584528" elapsed="0.034807">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:52.584144" elapsed="0.035327"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.620433" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18229 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:52.675308" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.675523" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.619958" elapsed="0.055658"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:52.675808" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:52.676554" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:52.583371" elapsed="0.093426"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:52.677376" elapsed="0.001740"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:52.582773" elapsed="0.096567"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:52.581516" elapsed="0.097963"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:52.581031" elapsed="0.098574"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.579989" elapsed="0.099745"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:52.579525" elapsed="0.100305"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.680932" level="INFO">${next} = 18230</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.680168" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.682235" level="INFO">${current_port} = 18230</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:52.681339" elapsed="0.000987"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.575228" elapsed="0.107220"/>
</kw>
<msg time="2026-04-11T23:14:52.682531" level="INFO">Repeating keyword, round 401/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:52.683989" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:52.683879" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.683856" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.684422" level="INFO">${current_Date} = 2026-04-11 23:14:52.684</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:52.684258" elapsed="0.000190"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.684922" level="INFO">${ellapsed_seconds} = 2651.562</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:52.684608" elapsed="0.000339"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.685462" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:52.685222" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.684998" elapsed="0.000541"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:52.683634" elapsed="0.001990"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.686291" level="INFO">${number} = 401</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.685768" elapsed="0.000548"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.687722" level="INFO">${number} = 401</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.687374" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.689442" level="INFO">${device-port} = 18230</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.688746" elapsed="0.000723"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.691879" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:52.729704" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.729951" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.691779" elapsed="0.038231"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.730978" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:52.731111" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:52.730191" elapsed="0.001026">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:52.730139" elapsed="0.001167">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:52.691480" elapsed="0.040138">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:52.691097" elapsed="0.040744"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.732844" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18230 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:52.787406" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.787742" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.732306" elapsed="0.055493"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:52.788029" elapsed="0.000160"/>
</return>
<msg time="2026-04-11T23:14:52.788854" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:52.690299" elapsed="0.098755"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:52.789705" elapsed="0.001799"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:52.689709" elapsed="0.102052"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:52.688394" elapsed="0.103508"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:52.687902" elapsed="0.104100"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.686943" elapsed="0.105185"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:52.686466" elapsed="0.105759"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.793342" level="INFO">${next} = 18231</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.792560" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.794801" level="INFO">${current_port} = 18231</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:52.793801" elapsed="0.001080"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.683020" elapsed="0.111948"/>
</kw>
<msg time="2026-04-11T23:14:52.795028" level="INFO">Repeating keyword, round 402/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:52.796789" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:52.796625" elapsed="0.000227"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.796592" elapsed="0.000297"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.797343" level="INFO">${current_Date} = 2026-04-11 23:14:52.797</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:52.797102" elapsed="0.000279"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.798127" level="INFO">${ellapsed_seconds} = 2651.449</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:52.797649" elapsed="0.000516"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.799001" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:52.798267" elapsed="0.000816"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.798240" elapsed="0.000877"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:52.796246" elapsed="0.002941"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.799958" level="INFO">${number} = 402</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.799397" elapsed="0.000599"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.802081" level="INFO">${number} = 402</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.801547" elapsed="0.000572"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.804506" level="INFO">${device-port} = 18231</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.803636" elapsed="0.000909"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.807679" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:52.841722" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.841983" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.807561" elapsed="0.034481"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.843050" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:52.843184" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:52.842231" elapsed="0.001181">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:52.842177" elapsed="0.001331">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:52.807293" elapsed="0.036561">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:52.806905" elapsed="0.037098"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.845028" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18231 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:52.899917" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.900199" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.844485" elapsed="0.055769"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:52.900485" elapsed="0.000219"/>
</return>
<msg time="2026-04-11T23:14:52.901346" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:52.805750" elapsed="0.095799"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:52.902209" elapsed="0.001812"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:52.804864" elapsed="0.099383"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:52.803115" elapsed="0.101274"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:52.802350" elapsed="0.102140"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.800901" elapsed="0.103746"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:52.800223" elapsed="0.104525"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.905877" level="INFO">${next} = 18232</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.905087" elapsed="0.000848"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.907175" level="INFO">${current_port} = 18232</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:52.906284" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.795362" elapsed="0.112031"/>
</kw>
<msg time="2026-04-11T23:14:52.907478" level="INFO">Repeating keyword, round 403/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:52.910074" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:52.909837" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.909794" elapsed="0.000419"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.910949" level="INFO">${current_Date} = 2026-04-11 23:14:52.911</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:52.910690" elapsed="0.000285"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:52.911451" level="INFO">${ellapsed_seconds} = 2651.335</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:52.911122" elapsed="0.000356"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.912051" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:52.911549" elapsed="0.000557"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:52.911530" elapsed="0.000600"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:52.909242" elapsed="0.002935"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.912701" level="INFO">${number} = 403</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.912321" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.914170" level="INFO">${number} = 403</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.913833" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:52.915852" level="INFO">${device-port} = 18232</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:52.915227" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.918245" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:52.956084" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:52.956360" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.918141" elapsed="0.038279"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:52.957432" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:52.957566" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:52.956655" elapsed="0.001047">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:52.956558" elapsed="0.001237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:52.917874" elapsed="0.040202">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:52.917470" elapsed="0.040845"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:52.959372" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18232 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.015207" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.015487" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:52.958866" elapsed="0.056677"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.015809" elapsed="0.000166"/>
</return>
<msg time="2026-04-11T23:14:53.016649" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:52.916685" elapsed="0.100174"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.017479" elapsed="0.001842"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:52.916082" elapsed="0.103463"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:52.914894" elapsed="0.104826"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:52.914350" elapsed="0.105469"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.913326" elapsed="0.106620"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:52.912882" elapsed="0.107160"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.021162" level="INFO">${next} = 18233</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.020379" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.022478" level="INFO">${current_port} = 18233</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:53.021628" elapsed="0.001009"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:52.907958" elapsed="0.114815"/>
</kw>
<msg time="2026-04-11T23:14:53.022857" level="INFO">Repeating keyword, round 404/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:53.024689" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:53.024502" elapsed="0.000249"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.024471" elapsed="0.000312"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.025233" level="INFO">${current_Date} = 2026-04-11 23:14:53.025</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:53.024993" elapsed="0.000279"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.026006" level="INFO">${ellapsed_seconds} = 2651.221</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:53.025485" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.026893" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:53.026148" elapsed="0.000826"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.026121" elapsed="0.000889"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:53.024144" elapsed="0.002935"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.027845" level="INFO">${number} = 404</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.027288" elapsed="0.000596"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.029976" level="INFO">${number} = 404</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.029441" elapsed="0.000574"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.032393" level="INFO">${device-port} = 18233</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.031498" elapsed="0.000934"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.035641" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:53.065499" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.065771" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.035516" elapsed="0.030314"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.066809" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:53.066942" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:53.066014" elapsed="0.001149">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:53.065959" elapsed="0.001300">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:53.035246" elapsed="0.032300">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:53.034856" elapsed="0.032863"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.068735" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18233 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.123623" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.123996" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.068197" elapsed="0.055859"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.124326" elapsed="0.000188"/>
</return>
<msg time="2026-04-11T23:14:53.125215" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:53.033650" elapsed="0.091772"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.126108" elapsed="0.001900"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:53.032753" elapsed="0.095485"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:53.031006" elapsed="0.097378"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:53.030243" elapsed="0.098245"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.028784" elapsed="0.099869"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:53.028109" elapsed="0.100646"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.130047" level="INFO">${next} = 18234</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.129112" elapsed="0.000994"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.131125" level="INFO">${current_port} = 18234</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:53.130478" elapsed="0.000689"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.023176" elapsed="0.108051"/>
</kw>
<msg time="2026-04-11T23:14:53.131267" level="INFO">Repeating keyword, round 405/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:53.132534" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:53.132421" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.132389" elapsed="0.000226"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.133003" level="INFO">${current_Date} = 2026-04-11 23:14:53.133</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:53.132821" elapsed="0.000208"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.133795" level="INFO">${ellapsed_seconds} = 2651.113</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:53.133174" elapsed="0.000648"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.134140" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:53.133894" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.133875" elapsed="0.000342"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:53.132166" elapsed="0.002098"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.135063" level="INFO">${number} = 405</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.134405" elapsed="0.000685"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.136501" level="INFO">${number} = 405</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.136164" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.138147" level="INFO">${device-port} = 18234</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.137533" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.140521" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:53.173667" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.173879" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.140418" elapsed="0.033519"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.174842" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:53.174980" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:53.174098" elapsed="0.000986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:53.174054" elapsed="0.001118">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:53.140151" elapsed="0.035296">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:53.139770" elapsed="0.035917"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.176674" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18234 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.231279" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.231480" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.176147" elapsed="0.055385"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.231756" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:53.232513" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:53.138994" elapsed="0.093768"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.233345" elapsed="0.001747"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:53.138374" elapsed="0.096955"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:53.137200" elapsed="0.098271"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:53.136699" elapsed="0.098896"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.135721" elapsed="0.100004"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:53.135242" elapsed="0.100579"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.236918" level="INFO">${next} = 18235</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.236154" elapsed="0.000821"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.238226" level="INFO">${current_port} = 18235</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:53.237321" elapsed="0.000995"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.131509" elapsed="0.106931"/>
</kw>
<msg time="2026-04-11T23:14:53.238525" level="INFO">Repeating keyword, round 406/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:53.241020" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:53.240783" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.240740" elapsed="0.000420"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.241898" level="INFO">${current_Date} = 2026-04-11 23:14:53.242</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:53.241478" elapsed="0.000477"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.243130" level="INFO">${ellapsed_seconds} = 2651.004</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:53.242273" elapsed="0.000883"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.243453" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:53.243227" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.243209" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:53.240215" elapsed="0.003373"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.244088" level="INFO">${number} = 406</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.243732" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.245476" level="INFO">${number} = 406</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.245146" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.247199" level="INFO">${device-port} = 18235</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.246605" elapsed="0.000621"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.249581" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:53.281391" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.281637" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.249468" elapsed="0.032231"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.282538" elapsed="0.000101"/>
</kw>
<msg time="2026-04-11T23:14:53.282716" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:53.281860" elapsed="0.001034">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:53.281817" elapsed="0.001173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:53.249201" elapsed="0.034053">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:53.248810" elapsed="0.034581"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.284371" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18235 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.339595" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.339803" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.283890" elapsed="0.055968"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.340039" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:53.340840" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:53.248039" elapsed="0.093012"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.341657" elapsed="0.001717"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:53.247426" elapsed="0.096209"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:53.246239" elapsed="0.097542"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:53.245682" elapsed="0.098196"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.244714" elapsed="0.099287"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:53.244264" elapsed="0.099830"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.345199" level="INFO">${next} = 18236</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.344429" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.346480" level="INFO">${current_port} = 18236</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:53.345656" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.238979" elapsed="0.107798"/>
</kw>
<msg time="2026-04-11T23:14:53.346856" level="INFO">Repeating keyword, round 407/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:53.348370" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:53.348223" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.348196" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.348954" level="INFO">${current_Date} = 2026-04-11 23:14:53.349</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:53.348733" elapsed="0.000257"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.349939" level="INFO">${ellapsed_seconds} = 2650.897</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:53.349193" elapsed="0.000783"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.350391" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:53.350075" elapsed="0.000390"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.350049" elapsed="0.000448"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:53.347886" elapsed="0.002674"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.351302" level="INFO">${number} = 407</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.350795" elapsed="0.000543"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.353273" level="INFO">${number} = 407</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.352810" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.355465" level="INFO">${device-port} = 18236</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.354866" elapsed="0.000629"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.357826" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:53.389686" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.389897" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.357731" elapsed="0.032223"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.390869" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:53.391004" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:53.390112" elapsed="0.000994">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:53.390069" elapsed="0.001139">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:53.357449" elapsed="0.034021">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:53.357071" elapsed="0.034639"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.392688" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18236 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.447314" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.447617" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.392162" elapsed="0.055513"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.447893" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:14:53.448713" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:53.356304" elapsed="0.092609"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.449515" elapsed="0.001781"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:53.355716" elapsed="0.095800"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:53.354319" elapsed="0.097366"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:53.353525" elapsed="0.098258"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.352181" elapsed="0.099727"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:53.351547" elapsed="0.100457"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.453125" level="INFO">${next} = 18237</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.452350" elapsed="0.000832"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.454425" level="INFO">${current_port} = 18237</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:53.453529" elapsed="0.000986"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.347114" elapsed="0.107598"/>
</kw>
<msg time="2026-04-11T23:14:53.454802" level="INFO">Repeating keyword, round 408/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:53.456480" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:53.456313" elapsed="0.000228"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.456285" elapsed="0.000309"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.457043" level="INFO">${current_Date} = 2026-04-11 23:14:53.457</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:53.456805" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.458132" level="INFO">${ellapsed_seconds} = 2650.789</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:53.457294" elapsed="0.000877"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.458661" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:53.458275" elapsed="0.000466"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.458248" elapsed="0.000527"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:53.455962" elapsed="0.002882"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.459658" level="INFO">${number} = 408</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.459102" elapsed="0.000595"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.461758" level="INFO">${number} = 408</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.461231" elapsed="0.000566"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.464191" level="INFO">${device-port} = 18237</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.463293" elapsed="0.000938"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.467467" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:53.497562" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.497797" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.467369" elapsed="0.030486"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.498758" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:53.498890" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:53.498013" elapsed="0.001068">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:53.497971" elapsed="0.001206">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:53.467102" elapsed="0.032350">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:53.466558" elapsed="0.033058"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.500535" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18237 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.555840" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.556038" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.500061" elapsed="0.056030"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.556265" elapsed="0.000134"/>
</return>
<msg time="2026-04-11T23:14:53.557037" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:53.465416" elapsed="0.091821"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.557836" elapsed="0.001712"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:53.464526" elapsed="0.095276"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:53.462792" elapsed="0.097146"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:53.462031" elapsed="0.098003"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.460561" elapsed="0.099594"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:53.459918" elapsed="0.100330"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.561326" level="INFO">${next} = 18238</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.560604" elapsed="0.000779"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.562663" level="INFO">${current_port} = 18238</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:53.561784" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.455119" elapsed="0.107762"/>
</kw>
<msg time="2026-04-11T23:14:53.562965" level="INFO">Repeating keyword, round 409/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:53.565162" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:53.565056" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.565038" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.565558" level="INFO">${current_Date} = 2026-04-11 23:14:53.565</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:53.565403" elapsed="0.000219"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.566261" level="INFO">${ellapsed_seconds} = 2650.681</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:53.565767" elapsed="0.000520"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.566602" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:53.566358" elapsed="0.000314"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.566340" elapsed="0.000355"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:53.564729" elapsed="0.002012"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.567242" level="INFO">${number} = 409</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.566883" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.568659" level="INFO">${number} = 409</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.568312" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.570282" level="INFO">${device-port} = 18238</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.569696" elapsed="0.000612"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.572871" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:53.605681" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.605903" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.572768" elapsed="0.033195"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.606897" elapsed="0.000068"/>
</kw>
<msg time="2026-04-11T23:14:53.607042" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:53.606139" elapsed="0.001007">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:53.606094" elapsed="0.001139">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:53.572483" elapsed="0.035010">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:53.572095" elapsed="0.035638"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.608711" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18238 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.663543" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.663775" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.608187" elapsed="0.055641"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.664013" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:53.664804" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:53.571319" elapsed="0.093691"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.665612" elapsed="0.001715"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:53.570508" elapsed="0.097046"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:53.569328" elapsed="0.098401"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:53.568839" elapsed="0.098988"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.567880" elapsed="0.100069"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:53.567420" elapsed="0.100625"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.669141" level="INFO">${next} = 18239</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.668380" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.670305" level="INFO">${current_port} = 18239</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:53.669558" elapsed="0.000805"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.563369" elapsed="0.107071"/>
</kw>
<msg time="2026-04-11T23:14:53.670495" level="INFO">Repeating keyword, round 410/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:53.672073" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:53.671926" elapsed="0.000203"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.671899" elapsed="0.000260"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.672558" level="INFO">${current_Date} = 2026-04-11 23:14:53.672</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:53.672351" elapsed="0.000302"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.673553" level="INFO">${ellapsed_seconds} = 2650.574</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:53.672854" elapsed="0.000757"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.674027" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:53.673712" elapsed="0.000388"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.673686" elapsed="0.000445"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:53.671563" elapsed="0.002631"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.674919" level="INFO">${number} = 410</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.674388" elapsed="0.000568"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.676911" level="INFO">${number} = 410</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.676406" elapsed="0.000541"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.679111" level="INFO">${device-port} = 18239</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.678327" elapsed="0.000810"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.681448" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:53.718235" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.718482" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.681352" elapsed="0.037194"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.719543" elapsed="0.000093"/>
</kw>
<msg time="2026-04-11T23:14:53.719719" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:53.718788" elapsed="0.001133">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:53.718739" elapsed="0.001285">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:53.681086" elapsed="0.039227">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:53.680699" elapsed="0.039760"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.721524" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18239 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.775331" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.775536" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.720993" elapsed="0.054635"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.775815" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:53.776565" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:53.679933" elapsed="0.096881"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.777389" elapsed="0.001778"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:53.679335" elapsed="0.100062"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:53.677862" elapsed="0.101676"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:53.677161" elapsed="0.102532"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.675795" elapsed="0.104025"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:53.675165" elapsed="0.104748"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.781029" level="INFO">${next} = 18240</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.780251" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.782306" level="INFO">${current_port} = 18240</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:53.781438" elapsed="0.000960"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.670799" elapsed="0.111725"/>
</kw>
<msg time="2026-04-11T23:14:53.782657" level="INFO">Repeating keyword, round 411/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:53.785220" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:53.784957" elapsed="0.000356"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.784905" elapsed="0.000455"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.786121" level="INFO">${current_Date} = 2026-04-11 23:14:53.786</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:53.785775" elapsed="0.000404"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.787243" level="INFO">${ellapsed_seconds} = 2650.46</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:53.786501" elapsed="0.000769"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.787635" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:53.787342" elapsed="0.000349"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.787323" elapsed="0.000392"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:53.784369" elapsed="0.003392"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.788272" level="INFO">${number} = 411</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.787907" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.789693" level="INFO">${number} = 411</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.789345" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.791324" level="INFO">${device-port} = 18240</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.790741" elapsed="0.000610"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.793670" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:53.825660" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.825875" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.793558" elapsed="0.032377"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.826855" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:53.826991" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:53.826094" elapsed="0.001002">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:53.826051" elapsed="0.001133">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:53.793295" elapsed="0.034152">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:53.792915" elapsed="0.034765"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.828658" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18240 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.883769" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.883999" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.828134" elapsed="0.055922"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.884235" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:53.885025" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:53.792158" elapsed="0.093069"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.885829" elapsed="0.001693"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:53.791550" elapsed="0.096231"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:53.790366" elapsed="0.097554"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:53.789880" elapsed="0.098136"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.788905" elapsed="0.099233"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:53.788448" elapsed="0.099783"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.889338" level="INFO">${next} = 18241</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.888602" elapsed="0.000795"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.890698" level="INFO">${current_port} = 18241</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:53.889793" elapsed="0.001002"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.783078" elapsed="0.107841"/>
</kw>
<msg time="2026-04-11T23:14:53.891004" level="INFO">Repeating keyword, round 412/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:53.892602" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:53.892427" elapsed="0.000236"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.892401" elapsed="0.000292"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.893112" level="INFO">${current_Date} = 2026-04-11 23:14:53.893</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:53.892895" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:53.895448" level="INFO">${ellapsed_seconds} = 2650.353</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:53.893345" elapsed="0.002142"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.895943" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:53.895611" elapsed="0.000406"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:53.895561" elapsed="0.000488"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:53.892084" elapsed="0.004028"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.896856" level="INFO">${number} = 412</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.896308" elapsed="0.000585"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.898886" level="INFO">${number} = 412</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.898378" elapsed="0.000545"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:53.901149" level="INFO">${device-port} = 18241</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:53.900303" elapsed="0.000883"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.904088" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:53.938113" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.938322" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.903993" elapsed="0.034387"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:53.939313" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:53.939445" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:53.938537" elapsed="0.001118">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:53.938495" elapsed="0.001260">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:53.903725" elapsed="0.036295">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:53.903328" elapsed="0.036830"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:53.941132" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18241 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:53.995421" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:53.995655" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:53.940647" elapsed="0.055064"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:53.995890" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:53.996668" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:53.902327" elapsed="0.094547"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:53.997440" elapsed="0.001722"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:53.901464" elapsed="0.097927"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:53.899835" elapsed="0.099698"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:53.899137" elapsed="0.100528"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.897767" elapsed="0.102023"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:53.897103" elapsed="0.102781"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.000987" level="INFO">${next} = 18242</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.000222" elapsed="0.000823"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.002314" level="INFO">${current_port} = 18242</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.001394" elapsed="0.001012"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:53.891289" elapsed="0.111242"/>
</kw>
<msg time="2026-04-11T23:14:54.002673" level="INFO">Repeating keyword, round 413/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.005170" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.004931" elapsed="0.000332"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.004889" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.006181" level="INFO">${current_Date} = 2026-04-11 23:14:54.006</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.005833" elapsed="0.000405"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.007094" level="INFO">${ellapsed_seconds} = 2650.24</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.006559" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.007630" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.007372" elapsed="0.000313"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.007172" elapsed="0.000536"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.004379" elapsed="0.003375"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.008254" level="INFO">${number} = 413</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.007895" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.009690" level="INFO">${number} = 413</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.009325" elapsed="0.000391"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.011303" level="INFO">${device-port} = 18242</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.010723" elapsed="0.000606"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.013641" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:54.045616" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.045837" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.013532" elapsed="0.032365"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.047445" elapsed="0.000082"/>
</kw>
<msg time="2026-04-11T23:14:54.047651" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:54.046061" elapsed="0.001698">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:54.046016" elapsed="0.001844">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.013270" elapsed="0.034875">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.012890" elapsed="0.035473"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.049411" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18242 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:54.103322" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.103530" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.048909" elapsed="0.054713"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:54.103809" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:54.104610" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.012133" elapsed="0.092690"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:54.105434" elapsed="0.001720"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.011530" elapsed="0.095778"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.010355" elapsed="0.097046"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.009871" elapsed="0.097592"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.008884" elapsed="0.098656"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.008430" elapsed="0.099193"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.108314" level="INFO">${next} = 18243</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.107837" elapsed="0.000515"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.109128" level="INFO">${current_port} = 18243</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.108598" elapsed="0.000588"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.003139" elapsed="0.106128"/>
</kw>
<msg time="2026-04-11T23:14:54.109330" level="INFO">Repeating keyword, round 414/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.110995" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.110843" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.110816" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.111510" level="INFO">${current_Date} = 2026-04-11 23:14:54.111</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.111278" elapsed="0.000269"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.112195" level="INFO">${ellapsed_seconds} = 2650.135</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.111773" elapsed="0.000458"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.112961" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.112330" elapsed="0.000709"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.112301" elapsed="0.000771"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.110414" elapsed="0.002723"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.113932" level="INFO">${number} = 414</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.113336" elapsed="0.000634"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.115991" level="INFO">${number} = 414</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.115492" elapsed="0.000536"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.118322" level="INFO">${device-port} = 18243</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.117439" elapsed="0.000922"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.120954" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:54.153657" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.153873" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.120860" elapsed="0.033073"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.154904" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:14:54.155048" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:54.154120" elapsed="0.001127">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:54.154069" elapsed="0.001279">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.120590" elapsed="0.035057">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.120181" elapsed="0.035611"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.156808" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18243 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:54.211622" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.211777" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.156272" elapsed="0.055543"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:54.211942" elapsed="0.000096"/>
</return>
<msg time="2026-04-11T23:14:54.212446" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.119410" elapsed="0.093199"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:54.213017" elapsed="0.001131"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.118711" elapsed="0.095578"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.116967" elapsed="0.097409"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.116245" elapsed="0.098193"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.114859" elapsed="0.099656"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.114185" elapsed="0.100410"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.215301" level="INFO">${next} = 18244</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.214834" elapsed="0.000503"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.216106" level="INFO">${current_port} = 18244</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.215557" elapsed="0.000607"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.109629" elapsed="0.106614"/>
</kw>
<msg time="2026-04-11T23:14:54.216295" level="INFO">Repeating keyword, round 415/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.217901" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.217750" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.217722" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.218451" level="INFO">${current_Date} = 2026-04-11 23:14:54.218</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.218234" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.219154" level="INFO">${ellapsed_seconds} = 2650.028</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.218726" elapsed="0.000465"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.219910" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.219289" elapsed="0.000703"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.219263" elapsed="0.000763"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.217370" elapsed="0.002721"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.220827" level="INFO">${number} = 415</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.220293" elapsed="0.000571"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.222874" level="INFO">${number} = 415</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.222357" elapsed="0.000553"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.225139" level="INFO">${device-port} = 18244</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.224293" elapsed="0.000882"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.228014" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:54.260988" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.261122" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.227918" elapsed="0.033239"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.261717" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:14:54.261800" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:54.261258" elapsed="0.000607">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:54.261231" elapsed="0.000695">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.227652" elapsed="0.034444">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.227249" elapsed="0.034979"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.262875" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18244 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:54.319063" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.319271" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.262515" elapsed="0.056810"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:54.319503" elapsed="0.000183"/>
</return>
<msg time="2026-04-11T23:14:54.320295" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.226295" elapsed="0.094203"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:54.321114" elapsed="0.001745"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.225454" elapsed="0.097640"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.223829" elapsed="0.099403"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.223124" elapsed="0.100204"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.221751" elapsed="0.101697"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.221077" elapsed="0.102464"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.324713" level="INFO">${next} = 18245</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.323924" elapsed="0.000848"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.326023" level="INFO">${current_port} = 18245</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.325126" elapsed="0.000998"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.216561" elapsed="0.109686"/>
</kw>
<msg time="2026-04-11T23:14:54.326333" level="INFO">Repeating keyword, round 416/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.328204" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.328054" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.328027" elapsed="0.000272"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.328736" level="INFO">${current_Date} = 2026-04-11 23:14:54.329</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.328501" elapsed="0.000271"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.329389" level="INFO">${ellapsed_seconds} = 2649.917</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.328971" elapsed="0.000453"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.330128" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.329519" elapsed="0.000685"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.329493" elapsed="0.000744"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.327717" elapsed="0.002584"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.331084" level="INFO">${number} = 416</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.330498" elapsed="0.000623"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.333067" level="INFO">${number} = 416</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.332603" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.335713" level="INFO">${device-port} = 18245</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.334562" elapsed="0.001197"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.338558" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:54.369227" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.369445" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.338462" elapsed="0.031041"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.370407" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:54.370560" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:54.369711" elapsed="0.001092">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:54.369665" elapsed="0.001238">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.338191" elapsed="0.032985">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.337806" elapsed="0.033515"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.372341" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18245 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:54.426960" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.427164" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.371852" elapsed="0.055367"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:54.427397" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:54.428188" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.337037" elapsed="0.091354"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:54.429003" elapsed="0.001735"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.336124" elapsed="0.094846"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.334027" elapsed="0.097083"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.333318" elapsed="0.097890"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.331975" elapsed="0.099357"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.331334" elapsed="0.100093"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.432532" level="INFO">${next} = 18246</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.431799" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.433851" level="INFO">${current_port} = 18246</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.432985" elapsed="0.000960"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.326881" elapsed="0.107191"/>
</kw>
<msg time="2026-04-11T23:14:54.434157" level="INFO">Repeating keyword, round 417/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.436150" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.436001" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.435975" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.436758" level="INFO">${current_Date} = 2026-04-11 23:14:54.437</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.436477" elapsed="0.000317"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.437717" level="INFO">${ellapsed_seconds} = 2649.809</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.436997" elapsed="0.000757"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.438179" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.437853" elapsed="0.000400"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.437827" elapsed="0.000458"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.435662" elapsed="0.002687"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.439088" level="INFO">${number} = 417</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.438548" elapsed="0.000576"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.441084" level="INFO">${number} = 417</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.440613" elapsed="0.000507"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.443359" level="INFO">${device-port} = 18246</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.442672" elapsed="0.000713"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.445751" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:54.477152" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.477365" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.445651" elapsed="0.031771"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.478303" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:54.478433" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:54.477617" elapsed="0.000919">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:54.477538" elapsed="0.001151">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.445363" elapsed="0.033596">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.444977" elapsed="0.034192"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.480155" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18246 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:54.535542" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.535782" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.479669" elapsed="0.056167"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:54.536020" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:54.536806" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.444203" elapsed="0.092804"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:54.537605" elapsed="0.002059"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.443607" elapsed="0.096321"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.442143" elapsed="0.097927"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.441338" elapsed="0.098828"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.439977" elapsed="0.100322"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.439335" elapsed="0.101060"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.541670" level="INFO">${next} = 18247</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.540792" elapsed="0.000942"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.542986" level="INFO">${current_port} = 18247</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.542091" elapsed="0.000990"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.434565" elapsed="0.108639"/>
</kw>
<msg time="2026-04-11T23:14:54.543287" level="INFO">Repeating keyword, round 418/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.545868" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.545540" elapsed="0.000423"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.545488" elapsed="0.000524"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.546733" level="INFO">${current_Date} = 2026-04-11 23:14:54.546</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.546323" elapsed="0.000482"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.547622" level="INFO">${ellapsed_seconds} = 2649.7</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.547099" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.547950" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.547722" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.547703" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.545005" elapsed="0.003066"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.548583" level="INFO">${number} = 418</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.548213" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.549994" level="INFO">${number} = 418</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.549663" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.551641" level="INFO">${device-port} = 18247</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.551035" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.553992" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:54.585478" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.585728" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.553898" elapsed="0.031889"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.586695" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:14:54.586828" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:54.585949" elapsed="0.001058">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:54.585906" elapsed="0.001197">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.553629" elapsed="0.033738">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.553232" elapsed="0.034274"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.588474" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18247 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:54.643432" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.643671" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.587986" elapsed="0.055747"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:54.643913" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:54.644695" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.552458" elapsed="0.092442"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:54.645469" elapsed="0.001741"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.551869" elapsed="0.095571"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.550692" elapsed="0.096919"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.550178" elapsed="0.097537"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.549202" elapsed="0.098636"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.548768" elapsed="0.099163"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.649033" level="INFO">${next} = 18248</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.648269" elapsed="0.000823"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.650356" level="INFO">${current_port} = 18248</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.649453" elapsed="0.000996"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.543735" elapsed="0.106901"/>
</kw>
<msg time="2026-04-11T23:14:54.650732" level="INFO">Repeating keyword, round 419/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.653170" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.653064" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.653045" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.653559" level="INFO">${current_Date} = 2026-04-11 23:14:54.653</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.653406" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.654236" level="INFO">${ellapsed_seconds} = 2649.593</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.653745" elapsed="0.000517"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.654566" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.654333" elapsed="0.000315"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.654315" elapsed="0.000357"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.652616" elapsed="0.002103"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.655225" level="INFO">${number} = 419</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.654862" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.656659" level="INFO">${number} = 419</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.656306" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.658338" level="INFO">${device-port} = 18248</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.657738" elapsed="0.000626"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.660721" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:54.693644" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.693811" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.660624" elapsed="0.033223"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.694436" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:14:54.694521" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:54.693969" elapsed="0.000663">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:54.693932" elapsed="0.000767">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.660336" elapsed="0.034548">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.659949" elapsed="0.035077"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.695664" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18248 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:54.751846" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.752054" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.695325" elapsed="0.056783"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:54.752289" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:54.753102" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.659176" elapsed="0.094130"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:54.753922" elapsed="0.001794"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.658563" elapsed="0.097380"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.657327" elapsed="0.098757"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.656839" elapsed="0.099344"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.655854" elapsed="0.100451"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.655401" elapsed="0.101000"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.757529" level="INFO">${next} = 18249</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.756785" elapsed="0.000921"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.758984" level="INFO">${current_port} = 18249</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.758084" elapsed="0.000942"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.651158" elapsed="0.107925"/>
</kw>
<msg time="2026-04-11T23:14:54.759123" level="INFO">Repeating keyword, round 420/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.760241" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.760129" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.760110" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.760613" level="INFO">${current_Date} = 2026-04-11 23:14:54.761</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.760443" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.761296" level="INFO">${ellapsed_seconds} = 2649.485</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.760785" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.761662" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.761393" elapsed="0.000324"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.761375" elapsed="0.000365"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.759890" elapsed="0.001896"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.762287" level="INFO">${number} = 420</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.761928" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.763713" level="INFO">${number} = 420</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.763366" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.765328" level="INFO">${device-port} = 18249</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.764741" elapsed="0.000615"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.767740" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:54.801336" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.801556" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.767644" elapsed="0.034017"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.802522" elapsed="0.000102"/>
</kw>
<msg time="2026-04-11T23:14:54.802706" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:54.801828" elapsed="0.001058">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:54.801783" elapsed="0.001199">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.767360" elapsed="0.035888">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.766975" elapsed="0.036411"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.804363" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18249 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:54.859325" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.859526" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.803881" elapsed="0.055731"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:54.859794" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:54.860543" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.766178" elapsed="0.094613"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:54.861371" elapsed="0.001765"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.765557" elapsed="0.097808"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.764385" elapsed="0.099120"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.763893" elapsed="0.099741"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.762931" elapsed="0.100830"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.762461" elapsed="0.101396"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.864974" level="INFO">${next} = 18250</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.864198" elapsed="0.000835"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.866278" level="INFO">${current_port} = 18250</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.865380" elapsed="0.000990"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.759310" elapsed="0.107183"/>
</kw>
<msg time="2026-04-11T23:14:54.866657" level="INFO">Repeating keyword, round 421/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.868026" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.867919" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.867895" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.868414" level="INFO">${current_Date} = 2026-04-11 23:14:54.868</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.868260" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.869100" level="INFO">${ellapsed_seconds} = 2649.378</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.868598" elapsed="0.000529"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.869428" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.869198" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.869180" elapsed="0.000325"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.867678" elapsed="0.001872"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.870089" level="INFO">${number} = 421</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.869731" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.871497" level="INFO">${number} = 421</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.871168" elapsed="0.000354"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.873134" level="INFO">${device-port} = 18250</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.872520" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.875506" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:54.913674" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.913880" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.875412" elapsed="0.038525"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.914836" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:54.914968" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:54.914093" elapsed="0.000978">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:54.914050" elapsed="0.001106">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.875147" elapsed="0.040269">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.874761" elapsed="0.040895"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.916622" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18250 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:54.971423" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:54.971657" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.916108" elapsed="0.055610"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:54.971900" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:54.972681" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.873978" elapsed="0.098911"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:54.973450" elapsed="0.001717"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.873359" elapsed="0.102030"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.872188" elapsed="0.103340"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.871702" elapsed="0.103955"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.870735" elapsed="0.105045"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.870267" elapsed="0.105606"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.976982" level="INFO">${next} = 18251</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.976219" elapsed="0.000820"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.978274" level="INFO">${current_port} = 18251</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:54.977387" elapsed="0.000978"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.867088" elapsed="0.111399"/>
</kw>
<msg time="2026-04-11T23:14:54.978620" level="INFO">Repeating keyword, round 422/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:54.981214" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:54.980868" elapsed="0.000442"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.980817" elapsed="0.000541"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.982027" level="INFO">${current_Date} = 2026-04-11 23:14:54.982</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:54.981762" elapsed="0.000291"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:54.983187" level="INFO">${ellapsed_seconds} = 2649.264</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:54.982196" elapsed="0.001032"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:54.983583" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:54.983321" elapsed="0.000317"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:54.983301" elapsed="0.000360"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:54.980292" elapsed="0.003420"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.984222" level="INFO">${number} = 422</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.983854" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.985653" level="INFO">${number} = 422</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.985299" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:54.987276" level="INFO">${device-port} = 18251</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:54.986684" elapsed="0.000618"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:54.989625" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:55.021516" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.021759" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:54.989511" elapsed="0.032307"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.022712" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:55.022844" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:55.021978" elapsed="0.001087">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:55.021935" elapsed="0.001228">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:54.989245" elapsed="0.034193">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:54.988859" elapsed="0.034747"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.024541" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18251 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:55.079145" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.079359" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.024057" elapsed="0.055357"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:55.079633" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:14:55.080386" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:54.988102" elapsed="0.092532"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:55.081206" elapsed="0.001742"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:54.987504" elapsed="0.095669"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:54.986319" elapsed="0.096993"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:54.985832" elapsed="0.097576"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.984858" elapsed="0.098672"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:54.984397" elapsed="0.099267"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.084767" level="INFO">${next} = 18252</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.083999" elapsed="0.000826"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.086038" level="INFO">${current_port} = 18252</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:55.085179" elapsed="0.000950"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:54.979041" elapsed="0.107213"/>
</kw>
<msg time="2026-04-11T23:14:55.086337" level="INFO">Repeating keyword, round 423/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:55.088218" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:55.088066" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.088040" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.088808" level="INFO">${current_Date} = 2026-04-11 23:14:55.089</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:55.088548" elapsed="0.000296"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.089741" level="INFO">${ellapsed_seconds} = 2649.157</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:55.089045" elapsed="0.000733"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.090196" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:55.089877" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.089851" elapsed="0.000450"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:55.087714" elapsed="0.002650"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.091111" level="INFO">${number} = 423</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.090560" elapsed="0.000587"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.093109" level="INFO">${number} = 423</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.092645" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.095383" level="INFO">${device-port} = 18252</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.094515" elapsed="0.000906"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.098719" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:55.137733" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.137942" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.098528" elapsed="0.039471"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.138893" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:55.139024" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:55.138155" elapsed="0.000971">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:55.138112" elapsed="0.001102">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:55.098156" elapsed="0.041334">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:55.097619" elapsed="0.042103"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.140701" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18252 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:55.195342" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.195544" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.140180" elapsed="0.055452"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:55.195814" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:14:55.196563" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:55.096537" elapsed="0.100280"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:55.197393" elapsed="0.001726"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:55.095724" elapsed="0.103618"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:55.094051" elapsed="0.105429"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:55.093357" elapsed="0.106276"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.091994" elapsed="0.107771"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:55.091357" elapsed="0.108503"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.200962" level="INFO">${next} = 18253</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.200191" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.202318" level="INFO">${current_port} = 18253</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:55.201377" elapsed="0.001034"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.086905" elapsed="0.115628"/>
</kw>
<msg time="2026-04-11T23:14:55.202673" level="INFO">Repeating keyword, round 424/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:55.205255" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:55.205002" elapsed="0.000346"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.204960" elapsed="0.000436"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.206085" level="INFO">${current_Date} = 2026-04-11 23:14:55.206</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:55.205736" elapsed="0.000407"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.208141" level="INFO">${ellapsed_seconds} = 2649.04</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:55.206461" elapsed="0.001706"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.208467" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:55.208238" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.208219" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:55.204426" elapsed="0.004176"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.209101" level="INFO">${number} = 424</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.208744" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.210496" level="INFO">${number} = 424</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.210166" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.212123" level="INFO">${device-port} = 18253</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.211524" elapsed="0.000626"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.214494" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:55.249663" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.249879" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.214400" elapsed="0.035537"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.250869" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:55.251002" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:55.250096" elapsed="0.001093">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:55.250052" elapsed="0.001231">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:55.214139" elapsed="0.037407">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:55.213759" elapsed="0.037958"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.252686" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18253 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:55.307529" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.307772" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.252169" elapsed="0.055657"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:55.308017" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:14:55.308812" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:55.212991" elapsed="0.096030"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:55.309618" elapsed="0.001734"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:55.212364" elapsed="0.099244"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:55.211191" elapsed="0.100567"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:55.210705" elapsed="0.101151"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.209729" elapsed="0.102248"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:55.209277" elapsed="0.102795"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.313180" level="INFO">${next} = 18254</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.312408" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.314468" level="INFO">${current_port} = 18254</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:55.313634" elapsed="0.001001"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.203092" elapsed="0.111681"/>
</kw>
<msg time="2026-04-11T23:14:55.314859" level="INFO">Repeating keyword, round 425/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:55.316130" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:55.316024" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.316006" elapsed="0.000186"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.316522" level="INFO">${current_Date} = 2026-04-11 23:14:55.316</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:55.316368" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.317028" level="INFO">${ellapsed_seconds} = 2648.93</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:55.316715" elapsed="0.000339"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.317546" elapsed="0.000056"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:55.317309" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.317105" elapsed="0.000555"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:55.315791" elapsed="0.001914"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.318203" level="INFO">${number} = 425</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.317847" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.319627" level="INFO">${number} = 425</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.319280" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.321235" level="INFO">${device-port} = 18254</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.320647" elapsed="0.000614"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.323720" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:55.365674" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.365887" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.323623" elapsed="0.042322"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.366857" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:55.366993" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:55.366105" elapsed="0.000990">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:55.366061" elapsed="0.001126">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:55.323344" elapsed="0.044104">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:55.322963" elapsed="0.044719"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.368663" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18254 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:55.427416" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.427659" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.368139" elapsed="0.059578"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:55.427901" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:55.428695" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:55.322153" elapsed="0.106754"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:55.429484" elapsed="0.001750"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:55.321537" elapsed="0.109841"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:55.320300" elapsed="0.111164"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:55.319807" elapsed="0.111718"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.318849" elapsed="0.112773"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:55.318380" elapsed="0.113302"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.432350" level="INFO">${next} = 18255</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.431893" elapsed="0.000492"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.433152" level="INFO">${current_port} = 18255</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:55.432624" elapsed="0.000585"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.315226" elapsed="0.118060"/>
</kw>
<msg time="2026-04-11T23:14:55.433339" level="INFO">Repeating keyword, round 426/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:55.434910" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:55.434762" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.434735" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.435413" level="INFO">${current_Date} = 2026-04-11 23:14:55.435</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:55.435195" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.436095" level="INFO">${ellapsed_seconds} = 2648.811</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:55.435673" elapsed="0.000459"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.436832" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:55.436228" elapsed="0.000679"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.436203" elapsed="0.000737"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:55.434389" elapsed="0.002615"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.437755" level="INFO">${number} = 426</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.437202" elapsed="0.000590"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.439755" level="INFO">${number} = 426</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.439269" elapsed="0.000522"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.442046" level="INFO">${device-port} = 18255</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.441180" elapsed="0.000903"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.444697" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:55.485735" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.485945" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.444600" elapsed="0.041402"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.487218" elapsed="0.000076"/>
</kw>
<msg time="2026-04-11T23:14:55.487393" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:55.486162" elapsed="0.001484">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:55.486118" elapsed="0.001635">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:55.444316" elapsed="0.043705">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:55.443931" elapsed="0.044229"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.489155" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18255 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:55.543708" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.543910" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.488654" elapsed="0.055310"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:55.544145" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:14:55.544936" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:55.443155" elapsed="0.101982"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:55.545743" elapsed="0.001695"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:55.442363" elapsed="0.105335"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:55.440708" elapsed="0.107131"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:55.440006" elapsed="0.107945"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.438657" elapsed="0.109422"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:55.438003" elapsed="0.110168"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.549275" level="INFO">${next} = 18256</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.548504" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.550601" level="INFO">${current_port} = 18256</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:55.549731" elapsed="0.000968"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.433627" elapsed="0.117197"/>
</kw>
<msg time="2026-04-11T23:14:55.550908" level="INFO">Repeating keyword, round 427/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:55.553376" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:55.553141" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.553098" elapsed="0.000418"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.554318" level="INFO">${current_Date} = 2026-04-11 23:14:55.554</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:55.553977" elapsed="0.000398"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.555316" level="INFO">${ellapsed_seconds} = 2648.692</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:55.554793" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.555845" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:55.555412" elapsed="0.000487"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.555394" elapsed="0.000529"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:55.552607" elapsed="0.003362"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.556472" level="INFO">${number} = 427</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.556112" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.557917" level="INFO">${number} = 427</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.557550" elapsed="0.000393"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.559533" level="INFO">${device-port} = 18256</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.558939" elapsed="0.000621"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.561894" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:55.593666" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.593878" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.561798" elapsed="0.032138"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.594844" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:55.594978" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:55.594095" elapsed="0.000987">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:55.594052" elapsed="0.001119">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:55.561517" elapsed="0.033914">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:55.561139" elapsed="0.034526"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.596663" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18256 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:55.655554" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.655795" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.596130" elapsed="0.059720"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:55.656033" elapsed="0.000135"/>
</return>
<msg time="2026-04-11T23:14:55.656808" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:55.560371" elapsed="0.096638"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:55.657612" elapsed="0.001694"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:55.559784" elapsed="0.099747"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:55.558604" elapsed="0.101100"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:55.558098" elapsed="0.101705"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.557118" elapsed="0.102808"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:55.556666" elapsed="0.103356"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.661134" level="INFO">${next} = 18257</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.660362" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.662435" level="INFO">${current_port} = 18257</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:55.661553" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.551320" elapsed="0.111412"/>
</kw>
<msg time="2026-04-11T23:14:55.662820" level="INFO">Repeating keyword, round 428/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:55.664004" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:55.663898" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.663879" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.664360" level="INFO">${current_Date} = 2026-04-11 23:14:55.664</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:55.664209" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.664842" level="INFO">${ellapsed_seconds} = 2648.582</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:55.664527" elapsed="0.000341"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.665362" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:55.664937" elapsed="0.000479"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.664917" elapsed="0.000523"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:55.663660" elapsed="0.001826"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.666031" level="INFO">${number} = 428</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.665667" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.667522" level="INFO">${number} = 428</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.667122" elapsed="0.000427"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.669161" level="INFO">${device-port} = 18257</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.668549" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.671542" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:55.713972" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.714200" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.671447" elapsed="0.042811"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.715200" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:55.715334" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:55.714426" elapsed="0.001103">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:55.714381" elapsed="0.001276">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:55.671184" elapsed="0.044748">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:55.670801" elapsed="0.045270"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.717071" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18257 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:55.772230" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.772453" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.716531" elapsed="0.055979"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:55.772737" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:55.773508" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:55.670016" elapsed="0.103743"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:55.774344" elapsed="0.001830"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:55.669388" elapsed="0.107018"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:55.668214" elapsed="0.108334"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:55.667728" elapsed="0.108952"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.666680" elapsed="0.110128"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:55.666211" elapsed="0.110695"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.778025" level="INFO">${next} = 18258</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.777248" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.779242" level="INFO">${current_port} = 18258</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:55.778448" elapsed="0.000852"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.663099" elapsed="0.116279"/>
</kw>
<msg time="2026-04-11T23:14:55.779431" level="INFO">Repeating keyword, round 429/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:55.780984" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:55.780828" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.780801" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.781526" level="INFO">${current_Date} = 2026-04-11 23:14:55.781</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:55.781312" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.782487" level="INFO">${ellapsed_seconds} = 2648.465</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:55.781788" elapsed="0.000749"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.783016" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:55.782693" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.782667" elapsed="0.000455"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:55.780478" elapsed="0.002708"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.783912" level="INFO">${number} = 429</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.783385" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.785892" level="INFO">${number} = 429</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.785404" elapsed="0.000525"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.788229" level="INFO">${device-port} = 18258</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.787339" elapsed="0.000928"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.791440" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:55.825957" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.826192" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.791345" elapsed="0.034907"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.827161" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:55.827292" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:55.826415" elapsed="0.000981">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:55.826371" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:55.791055" elapsed="0.036751">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:55.790462" elapsed="0.037554"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.829012" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18258 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:55.884268" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.884496" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.828474" elapsed="0.056078"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:55.884777" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:14:55.885646" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:55.789385" elapsed="0.096483"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:55.886478" elapsed="0.001794"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:55.788548" elapsed="0.099970"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:55.786871" elapsed="0.101828"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:55.786144" elapsed="0.102667"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.784795" elapsed="0.104143"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:55.784159" elapsed="0.104874"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.890195" level="INFO">${next} = 18259</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.889374" elapsed="0.000882"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.891417" level="INFO">${current_port} = 18259</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:55.890743" elapsed="0.000737"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.779712" elapsed="0.111852"/>
</kw>
<msg time="2026-04-11T23:14:55.891647" level="INFO">Repeating keyword, round 430/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:55.893413" elapsed="0.000027"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:55.893245" elapsed="0.000238"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.893214" elapsed="0.000302"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.894015" level="INFO">${current_Date} = 2026-04-11 23:14:55.894</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:55.893759" elapsed="0.000295"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:55.895199" level="INFO">${ellapsed_seconds} = 2648.352</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:55.894277" elapsed="0.000963"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.895739" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:55.895349" elapsed="0.000486"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:55.895319" elapsed="0.000552"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:55.892861" elapsed="0.003085"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.896752" level="INFO">${number} = 430</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.896168" elapsed="0.000626"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.899039" level="INFO">${number} = 430</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.898488" elapsed="0.000579"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.900726" level="INFO">${device-port} = 18259</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.900102" elapsed="0.000651"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.903657" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:55.933796" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.934082" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.903500" elapsed="0.030620"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:55.934922" elapsed="0.000042"/>
</kw>
<msg time="2026-04-11T23:14:55.935011" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:55.934293" elapsed="0.000884">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:55.934239" elapsed="0.001000">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:55.903135" elapsed="0.032298">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:55.902620" elapsed="0.032899"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:55.936192" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18259 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:55.991673" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:55.991981" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:55.935872" elapsed="0.056168"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:55.992282" elapsed="0.000159"/>
</return>
<msg time="2026-04-11T23:14:55.993115" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:55.901618" elapsed="0.091706"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:55.993976" elapsed="0.002053"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:55.900964" elapsed="0.095295"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:55.899762" elapsed="0.096637"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:55.899226" elapsed="0.097274"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.897820" elapsed="0.098839"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:55.897101" elapsed="0.099655"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.997902" level="INFO">${next} = 18260</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:55.997094" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:55.999204" level="INFO">${current_port} = 18260</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:55.998311" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.891957" elapsed="0.107466"/>
</kw>
<msg time="2026-04-11T23:14:55.999509" level="INFO">Repeating keyword, round 431/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:56.002162" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:56.001920" elapsed="0.000334"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.001856" elapsed="0.000447"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.003091" level="INFO">${current_Date} = 2026-04-11 23:14:56.003</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:56.002806" elapsed="0.000311"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.003844" level="INFO">${ellapsed_seconds} = 2648.243</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:56.003263" elapsed="0.000607"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.004187" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:56.003942" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.003924" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:56.001300" elapsed="0.003011"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.004836" level="INFO">${number} = 431</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.004453" elapsed="0.000409"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.006293" level="INFO">${number} = 431</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.005952" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.007970" level="INFO">${device-port} = 18260</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.007344" elapsed="0.000654"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.010356" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:56.046430" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.046937" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.010255" elapsed="0.036770"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.048251" elapsed="0.000069"/>
</kw>
<msg time="2026-04-11T23:14:56.048406" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:56.047312" elapsed="0.001218">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:56.047235" elapsed="0.001425">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:56.009989" elapsed="0.039002">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:56.009600" elapsed="0.039696"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.050447" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18260 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:56.103960" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.104171" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.049874" elapsed="0.054352"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:56.104413" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:56.105238" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:56.008820" elapsed="0.096623"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:56.106071" elapsed="0.001834"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:56.008205" elapsed="0.099957"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:56.007008" elapsed="0.101296"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:56.006482" elapsed="0.101931"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.005476" elapsed="0.103074"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:56.005017" elapsed="0.103665"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.109835" level="INFO">${next} = 18261</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.109041" elapsed="0.000852"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.111181" level="INFO">${current_port} = 18261</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:56.110248" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:55.999989" elapsed="0.111329"/>
</kw>
<msg time="2026-04-11T23:14:56.111373" level="INFO">Repeating keyword, round 432/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:56.112988" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:56.112839" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.112813" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.113503" level="INFO">${current_Date} = 2026-04-11 23:14:56.113</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:56.113277" elapsed="0.000263"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.114587" level="INFO">${ellapsed_seconds} = 2648.133</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:56.113788" elapsed="0.000840"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.115062" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:56.114729" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.114703" elapsed="0.000471"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:56.112481" elapsed="0.002756"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.115964" level="INFO">${number} = 432</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.115435" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.117997" level="INFO">${number} = 432</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.117476" elapsed="0.000558"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.120414" level="INFO">${device-port} = 18261</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.119551" elapsed="0.000901"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.123625" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:56.157610" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.157835" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.123509" elapsed="0.034386"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.158795" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:56.158927" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:56.158055" elapsed="0.001060">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:56.158011" elapsed="0.001200">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:56.123239" elapsed="0.036240">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:56.122740" elapsed="0.036910"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.160619" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18261 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:56.215603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.215873" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.160104" elapsed="0.055824"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:56.216139" elapsed="0.000161"/>
</return>
<msg time="2026-04-11T23:14:56.216980" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:56.121615" elapsed="0.095573"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:56.217831" elapsed="0.001862"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:56.120758" elapsed="0.099168"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:56.119051" elapsed="0.101021"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:56.118251" elapsed="0.101921"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.116860" elapsed="0.103436"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:56.116211" elapsed="0.104181"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.221517" level="INFO">${next} = 18262</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.220769" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.222873" level="INFO">${current_port} = 18262</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:56.221974" elapsed="0.000994"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.111666" elapsed="0.111428"/>
</kw>
<msg time="2026-04-11T23:14:56.223179" level="INFO">Repeating keyword, round 433/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:56.225819" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:56.225491" elapsed="0.000422"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.225448" elapsed="0.000514"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.226821" level="INFO">${current_Date} = 2026-04-11 23:14:56.227</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:56.226372" elapsed="0.000510"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.227651" level="INFO">${ellapsed_seconds} = 2648.019</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:56.227092" elapsed="0.000586"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.227995" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:56.227751" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.227732" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:56.224942" elapsed="0.003177"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.228641" level="INFO">${number} = 433</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.228262" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.230072" level="INFO">${number} = 433</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.229738" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.231823" level="INFO">${device-port} = 18262</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.231124" elapsed="0.000726"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.234194" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:56.265494" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.265739" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.234092" elapsed="0.031705"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.266708" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:56.266843" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:56.265957" elapsed="0.000996">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:56.265914" elapsed="0.001142">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:56.233820" elapsed="0.033534">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:56.233423" elapsed="0.034134"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.268537" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18262 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:56.323257" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.323460" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.268045" elapsed="0.055469"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:56.323734" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:56.324483" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:56.232664" elapsed="0.092066"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:56.325300" elapsed="0.001719"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:56.232056" elapsed="0.095103"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:56.230791" elapsed="0.096456"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:56.230252" elapsed="0.097056"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.229273" elapsed="0.098113"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:56.228826" elapsed="0.098620"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.328140" level="INFO">${next} = 18263</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.327682" elapsed="0.000494"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.328966" level="INFO">${current_port} = 18263</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:56.328405" elapsed="0.000618"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.223650" elapsed="0.105451"/>
</kw>
<msg time="2026-04-11T23:14:56.329156" level="INFO">Repeating keyword, round 434/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:56.330764" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:56.330604" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.330558" elapsed="0.000296"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.331260" level="INFO">${current_Date} = 2026-04-11 23:14:56.331</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:56.331048" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.332207" level="INFO">${ellapsed_seconds} = 2647.915</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:56.331496" elapsed="0.000748"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.332716" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:56.332343" elapsed="0.000449"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.332317" elapsed="0.000507"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:56.330201" elapsed="0.002686"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.333599" level="INFO">${number} = 434</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.333083" elapsed="0.000554"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.335555" level="INFO">${number} = 434</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.335096" elapsed="0.000515"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.337895" level="INFO">${device-port} = 18263</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.337042" elapsed="0.000890"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.340605" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:56.373529" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.373783" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.340495" elapsed="0.033345"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.374769" elapsed="0.000082"/>
</kw>
<msg time="2026-04-11T23:14:56.374940" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:56.374002" elapsed="0.001130">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:56.373957" elapsed="0.001295">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:56.340223" elapsed="0.035316">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:56.339829" elapsed="0.035886"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.376697" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18263 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:56.435668" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.435889" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.376178" elapsed="0.059767"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:56.436137" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:14:56.436944" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:56.339053" elapsed="0.098099"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:56.437772" elapsed="0.002073"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:56.338210" elapsed="0.101868"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:56.336501" elapsed="0.103715"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:56.335826" elapsed="0.104489"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.334467" elapsed="0.105974"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:56.333847" elapsed="0.106689"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.441682" level="INFO">${next} = 18264</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.440905" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.443044" level="INFO">${current_port} = 18264</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:56.442190" elapsed="0.000916"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.329413" elapsed="0.113778"/>
</kw>
<msg time="2026-04-11T23:14:56.443248" level="INFO">Repeating keyword, round 435/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:56.444959" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:56.444793" elapsed="0.000227"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.444764" elapsed="0.000289"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.445561" level="INFO">${current_Date} = 2026-04-11 23:14:56.445</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:56.445326" elapsed="0.000325"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.446689" level="INFO">${ellapsed_seconds} = 2647.801</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:56.445866" elapsed="0.000863"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.447183" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:56.446837" elapsed="0.000426"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.446809" elapsed="0.000488"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:56.444409" elapsed="0.002955"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.448129" level="INFO">${number} = 435</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.447596" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.450259" level="INFO">${number} = 435</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.449766" elapsed="0.000547"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.452191" level="INFO">${device-port} = 18264</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.451561" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.454602" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:56.489802" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.490061" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.454485" elapsed="0.035634"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.491195" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:56.491329" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:56.490307" elapsed="0.001130">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:56.490254" elapsed="0.001275">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:56.454195" elapsed="0.037642">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:56.453808" elapsed="0.038269"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.493095" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18264 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:56.551905" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.552173" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.492550" elapsed="0.059678"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:56.552451" elapsed="0.000198"/>
</return>
<msg time="2026-04-11T23:14:56.553284" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:56.453027" elapsed="0.100466"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:56.554139" elapsed="0.001810"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:56.452420" elapsed="0.103756"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:56.451225" elapsed="0.105093"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:56.450609" elapsed="0.105807"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.449076" elapsed="0.107467"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:56.448392" elapsed="0.108280"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.557798" level="INFO">${next} = 18265</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.557012" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.559288" level="INFO">${current_port} = 18265</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:56.558204" elapsed="0.001176"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.443546" elapsed="0.115958"/>
</kw>
<msg time="2026-04-11T23:14:56.559618" level="INFO">Repeating keyword, round 436/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:56.562222" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:56.561972" elapsed="0.000342"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.561921" elapsed="0.000442"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.563084" level="INFO">${current_Date} = 2026-04-11 23:14:56.563</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:56.562844" elapsed="0.000272"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.564722" level="INFO">${ellapsed_seconds} = 2647.683</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:56.563262" elapsed="0.001487"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.565062" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:56.564821" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.564802" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:56.561343" elapsed="0.003842"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.565733" level="INFO">${number} = 436</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.565337" elapsed="0.000423"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.567179" level="INFO">${number} = 436</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.566840" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.568825" level="INFO">${device-port} = 18265</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.568210" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.571216" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:56.605471" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.605614" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.571117" elapsed="0.034525"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.606107" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:56.606167" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:56.605738" elapsed="0.000547">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:56.605711" elapsed="0.000620">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:56.570852" elapsed="0.035641">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:56.570446" elapsed="0.036113"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.607027" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18265 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:56.667488" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.667662" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.606799" elapsed="0.060889"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:56.667811" elapsed="0.000082"/>
</return>
<msg time="2026-04-11T23:14:56.668192" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:56.569676" elapsed="0.098613"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:56.668605" elapsed="0.000835"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:56.569059" elapsed="0.100485"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:56.567873" elapsed="0.101756"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:56.567361" elapsed="0.102316"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.566357" elapsed="0.103379"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:56.565912" elapsed="0.103870"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.670294" level="INFO">${next} = 18266</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.669937" elapsed="0.000384"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.670927" level="INFO">${current_port} = 18266</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:56.670517" elapsed="0.000452"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.560060" elapsed="0.110966"/>
</kw>
<msg time="2026-04-11T23:14:56.671067" level="INFO">Repeating keyword, round 437/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:56.672250" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:56.672139" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.672118" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.672719" level="INFO">${current_Date} = 2026-04-11 23:14:56.673</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:56.672534" elapsed="0.000211"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.673207" level="INFO">${ellapsed_seconds} = 2647.573</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:56.672891" elapsed="0.000342"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.673799" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:56.673518" elapsed="0.000335"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.673284" elapsed="0.000592"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:56.671894" elapsed="0.002029"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.674439" level="INFO">${number} = 437</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.674068" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.675869" level="INFO">${number} = 437</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.675517" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.677499" level="INFO">${device-port} = 18266</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.676903" elapsed="0.000622"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.679930" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:56.717455" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.717623" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.679830" elapsed="0.037822"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.718148" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:14:56.718212" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:56.717758" elapsed="0.000506">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:56.717727" elapsed="0.000580">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:56.679546" elapsed="0.038914">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:56.679162" elapsed="0.039435"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.719074" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18266 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:56.779495" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.779684" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.718839" elapsed="0.060872"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:56.779847" elapsed="0.000090"/>
</return>
<msg time="2026-04-11T23:14:56.780244" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:56.678360" elapsed="0.101979"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:56.780666" elapsed="0.000827"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:56.677770" elapsed="0.103844"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:56.676548" elapsed="0.105133"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:56.676050" elapsed="0.105679"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.675081" elapsed="0.106707"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:56.674636" elapsed="0.107197"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.782351" level="INFO">${next} = 18267</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.781990" elapsed="0.000387"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.782991" level="INFO">${current_port} = 18267</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:56.782592" elapsed="0.000441"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.671286" elapsed="0.111805"/>
</kw>
<msg time="2026-04-11T23:14:56.783131" level="INFO">Repeating keyword, round 438/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:56.784324" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:56.784213" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.784190" elapsed="0.000199"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.784721" level="INFO">${current_Date} = 2026-04-11 23:14:56.785</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:56.784533" elapsed="0.000215"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.785214" level="INFO">${ellapsed_seconds} = 2647.461</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:56.784894" elapsed="0.000346"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.785815" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:56.785310" elapsed="0.000561"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.785292" elapsed="0.000604"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:56.783965" elapsed="0.001984"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.786473" level="INFO">${number} = 438</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.786093" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.787949" level="INFO">${number} = 438</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.787552" elapsed="0.000424"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.789628" level="INFO">${device-port} = 18267</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.788996" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.792021" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:56.829606" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.829749" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.791912" elapsed="0.037865"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.830264" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:56.830327" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:56.829881" elapsed="0.000593">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:56.829850" elapsed="0.000670">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:56.791641" elapsed="0.039030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:56.791232" elapsed="0.039507"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.831210" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18267 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:56.888063" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.888368" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.830976" elapsed="0.057449"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:56.888695" elapsed="0.000162"/>
</return>
<msg time="2026-04-11T23:14:56.889487" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:56.790457" elapsed="0.099266"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:56.890366" elapsed="0.001766"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:56.789858" elapsed="0.102502"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:56.788650" elapsed="0.103851"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:56.788133" elapsed="0.104496"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.787114" elapsed="0.105643"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:56.786667" elapsed="0.106187"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.893979" level="INFO">${next} = 18268</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.893193" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.895204" level="INFO">${current_port} = 18268</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:56.894433" elapsed="0.000834"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.783355" elapsed="0.111997"/>
</kw>
<msg time="2026-04-11T23:14:56.895412" level="INFO">Repeating keyword, round 439/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:56.897135" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:56.896975" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.896945" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.897812" level="INFO">${current_Date} = 2026-04-11 23:14:56.898</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:56.897517" elapsed="0.000334"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:56.898561" level="INFO">${ellapsed_seconds} = 2647.348</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:56.898066" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.899410" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:56.898728" elapsed="0.000763"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:56.898701" elapsed="0.000825"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:56.896618" elapsed="0.002997"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.900364" level="INFO">${number} = 439</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.899829" elapsed="0.000573"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.902535" level="INFO">${number} = 439</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.902016" elapsed="0.000578"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:56.905039" level="INFO">${device-port} = 18268</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:56.904138" elapsed="0.000941"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.908095" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:56.946067" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:56.946392" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.907988" elapsed="0.038465"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:56.947508" elapsed="0.000089"/>
</kw>
<msg time="2026-04-11T23:14:56.947679" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:56.946708" elapsed="0.001083">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:56.946642" elapsed="0.001240">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:56.907718" elapsed="0.040448">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:56.907310" elapsed="0.041099"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:56.949462" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18268 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:57.007550" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.007788" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:56.948957" elapsed="0.058885"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:57.008023" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:14:57.008838" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:56.906310" elapsed="0.102731"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:57.009650" elapsed="0.002882"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:56.905374" elapsed="0.107421"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:56.903625" elapsed="0.109315"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:56.902828" elapsed="0.110212"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.901314" elapsed="0.111850"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:56.900654" elapsed="0.112608"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.014343" level="INFO">${next} = 18269</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.013729" elapsed="0.000651"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.015178" level="INFO">${current_port} = 18269</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:57.014628" elapsed="0.000609"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:56.895749" elapsed="0.119568"/>
</kw>
<msg time="2026-04-11T23:14:57.015374" level="INFO">Repeating keyword, round 440/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:57.017010" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:57.016855" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.016827" elapsed="0.000273"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.017528" level="INFO">${current_Date} = 2026-04-11 23:14:57.017</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:57.017304" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.018237" level="INFO">${ellapsed_seconds} = 2647.229</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:57.017788" elapsed="0.000485"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.019033" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:57.018371" elapsed="0.000740"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.018345" elapsed="0.000800"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:57.016501" elapsed="0.002710"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.019968" level="INFO">${number} = 440</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.019411" elapsed="0.000594"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.021970" level="INFO">${number} = 440</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.021475" elapsed="0.000532"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.023957" level="INFO">${device-port} = 18269</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.023328" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.026346" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:57.057801" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.058033" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.026248" elapsed="0.031845"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.058995" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:57.059125" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:57.058257" elapsed="0.001059">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:57.058213" elapsed="0.001200">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:57.025956" elapsed="0.033759">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:57.025557" elapsed="0.034300"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.060842" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18269 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:57.115846" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.116051" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.060308" elapsed="0.055797"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:57.116287" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:14:57.117087" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:57.024798" elapsed="0.092495"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:57.117929" elapsed="0.001751"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:57.024194" elapsed="0.095716"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:57.022974" elapsed="0.097075"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:57.022256" elapsed="0.097890"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.020859" elapsed="0.099410"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:57.020215" elapsed="0.100149"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.121468" level="INFO">${next} = 18270</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.120734" elapsed="0.000794"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.122838" level="INFO">${current_port} = 18270</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:57.121962" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.015697" elapsed="0.107344"/>
</kw>
<msg time="2026-04-11T23:14:57.123094" level="INFO">Repeating keyword, round 441/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:57.124636" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:57.124464" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.124430" elapsed="0.000295"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.125181" level="INFO">${current_Date} = 2026-04-11 23:14:57.125</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:57.124965" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.126187" level="INFO">${ellapsed_seconds} = 2647.121</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:57.125418" elapsed="0.000806"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.126672" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:57.126324" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.126298" elapsed="0.000489"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:57.124131" elapsed="0.002721"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.127555" level="INFO">${number} = 441</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.127056" elapsed="0.000581"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.129567" level="INFO">${number} = 441</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.129102" elapsed="0.000522"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.131883" level="INFO">${device-port} = 18270</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.131035" elapsed="0.000885"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.135145" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:57.165798" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.166029" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.135046" elapsed="0.031040"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.166980" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:57.167111" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:57.166247" elapsed="0.000966">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:57.166203" elapsed="0.001098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:57.134696" elapsed="0.032865">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:57.134130" elapsed="0.033669"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.168788" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18270 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:57.223659" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.223865" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.168260" elapsed="0.055659"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:57.224098" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:57.224879" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:57.133037" elapsed="0.092043"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:57.225684" elapsed="0.001692"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:57.132199" elapsed="0.095432"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:57.130546" elapsed="0.097232"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:57.129840" elapsed="0.098036"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.128471" elapsed="0.099527"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:57.127859" elapsed="0.100238"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.229215" level="INFO">${next} = 18271</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.228443" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.230533" level="INFO">${current_port} = 18271</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:57.229669" elapsed="0.000993"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.123352" elapsed="0.107436"/>
</kw>
<msg time="2026-04-11T23:14:57.230874" level="INFO">Repeating keyword, round 442/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:57.233345" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:57.233108" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.233066" elapsed="0.000421"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.234180" level="INFO">${current_Date} = 2026-04-11 23:14:57.234</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:57.233955" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.234865" level="INFO">${ellapsed_seconds} = 2647.012</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:57.234349" elapsed="0.000542"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.235226" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:57.234962" elapsed="0.000316"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.234943" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:57.232541" elapsed="0.002806"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.235864" level="INFO">${number} = 442</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.235489" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.237271" level="INFO">${number} = 442</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.236936" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.238952" level="INFO">${device-port} = 18271</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.238340" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.241288" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:57.273923" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.274136" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.241191" elapsed="0.033003"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.275087" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:14:57.275217" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:57.274355" elapsed="0.001048">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:57.274311" elapsed="0.001188">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:57.240921" elapsed="0.034876">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:57.240519" elapsed="0.035419"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.276927" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18271 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:57.331899" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.332102" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.276401" elapsed="0.055757"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:57.332335" elapsed="0.000134"/>
</return>
<msg time="2026-04-11T23:14:57.333113" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:57.239779" elapsed="0.093539"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:57.333939" elapsed="0.001703"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:57.239178" elapsed="0.096693"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:57.237998" elapsed="0.098012"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:57.237450" elapsed="0.098657"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.236476" elapsed="0.099754"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:57.236040" elapsed="0.100284"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.337426" level="INFO">${next} = 18272</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.336695" elapsed="0.000792"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.338759" level="INFO">${current_port} = 18272</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:57.337894" elapsed="0.000959"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.231287" elapsed="0.107691"/>
</kw>
<msg time="2026-04-11T23:14:57.339062" level="INFO">Repeating keyword, round 443/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:57.341524" elapsed="0.000149"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:57.341288" elapsed="0.000455"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.341245" elapsed="0.000546"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.342262" level="INFO">${current_Date} = 2026-04-11 23:14:57.342</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:57.342109" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.342945" level="INFO">${ellapsed_seconds} = 2646.904</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:57.342432" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.343272" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:57.343044" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.343025" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:57.340747" elapsed="0.002648"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.343909" level="INFO">${number} = 443</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.343537" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.345313" level="INFO">${number} = 443</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.344977" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.346968" level="INFO">${device-port} = 18272</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.346360" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.349408" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:57.385879" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.386115" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.349313" elapsed="0.036862"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.387088" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:57.387221" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:57.386341" elapsed="0.000987">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:57.386296" elapsed="0.001136">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:57.349033" elapsed="0.038702">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:57.348652" elapsed="0.039320"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.388995" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18272 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:57.476006" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.476232" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.388437" elapsed="0.087852"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:57.476479" elapsed="0.000195"/>
</return>
<msg time="2026-04-11T23:14:57.477307" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:57.347797" elapsed="0.129745"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:57.478191" elapsed="0.001771"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:57.347193" elapsed="0.132997"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:57.346028" elapsed="0.134304"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:57.345493" elapsed="0.134937"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.344521" elapsed="0.136030"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:57.344086" elapsed="0.136596"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.481851" level="INFO">${next} = 18273</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.481025" elapsed="0.000884"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.483171" level="INFO">${current_port} = 18273</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:57.482274" elapsed="0.000989"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.339469" elapsed="0.143917"/>
</kw>
<msg time="2026-04-11T23:14:57.483472" level="INFO">Repeating keyword, round 444/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:57.486045" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:57.485838" elapsed="0.000249"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.485784" elapsed="0.000324"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.486402" level="INFO">${current_Date} = 2026-04-11 23:14:57.486</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:57.486249" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.487118" level="INFO">${ellapsed_seconds} = 2646.76</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:57.486608" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.487445" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:57.487216" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.487197" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:57.485193" elapsed="0.002387"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.488084" level="INFO">${number} = 444</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.487725" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.489497" level="INFO">${number} = 444</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.489148" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.491262" level="INFO">${device-port} = 18273</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.490547" elapsed="0.000742"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.493642" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:57.525712" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.525929" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.493530" elapsed="0.032458"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.526877" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:14:57.527010" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:57.526151" elapsed="0.001036">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:57.526107" elapsed="0.001177">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:57.493246" elapsed="0.034305">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:57.492859" elapsed="0.034867"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.528708" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18273 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:57.583802" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.584028" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.528188" elapsed="0.055896"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:57.584279" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:14:57.585105" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:57.492089" elapsed="0.093302"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:57.586101" elapsed="0.001784"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:57.491494" elapsed="0.096620"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:57.490208" elapsed="0.098047"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:57.489699" elapsed="0.098656"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.488712" elapsed="0.099770"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:57.488258" elapsed="0.100349"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.589795" level="INFO">${next} = 18274</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.588949" elapsed="0.000905"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.590739" level="INFO">${current_port} = 18274</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:57.590143" elapsed="0.000676"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.483917" elapsed="0.106986"/>
</kw>
<msg time="2026-04-11T23:14:57.590962" level="INFO">Repeating keyword, round 445/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:57.592691" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:57.592510" elapsed="0.000243"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.592481" elapsed="0.000305"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.593326" level="INFO">${current_Date} = 2026-04-11 23:14:57.593</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:57.593061" elapsed="0.000304"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.594400" level="INFO">${ellapsed_seconds} = 2646.653</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:57.593629" elapsed="0.000810"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.594919" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:57.594550" elapsed="0.000449"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.594522" elapsed="0.000512"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:57.592158" elapsed="0.002943"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.595867" level="INFO">${number} = 445</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.595312" elapsed="0.000594"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.598019" level="INFO">${number} = 445</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.597476" elapsed="0.000581"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.600426" level="INFO">${device-port} = 18274</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.599525" elapsed="0.000940"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.603359" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:57.637859" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.638079" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.603258" elapsed="0.034879"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.639049" elapsed="0.000068"/>
</kw>
<msg time="2026-04-11T23:14:57.639194" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:57.638305" elapsed="0.000995">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:57.638259" elapsed="0.001129">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:57.602989" elapsed="0.036700">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:57.602603" elapsed="0.037311"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.640904" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18274 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:57.695423" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.695614" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.640382" elapsed="0.055271"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:57.695794" elapsed="0.000105"/>
</return>
<msg time="2026-04-11T23:14:57.696319" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:57.601738" elapsed="0.094717"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:57.696890" elapsed="0.001192"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:57.600786" elapsed="0.097462"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:57.599034" elapsed="0.099310"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:57.598285" elapsed="0.100127"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.596808" elapsed="0.101688"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:57.596132" elapsed="0.102432"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.699328" level="INFO">${next} = 18275</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.698821" elapsed="0.000545"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.700249" level="INFO">${current_port} = 18275</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:57.699672" elapsed="0.000638"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.591265" elapsed="0.109128"/>
</kw>
<msg time="2026-04-11T23:14:57.700453" level="INFO">Repeating keyword, round 446/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:57.702220" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:57.702053" elapsed="0.000229"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.702023" elapsed="0.000291"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.702796" level="INFO">${current_Date} = 2026-04-11 23:14:57.703</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:57.702531" elapsed="0.000304"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.703877" level="INFO">${ellapsed_seconds} = 2646.543</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:57.703049" elapsed="0.000867"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.704372" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:57.704023" elapsed="0.000428"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.703995" elapsed="0.000491"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:57.701691" elapsed="0.002862"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.705333" level="INFO">${number} = 446</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.704787" elapsed="0.000585"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.707433" level="INFO">${number} = 446</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.706942" elapsed="0.000530"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.709890" level="INFO">${device-port} = 18275</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.708991" elapsed="0.000938"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.713429" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:57.745535" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.745733" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.713284" elapsed="0.032489"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.746412" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:14:57.746500" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:57.745905" elapsed="0.000768">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:57.745868" elapsed="0.000871">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:57.712839" elapsed="0.034092">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:57.712250" elapsed="0.034775"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.747720" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18275 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:57.803338" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.803548" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.747354" elapsed="0.056257"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:57.803777" elapsed="0.000114"/>
</return>
<msg time="2026-04-11T23:14:57.804315" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:57.711111" elapsed="0.093341"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:57.804932" elapsed="0.001188"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:57.710225" elapsed="0.096046"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:57.708449" elapsed="0.097917"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:57.707722" elapsed="0.098715"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.706272" elapsed="0.100249"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:57.705616" elapsed="0.101000"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.807353" level="INFO">${next} = 18276</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.806847" elapsed="0.000545"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.808232" level="INFO">${current_port} = 18276</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:57.807652" elapsed="0.000641"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.700775" elapsed="0.107602"/>
</kw>
<msg time="2026-04-11T23:14:57.808436" level="INFO">Repeating keyword, round 447/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:57.810257" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:57.810080" elapsed="0.000240"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.810045" elapsed="0.000307"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.810893" level="INFO">${current_Date} = 2026-04-11 23:14:57.811</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:57.810653" elapsed="0.000278"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.811942" level="INFO">${ellapsed_seconds} = 2646.435</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:57.811150" elapsed="0.000831"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.812435" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:57.812086" elapsed="0.000428"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.812059" elapsed="0.000490"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:57.809708" elapsed="0.002931"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.813399" level="INFO">${number} = 447</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.812868" elapsed="0.000569"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.815546" level="INFO">${number} = 447</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.815053" elapsed="0.000552"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.818008" level="INFO">${device-port} = 18276</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.817103" elapsed="0.000944"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.821433" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:57.853358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.853534" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.821332" elapsed="0.032264"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.854239" elapsed="0.000038"/>
</kw>
<msg time="2026-04-11T23:14:57.854327" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:57.853730" elapsed="0.000670">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:57.853690" elapsed="0.000769">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:57.821066" elapsed="0.033604">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:57.820490" elapsed="0.034344"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.855501" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18276 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:57.911354" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.911557" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.855167" elapsed="0.056454"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:57.911786" elapsed="0.000115"/>
</return>
<msg time="2026-04-11T23:14:57.912334" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:57.819247" elapsed="0.093224"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:57.912951" elapsed="0.001204"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:57.818345" elapsed="0.095962"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:57.816563" elapsed="0.097838"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:57.815838" elapsed="0.098629"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.814377" elapsed="0.100177"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:57.813721" elapsed="0.100922"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.915377" level="INFO">${next} = 18277</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.914870" elapsed="0.000545"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.916251" level="INFO">${current_port} = 18277</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:57.915678" elapsed="0.000634"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.808765" elapsed="0.107630"/>
</kw>
<msg time="2026-04-11T23:14:57.916453" level="INFO">Repeating keyword, round 448/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:57.918269" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:57.918103" elapsed="0.000229"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.918074" elapsed="0.000291"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.918840" level="INFO">${current_Date} = 2026-04-11 23:14:57.919</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:57.918594" elapsed="0.000285"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:57.921039" level="INFO">${ellapsed_seconds} = 2646.327</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:57.919091" elapsed="0.001988"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.921535" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:57.921185" elapsed="0.000487"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:57.921157" elapsed="0.000551"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:57.917733" elapsed="0.004043"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.922520" level="INFO">${number} = 448</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.921985" elapsed="0.000573"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.924661" level="INFO">${number} = 448</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.924133" elapsed="0.000568"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:57.926896" level="INFO">${device-port} = 18277</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:57.926271" elapsed="0.000653"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.929307" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:57.961047" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:57.961289" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.929205" elapsed="0.032124"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:57.962105" elapsed="0.000042"/>
</kw>
<msg time="2026-04-11T23:14:57.962198" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:57.961488" elapsed="0.000879">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:57.961441" elapsed="0.000992">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:57.928934" elapsed="0.033723">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:57.928508" elapsed="0.034247"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:57.963443" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18277 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:58.019191" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.019326" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:57.963102" elapsed="0.056259"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:58.019486" elapsed="0.000121"/>
</return>
<msg time="2026-04-11T23:14:58.020020" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:57.927744" elapsed="0.092414"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:58.020557" elapsed="0.001202"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:57.927125" elapsed="0.094787"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:57.925879" elapsed="0.096126"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:57.924930" elapsed="0.097143"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.923461" elapsed="0.098696"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:57.922804" elapsed="0.099416"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.022972" level="INFO">${next} = 18278</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.022447" elapsed="0.000563"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.023834" level="INFO">${current_port} = 18278</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:58.023245" elapsed="0.000651"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:57.916827" elapsed="0.107152"/>
</kw>
<msg time="2026-04-11T23:14:58.024037" level="INFO">Repeating keyword, round 449/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:58.025843" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:58.025684" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.025657" elapsed="0.000280"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.026442" level="INFO">${current_Date} = 2026-04-11 23:14:58.026</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:58.026206" elapsed="0.000273"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.027170" level="INFO">${ellapsed_seconds} = 2646.22</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:58.026712" elapsed="0.000497"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.027978" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:58.027622" elapsed="0.000435"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.027285" elapsed="0.000807"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:58.025314" elapsed="0.002847"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.029014" level="INFO">${number} = 449</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.028371" elapsed="0.000670"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.030431" level="INFO">${number} = 449</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.030092" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.032188" level="INFO">${device-port} = 18278</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.031595" elapsed="0.000620"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.034599" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:58.073222" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.073357" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.034489" elapsed="0.038904"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.073951" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:58.074033" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:58.073493" elapsed="0.000603">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:58.073466" elapsed="0.000686">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:58.034225" elapsed="0.040090">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:58.033842" elapsed="0.040605"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.075073" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18278 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:58.131402" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.131531" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.074765" elapsed="0.056800"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:58.131705" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:58.132171" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:58.033060" elapsed="0.099254"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:58.132708" elapsed="0.001068"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:58.032419" elapsed="0.101499"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:58.031126" elapsed="0.102879"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:58.030629" elapsed="0.103436"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.029653" elapsed="0.104489"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:58.029194" elapsed="0.105006"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.134893" level="INFO">${next} = 18279</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.134411" elapsed="0.000518"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.135682" level="INFO">${current_port} = 18279</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:58.135146" elapsed="0.000594"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.024318" elapsed="0.111499"/>
</kw>
<msg time="2026-04-11T23:14:58.135871" level="INFO">Repeating keyword, round 450/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:58.137508" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:58.137351" elapsed="0.000264"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.137324" elapsed="0.000327"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.138059" level="INFO">${current_Date} = 2026-04-11 23:14:58.138</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:58.137850" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.138732" level="INFO">${ellapsed_seconds} = 2646.108</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:58.138293" elapsed="0.000475"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.139443" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:58.138866" elapsed="0.000653"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.138839" elapsed="0.000713"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:58.137017" elapsed="0.002623"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.140383" level="INFO">${number} = 450</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.139841" elapsed="0.000579"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.142010" level="INFO">${number} = 450</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.141678" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.143673" level="INFO">${device-port} = 18279</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.143064" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.146038" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:58.181200" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.181335" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.145942" elapsed="0.035430"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.181933" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:58.182015" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:58.181473" elapsed="0.000653">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:58.181446" elapsed="0.000740">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:58.145675" elapsed="0.036676">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:58.145276" elapsed="0.037162"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.183059" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18279 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:58.239328" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.239457" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.182756" elapsed="0.056735"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:58.239634" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:58.240107" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:58.144497" elapsed="0.095760"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:58.240645" elapsed="0.001071"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:58.143900" elapsed="0.097958"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:58.142729" elapsed="0.099217"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:58.142196" elapsed="0.099810"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.141205" elapsed="0.100878"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:58.140655" elapsed="0.101486"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.242847" level="INFO">${next} = 18280</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.242351" elapsed="0.000534"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.243676" level="INFO">${current_port} = 18280</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:58.243109" elapsed="0.000630"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.136128" elapsed="0.107691"/>
</kw>
<msg time="2026-04-11T23:14:58.243871" level="INFO">Repeating keyword, round 451/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:58.245396" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:58.245248" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.245221" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.245959" level="INFO">${current_Date} = 2026-04-11 23:14:58.246</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:58.245747" elapsed="0.000247"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.246627" level="INFO">${ellapsed_seconds} = 2646.0</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:58.246195" elapsed="0.000469"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.247336" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:58.246762" elapsed="0.000649"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.246737" elapsed="0.000708"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:58.244920" elapsed="0.002589"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.248267" level="INFO">${number} = 451</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.247727" elapsed="0.000576"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.249941" level="INFO">${number} = 451</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.249607" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.251542" level="INFO">${device-port} = 18280</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.250953" elapsed="0.000629"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.253934" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:58.289373" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.289505" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.253838" elapsed="0.035704"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.290097" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:14:58.290180" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:58.289668" elapsed="0.000577">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:58.289641" elapsed="0.000659">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:58.253553" elapsed="0.036911">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:58.253176" elapsed="0.037436"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.291202" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18280 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:58.347866" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.348012" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.290900" elapsed="0.057147"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:58.348161" elapsed="0.000087"/>
</return>
<msg time="2026-04-11T23:14:58.348666" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:58.252392" elapsed="0.096402"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:58.349154" elapsed="0.001069"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:58.251784" elapsed="0.098581"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:58.250620" elapsed="0.099833"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:58.250123" elapsed="0.100390"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.249157" elapsed="0.101454"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:58.248515" elapsed="0.102158"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.351347" level="INFO">${next} = 18281</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.350889" elapsed="0.000494"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.352164" level="INFO">${current_port} = 18281</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:58.351622" elapsed="0.000600"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.244141" elapsed="0.108160"/>
</kw>
<msg time="2026-04-11T23:14:58.352354" level="INFO">Repeating keyword, round 452/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:58.353900" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:58.353753" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.353725" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.354397" level="INFO">${current_Date} = 2026-04-11 23:14:58.354</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:58.354188" elapsed="0.000246"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.355074" level="INFO">${ellapsed_seconds} = 2645.892</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:58.354657" elapsed="0.000452"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.355804" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:58.355205" elapsed="0.000675"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.355180" elapsed="0.000732"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:58.353387" elapsed="0.002699"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.356842" level="INFO">${number} = 452</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.356303" elapsed="0.000576"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.358334" level="INFO">${number} = 452</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.358004" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.360051" level="INFO">${device-port} = 18281</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.359346" elapsed="0.000735"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.362402" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:58.397443" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.397539" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.362307" elapsed="0.035258"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.397965" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:58.398023" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:58.397657" elapsed="0.000446">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:58.397637" elapsed="0.000508">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:58.362039" elapsed="0.036225">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:58.361658" elapsed="0.036668"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.398766" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18281 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:58.455707" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.455810" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.398528" elapsed="0.057306"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:58.455916" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:14:58.456249" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:58.360886" elapsed="0.095454"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:58.456624" elapsed="0.000750"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:58.360282" elapsed="0.097194"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:58.359011" elapsed="0.098528"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:58.358513" elapsed="0.099092"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.357521" elapsed="0.100142"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:58.357082" elapsed="0.100624"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.458182" level="INFO">${next} = 18282</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.457855" elapsed="0.000354"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.458748" level="INFO">${current_port} = 18282</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:58.458363" elapsed="0.000427"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.352632" elapsed="0.106216"/>
</kw>
<msg time="2026-04-11T23:14:58.458886" level="INFO">Repeating keyword, round 453/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:58.459987" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:58.459881" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.459863" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.460389" level="INFO">${current_Date} = 2026-04-11 23:14:58.460</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:58.460235" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.461072" level="INFO">${ellapsed_seconds} = 2645.786</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:58.460557" elapsed="0.000541"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.461396" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:58.461169" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.461151" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:58.459630" elapsed="0.001888"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.462075" level="INFO">${number} = 453</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.461714" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.463473" level="INFO">${number} = 453</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.463142" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.465134" level="INFO">${device-port} = 18282</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.464529" elapsed="0.000632"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.467647" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:58.509609" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.509705" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.467535" elapsed="0.042195"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.510106" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:58.510165" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:58.509802" elapsed="0.000409">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:58.509782" elapsed="0.000475">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:58.467266" elapsed="0.043109">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:58.466886" elapsed="0.043584"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.510914" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18282 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:58.567252" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.567344" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.510697" elapsed="0.056671"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:58.567450" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:14:58.567824" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:58.466113" elapsed="0.101803"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:58.568171" elapsed="0.000763"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:58.465476" elapsed="0.103559"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:58.464192" elapsed="0.104906"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:58.463669" elapsed="0.105473"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.462707" elapsed="0.106489"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:58.462252" elapsed="0.106987"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.569737" level="INFO">${next} = 18283</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.569388" elapsed="0.000375"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.570297" level="INFO">${current_port} = 18283</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:58.569925" elapsed="0.000413"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.459068" elapsed="0.111325"/>
</kw>
<msg time="2026-04-11T23:14:58.570432" level="INFO">Repeating keyword, round 454/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:58.571530" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:58.571425" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.571401" elapsed="0.000221"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.571911" level="INFO">${current_Date} = 2026-04-11 23:14:58.572</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:58.571761" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.572593" level="INFO">${ellapsed_seconds} = 2645.674</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:58.572083" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.572919" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:58.572692" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.572674" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:58.571186" elapsed="0.001854"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.573535" level="INFO">${number} = 454</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.573181" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.574958" level="INFO">${number} = 454</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.574625" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.576657" level="INFO">${device-port} = 18283</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.575999" elapsed="0.000686"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.578997" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:58.621451" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.621547" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.578903" elapsed="0.042687"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.621973" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:58.622031" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:58.621665" elapsed="0.000446">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:58.621645" elapsed="0.000508">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:58.578636" elapsed="0.043636">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:58.578241" elapsed="0.044093"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.622773" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18283 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:58.679671" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.679768" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.622536" elapsed="0.057256"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:58.679877" elapsed="0.000065"/>
</return>
<msg time="2026-04-11T23:14:58.680215" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:58.577466" elapsed="0.102842"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:58.680589" elapsed="0.000945"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:58.576885" elapsed="0.104774"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:58.575662" elapsed="0.106061"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:58.575140" elapsed="0.106627"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.574172" elapsed="0.107650"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:58.573730" elapsed="0.108135"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.682339" level="INFO">${next} = 18284</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.682014" elapsed="0.000351"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.682920" level="INFO">${current_port} = 18284</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:58.682524" elapsed="0.000438"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.570631" elapsed="0.112386"/>
</kw>
<msg time="2026-04-11T23:14:58.683055" level="INFO">Repeating keyword, round 455/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:58.684174" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:58.684068" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.684048" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.684563" level="INFO">${current_Date} = 2026-04-11 23:14:58.684</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:58.684410" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.685248" level="INFO">${ellapsed_seconds} = 2645.562</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:58.684749" elapsed="0.000526"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.685605" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:58.685345" elapsed="0.000316"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.685327" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:58.683827" elapsed="0.001903"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.686230" level="INFO">${number} = 455</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.685874" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.687660" level="INFO">${number} = 455</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.687299" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.689257" level="INFO">${device-port} = 18284</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.688676" elapsed="0.000607"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.691644" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:58.729082" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.729178" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.691530" elapsed="0.037674"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.729599" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:58.729660" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:58.729275" elapsed="0.000430">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:58.729256" elapsed="0.000495">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:58.691238" elapsed="0.038632">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:58.690857" elapsed="0.039104"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.730381" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18284 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:58.787243" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.787350" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.730165" elapsed="0.057209"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:58.787456" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:14:58.787814" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:58.690100" elapsed="0.097807"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:58.788200" elapsed="0.000755"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:58.689482" elapsed="0.099573"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:58.688328" elapsed="0.100788"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:58.687841" elapsed="0.101318"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.686861" elapsed="0.102352"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:58.686407" elapsed="0.102848"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.789750" level="INFO">${next} = 18285</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.789403" elapsed="0.000373"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.790304" level="INFO">${current_port} = 18285</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:58.789933" elapsed="0.000412"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.683247" elapsed="0.107153"/>
</kw>
<msg time="2026-04-11T23:14:58.790438" level="INFO">Repeating keyword, round 456/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:58.791541" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:58.791435" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.791417" elapsed="0.000204"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.791918" level="INFO">${current_Date} = 2026-04-11 23:14:58.792</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:58.791768" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.792598" level="INFO">${ellapsed_seconds} = 2645.454</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:58.792083" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.792926" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:58.792698" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.792679" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:58.791183" elapsed="0.001863"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.793542" level="INFO">${number} = 456</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.793188" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.794965" level="INFO">${number} = 456</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.794637" elapsed="0.000354"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.796681" level="INFO">${device-port} = 18285</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.796037" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.799014" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:58.837443" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.837539" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.798919" elapsed="0.038668"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.837968" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:14:58.838025" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:58.837661" elapsed="0.000455">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:58.837642" elapsed="0.000517">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:58.798651" elapsed="0.039626">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:58.798253" elapsed="0.040086"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.838779" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18285 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:58.895304" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.895397" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.838541" elapsed="0.056880"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:58.895504" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:14:58.895876" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:58.797482" elapsed="0.098486"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:58.896224" elapsed="0.000764"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:58.796908" elapsed="0.100181"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:58.795700" elapsed="0.101452"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:58.795149" elapsed="0.102047"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.794170" elapsed="0.103081"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:58.793735" elapsed="0.103558"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.897791" level="INFO">${next} = 18286</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.897443" elapsed="0.000374"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.898347" level="INFO">${current_port} = 18286</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:58.897972" elapsed="0.000416"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.790636" elapsed="0.107808"/>
</kw>
<msg time="2026-04-11T23:14:58.898483" level="INFO">Repeating keyword, round 457/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:58.899622" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:58.899489" elapsed="0.000175"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.899465" elapsed="0.000220"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.900010" level="INFO">${current_Date} = 2026-04-11 23:14:58.900</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:58.899857" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:58.900685" level="INFO">${ellapsed_seconds} = 2645.346</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:58.900180" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.901008" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:58.900782" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:58.900764" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:58.899250" elapsed="0.001880"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.901646" level="INFO">${number} = 457</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.901272" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.903042" level="INFO">${number} = 457</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.902714" elapsed="0.000354"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:58.904716" level="INFO">${device-port} = 18286</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:58.904060" elapsed="0.000683"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.907038" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:58.945227" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:58.945322" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.906945" elapsed="0.038402"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:58.945742" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:14:58.945800" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:58.945418" elapsed="0.000428">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:58.945399" elapsed="0.000493">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:58.906681" elapsed="0.039333">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:58.906288" elapsed="0.039816"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:58.946546" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18286 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.003515" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.003714" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:58.946331" elapsed="0.057429"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.003909" elapsed="0.000115"/>
</return>
<msg time="2026-04-11T23:14:59.004323" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:58.905521" elapsed="0.098893"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.004690" elapsed="0.000731"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:58.904944" elapsed="0.100580"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:58.903729" elapsed="0.101874"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:58.903232" elapsed="0.102416"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.902269" elapsed="0.103434"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:58.901825" elapsed="0.103921"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.006225" level="INFO">${next} = 18287</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.005896" elapsed="0.000354"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.006791" level="INFO">${current_port} = 18287</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.006406" elapsed="0.000426"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:58.898682" elapsed="0.108205"/>
</kw>
<msg time="2026-04-11T23:14:59.006926" level="INFO">Repeating keyword, round 458/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.008039" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.007927" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.007908" elapsed="0.000199"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.008395" level="INFO">${current_Date} = 2026-04-11 23:14:59.008</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.008246" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.009066" level="INFO">${ellapsed_seconds} = 2645.238</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.008563" elapsed="0.000529"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.009395" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.009169" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.009147" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.007691" elapsed="0.001824"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.010044" level="INFO">${number} = 458</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.009689" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.011456" level="INFO">${number} = 458</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.011129" elapsed="0.000353"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.013080" level="INFO">${device-port} = 18287</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.012483" elapsed="0.000623"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.015450" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:59.053048" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.053142" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.015350" elapsed="0.037818"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.053545" elapsed="0.000044"/>
</kw>
<msg time="2026-04-11T23:14:59.053626" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:59.053240" elapsed="0.000467">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:59.053220" elapsed="0.000530">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:59.015085" elapsed="0.038784">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:59.014691" elapsed="0.039240"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.054345" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18287 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.111020" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.111110" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.054133" elapsed="0.057002"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.111214" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:14:59.111543" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:59.013935" elapsed="0.097722"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.111910" elapsed="0.000752"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:59.013303" elapsed="0.099461"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.012142" elapsed="0.100685"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.011657" elapsed="0.101213"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.010669" elapsed="0.102256"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.010220" elapsed="0.102747"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.113449" level="INFO">${next} = 18288</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.113123" elapsed="0.000351"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.114023" level="INFO">${current_port} = 18288</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.113653" elapsed="0.000411"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.007122" elapsed="0.106998"/>
</kw>
<msg time="2026-04-11T23:14:59.114157" level="INFO">Repeating keyword, round 459/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.115284" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.115173" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.115155" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.115689" level="INFO">${current_Date} = 2026-04-11 23:14:59.116</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.115521" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.116343" level="INFO">${ellapsed_seconds} = 2645.13</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.115859" elapsed="0.000510"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.116692" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.116440" elapsed="0.000307"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.116421" elapsed="0.000349"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.114924" elapsed="0.001892"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.117312" level="INFO">${number} = 459</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.116957" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.118794" level="INFO">${number} = 459</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.118372" elapsed="0.000450"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.120388" level="INFO">${device-port} = 18288</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.119811" elapsed="0.000604"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.122775" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:59.165157" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.165253" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.122665" elapsed="0.042614"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.165676" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:14:59.165743" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:59.165351" elapsed="0.000438">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:59.165332" elapsed="0.000496">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:59.122383" elapsed="0.043566">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:59.122004" elapsed="0.044042"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.166464" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18288 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.223269" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.223433" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.166248" elapsed="0.057231"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.223665" elapsed="0.000117"/>
</return>
<msg time="2026-04-11T23:14:59.224192" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:59.121242" elapsed="0.103042"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.224537" elapsed="0.000755"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:59.120664" elapsed="0.104728"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.119462" elapsed="0.105992"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.118978" elapsed="0.106519"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.117941" elapsed="0.107611"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.117487" elapsed="0.108125"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.226089" level="INFO">${next} = 18289</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.225763" elapsed="0.000351"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.226666" level="INFO">${current_port} = 18289</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.226270" elapsed="0.000438"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.114346" elapsed="0.112417"/>
</kw>
<msg time="2026-04-11T23:14:59.226802" level="INFO">Repeating keyword, round 460/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.227907" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.227792" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.227774" elapsed="0.000210"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.228278" level="INFO">${current_Date} = 2026-04-11 23:14:59.228</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.228123" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.229780" level="INFO">${ellapsed_seconds} = 2645.018</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.228450" elapsed="0.001356"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.230103" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.229877" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.229858" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.227535" elapsed="0.002693"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.230764" level="INFO">${number} = 460</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.230368" elapsed="0.000422"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.232158" level="INFO">${number} = 460</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.231827" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.233810" level="INFO">${device-port} = 18289</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.233207" elapsed="0.000630"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.236135" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:59.273071" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.273166" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.236041" elapsed="0.037151"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.273588" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:14:59.273649" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:59.273264" elapsed="0.000472">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:59.273244" elapsed="0.000534">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:59.235777" elapsed="0.038118">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:59.235380" elapsed="0.038577"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.274371" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18289 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.331218" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.331309" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.274158" elapsed="0.057176"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.331415" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:14:59.331769" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:59.234637" elapsed="0.097223"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.332114" elapsed="0.000755"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:59.234034" elapsed="0.098937"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.232869" elapsed="0.100165"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.232336" elapsed="0.100742"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.231377" elapsed="0.101755"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.230940" elapsed="0.102234"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.333666" level="INFO">${next} = 18290</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.333324" elapsed="0.000368"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.334220" level="INFO">${current_port} = 18290</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.333847" elapsed="0.000414"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.226985" elapsed="0.107331"/>
</kw>
<msg time="2026-04-11T23:14:59.334353" level="INFO">Repeating keyword, round 461/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.335441" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.335335" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.335317" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.335840" level="INFO">${current_Date} = 2026-04-11 23:14:59.336</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.335689" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.336302" level="INFO">${ellapsed_seconds} = 2644.91</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.336008" elapsed="0.000320"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.336834" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.336599" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.336379" elapsed="0.000531"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.335103" elapsed="0.001853"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.337554" level="INFO">${number} = 461</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.337098" elapsed="0.000497"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.339162" level="INFO">${number} = 461</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.338821" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.340856" level="INFO">${device-port} = 18290</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.340194" elapsed="0.000689"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.343198" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:59.381209" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.381387" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.343100" elapsed="0.038335"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.382175" elapsed="0.000046"/>
</kw>
<msg time="2026-04-11T23:14:59.382284" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:59.381600" elapsed="0.000746">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:59.381532" elapsed="0.000870">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:59.342838" elapsed="0.039682">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:59.342428" elapsed="0.040219"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.383074" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18290 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.439283" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.439375" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.382855" elapsed="0.056545"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.439481" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:14:59.439836" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:59.341681" elapsed="0.098244"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.440178" elapsed="0.000751"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:59.341082" elapsed="0.099947"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.339837" elapsed="0.101256"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.339343" elapsed="0.101798"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.338182" elapsed="0.103012"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.337748" elapsed="0.103488"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.441731" level="INFO">${next} = 18291</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.441386" elapsed="0.000371"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.442304" level="INFO">${current_port} = 18291</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.441914" elapsed="0.000431"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.334548" elapsed="0.107853"/>
</kw>
<msg time="2026-04-11T23:14:59.442440" level="INFO">Repeating keyword, round 462/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.443513" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.443408" elapsed="0.000146"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.443389" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.443883" level="INFO">${current_Date} = 2026-04-11 23:14:59.444</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.443734" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.444353" level="INFO">${ellapsed_seconds} = 2644.802</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.444054" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.444976" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.444448" elapsed="0.000592"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.444429" elapsed="0.000639"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.443175" elapsed="0.001950"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.445900" level="INFO">${number} = 462</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.445466" elapsed="0.000465"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.447557" level="INFO">${number} = 462</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.447188" elapsed="0.000414"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.449609" level="INFO">${device-port} = 18291</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.448969" elapsed="0.000668"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.451981" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:59.489320" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.489532" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.451886" elapsed="0.037742"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.490498" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:14:59.490661" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:59.489793" elapsed="0.001048">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:59.489748" elapsed="0.001189">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:59.451616" elapsed="0.039584">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:59.451212" elapsed="0.040125"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.492318" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18291 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.547363" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.547564" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.491837" elapsed="0.055820"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.547836" elapsed="0.000137"/>
</return>
<msg time="2026-04-11T23:14:59.548613" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:59.450440" elapsed="0.098382"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.549398" elapsed="0.001825"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:59.449840" elapsed="0.101610"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.448348" elapsed="0.103270"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.447788" elapsed="0.103930"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.446694" elapsed="0.105146"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.446110" elapsed="0.105821"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.553019" level="INFO">${next} = 18292</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.552262" elapsed="0.000816"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.554449" level="INFO">${current_port} = 18292</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.553422" elapsed="0.001128"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.442637" elapsed="0.112077"/>
</kw>
<msg time="2026-04-11T23:14:59.554799" level="INFO">Repeating keyword, round 463/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.556054" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.555948" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.555929" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.556442" level="INFO">${current_Date} = 2026-04-11 23:14:59.556</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.556290" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.556932" level="INFO">${ellapsed_seconds} = 2644.69</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.556627" elapsed="0.000330"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.557441" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.557027" elapsed="0.000468"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.557009" elapsed="0.000510"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.555714" elapsed="0.001852"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.558122" level="INFO">${number} = 463</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.557747" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.559531" level="INFO">${number} = 463</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.559198" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.561146" level="INFO">${device-port} = 18292</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.560541" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.563515" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:59.601505" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.601749" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.563421" elapsed="0.038387"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.602724" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:14:59.602863" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:59.601967" elapsed="0.000999">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:59.601923" elapsed="0.001132">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:59.563155" elapsed="0.040159">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:59.562775" elapsed="0.040749"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.604486" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18292 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.659385" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.659626" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.604008" elapsed="0.055676"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.659861" elapsed="0.000136"/>
</return>
<msg time="2026-04-11T23:14:59.660637" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:59.561994" elapsed="0.098847"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.661405" elapsed="0.001720"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:59.561375" elapsed="0.101974"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.560207" elapsed="0.103282"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.559726" elapsed="0.103892"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.558763" elapsed="0.104984"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.558306" elapsed="0.105537"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.664942" level="INFO">${next} = 18293</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.664180" elapsed="0.000820"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.666285" level="INFO">${current_port} = 18293</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.665356" elapsed="0.001023"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.555162" elapsed="0.111339"/>
</kw>
<msg time="2026-04-11T23:14:59.666618" level="INFO">Repeating keyword, round 464/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.669063" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.668828" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.668786" elapsed="0.000417"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.669982" level="INFO">${current_Date} = 2026-04-11 23:14:59.670</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.669511" elapsed="0.000534"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.671072" level="INFO">${ellapsed_seconds} = 2644.576</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.670367" elapsed="0.000762"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.671644" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.671212" elapsed="0.000489"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.671193" elapsed="0.000532"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.668272" elapsed="0.003500"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.672277" level="INFO">${number} = 464</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.671915" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.673774" level="INFO">${number} = 464</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.673418" elapsed="0.000382"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.675402" level="INFO">${device-port} = 18293</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.674819" elapsed="0.000609"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.677751" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:59.710097" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.710464" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.677656" elapsed="0.032871"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.711738" elapsed="0.000066"/>
</kw>
<msg time="2026-04-11T23:14:59.711885" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:59.710806" elapsed="0.001338">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:59.710737" elapsed="0.001526">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:59.677377" elapsed="0.035240">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:59.676997" elapsed="0.035779"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.713917" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18293 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.767697" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.767923" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.713299" elapsed="0.054678"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.768167" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:14:59.769008" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:59.676227" elapsed="0.092993"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.769877" elapsed="0.001901"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:59.675643" elapsed="0.096371"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.674455" elapsed="0.097726"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.673967" elapsed="0.098317"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.672910" elapsed="0.099503"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.672454" elapsed="0.100057"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.773736" level="INFO">${next} = 18294</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.772898" elapsed="0.000916"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.775118" level="INFO">${current_port} = 18294</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.774195" elapsed="0.001017"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.667035" elapsed="0.108321"/>
</kw>
<msg time="2026-04-11T23:14:59.775445" level="INFO">Repeating keyword, round 465/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.778181" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.777956" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.777910" elapsed="0.000350"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.778688" level="INFO">${current_Date} = 2026-04-11 23:14:59.779</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.778453" elapsed="0.000262"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.779489" level="INFO">${ellapsed_seconds} = 2644.467</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.778865" elapsed="0.000651"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.779890" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.779630" elapsed="0.000315"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.779604" elapsed="0.000365"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.777302" elapsed="0.002714"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.780522" level="INFO">${number} = 465</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.780160" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.782008" level="INFO">${number} = 465</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.781639" elapsed="0.000396"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.783786" level="INFO">${device-port} = 18294</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.783068" elapsed="0.000745"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.786277" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:59.817704" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.817961" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.786176" elapsed="0.031844"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.818954" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:14:59.819094" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:59.818188" elapsed="0.001013">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:59.818142" elapsed="0.001149">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:59.785888" elapsed="0.033673">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:59.785442" elapsed="0.034390"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.820876" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18294 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.875478" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.875729" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.820312" elapsed="0.055474"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.875983" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:14:59.876808" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:59.784649" elapsed="0.092393"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.877709" elapsed="0.001808"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:59.784028" elapsed="0.095763"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.782718" elapsed="0.097218"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.782196" elapsed="0.097843"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.781185" elapsed="0.098981"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.780729" elapsed="0.099548"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.881456" level="INFO">${next} = 18295</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.880666" elapsed="0.000854"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.882832" level="INFO">${current_port} = 18295</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.881943" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.775956" elapsed="0.107096"/>
</kw>
<msg time="2026-04-11T23:14:59.883138" level="INFO">Repeating keyword, round 466/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.885836" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.885448" elapsed="0.000483"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.885406" elapsed="0.000574"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.886398" level="INFO">${current_Date} = 2026-04-11 23:14:59.886</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.886242" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.887091" level="INFO">${ellapsed_seconds} = 2644.36</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.886566" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.887418" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.887189" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.887170" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.884904" elapsed="0.002634"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.888068" level="INFO">${number} = 466</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.887695" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.889701" level="INFO">${number} = 466</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.889298" elapsed="0.000431"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.891438" level="INFO">${device-port} = 18295</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.890777" elapsed="0.000692"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.893915" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:14:59.925565" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.925848" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.893815" elapsed="0.032102"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.926844" elapsed="0.000070"/>
</kw>
<msg time="2026-04-11T23:14:59.926998" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:14:59.926084" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:14:59.926039" elapsed="0.001247">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:14:59.893501" elapsed="0.034059">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:14:59.893097" elapsed="0.034645"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:14:59.928761" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18295 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:14:59.983602" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:14:59.983824" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:14:59.928219" elapsed="0.055672"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:14:59.984081" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:14:59.984925" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:14:59.892307" elapsed="0.092838"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:14:59.985798" elapsed="0.001930"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:14:59.891696" elapsed="0.096282"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.890407" elapsed="0.097740"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.889890" elapsed="0.098358"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.888698" elapsed="0.099677"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.888245" elapsed="0.100229"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.989738" level="INFO">${next} = 18296</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.988857" elapsed="0.000941"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.990712" level="INFO">${current_port} = 18296</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:14:59.990156" elapsed="0.000618"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.883610" elapsed="0.107246"/>
</kw>
<msg time="2026-04-11T23:14:59.990910" level="INFO">Repeating keyword, round 467/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:14:59.992545" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:14:59.992388" elapsed="0.000241"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.992341" elapsed="0.000318"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.993161" level="INFO">${current_Date} = 2026-04-11 23:14:59.993</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:14:59.992922" elapsed="0.000278"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:14:59.994171" level="INFO">${ellapsed_seconds} = 2644.253</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:14:59.993410" elapsed="0.000800"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:14:59.994815" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:14:59.994448" elapsed="0.000446"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:59.994418" elapsed="0.000509"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:14:59.992017" elapsed="0.002976"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.995777" level="INFO">${number} = 467</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.995211" elapsed="0.000604"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:14:59.997882" level="INFO">${number} = 467</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.997346" elapsed="0.000574"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.000251" level="INFO">${device-port} = 18296</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:14:59.999357" elapsed="0.000935"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.003300" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:00.033719" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.033956" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.003185" elapsed="0.030830"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.034960" elapsed="0.000065"/>
</kw>
<msg time="2026-04-11T23:15:00.035106" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:00.034182" elapsed="0.001030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:00.034138" elapsed="0.001163">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.002914" elapsed="0.032687">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.002494" elapsed="0.033338"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.036874" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18296 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:00.091705" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.091925" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.036314" elapsed="0.055667"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:00.092171" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:15:00.093023" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.001508" elapsed="0.091724"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:00.093931" elapsed="0.001843"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.000617" elapsed="0.095404"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:14:59.998869" elapsed="0.097295"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:14:59.998141" elapsed="0.098121"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.996706" elapsed="0.099679"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:14:59.996035" elapsed="0.100446"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.097769" level="INFO">${next} = 18297</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.096885" elapsed="0.000963"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.098735" level="INFO">${current_port} = 18297</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:00.098180" elapsed="0.000617"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:59.991187" elapsed="0.107712"/>
</kw>
<msg time="2026-04-11T23:15:00.098955" level="INFO">Repeating keyword, round 468/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:00.100720" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:00.100540" elapsed="0.000240"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.100513" elapsed="0.000298"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.101240" level="INFO">${current_Date} = 2026-04-11 23:15:00.101</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:00.101016" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.102301" level="INFO">${ellapsed_seconds} = 2644.145</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:00.101510" elapsed="0.000830"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.102790" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:00.102441" elapsed="0.000426"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.102414" elapsed="0.000489"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:00.100188" elapsed="0.002794"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.103719" level="INFO">${number} = 468</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.103185" elapsed="0.000571"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.105842" level="INFO">${number} = 468</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.105262" elapsed="0.000618"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.108396" level="INFO">${device-port} = 18297</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.107422" elapsed="0.001013"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.111479" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:00.145851" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.146079" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.111375" elapsed="0.034764"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.147060" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:15:00.147195" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:00.146306" elapsed="0.001068">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:00.146261" elapsed="0.001211">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.111090" elapsed="0.036686">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.110657" elapsed="0.037265"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.148922" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18297 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:00.203992" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.204214" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.148387" elapsed="0.055883"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:00.204477" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:15:00.205326" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.109737" elapsed="0.095816"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:00.206171" elapsed="0.001790"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.108774" elapsed="0.099419"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:00.106905" elapsed="0.101429"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:00.106131" elapsed="0.102302"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.104628" elapsed="0.103930"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:00.103981" elapsed="0.104716"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.209915" level="INFO">${next} = 18298</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.209056" elapsed="0.000920"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.210814" level="INFO">${current_port} = 18298</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:00.210258" elapsed="0.000629"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.099215" elapsed="0.111764"/>
</kw>
<msg time="2026-04-11T23:15:00.211034" level="INFO">Repeating keyword, round 469/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:00.212626" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:00.212446" elapsed="0.000241"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.212419" elapsed="0.000299"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.213209" level="INFO">${current_Date} = 2026-04-11 23:15:00.213</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:00.212964" elapsed="0.000282"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.214241" level="INFO">${ellapsed_seconds} = 2644.033</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:00.213450" elapsed="0.000830"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.214744" elapsed="0.000040"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:00.214385" elapsed="0.000450"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.214357" elapsed="0.000513"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:00.212099" elapsed="0.002839"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.215707" level="INFO">${number} = 469</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.215145" elapsed="0.000600"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.217837" level="INFO">${number} = 469</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.217294" elapsed="0.000581"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.220287" level="INFO">${device-port} = 18298</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.219367" elapsed="0.000959"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.223341" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:00.253725" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.253951" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.223240" elapsed="0.030771"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.254920" elapsed="0.000069"/>
</kw>
<msg time="2026-04-11T23:15:00.255069" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:00.254173" elapsed="0.001002">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:00.254129" elapsed="0.001148">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.222957" elapsed="0.032590">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.222537" elapsed="0.033261"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.256840" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18298 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:00.311697" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.311908" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.256285" elapsed="0.055678"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:00.312148" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:15:00.312947" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.221566" elapsed="0.091607"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:00.313790" elapsed="0.001682"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.220645" elapsed="0.095086"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:00.218866" elapsed="0.097005"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:00.218121" elapsed="0.097850"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.216641" elapsed="0.099453"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:00.215971" elapsed="0.100220"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.317328" level="INFO">${next} = 18299</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.316530" elapsed="0.000858"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.318673" level="INFO">${current_port} = 18299</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:00.317796" elapsed="0.000972"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.211301" elapsed="0.107594"/>
</kw>
<msg time="2026-04-11T23:15:00.318981" level="INFO">Repeating keyword, round 470/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:00.321531" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:00.321280" elapsed="0.000424"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.321237" elapsed="0.000517"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.322321" level="INFO">${current_Date} = 2026-04-11 23:15:00.322</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:00.322080" elapsed="0.000278"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.323279" level="INFO">${ellapsed_seconds} = 2643.924</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:00.322558" elapsed="0.000758"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.323754" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:00.323415" elapsed="0.000415"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.323389" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:00.320693" elapsed="0.003235"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.324647" level="INFO">${number} = 470</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.324126" elapsed="0.000558"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.326682" level="INFO">${number} = 470</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.326186" elapsed="0.000533"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.328964" level="INFO">${device-port} = 18299</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.328111" elapsed="0.000906"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.332292" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:00.361519" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.361767" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.332159" elapsed="0.029667"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.362721" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:15:00.362855" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:00.361988" elapsed="0.001064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:00.361943" elapsed="0.001207">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.331778" elapsed="0.031638">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.331221" elapsed="0.032335"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.364525" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18299 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:00.419801" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.420013" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.364042" elapsed="0.056026"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:00.420249" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:15:00.421103" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.330146" elapsed="0.091162"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:00.421929" elapsed="0.001761"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.329299" elapsed="0.094625"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:00.327640" elapsed="0.096425"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:00.326935" elapsed="0.097229"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.325531" elapsed="0.098760"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:00.324894" elapsed="0.099494"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.425405" level="INFO">${next} = 18300</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.424763" elapsed="0.000679"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.426237" level="INFO">${current_port} = 18300</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:00.425692" elapsed="0.000603"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.319396" elapsed="0.106979"/>
</kw>
<msg time="2026-04-11T23:15:00.426429" level="INFO">Repeating keyword, round 471/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:00.428031" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:00.427876" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.427850" elapsed="0.000284"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.428622" level="INFO">${current_Date} = 2026-04-11 23:15:00.428</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:00.428384" elapsed="0.000277"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.429635" level="INFO">${ellapsed_seconds} = 2643.818</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:00.428878" elapsed="0.000797"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.430101" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:00.429777" elapsed="0.000399"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.429751" elapsed="0.000459"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:00.427511" elapsed="0.002775"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.431023" level="INFO">${number} = 471</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.430487" elapsed="0.000573"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.433085" level="INFO">${number} = 471</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.432553" elapsed="0.000571"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.435529" level="INFO">${device-port} = 18300</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.434661" elapsed="0.000947"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.438584" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:00.473796" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.474077" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.438469" elapsed="0.035668"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.475184" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:15:00.475324" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:00.474341" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:00.474280" elapsed="0.001250">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.438126" elapsed="0.037731">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.437714" elapsed="0.038376"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.477161" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18300 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:00.531863" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.532074" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.476613" elapsed="0.055515"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:00.532315" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:15:00.533152" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.436793" elapsed="0.096560"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:00.533970" elapsed="0.001953"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.435911" elapsed="0.100238"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:00.434129" elapsed="0.102163"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:00.433356" elapsed="0.103037"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.431931" elapsed="0.104587"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:00.431273" elapsed="0.105377"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.537836" level="INFO">${next} = 18301</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.537020" elapsed="0.000875"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.539143" level="INFO">${current_port} = 18301</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:00.538250" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.426713" elapsed="0.112646"/>
</kw>
<msg time="2026-04-11T23:15:00.539447" level="INFO">Repeating keyword, round 472/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:00.541825" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:00.541664" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.541631" elapsed="0.000282"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.542358" level="INFO">${current_Date} = 2026-04-11 23:15:00.542</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:00.542119" elapsed="0.000279"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.544961" level="INFO">${ellapsed_seconds} = 2643.704</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:00.542619" elapsed="0.002379"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.545440" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:00.545096" elapsed="0.000418"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.545070" elapsed="0.000476"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:00.541250" elapsed="0.004406"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.546355" level="INFO">${number} = 472</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.545856" elapsed="0.000536"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.548348" level="INFO">${number} = 472</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.547874" elapsed="0.000510"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.550693" level="INFO">${device-port} = 18301</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.549858" elapsed="0.000872"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.553799" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:00.585663" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.585874" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.553703" elapsed="0.032229"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.586808" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:15:00.586938" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:00.586089" elapsed="0.001026">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:00.586046" elapsed="0.001164">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.553423" elapsed="0.034053">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.552939" elapsed="0.034705"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.588611" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18301 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:00.644137" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.644345" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.588093" elapsed="0.056306"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:00.644640" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:15:00.645385" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.551843" elapsed="0.093785"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:00.646206" elapsed="0.001723"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.551006" elapsed="0.097147"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:00.549355" elapsed="0.098938"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:00.548620" elapsed="0.099770"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.547244" elapsed="0.101267"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:00.546624" elapsed="0.102035"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.649772" level="INFO">${next} = 18302</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.648996" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.651042" level="INFO">${current_port} = 18302</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:00.650178" elapsed="0.000955"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.539902" elapsed="0.111356"/>
</kw>
<msg time="2026-04-11T23:15:00.651342" level="INFO">Repeating keyword, round 473/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:00.653462" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:00.653353" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.653335" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.653892" level="INFO">${current_Date} = 2026-04-11 23:15:00.654</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:00.653736" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.654362" level="INFO">${ellapsed_seconds} = 2643.592</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:00.654061" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.654901" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:00.654661" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.654439" elapsed="0.000539"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:00.653067" elapsed="0.001958"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.655527" level="INFO">${number} = 473</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.655169" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.656960" level="INFO">${number} = 473</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.656627" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.658608" level="INFO">${device-port} = 18302</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.657996" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.660961" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:00.697837" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.698062" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.660867" elapsed="0.037257"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.699078" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:15:00.699217" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:00.698294" elapsed="0.001034">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:00.698249" elapsed="0.001173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.660602" elapsed="0.039137">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.660194" elapsed="0.039760"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.701055" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18302 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:00.755690" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.755905" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.700438" elapsed="0.055524"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:00.756152" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:15:00.757016" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.659423" elapsed="0.097814"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:00.757884" elapsed="0.001841"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.658838" elapsed="0.101127"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:00.657663" elapsed="0.102450"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:00.657140" elapsed="0.103077"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.656165" elapsed="0.104183"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:00.655727" elapsed="0.104747"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.761707" level="INFO">${next} = 18303</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.760868" elapsed="0.000902"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.763079" level="INFO">${current_port} = 18303</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:00.762150" elapsed="0.001030"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.651785" elapsed="0.111527"/>
</kw>
<msg time="2026-04-11T23:15:00.763404" level="INFO">Repeating keyword, round 474/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:00.765535" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:00.765428" elapsed="0.000193"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.765404" elapsed="0.000240"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.765938" level="INFO">${current_Date} = 2026-04-11 23:15:00.766</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:00.765788" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.766407" level="INFO">${ellapsed_seconds} = 2643.48</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:00.766107" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.767039" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:00.766507" elapsed="0.000588"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.766489" elapsed="0.000629"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:00.765188" elapsed="0.001977"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.767700" level="INFO">${number} = 474</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.767309" elapsed="0.000418"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.769122" level="INFO">${number} = 474</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.768791" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.770744" level="INFO">${device-port} = 18303</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.770137" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.773102" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:00.809325" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.809539" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.773006" elapsed="0.036626"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.810491" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:15:00.810660" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:00.809801" elapsed="0.001045">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:00.809756" elapsed="0.001184">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.772738" elapsed="0.038466">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.772325" elapsed="0.039016"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.812347" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18303 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:00.867613" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.867819" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.811839" elapsed="0.056035"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:00.868055" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:15:00.868876" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.771553" elapsed="0.097530"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:00.869691" elapsed="0.001702"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.770972" elapsed="0.100679"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:00.769804" elapsed="0.101992"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:00.769302" elapsed="0.102590"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.768324" elapsed="0.103689"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:00.767880" elapsed="0.104227"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.873233" level="INFO">${next} = 18304</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.872462" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.874519" level="INFO">${current_port} = 18304</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:00.873690" elapsed="0.000954"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.763875" elapsed="0.110900"/>
</kw>
<msg time="2026-04-11T23:15:00.874860" level="INFO">Repeating keyword, round 475/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:00.877248" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:00.877131" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.877088" elapsed="0.000223"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.877700" level="INFO">${current_Date} = 2026-04-11 23:15:00.878</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:00.877486" elapsed="0.000241"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.878175" level="INFO">${ellapsed_seconds} = 2643.368</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:00.877872" elapsed="0.000334"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.878713" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:00.878278" elapsed="0.000491"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.878260" elapsed="0.000533"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:00.876596" elapsed="0.002243"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.879353" level="INFO">${number} = 475</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.878985" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.880801" level="INFO">${number} = 475</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.880444" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.882420" level="INFO">${device-port} = 18304</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.881827" elapsed="0.000620"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.884812" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:00.921738" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.921968" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.884709" elapsed="0.037320"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.922917" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:15:00.923050" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:00.922192" elapsed="0.000966">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:00.922147" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.884428" elapsed="0.039082">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.884029" elapsed="0.039717"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.924769" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18304 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:00.980125" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:00.980353" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.924234" elapsed="0.056177"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:00.980647" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:15:00.981414" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.883253" elapsed="0.098401"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:00.982236" elapsed="0.001760"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.882669" elapsed="0.101575"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:00.881464" elapsed="0.102921"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:00.880981" elapsed="0.103501"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.879987" elapsed="0.104654"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:00.879531" elapsed="0.105208"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.985873" level="INFO">${next} = 18305</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.985081" elapsed="0.000850"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.987162" level="INFO">${current_port} = 18305</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:00.986286" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.875274" elapsed="0.112106"/>
</kw>
<msg time="2026-04-11T23:15:00.987465" level="INFO">Repeating keyword, round 476/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:00.989532" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:00.989425" elapsed="0.000183"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.989405" elapsed="0.000228"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.989938" level="INFO">${current_Date} = 2026-04-11 23:15:00.990</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:00.989781" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:00.990418" level="INFO">${ellapsed_seconds} = 2643.256</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:00.990108" elapsed="0.000336"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:00.990961" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:00.990513" elapsed="0.000503"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:00.990494" elapsed="0.000546"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:00.989186" elapsed="0.001900"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.991609" level="INFO">${number} = 476</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.991228" elapsed="0.000408"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.993038" level="INFO">${number} = 476</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.992702" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:00.994700" level="INFO">${device-port} = 18305</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:00.994088" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:00.997078" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:01.033159" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.033381" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:00.996982" elapsed="0.036458"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.034338" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:15:01.034468" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:01.033641" elapsed="0.001049">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:01.033558" elapsed="0.001230">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:00.996711" elapsed="0.038349">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:00.996307" elapsed="0.038892"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.036223" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18305 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:01.091154" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.091362" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.035699" elapsed="0.055718"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:01.091641" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:15:01.092426" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:00.995518" elapsed="0.097159"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:01.093259" elapsed="0.001737"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:00.994929" elapsed="0.100296"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:00.993747" elapsed="0.101619"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:00.993219" elapsed="0.102245"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.992249" elapsed="0.103368"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:00.991789" elapsed="0.103929"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.096866" level="INFO">${next} = 18306</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.096075" elapsed="0.000850"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.098146" level="INFO">${current_port} = 18306</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:01.097279" elapsed="0.000960"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:00.987915" elapsed="0.110447"/>
</kw>
<msg time="2026-04-11T23:15:01.098447" level="INFO">Repeating keyword, round 477/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:01.100670" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:01.100525" elapsed="0.000187"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.100500" elapsed="0.000234"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.101064" level="INFO">${current_Date} = 2026-04-11 23:15:01.101</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:01.100908" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.101751" level="INFO">${ellapsed_seconds} = 2643.145</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:01.101233" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.102079" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:01.101849" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.101831" elapsed="0.000325"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:01.100188" elapsed="0.002013"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.102722" level="INFO">${number} = 477</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.102343" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.104143" level="INFO">${number} = 477</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.103796" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.105791" level="INFO">${device-port} = 18306</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.105182" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.108283" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:01.145829" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.146054" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.108183" elapsed="0.037929"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.147029" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:15:01.147161" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:01.146280" elapsed="0.000986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:01.146232" elapsed="0.001122">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:01.107918" elapsed="0.039739">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:01.107500" elapsed="0.040400"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.148895" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18306 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:01.203721" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.203962" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.148358" elapsed="0.055659"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:01.204206" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:15:01.205048" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:01.106617" elapsed="0.098633"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:01.205894" elapsed="0.001861"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:01.106020" elapsed="0.101993"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:01.104846" elapsed="0.103316"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:01.104324" elapsed="0.103939"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.103344" elapsed="0.105046"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:01.102900" elapsed="0.105586"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.209882" level="INFO">${next} = 18307</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.208965" elapsed="0.000986"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.211264" level="INFO">${current_port} = 18307</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:01.210329" elapsed="0.001032"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.098893" elapsed="0.112601"/>
</kw>
<msg time="2026-04-11T23:15:01.211682" level="INFO">Repeating keyword, round 478/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:01.213211" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:01.213099" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.213080" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.213597" level="INFO">${current_Date} = 2026-04-11 23:15:01.213</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:01.213414" elapsed="0.000211"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.214311" level="INFO">${ellapsed_seconds} = 2643.033</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:01.213769" elapsed="0.000568"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.214657" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:01.214408" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.214390" elapsed="0.000345"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:01.212852" elapsed="0.001928"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.215281" level="INFO">${number} = 478</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.214922" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.216722" level="INFO">${number} = 478</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.216372" elapsed="0.000377"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.218469" level="INFO">${device-port} = 18307</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.217765" elapsed="0.000732"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.221413" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:01.257699" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.258078" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.221284" elapsed="0.036879"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.259415" elapsed="0.000069"/>
</kw>
<msg time="2026-04-11T23:15:01.259606" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:01.258436" elapsed="0.001529">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:01.258358" elapsed="0.001739">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:01.220911" elapsed="0.039525">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:01.220369" elapsed="0.040335"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.262220" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18307 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:01.315924" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.316174" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.261445" elapsed="0.054784"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:01.316443" elapsed="0.000216"/>
</return>
<msg time="2026-04-11T23:15:01.317336" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:01.219400" elapsed="0.098149"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:01.318235" elapsed="0.001970"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:01.218717" elapsed="0.101732"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:01.217408" elapsed="0.103229"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:01.216910" elapsed="0.103837"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.215930" elapsed="0.104950"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:01.215458" elapsed="0.105524"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.322241" level="INFO">${next} = 18308</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.321352" elapsed="0.000950"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.323785" level="INFO">${current_port} = 18308</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:01.322720" elapsed="0.001166"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.212171" elapsed="0.111849"/>
</kw>
<msg time="2026-04-11T23:15:01.324122" level="INFO">Repeating keyword, round 479/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:01.326923" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:01.326666" elapsed="0.000353"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.326617" elapsed="0.000452"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.328008" level="INFO">${current_Date} = 2026-04-11 23:15:01.328</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:01.327492" elapsed="0.000577"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.328909" level="INFO">${ellapsed_seconds} = 2642.918</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:01.328267" elapsed="0.000671"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.329291" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:01.329013" elapsed="0.000341"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.328994" elapsed="0.000384"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:01.326042" elapsed="0.003385"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.329965" level="INFO">${number} = 479</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.329587" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.331448" level="INFO">${number} = 479</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.331088" elapsed="0.000386"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.333165" level="INFO">${device-port} = 18308</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.332532" elapsed="0.000659"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.336068" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:01.369724" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.369962" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.335938" elapsed="0.034085"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.370939" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:15:01.371075" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:01.370191" elapsed="0.000992">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:01.370146" elapsed="0.001140">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:01.335554" elapsed="0.036068">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:01.335048" elapsed="0.036797"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.372838" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18308 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:01.428679" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.428949" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.372304" elapsed="0.056715"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:01.429235" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:15:01.430151" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:01.334077" elapsed="0.096286"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:01.431030" elapsed="0.001927"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:01.333406" elapsed="0.099792"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:01.332185" elapsed="0.101163"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:01.331663" elapsed="0.101789"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.330646" elapsed="0.102977"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:01.330150" elapsed="0.103585"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.434931" level="INFO">${next} = 18309</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.434084" elapsed="0.000907"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.436280" level="INFO">${current_port} = 18309</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:01.435356" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.324634" elapsed="0.111789"/>
</kw>
<msg time="2026-04-11T23:15:01.436480" level="INFO">Repeating keyword, round 480/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:01.438190" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:01.438035" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.437999" elapsed="0.000281"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.438787" level="INFO">${current_Date} = 2026-04-11 23:15:01.439</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:01.438489" elapsed="0.000337"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.439872" level="INFO">${ellapsed_seconds} = 2642.807</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:01.439033" elapsed="0.000878"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.440354" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:01.440013" elapsed="0.000418"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.439985" elapsed="0.000479"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:01.437680" elapsed="0.002851"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.441285" level="INFO">${number} = 480</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.440764" elapsed="0.000559"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.443712" level="INFO">${number} = 480</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.443058" elapsed="0.000703"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.446222" level="INFO">${device-port} = 18309</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.445304" elapsed="0.000957"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.449305" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:01.473600" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.473828" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.449202" elapsed="0.024684"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.474817" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:15:01.474955" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:01.474053" elapsed="0.001098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:01.474007" elapsed="0.001244">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:01.448903" elapsed="0.026738">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:01.448486" elapsed="0.027312"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.476822" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18309 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:01.531483" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.531742" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.476262" elapsed="0.055536"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:01.531981" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:15:01.532816" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:01.447470" elapsed="0.085557"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:01.533670" elapsed="0.001816"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:01.446549" elapsed="0.089207"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:01.444786" elapsed="0.091115"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:01.444035" elapsed="0.091965"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.442337" elapsed="0.093789"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:01.441539" elapsed="0.094686"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.537424" level="INFO">${next} = 18310</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.536618" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.538833" level="INFO">${current_port} = 18310</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:01.537909" elapsed="0.001022"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.436808" elapsed="0.102256"/>
</kw>
<msg time="2026-04-11T23:15:01.539153" level="INFO">Repeating keyword, round 481/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:01.541838" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:01.541500" elapsed="0.000436"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.541452" elapsed="0.000534"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.542801" level="INFO">${current_Date} = 2026-04-11 23:15:01.543</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:01.542383" elapsed="0.000478"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.544286" level="INFO">${ellapsed_seconds} = 2642.703</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:01.543195" elapsed="0.001118"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.544647" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:01.544387" elapsed="0.000318"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.544367" elapsed="0.000362"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:01.540937" elapsed="0.003839"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.545290" level="INFO">${number} = 481</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.544923" elapsed="0.000393"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.546790" level="INFO">${number} = 481</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.546412" elapsed="0.000405"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.548474" level="INFO">${device-port} = 18310</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.547875" elapsed="0.000626"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.550923" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:01.581562" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.581822" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.550823" elapsed="0.031066"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.582925" elapsed="0.000075"/>
</kw>
<msg time="2026-04-11T23:15:01.583087" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:01.582113" elapsed="0.001136">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:01.582056" elapsed="0.001365">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:01.550523" elapsed="0.033311">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:01.550132" elapsed="0.033958"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.585254" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18310 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:01.640096" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.640402" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.584656" elapsed="0.055795"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:01.640705" elapsed="0.000161"/>
</return>
<msg time="2026-04-11T23:15:01.641427" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:01.549337" elapsed="0.092286"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:01.642174" elapsed="0.001575"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:01.548734" elapsed="0.095211"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:01.547509" elapsed="0.096557"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:01.546982" elapsed="0.097160"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.545965" elapsed="0.098244"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:01.545470" elapsed="0.098787"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.644856" level="INFO">${next} = 18311</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.644430" elapsed="0.000455"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.645471" level="INFO">${current_port} = 18311</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:01.645054" elapsed="0.000460"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.539650" elapsed="0.105948"/>
</kw>
<msg time="2026-04-11T23:15:01.645642" level="INFO">Repeating keyword, round 482/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:01.646960" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:01.646832" elapsed="0.000174"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.646804" elapsed="0.000228"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.647410" level="INFO">${current_Date} = 2026-04-11 23:15:01.647</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:01.647224" elapsed="0.000213"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.648237" level="INFO">${ellapsed_seconds} = 2642.599</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:01.647601" elapsed="0.000663"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.648608" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:01.648338" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.648318" elapsed="0.000370"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:01.646549" elapsed="0.002186"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.649261" level="INFO">${number} = 482</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.648890" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.650797" level="INFO">${number} = 482</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.650428" elapsed="0.000400"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.652816" level="INFO">${device-port} = 18311</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.651977" elapsed="0.000885"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.656718" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:01.693977" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.694261" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.656545" elapsed="0.037776"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.695388" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:15:01.695527" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:01.694524" elapsed="0.001257">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:01.694467" elapsed="0.001415">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:01.656150" elapsed="0.040027">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:01.655553" elapsed="0.040767"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.697400" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18311 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:01.751196" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.751419" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.696868" elapsed="0.054607"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:01.751715" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:15:01.752541" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:01.654316" elapsed="0.098480"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:01.753462" elapsed="0.001853"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:01.653209" elapsed="0.102339"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:01.651535" elapsed="0.104193"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:01.650997" elapsed="0.104833"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.649961" elapsed="0.105997"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:01.649443" elapsed="0.106612"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.757210" level="INFO">${next} = 18312</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.756398" elapsed="0.000871"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.758532" level="INFO">${current_port} = 18312</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:01.757678" elapsed="0.000979"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.645900" elapsed="0.112885"/>
</kw>
<msg time="2026-04-11T23:15:01.758873" level="INFO">Repeating keyword, round 483/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:01.761539" elapsed="0.000109"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:01.761283" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.761230" elapsed="0.000535"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.762552" level="INFO">${current_Date} = 2026-04-11 23:15:01.762</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:01.762176" elapsed="0.000471"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.764201" level="INFO">${ellapsed_seconds} = 2642.484</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:01.762981" elapsed="0.001247"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.764550" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:01.764302" elapsed="0.000320"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.764283" elapsed="0.000363"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:01.760705" elapsed="0.003990"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.765209" level="INFO">${number} = 483</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.764841" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.766714" level="INFO">${number} = 483</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.766350" elapsed="0.000391"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.768408" level="INFO">${device-port} = 18312</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.767798" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.770861" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:01.801625" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.801846" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.770759" elapsed="0.031148"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.802816" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:15:01.802991" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:01.802070" elapsed="0.001064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:01.802025" elapsed="0.001220">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:01.770466" elapsed="0.033152">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:01.770074" elapsed="0.033794"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.804872" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18312 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:01.859641" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.859846" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.804332" elapsed="0.055568"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:01.860078" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:15:01.860868" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:01.769270" elapsed="0.091802"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:01.861672" elapsed="0.001693"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:01.768660" elapsed="0.094958"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:01.767427" elapsed="0.096335"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:01.766900" elapsed="0.096959"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.765900" elapsed="0.098081"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:01.765389" elapsed="0.098687"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.865185" level="INFO">${next} = 18313</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.864415" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.866540" level="INFO">${current_port} = 18313</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:01.865651" elapsed="0.001018"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.759344" elapsed="0.107452"/>
</kw>
<msg time="2026-04-11T23:15:01.866927" level="INFO">Repeating keyword, round 484/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:01.868565" elapsed="0.000041"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:01.868409" elapsed="0.000235"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.868382" elapsed="0.000293"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.869085" level="INFO">${current_Date} = 2026-04-11 23:15:01.869</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:01.868870" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.871262" level="INFO">${ellapsed_seconds} = 2642.377</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:01.869321" elapsed="0.001978"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.871738" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:01.871398" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.871372" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:01.868068" elapsed="0.003841"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.872624" level="INFO">${number} = 484</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.872106" elapsed="0.000556"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.874605" level="INFO">${number} = 484</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.874126" elapsed="0.000516"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.876972" level="INFO">${device-port} = 18313</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.876034" elapsed="0.000975"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.879384" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:01.910030" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.910269" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.879289" elapsed="0.031040"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.911329" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:15:01.911468" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:01.910501" elapsed="0.001186">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:01.910454" elapsed="0.001334">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:01.879022" elapsed="0.033063">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:01.878629" elapsed="0.033606"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.913280" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18313 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:01.967666" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:01.967879" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.912753" elapsed="0.055182"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:01.968119" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:15:01.968953" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:01.877855" elapsed="0.091306"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:01.969801" elapsed="0.001647"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:01.877254" elapsed="0.094363"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:01.875544" elapsed="0.096176"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:01.874868" elapsed="0.096919"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.873480" elapsed="0.098387"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:01.872872" elapsed="0.099056"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.972647" level="INFO">${next} = 18314</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.972146" elapsed="0.000540"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.973462" level="INFO">${current_port} = 18314</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:01.972927" elapsed="0.000595"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.867287" elapsed="0.106347"/>
</kw>
<msg time="2026-04-11T23:15:01.973691" level="INFO">Repeating keyword, round 485/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:01.975300" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:01.975147" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.975120" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.975894" level="INFO">${current_Date} = 2026-04-11 23:15:01.976</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:01.975654" elapsed="0.000278"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:01.976593" level="INFO">${ellapsed_seconds} = 2642.27</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:01.976137" elapsed="0.000495"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:01.977352" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:01.977014" elapsed="0.000418"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:01.976707" elapsed="0.000758"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:01.974804" elapsed="0.002727"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.978323" level="INFO">${number} = 485</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.977791" elapsed="0.000569"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.980436" level="INFO">${number} = 485</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.979955" elapsed="0.000520"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:01.982739" level="INFO">${device-port} = 18314</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:01.982054" elapsed="0.000713"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:01.985207" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.013964" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.014180" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:01.985095" elapsed="0.029144"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.015203" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:15:02.015341" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.014418" elapsed="0.001047">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.014364" elapsed="0.001197">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:01.984815" elapsed="0.031053">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:01.984406" elapsed="0.031715"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.017177" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18314 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:02.071900" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.072119" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.016679" elapsed="0.055500"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:02.072367" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:15:02.073208" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:01.983614" elapsed="0.089804"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:02.074040" elapsed="0.001854"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:01.982985" elapsed="0.093145"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:01.981439" elapsed="0.094852"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:01.980719" elapsed="0.095678"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.979293" elapsed="0.097233"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:01.978599" elapsed="0.098059"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.077839" level="INFO">${next} = 18315</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.077002" elapsed="0.000898"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.079196" level="INFO">${current_port} = 18315</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:02.078256" elapsed="0.001041"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:01.973965" elapsed="0.105478"/>
</kw>
<msg time="2026-04-11T23:15:02.079532" level="INFO">Repeating keyword, round 486/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:02.082186" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:02.081938" elapsed="0.000344"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.081892" elapsed="0.000440"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.083107" level="INFO">${current_Date} = 2026-04-11 23:15:02.083</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:02.082747" elapsed="0.000420"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.083678" level="INFO">${ellapsed_seconds} = 2642.163</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:02.083344" elapsed="0.000360"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.084209" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:02.083777" elapsed="0.000490"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.083757" elapsed="0.000534"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:02.081291" elapsed="0.003049"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.084891" level="INFO">${number} = 486</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.084495" elapsed="0.000423"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.086361" level="INFO">${number} = 486</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.086016" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.088131" level="INFO">${device-port} = 18315</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.087491" elapsed="0.000668"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.090632" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.125603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.125827" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.090494" elapsed="0.035393"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.126851" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:15:02.126989" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.126063" elapsed="0.001124">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.126007" elapsed="0.001282">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:02.090220" elapsed="0.037345">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:02.089820" elapsed="0.037927"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.128785" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18315 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:02.183702" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.183913" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.128236" elapsed="0.055730"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:02.184149" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:15:02.184938" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:02.089009" elapsed="0.096132"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:02.185794" elapsed="0.001888"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:02.088369" elapsed="0.099559"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:02.087144" elapsed="0.100934"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:02.086553" elapsed="0.101630"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.085530" elapsed="0.102785"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:02.085073" elapsed="0.103343"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.189695" level="INFO">${next} = 18316</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.188814" elapsed="0.000958"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.191146" level="INFO">${current_port} = 18316</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:02.190158" elapsed="0.001041"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.079990" elapsed="0.111265"/>
</kw>
<msg time="2026-04-11T23:15:02.191292" level="INFO">Repeating keyword, round 487/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:02.192443" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:02.192331" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.192310" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.192863" level="INFO">${current_Date} = 2026-04-11 23:15:02.193</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:02.192704" elapsed="0.000185"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.193342" level="INFO">${ellapsed_seconds} = 2642.053</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:02.193034" elapsed="0.000333"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.193902" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:02.193436" elapsed="0.000522"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.193418" elapsed="0.000564"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:02.192045" elapsed="0.001983"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.194552" level="INFO">${number} = 487</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.194172" elapsed="0.000422"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.195980" level="INFO">${number} = 487</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.195645" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.197623" level="INFO">${device-port} = 18316</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.197004" elapsed="0.000647"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.199985" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.232872" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.233084" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.199890" elapsed="0.033251"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.234033" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:15:02.234163" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.233301" elapsed="0.000966">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.233257" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:02.199622" elapsed="0.035064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:02.199224" elapsed="0.035672"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.235882" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18316 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:02.291489" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.291751" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.235358" elapsed="0.056452"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:02.292000" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:15:02.292859" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:02.198451" elapsed="0.094619"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:02.293726" elapsed="0.001878"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:02.197852" elapsed="0.097995"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:02.196667" elapsed="0.099327"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:02.196162" elapsed="0.099932"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.195194" elapsed="0.101027"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:02.194748" elapsed="0.101579"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.297796" level="INFO">${next} = 18317</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.296725" elapsed="0.001134"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.299223" level="INFO">${current_port} = 18317</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:02.298222" elapsed="0.001096"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.191481" elapsed="0.107969"/>
</kw>
<msg time="2026-04-11T23:15:02.299554" level="INFO">Repeating keyword, round 488/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:02.302200" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:02.301955" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.301911" elapsed="0.000497"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.303179" level="INFO">${current_Date} = 2026-04-11 23:15:02.303</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:02.302809" elapsed="0.000423"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.303732" level="INFO">${ellapsed_seconds} = 2641.943</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:02.303380" elapsed="0.000380"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.304293" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:02.303831" elapsed="0.000518"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.303811" elapsed="0.000563"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:02.301360" elapsed="0.003062"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.304971" level="INFO">${number} = 488</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.304586" elapsed="0.000412"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.306442" level="INFO">${number} = 488</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.306080" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.308149" level="INFO">${device-port} = 18317</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.307510" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.310623" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.341379" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.341637" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.310502" elapsed="0.031197"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.342643" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:15:02.342777" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.341869" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.341821" elapsed="0.001259">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:02.310204" elapsed="0.033158">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:02.309805" elapsed="0.033697"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.344537" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18317 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:02.399414" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.399671" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.343995" elapsed="0.055736"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:02.399940" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:15:02.400790" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:02.309013" elapsed="0.092006"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:02.401737" elapsed="0.002134"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:02.308384" elapsed="0.095791"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:02.307163" elapsed="0.097241"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:02.306646" elapsed="0.097867"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.305619" elapsed="0.099068"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:02.305153" elapsed="0.099638"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.406106" level="INFO">${next} = 18318</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.405171" elapsed="0.001028"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.407561" level="INFO">${current_port} = 18318</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:02.406662" elapsed="0.001033"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.300026" elapsed="0.107799"/>
</kw>
<msg time="2026-04-11T23:15:02.407916" level="INFO">Repeating keyword, round 489/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:02.410756" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:02.410467" elapsed="0.000388"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.410421" elapsed="0.000484"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.411416" level="INFO">${current_Date} = 2026-04-11 23:15:02.411</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:02.411237" elapsed="0.000206"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.412167" level="INFO">${ellapsed_seconds} = 2641.835</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:02.411606" elapsed="0.000588"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.412526" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:02.412266" elapsed="0.000334"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.412247" elapsed="0.000378"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:02.409825" elapsed="0.002850"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.413189" level="INFO">${number} = 489</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.412821" elapsed="0.000395"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.414730" level="INFO">${number} = 489</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.414349" elapsed="0.000408"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.416421" level="INFO">${device-port} = 18318</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.415803" elapsed="0.000650"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.418920" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.449246" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.449466" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.418819" elapsed="0.030704"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.450481" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:15:02.450651" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.449729" elapsed="0.001032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.449682" elapsed="0.001198">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:02.418519" elapsed="0.032647">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:02.418101" elapsed="0.033278"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.452414" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18318 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:02.507786" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.507994" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.451911" elapsed="0.056139"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:02.508257" elapsed="0.000168"/>
</return>
<msg time="2026-04-11T23:15:02.509196" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:02.417291" elapsed="0.092123"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:02.510130" elapsed="0.001823"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:02.416683" elapsed="0.095505"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:02.415437" elapsed="0.096900"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:02.414918" elapsed="0.097519"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.413873" elapsed="0.098692"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:02.413372" elapsed="0.099351"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.513902" level="INFO">${next} = 18319</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.513071" elapsed="0.000892"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.515266" level="INFO">${current_port} = 18319</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:02.514346" elapsed="0.001019"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.408386" elapsed="0.107110"/>
</kw>
<msg time="2026-04-11T23:15:02.515621" level="INFO">Repeating keyword, round 490/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:02.518322" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:02.518069" elapsed="0.000349"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.517970" elapsed="0.000496"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.519192" level="INFO">${current_Date} = 2026-04-11 23:15:02.519</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:02.518841" elapsed="0.000384"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.519921" level="INFO">${ellapsed_seconds} = 2641.727</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:02.519372" elapsed="0.000576"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.520259" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:02.520023" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.520003" elapsed="0.000334"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:02.517379" elapsed="0.003005"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.520925" level="INFO">${number} = 490</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.520528" elapsed="0.000424"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.522411" level="INFO">${number} = 490</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.522065" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.524114" level="INFO">${device-port} = 18319</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.523471" elapsed="0.000670"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.526710" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.556914" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.557132" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.526606" elapsed="0.030586"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.558163" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:15:02.558319" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.557377" elapsed="0.001131">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.557328" elapsed="0.001312">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:02.526294" elapsed="0.032623">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:02.525853" elapsed="0.033210"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.560087" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18319 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:02.615080" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.615283" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.559550" elapsed="0.055787"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:02.615518" elapsed="0.000182"/>
</return>
<msg time="2026-04-11T23:15:02.616302" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:02.525060" elapsed="0.091442"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:02.617118" elapsed="0.001733"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:02.524353" elapsed="0.094725"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:02.523125" elapsed="0.096094"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:02.522610" elapsed="0.096708"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.521558" elapsed="0.097882"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:02.521107" elapsed="0.098427"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.620677" level="INFO">${next} = 18320</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.619903" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.621972" level="INFO">${current_port} = 18320</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:02.621088" elapsed="0.000979"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.516065" elapsed="0.106127"/>
</kw>
<msg time="2026-04-11T23:15:02.622277" level="INFO">Repeating keyword, round 491/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:02.624813" elapsed="0.000043"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:02.624500" elapsed="0.000418"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.624458" elapsed="0.000509"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.625785" level="INFO">${current_Date} = 2026-04-11 23:15:02.626</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:02.625405" elapsed="0.000439"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.626716" level="INFO">${ellapsed_seconds} = 2641.62</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:02.626200" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.627068" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:02.626814" elapsed="0.000309"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.626796" elapsed="0.000350"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:02.623973" elapsed="0.003219"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.627713" level="INFO">${number} = 491</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.627335" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.629138" level="INFO">${number} = 491</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.628802" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.630783" level="INFO">${device-port} = 18320</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.630174" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.633425" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.665626" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.665881" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.633298" elapsed="0.032645"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.666890" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:15:02.667041" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.666136" elapsed="0.001018">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.666085" elapsed="0.001163">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:02.632990" elapsed="0.034536">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:02.632530" elapsed="0.035270"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.668850" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18320 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:02.723551" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.723754" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.668298" elapsed="0.055495"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:02.723935" elapsed="0.000108"/>
</return>
<msg time="2026-04-11T23:15:02.724466" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:02.631611" elapsed="0.093015"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:02.725038" elapsed="0.001228"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:02.631009" elapsed="0.095410"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:02.629827" elapsed="0.096687"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:02.629326" elapsed="0.097282"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.628335" elapsed="0.098362"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:02.627891" elapsed="0.098872"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.727528" level="INFO">${next} = 18321</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.727001" elapsed="0.000606"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.728431" level="INFO">${current_port} = 18321</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:02.727852" elapsed="0.000640"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.622718" elapsed="0.105878"/>
</kw>
<msg time="2026-04-11T23:15:02.728657" level="INFO">Repeating keyword, round 492/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:02.730398" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:02.730237" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.730207" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.731020" level="INFO">${current_Date} = 2026-04-11 23:15:02.731</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:02.730730" elapsed="0.000329"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.732146" level="INFO">${ellapsed_seconds} = 2641.515</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:02.731277" elapsed="0.000943"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.732701" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:02.732330" elapsed="0.000452"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.732301" elapsed="0.000515"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:02.729873" elapsed="0.003012"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.733649" level="INFO">${number} = 492</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.733095" elapsed="0.000593"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.735765" level="INFO">${number} = 492</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.735252" elapsed="0.000553"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.738265" level="INFO">${device-port} = 18321</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.737343" elapsed="0.000962"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.742005" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.773530" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.773706" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.741851" elapsed="0.031903"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.774322" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:15:02.774407" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.773860" elapsed="0.000677">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.773831" elapsed="0.000791">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:02.741406" elapsed="0.033403">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:02.740836" elapsed="0.034066"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.775520" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18321 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:02.831645" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.831779" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.775199" elapsed="0.056615"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:02.831932" elapsed="0.000091"/>
</return>
<msg time="2026-04-11T23:15:02.832429" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:02.739496" elapsed="0.093070"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:02.832980" elapsed="0.001204"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:02.738626" elapsed="0.095709"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:02.736782" elapsed="0.097645"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:02.736033" elapsed="0.098459"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.734605" elapsed="0.099989"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:02.733933" elapsed="0.100727"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.835367" level="INFO">${next} = 18322</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.834885" elapsed="0.000520"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.836205" level="INFO">${current_port} = 18322</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:02.835656" elapsed="0.000609"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.728959" elapsed="0.107389"/>
</kw>
<msg time="2026-04-11T23:15:02.836554" level="INFO">Repeating keyword, round 493/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:02.838242" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:02.838084" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.838048" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.838870" level="INFO">${current_Date} = 2026-04-11 23:15:02.839</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:02.838644" elapsed="0.000264"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.839858" level="INFO">${ellapsed_seconds} = 2641.407</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:02.839122" elapsed="0.000775"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.840341" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:02.840002" elapsed="0.000417"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.839975" elapsed="0.000478"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:02.837728" elapsed="0.002793"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.841282" level="INFO">${number} = 493</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.840752" elapsed="0.000568"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.843052" level="INFO">${number} = 493</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.842721" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.844676" level="INFO">${device-port} = 18322</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.844065" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.847036" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.885288" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.885424" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.846940" elapsed="0.038520"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.886029" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:15:02.886112" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.885597" elapsed="0.000580">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.885532" elapsed="0.000709">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:02.846672" elapsed="0.039743">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:02.846271" elapsed="0.040277"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.887191" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18322 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:02.943279" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.943444" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.886869" elapsed="0.056620"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:02.943671" elapsed="0.000119"/>
</return>
<msg time="2026-04-11T23:15:02.944283" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:02.845485" elapsed="0.098933"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:02.944823" elapsed="0.001135"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:02.844903" elapsed="0.101204"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:02.843731" elapsed="0.102466"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:02.843232" elapsed="0.103029"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.842272" elapsed="0.104070"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:02.841546" elapsed="0.104859"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.947132" level="INFO">${next} = 18323</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.946649" elapsed="0.000521"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.947944" level="INFO">${current_port} = 18323</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:02.947406" elapsed="0.000595"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.836846" elapsed="0.111232"/>
</kw>
<msg time="2026-04-11T23:15:02.948132" level="INFO">Repeating keyword, round 494/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:02.949735" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:02.949547" elapsed="0.000255"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.949519" elapsed="0.000315"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.950271" level="INFO">${current_Date} = 2026-04-11 23:15:02.950</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:02.950040" elapsed="0.000269"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:02.951278" level="INFO">${ellapsed_seconds} = 2641.296</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:02.950520" elapsed="0.000794"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.951748" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:02.951413" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:02.951386" elapsed="0.000470"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:02.949170" elapsed="0.002749"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.952637" level="INFO">${number} = 494</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.952117" elapsed="0.000557"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.954741" level="INFO">${number} = 494</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.954235" elapsed="0.000544"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:02.957031" level="INFO">${device-port} = 18323</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:02.956186" elapsed="0.000882"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.960455" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:02.993170" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:02.993302" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.960314" elapsed="0.033024"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:02.993914" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:15:02.993995" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:02.993455" elapsed="0.000648">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:02.993427" elapsed="0.000736">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:02.959941" elapsed="0.034400">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:02.959386" elapsed="0.035046"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:02.995073" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18323 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:03.051197" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.051326" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:02.994755" elapsed="0.056604"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:03.051470" elapsed="0.000086"/>
</return>
<msg time="2026-04-11T23:15:03.051973" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:02.958264" elapsed="0.093839"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:03.052475" elapsed="0.001164"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:02.957362" elapsed="0.096426"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:02.955721" elapsed="0.098158"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:02.955006" elapsed="0.098938"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.953534" elapsed="0.100490"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:02.952885" elapsed="0.101201"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.054810" level="INFO">${next} = 18324</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.054308" elapsed="0.000541"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.055640" level="INFO">${current_port} = 18324</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:03.055084" elapsed="0.000619"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:02.948387" elapsed="0.107395"/>
</kw>
<msg time="2026-04-11T23:15:03.055835" level="INFO">Repeating keyword, round 495/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:03.057494" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.057300" elapsed="0.000253"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.057274" elapsed="0.000329"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.058071" level="INFO">${current_Date} = 2026-04-11 23:15:03.058</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:03.057858" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.059058" level="INFO">${ellapsed_seconds} = 2641.188</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:03.058319" elapsed="0.000778"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.059528" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.059202" elapsed="0.000421"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.059175" elapsed="0.000482"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:03.056928" elapsed="0.002800"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.060444" level="INFO">${number} = 495</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.059928" elapsed="0.000553"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.062556" level="INFO">${number} = 495</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.062072" elapsed="0.000543"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.064933" level="INFO">${device-port} = 18324</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.064046" elapsed="0.000926"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.068343" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:03.101247" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.101396" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.068204" elapsed="0.033227"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.101986" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:15:03.102068" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:03.101530" elapsed="0.000604">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:03.101503" elapsed="0.000685">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.067836" elapsed="0.034540">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.067286" elapsed="0.035230"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.103159" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18324 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:03.159302" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.159428" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.102838" elapsed="0.056624"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:03.159597" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:15:03.160067" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:03.066162" elapsed="0.094035"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:03.160597" elapsed="0.001134"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:03.065265" elapsed="0.096614"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:03.063547" elapsed="0.098423"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:03.062844" elapsed="0.099190"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.061442" elapsed="0.100672"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:03.060771" elapsed="0.101405"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.162908" level="INFO">${next} = 18325</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.162401" elapsed="0.000545"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.163751" level="INFO">${current_port} = 18325</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:03.163176" elapsed="0.000634"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.056100" elapsed="0.107791"/>
</kw>
<msg time="2026-04-11T23:15:03.163945" level="INFO">Repeating keyword, round 496/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:03.165635" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.165453" elapsed="0.000243"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.165427" elapsed="0.000299"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.166140" level="INFO">${current_Date} = 2026-04-11 23:15:03.166</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:03.165925" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.168196" level="INFO">${ellapsed_seconds} = 2641.08</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:03.166385" elapsed="0.001855"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.168752" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.168344" elapsed="0.000489"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.168316" elapsed="0.000552"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:03.165038" elapsed="0.003897"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.169715" level="INFO">${number} = 496</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.169144" elapsed="0.000611"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.171736" level="INFO">${number} = 496</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.171250" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.174025" level="INFO">${device-port} = 18325</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.173158" elapsed="0.000905"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.177380" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:03.209205" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.209342" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.177247" elapsed="0.032134"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.209971" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:15:03.210057" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:03.209486" elapsed="0.000684">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:03.209457" elapsed="0.000776">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.176850" elapsed="0.033559">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.176300" elapsed="0.034200"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.211142" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18325 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:03.267237" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.267363" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.210825" elapsed="0.056573"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:03.267510" elapsed="0.000116"/>
</return>
<msg time="2026-04-11T23:15:03.268012" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:03.175232" elapsed="0.092909"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:03.268522" elapsed="0.001162"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:03.174354" elapsed="0.095480"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:03.172689" elapsed="0.097237"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:03.171989" elapsed="0.098003"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.170639" elapsed="0.099435"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:03.169977" elapsed="0.100161"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.270865" level="INFO">${next} = 18326</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.270360" elapsed="0.000545"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.271702" level="INFO">${current_port} = 18326</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:03.271138" elapsed="0.000625"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.164202" elapsed="0.107640"/>
</kw>
<msg time="2026-04-11T23:15:03.271897" level="INFO">Repeating keyword, round 497/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:03.273526" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.273378" elapsed="0.000228"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.273352" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.274087" level="INFO">${current_Date} = 2026-04-11 23:15:03.274</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:03.273875" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.274803" level="INFO">${ellapsed_seconds} = 2640.972</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:03.274337" elapsed="0.000505"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.337904" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.337473" elapsed="0.000509"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.274919" elapsed="0.063090"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:03.272992" elapsed="0.065086"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.338722" level="INFO">${number} = 497</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.338244" elapsed="0.000506"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.340240" level="INFO">${number} = 497</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.339894" elapsed="0.000372"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.341969" level="INFO">${device-port} = 18326</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.341340" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.344393" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:03.356938" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.357084" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.344285" elapsed="0.012835"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.357695" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:15:03.357780" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:03.357222" elapsed="0.000626">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:03.357195" elapsed="0.000709">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.344001" elapsed="0.014079">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.343606" elapsed="0.014633"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.358893" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18326 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:03.415425" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.415625" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.358544" elapsed="0.057129"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:03.415829" elapsed="0.000117"/>
</return>
<msg time="2026-04-11T23:15:03.416415" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:03.342820" elapsed="0.073733"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:03.416984" elapsed="0.001132"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:03.342203" elapsed="0.076063"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:03.340951" elapsed="0.077411"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:03.340426" elapsed="0.078002"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.339411" elapsed="0.079100"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:03.338909" elapsed="0.079687"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.419316" level="INFO">${next} = 18327</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.418825" elapsed="0.000528"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.420133" level="INFO">${current_port} = 18327</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:03.419592" elapsed="0.000600"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.272155" elapsed="0.148117"/>
</kw>
<msg time="2026-04-11T23:15:03.420329" level="INFO">Repeating keyword, round 498/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:03.422237" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.422079" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.422051" elapsed="0.000280"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.422797" level="INFO">${current_Date} = 2026-04-11 23:15:03.423</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:03.422539" elapsed="0.000297"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.423503" level="INFO">${ellapsed_seconds} = 2640.823</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:03.423052" elapsed="0.000487"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.423980" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.423661" elapsed="0.000394"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.423634" elapsed="0.000454"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:03.421718" elapsed="0.002435"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.424921" level="INFO">${number} = 498</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.424355" elapsed="0.000604"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.426463" level="INFO">${number} = 498</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.426123" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.428109" level="INFO">${device-port} = 18327</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.427492" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.430480" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:03.465331" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.465465" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.430383" elapsed="0.035119"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.466062" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:15:03.466143" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:03.465629" elapsed="0.000641">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:03.465598" elapsed="0.000735">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.430110" elapsed="0.036548">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.429727" elapsed="0.037026"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.467372" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18327 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:03.523542" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.523697" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.467051" elapsed="0.056683"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:03.523852" elapsed="0.000091"/>
</return>
<msg time="2026-04-11T23:15:03.524337" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:03.428958" elapsed="0.095514"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:03.524897" elapsed="0.001112"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:03.428336" elapsed="0.097823"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:03.427156" elapsed="0.099096"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:03.426663" elapsed="0.099654"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.425681" elapsed="0.100719"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:03.425175" elapsed="0.101288"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.527197" level="INFO">${next} = 18328</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.526713" elapsed="0.000525"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.528075" level="INFO">${current_port} = 18328</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:03.527471" elapsed="0.000665"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.420608" elapsed="0.107613"/>
</kw>
<msg time="2026-04-11T23:15:03.528277" level="INFO">Repeating keyword, round 499/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:03.530214" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.530057" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.530029" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.530799" level="INFO">${current_Date} = 2026-04-11 23:15:03.531</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:03.530555" elapsed="0.000281"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.531474" level="INFO">${ellapsed_seconds} = 2640.715</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:03.531038" elapsed="0.000474"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.532005" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.531672" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.531644" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:03.529701" elapsed="0.002483"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.532960" level="INFO">${number} = 499</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.532401" elapsed="0.000596"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.534459" level="INFO">${number} = 499</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.534124" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.536086" level="INFO">${device-port} = 18328</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.535474" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.538434" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:03.573322" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.573456" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.538338" elapsed="0.035155"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.574059" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:15:03.574141" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:03.573619" elapsed="0.000586">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:03.573589" elapsed="0.000677">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.538073" elapsed="0.036360">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.537689" elapsed="0.036875"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.575174" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18328 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:03.631522" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.631673" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.574874" elapsed="0.056837"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:03.631830" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:15:03.632294" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:03.536925" elapsed="0.095495"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:03.632966" elapsed="0.001060"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:03.536314" elapsed="0.097855"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:03.535142" elapsed="0.099119"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:03.534656" elapsed="0.099666"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.533685" elapsed="0.100714"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:03.533212" elapsed="0.101247"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.635155" level="INFO">${next} = 18329</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.634691" elapsed="0.000501"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.635957" level="INFO">${current_port} = 18329</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:03.635412" elapsed="0.000603"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.528548" elapsed="0.107544"/>
</kw>
<msg time="2026-04-11T23:15:03.636146" level="INFO">Repeating keyword, round 500/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:03.638032" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.637883" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.637856" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.638528" level="INFO">${current_Date} = 2026-04-11 23:15:03.638</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:03.638316" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.639230" level="INFO">${ellapsed_seconds} = 2640.608</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:03.638806" elapsed="0.000460"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.639703" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.639364" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.639339" elapsed="0.000473"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:03.637501" elapsed="0.002377"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.640629" level="INFO">${number} = 500</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.640077" elapsed="0.000592"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.642258" level="INFO">${number} = 500</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.641924" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.643976" level="INFO">${device-port} = 18329</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.643280" elapsed="0.000726"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.646398" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:15:03.681235" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.681367" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.646301" elapsed="0.035103"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.681968" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:15:03.682049" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:15:03.681505" elapsed="0.000662">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:03.681477" elapsed="0.000750">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.646033" elapsed="0.036363">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.645639" elapsed="0.036845"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.683110" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18329 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:15:03.739419" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:15:03.739677" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:15:03.682807" elapsed="0.056908"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:15:03.739885" elapsed="0.000111"/>
</return>
<msg time="2026-04-11T23:15:03.740414" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:15:03.644841" elapsed="0.095749"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:15:03.741024" elapsed="0.001123"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:15:03.644213" elapsed="0.098076"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:15:03.642944" elapsed="0.099439"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:15:03.642439" elapsed="0.100013"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.641443" elapsed="0.101096"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:15:03.640891" elapsed="0.101741"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.743353" level="INFO">${next} = 18330</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.742859" elapsed="0.000532"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.744190" level="INFO">${current_port} = 18330</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:03.743639" elapsed="0.000614"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:15:03.636412" elapsed="0.107924"/>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="PASS" start="2026-04-11T23:14:04.251023" elapsed="59.493386"/>
</kw>
<arg>NetconfKeywords__Wait_Device_Is_Up_And_Running</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:14:04.245230" elapsed="59.499289"/>
</kw>
<arg>${filename}</arg>
<arg>${device-count}</arg>
<arg>${debug}</arg>
<arg>${schemas}</arg>
<arg>${rpc_config}</arg>
<arg>${tool_options}</arg>
<arg>${java_options}</arg>
<arg>${mdsal}</arg>
<arg>log_response=${log_response}</arg>
<doc>Arrange to collect tool's output into a log file.
Will use specific none unless argument resolves to 'none',
which signifies that there are no additional schemas to be deployed.
If so the directory for the additional schemas is deleted on the
remote machine and the additional schemas argument is left out.</doc>
<status status="PASS" start="2026-04-11T23:14:04.097785" elapsed="59.646827"/>
</kw>
<arg>device-count=${DEVICE_COUNT}</arg>
<doc>Install and run testtool.</doc>
<status status="PASS" start="2026-04-11T23:14:03.434154" elapsed="60.310718"/>
</kw>
<status status="PASS" start="2026-04-11T23:14:03.433881" elapsed="60.311037"/>
</branch>
<branch type="ELSE">
<kw name="Start_Testtool" owner="NetconfKeywords">
<arg>${NETCONF_FILENAME}</arg>
<arg>device-count=${DEVICE_COUNT}</arg>
<doc>Arrange to collect tool's output into a log file.
Will use specific ${schemas} unless argument resolves to 'none',
which signifies that there are no additional schemas to be deployed.
If so the directory for the additional schemas is deleted on the
remote machine and the additional schemas argument is left out.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.751106" elapsed="0.000040"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.744962" elapsed="0.006238"/>
</branch>
<status status="PASS" start="2026-04-11T23:14:03.433862" elapsed="60.317371"/>
</if>
<doc>Deploy and start test tool, then wait for all its devices to become online.</doc>
<status status="PASS" start="2026-04-11T23:14:03.374693" elapsed="60.376695"/>
</test>
<test id="s1-s4-t2" name="Configure_Devices_On_Netconf" line="50">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:15:03.756908" elapsed="0.000301"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:15:03.756522" elapsed="0.000764"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:15:03.758713" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.758535" elapsed="0.000247"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.758508" elapsed="0.000306"/>
</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-11T23:15:03.765645" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.765482" elapsed="0.000227"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.765457" elapsed="0.000285"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.767094" level="INFO">${return_list_reference} = [1]</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-11T23:15:03.766561" elapsed="0.000569"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.767769" level="INFO">${return_list_copy} = [1]</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-11T23:15:03.767347" elapsed="0.000457"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:15:03.767866" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:15:03.768082" level="INFO">${index_list} = [1]</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-11T23:15:03.766055" elapsed="0.002062"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:15:03.780534" elapsed="0.000058"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.780270" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.780226" elapsed="0.000494"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:15:03.783459" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.783222" elapsed="0.000339"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.783180" elapsed="0.000466"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:15:03.784693" level="INFO">${karaf_connection_index} = 57</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="PASS" start="2026-04-11T23:15:03.783964" elapsed="0.000789"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.785454" level="INFO">${current_connection_index} = 56</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:15:03.785097" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.786270" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.786005" elapsed="0.000976">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:15:03.787164" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:15:03.787212" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.785664" elapsed="0.001571"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.788012" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.787766" elapsed="0.000927">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:15:03.788917" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:15:03.788964" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.787407" elapsed="0.001643"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.789982" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Configure_Devices_On_Netconf"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.789363" elapsed="0.000683">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Configure_Devices_On_Netconf"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:03.789131" elapsed="0.000985">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Configure_Devices_On_Netconf"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:03.789111" elapsed="0.001039">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Configure_Devices_On_Netconf"</status>
</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-04-11T23:15:03.790310" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.790538" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.790398" elapsed="0.000220"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:03.790380" elapsed="0.000269"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:15:03.790690" elapsed="0.000017"/>
</return>
<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">
<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-11T23:15:03.793314" elapsed="0.000152"/>
</kw>
<msg time="2026-04-11T23:15:03.793532" 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-11T23:15:03.792129" elapsed="0.001545"/>
</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-11T23:15:03.793958" elapsed="0.000236"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.794455" elapsed="0.000070"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:15:03.791507" elapsed="0.003154"/>
</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="PASS" start="2026-04-11T23:15:03.790968" elapsed="0.003760"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.782465" elapsed="0.012349">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Configure_Devices_On_Netconf"</status>
</kw>
<msg time="2026-04-11T23:15:03.794919" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:15:03.794964" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Configure_Devices_On_Netconf"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:15:03.781052" elapsed="0.013937"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:15:03.795176" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.795067" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.795047" elapsed="0.000196"/>
</if>
<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-11T23:15:03.796282" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.796174" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.796155" elapsed="0.000195"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.796673" level="INFO">index=56
host=10.30.171.36
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-11T23:15:03.796777" level="INFO">${current_ssh_connection_object} = index=56
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:15:03.796527" elapsed="0.000277"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.797216" level="INFO">{1: 57}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:03.796954" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.797672" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:03.797409" elapsed="0.000308"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:15:03.798230" elapsed="0.000264"/>
</kw>
<msg time="2026-04-11T23:15:03.798620" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:15:03.798671" level="INFO">${old_connection_index} = 57</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-11T23:15:03.797871" elapsed="0.000824"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:15:03.799497" elapsed="0.000245"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.800847" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.800377" elapsed="0.001330">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.799904" elapsed="0.001901"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:15:03.802423" elapsed="0.000312"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.801974" elapsed="0.000842"/>
</kw>
<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="PASS" start="2026-04-11T23:15:03.798996" elapsed="0.003867"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:03.798774" elapsed="0.004140"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.798754" elapsed="0.004185"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:15:03.803791" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:15:03.803467" elapsed="0.000352"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:15:03.803868" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:03.804023" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:15:03.803146" elapsed="0.000902"/>
</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="PASS" start="2026-04-11T23:15:03.804200" elapsed="0.000459"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.804939" level="INFO">index=59
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:15:03.805040" level="INFO">${karaf_connection_object} = index=59
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:15:03.804828" elapsed="0.000239"/>
</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="PASS" start="2026-04-11T23:15:03.805211" elapsed="0.002412"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.808054" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:15:03.810028" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:15:03.807786" elapsed="0.002631">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:15:03.826265" elapsed="0.000754"/>
</kw>
<msg time="2026-04-11T23:15:03.827144" 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-11T23:15:03.824042" elapsed="0.003312"/>
</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-11T23:15:03.827622" elapsed="0.000035"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.827866" elapsed="0.000030"/>
</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-11T23:15:03.811258" elapsed="0.016730"/>
</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-11T23:15:03.810746" elapsed="0.017312"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.795874" elapsed="0.032306">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.828756" elapsed="0.000040"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:15:03.828870" elapsed="0.000027"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.779474" elapsed="0.049555">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:15:03.829190" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:15:03.829260" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:15:03.768880" elapsed="0.060422"/>
</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-11T23:15:03.829742" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.829453" elapsed="0.000346"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.829433" elapsed="0.000392"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:15:03.768444" elapsed="0.061406"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:15:03.768191" elapsed="0.061692"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:15:03.764994" elapsed="0.064948"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:15:03.758136" elapsed="0.071866"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.757501" elapsed="0.072550"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:15:03.752990" elapsed="0.077118"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.830760" level="INFO">${timeout} = 5000</msg>
<var>${timeout}</var>
<arg>${DEVICE_COUNT}*${TIMEOUT_FACTOR}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.830273" elapsed="0.000516"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.831654" level="INFO">${current_Date} = 2026-04-11 23:15:03.832</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:03.831468" elapsed="0.000220"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.832161" level="INFO">${deadline_Date} = 2026-04-12 00:38:23.832</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:15:03.831849" elapsed="0.000340"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.832747" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:03.832373" elapsed="0.000417"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.833259" level="INFO">Repeating keyword, round 1/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:03.834391" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.834281" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.834262" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.834840" level="INFO">${current_Date} = 2026-04-11 23:15:03.835</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:03.834683" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:03.835325" level="INFO">${ellapsed_seconds} = 4999.997</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:03.835014" elapsed="0.000338"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.835671" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.835424" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.835405" elapsed="0.000347"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:03.834042" elapsed="0.001756"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.836307" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.835943" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="Configure_Device" owner="NetconfKeywords">
<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-11T23:15:03.844246" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.844135" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.844115" elapsed="0.000202"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.845399" level="INFO">${return_list_reference} = [1]</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-11T23:15:03.845009" elapsed="0.000417"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.845894" level="INFO">${return_list_copy} = [1]</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-11T23:15:03.845597" elapsed="0.000323"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:15:03.845966" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:15:03.846122" level="INFO">${index_list} = [1]</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-11T23:15:03.844556" elapsed="0.001591"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:15:03.851671" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.851546" elapsed="0.000172"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.851526" elapsed="0.000262"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:15:03.853453" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.853256" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.853198" elapsed="0.000387"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:15:03.854932" level="INFO">${karaf_connection_index} = 59</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="PASS" start="2026-04-11T23:15:03.854435" elapsed="0.000547"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.856280" level="INFO">${current_connection_index} = 56</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:15:03.855835" elapsed="0.000506"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.858043" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.857838" elapsed="0.000676">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:15:03.858794" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:15:03.858894" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.857287" elapsed="0.001652"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.860520" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.860326" elapsed="0.000706">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:15:03.861295" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:15:03.861393" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.859787" elapsed="0.001651"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.862558" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.862018" elapsed="0.000619">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:03.861658" elapsed="0.001069">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:03.861522" elapsed="0.001251">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</status>
</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-04-11T23:15:03.863630" elapsed="0.000054"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.864070" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.863814" elapsed="0.000329"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:03.863758" elapsed="0.000421"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:15:03.864254" elapsed="0.000037"/>
</return>
<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">
<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-11T23:15:03.866865" elapsed="0.000147"/>
</kw>
<msg time="2026-04-11T23:15:03.867057" 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-11T23:15:03.866233" elapsed="0.000887"/>
</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-11T23:15:03.867275" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.867433" 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-11T23:15:03.865874" elapsed="0.001640"/>
</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="PASS" start="2026-04-11T23:15:03.864951" elapsed="0.002667"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.852563" elapsed="0.015181">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</status>
</kw>
<msg time="2026-04-11T23:15:03.868011" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:15:03.868056" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:15:03.851942" elapsed="0.016138"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:15:03.868268" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.868159" elapsed="0.000181"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.868140" elapsed="0.000225"/>
</if>
<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-11T23:15:03.869713" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:03.869317" elapsed="0.000503"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.869298" elapsed="0.000548"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.870125" level="INFO">index=56
host=10.30.171.36
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-11T23:15:03.870262" level="INFO">${current_ssh_connection_object} = index=56
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:15:03.869998" elapsed="0.000305"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.870960" level="INFO">{1: 59}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:03.870502" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.871710" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:03.871268" elapsed="0.000545"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:15:03.872893" elapsed="0.000392"/>
</kw>
<msg time="2026-04-11T23:15:03.873414" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:15:03.873484" level="INFO">${old_connection_index} = 59</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-11T23:15:03.872018" elapsed="0.001503"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:15:03.875078" elapsed="0.000142"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.875918" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.875767" elapsed="0.000604">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.875430" elapsed="0.001003"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:15:03.876995" elapsed="0.000099"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:03.876666" elapsed="0.000475"/>
</kw>
<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="PASS" start="2026-04-11T23:15:03.874126" elapsed="0.003068"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:03.873791" elapsed="0.003530"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.873770" elapsed="0.003578"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:15:03.878999" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:15:03.878507" elapsed="0.000591"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:15:03.879187" elapsed="0.000045"/>
</return>
<msg time="2026-04-11T23:15:03.879512" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:15:03.877551" elapsed="0.001999"/>
</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="PASS" start="2026-04-11T23:15:03.879777" elapsed="0.001111"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.881254" level="INFO">index=60
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:15:03.881387" level="INFO">${karaf_connection_object} = index=60
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:15:03.881142" elapsed="0.000285"/>
</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="PASS" start="2026-04-11T23:15:03.881708" elapsed="0.002546"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:15:03.885124" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:15:03.886141" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:15:03.884495" elapsed="0.002062">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:15:03.891693" elapsed="0.000154"/>
</kw>
<msg time="2026-04-11T23:15:03.891890" 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-11T23:15:03.891089" elapsed="0.000864"/>
</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-11T23:15:03.892194" elapsed="0.000023"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.892421" elapsed="0.000022"/>
</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-11T23:15:03.888385" elapsed="0.004356"/>
</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-11T23:15:03.886936" elapsed="0.005901"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.868919" elapsed="0.024037">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.893383" elapsed="0.000027"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:15:03.893460" elapsed="0.000020"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.851209" elapsed="0.042414">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:15:03.893734" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:15:03.893779" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:15:03.846514" elapsed="0.047289"/>
</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-11T23:15:03.894136" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.893884" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.893865" elapsed="0.000349"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:15:03.846374" elapsed="0.047864"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:15:03.846202" elapsed="0.048067"/>
</for>
<arg>Configuring device ${current_name} to Netconf</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-11T23:15:03.842083" elapsed="0.052245"/>
</kw>
<kw name="Configure_Device_In_Netconf" owner="NetconfKeywords">
<kw name="Set_Variable_If_At_Least_Scandium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Set_Variable_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Set Variable If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:15:03.922695" elapsed="0.000835"/>
</kw>
<msg time="2026-04-11T23:15:03.923768" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>BuiltIn.Set_Variable_If</arg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:15:03.922321" elapsed="0.001521"/>
</kw>
<arg>scandium</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Compare ${lower_bound} to titanium and return scandium if titanium is at least ${lower_bound},
return calcium otherwise.</doc>
<status status="PASS" start="2026-04-11T23:15:03.921933" elapsed="0.001989"/>
</kw>
<msg time="2026-04-11T23:15:03.923965" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Set_Variable_If_At_Least</arg>
<arg>scandium</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:15:03.913383" elapsed="0.010627"/>
</kw>
<msg time="2026-04-11T23:15:03.924117" level="INFO">${version} = scandium</msg>
<var>${version}</var>
<arg>scandium</arg>
<arg>calcium</arg>
<doc>Compare scandium to titanium and return ${value_if_true} if titanium is at least scandium, return ${value_if_false} otherwise.</doc>
<status status="PASS" start="2026-04-11T23:15:03.912537" elapsed="0.011604"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.925080" level="INFO">${mapping} = {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': 'netconf-scaling-device-1', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY':...</msg>
<var>${mapping}</var>
<arg>DEVICE_IP=${device_address}</arg>
<arg>DEVICE_NAME=${device_name}</arg>
<arg>DEVICE_PORT=${device_port}</arg>
<arg>DEVICE_USER=${device_user}</arg>
<arg>DEVICE_PASSWORD=${device_password}</arg>
<arg>DEVICE_KEY=${device_key}</arg>
<arg>SCHEMA_DIRECTORY=${schema_directory}</arg>
<arg>RESTCONF_ROOT=${RESTCONF_ROOT}</arg>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.924330" elapsed="0.000779"/>
</kw>
<if>
<branch type="IF" condition="'${http_method}'=='post'">
<kw name="Post_As_Xml_Templated" owner="TemplatedRequests">
<arg>folder=${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${version}${/}${device_type}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Add arguments sensible for XML data, return Post_Templated response text.
Optionally, verification against response.xml (no iteration) is called.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.925555" elapsed="0.000041"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.925217" elapsed="0.000424"/>
</branch>
<branch type="ELSE">
<kw name="Put_As_Xml_Templated" owner="TemplatedRequests">
<kw name="Put_Templated" owner="TemplatedRequests">
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.958934" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/location.uri</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:03.958536" elapsed="0.000497"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:15:03.959878" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/location.uri' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.959597" elapsed="0.000357">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/location.uri' does not exist.</status>
</kw>
<msg time="2026-04-11T23:15:03.960049" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:15:03.959249" elapsed="0.000824"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.960724" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/location.uri</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:15:03.960316" elapsed="0.000435"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:15:03.961099" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/location.uri"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/location.uri&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:15:03.961272" level="INFO">${template} = $RESTCONF_ROOT/data/network-topology:network-topology/topology=topology-netconf/node=$DEVICE_NAME
</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:15:03.960957" elapsed="0.000340"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.961766" level="INFO">$RESTCONF_ROOT/data/network-topology:network-topology/topology=topology-netconf/node=$DEVICE_NAME
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:03.961499" elapsed="0.000311"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.962844" level="INFO">mapping: {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': 'netconf-scaling-device-1', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY': '/tmp/schema', 'RESTCONF_ROOT': '/rests'}</msg>
<arg>mapping: ${mapping}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:03.962586" elapsed="0.000306"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.963306" level="INFO">${encoded_mapping} = {}</msg>
<var>${encoded_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.963046" elapsed="0.000286"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.964011" level="INFO">${value} = 10.30.171.36</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:15:03.963715" elapsed="0.000322"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:15:03.964810" level="INFO">${encoded} = 10.30.171.36</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.964551" elapsed="0.000285"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:15:03.964888" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:15:03.965041" level="INFO">${encoded_value} = 10.30.171.36</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:15:03.964232" elapsed="0.000833"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.965212" elapsed="0.000239"/>
</kw>
<var name="${key}">DEVICE_IP</var>
<var name="${value}">10.30.171.36</var>
<status status="PASS" start="2026-04-11T23:15:03.963582" elapsed="0.001909"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.967597" level="INFO">${value} = netconf-scaling-device-1</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:15:03.965744" elapsed="0.001881"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:15:03.968350" level="INFO">${encoded} = netconf-scaling-device-1</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.968127" elapsed="0.000248"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:15:03.968425" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:03.968615" level="INFO">${encoded_value} = netconf-scaling-device-1</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:15:03.967813" elapsed="0.000828"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.968789" elapsed="0.000223"/>
</kw>
<var name="${key}">DEVICE_NAME</var>
<var name="${value}">netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:03.965617" elapsed="0.003437"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.969610" level="INFO">${value} = 17830</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:15:03.969295" elapsed="0.000341"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:15:03.970342" level="INFO">${encoded} = 17830</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.970131" elapsed="0.000236"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:15:03.970417" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:03.970566" level="INFO">${encoded_value} = 17830</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:15:03.969820" elapsed="0.000786"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.970790" elapsed="0.000228"/>
</kw>
<var name="${key}">DEVICE_PORT</var>
<var name="${value}">17830</var>
<status status="PASS" start="2026-04-11T23:15:03.969167" elapsed="0.001892"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.971612" level="INFO">${value} = admin</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:15:03.971298" elapsed="0.000341"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:15:03.972372" level="INFO">${encoded} = admin</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.972133" elapsed="0.000264"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:15:03.972448" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:03.972620" level="INFO">${encoded_value} = admin</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:15:03.971822" elapsed="0.000823"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.972794" elapsed="0.000219"/>
</kw>
<var name="${key}">DEVICE_USER</var>
<var name="${value}">admin</var>
<status status="PASS" start="2026-04-11T23:15:03.971170" elapsed="0.001886"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.973612" level="INFO">${value} = topsecret</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:15:03.973300" elapsed="0.000339"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:15:03.974344" level="INFO">${encoded} = topsecret</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.974133" elapsed="0.000236"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:15:03.974419" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:03.974582" level="INFO">${encoded_value} = topsecret</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:15:03.973821" elapsed="0.000787"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.974756" elapsed="0.000221"/>
</kw>
<var name="${key}">DEVICE_PASSWORD</var>
<var name="${value}">topsecret</var>
<status status="PASS" start="2026-04-11T23:15:03.973167" elapsed="0.001852"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.975553" level="INFO">${value} = device-key</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:15:03.975259" elapsed="0.000334"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:15:03.976309" level="INFO">${encoded} = device-key</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.976086" elapsed="0.000249"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:15:03.976385" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:03.976534" level="INFO">${encoded_value} = device-key</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:15:03.975776" elapsed="0.000781"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.976719" elapsed="0.000219"/>
</kw>
<var name="${key}">DEVICE_KEY</var>
<var name="${value}">device-key</var>
<status status="PASS" start="2026-04-11T23:15:03.975131" elapsed="0.001848"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.977516" level="INFO">${value} = /tmp/schema</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:15:03.977219" elapsed="0.000322"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:15:03.978455" level="INFO">${encoded} = /tmp/schema</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.978050" elapsed="0.000431"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:15:03.978534" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:03.978702" level="INFO">${encoded_value} = /tmp/schema</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:15:03.977738" elapsed="0.000989"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.978876" elapsed="0.000221"/>
</kw>
<var name="${key}">SCHEMA_DIRECTORY</var>
<var name="${value}">/tmp/schema</var>
<status status="PASS" start="2026-04-11T23:15:03.977091" elapsed="0.002047"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.979686" level="INFO">${value} = /rests</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:15:03.979375" elapsed="0.000337"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:15:03.980431" level="INFO">${encoded} = /rests</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.980218" elapsed="0.000239"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:15:03.980506" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:03.980671" level="INFO">${encoded_value} = /rests</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:15:03.979894" elapsed="0.000802"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:15:03.980886" elapsed="0.000223"/>
</kw>
<var name="${key}">RESTCONF_ROOT</var>
<var name="${value}">/rests</var>
<status status="PASS" start="2026-04-11T23:15:03.979248" elapsed="0.001903"/>
</iter>
<var>${key}</var>
<var>${value}</var>
<value>&amp;{mapping}</value>
<status status="PASS" start="2026-04-11T23:15:03.963384" elapsed="0.017801"/>
</for>
<return>
<value>${encoded_mapping}</value>
<status status="PASS" start="2026-04-11T23:15:03.981228" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:03.981387" level="INFO">${mapping_to_use} = {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': 'netconf-scaling-device-1', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY':...</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="PASS" start="2026-04-11T23:15:03.962250" elapsed="0.019163"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:03.961955" elapsed="0.019490"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:03.981661" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:03.981491" elapsed="0.000228"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:03.961914" elapsed="0.019842"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:03.982832" level="INFO">${final_text} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:03.981951" elapsed="0.000910"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:15:03.982944" elapsed="0.000062"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:15:03.957459" elapsed="0.025747"/>
</kw>
<msg time="2026-04-11T23:15:03.983302" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:15:03.943682" elapsed="0.039712"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.023316" elapsed="0.000029"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.063148" elapsed="0.000028"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.103541" elapsed="0.000039"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.103747" elapsed="0.000022"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.103919" elapsed="0.000020"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.105286" elapsed="0.000035"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.104197" elapsed="0.001173"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:04.104181" elapsed="0.001226"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.105602" elapsed="0.000072"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.105894" elapsed="0.000069"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.106230" elapsed="0.000075"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:15:04.104149" elapsed="0.002241"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.103994" elapsed="0.002426"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.106566" elapsed="0.000181"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.106804" elapsed="0.000017"/>
</return>
<msg time="2026-04-11T23:15:04.106926" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${uri}</var>
<arg>folder=${folder}</arg>
<arg>base_name=location</arg>
<arg>extension=uri</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=True</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:15:03.939508" elapsed="0.167445"/>
</kw>
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.134894" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/data.xml</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:04.134500" elapsed="0.000423"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:15:04.135696" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/data.xml' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.135462" elapsed="0.000300">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/data.xml' does not exist.</status>
</kw>
<msg time="2026-04-11T23:15:04.135854" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:15:04.135130" elapsed="0.000749"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.136488" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/data.xml</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:15:04.136101" elapsed="0.000414"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:15:04.136880" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/data.xml"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/data.xml&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:15:04.137012" level="INFO">${template} = &lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;$DEVICE_NAME&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;$DEVICE_IP&lt;/host&gt;
    &lt;port&gt;$DEVI...</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:15:04.136739" elapsed="0.000303"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.137483" level="INFO">&lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;$DEVICE_NAME&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;$DEVICE_IP&lt;/host&gt;
    &lt;port&gt;$DEVICE_PORT&lt;/port&gt;
    &lt;login-password-unencrypted&gt;
      &lt;username&gt;$DEVICE_USER&lt;/username&gt;
      &lt;password&gt;$DEVICE_PASSWORD&lt;/password&gt;
    &lt;/login-password-unencrypted&gt;
    &lt;tcp-only&gt;false&lt;/tcp-only&gt;
    &lt;keepalive-delay&gt;0&lt;/keepalive-delay&gt;
  &lt;/netconf-node&gt;
&lt;/node&gt;
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.137241" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="NOT RUN" start="2026-04-11T23:15:04.137983" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.137692" elapsed="0.000349"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.138524" level="INFO">${mapping_to_use} = {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': 'netconf-scaling-device-1', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY':...</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:04.138224" elapsed="0.000328"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:04.138081" elapsed="0.000521"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.137651" elapsed="0.000990"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.139514" level="INFO">${final_text} = &lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;netconf-scaling-device-1&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;10.30.171.36&lt;/host&gt;
 ...</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:04.138835" elapsed="0.000710"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:15:04.139641" elapsed="0.000062"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:15:04.133433" elapsed="0.006467"/>
</kw>
<msg time="2026-04-11T23:15:04.140185" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:15:04.119604" elapsed="0.020691"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.180299" elapsed="0.000029"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.221044" elapsed="0.000034"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.260777" elapsed="0.000029"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.260972" elapsed="0.000022"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.261143" elapsed="0.000021"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.262475" elapsed="0.000035"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.261410" elapsed="0.001148"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:04.261394" elapsed="0.001359"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.262937" elapsed="0.000069"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.263220" elapsed="0.000067"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.263509" elapsed="0.000081"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:15:04.261360" elapsed="0.002314"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.261219" elapsed="0.002484"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.263858" elapsed="0.000021"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.263934" elapsed="0.000017"/>
</return>
<msg time="2026-04-11T23:15:04.264079" level="INFO">${data} = &lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;netconf-scaling-device-1&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;10.30.171.36&lt;/host&gt;
 ...</msg>
<var>${data}</var>
<arg>folder=${folder}</arg>
<arg>base_name=${base_name}</arg>
<arg>extension=${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>endline=${endline}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:15:04.116989" elapsed="0.147120"/>
</kw>
<kw name="Resolve_Jmes_Path" owner="TemplatedRequests">
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:15:04.266037" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/jmespath.expr' does not exist.</msg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.265429" elapsed="0.000804">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/jmespath.expr' does not exist.</status>
</kw>
<msg time="2026-04-11T23:15:04.266370" level="INFO">${read_jmes_file} = False</msg>
<var>${read_jmes_file}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:15:04.264850" elapsed="0.001545"/>
</kw>
<if>
<branch type="IF" condition="${read_jmes_file} == ${true}">
<kw name="Get File" owner="OperatingSystem">
<var>${jmes_expression}</var>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.266849" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.266509" elapsed="0.000530"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.268324" level="INFO">${jmes_expression} = None</msg>
<var>${jmes_expression}</var>
<arg>${None}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:04.267499" elapsed="0.000925"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:04.267067" elapsed="0.001540"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.266488" elapsed="0.002146"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.282449" level="INFO">${expression} = </msg>
<var>${expression}</var>
<arg>${read_jmes_file} == ${true}</arg>
<arg>${jmes_expression}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:15:04.268784" elapsed="0.013693"/>
</kw>
<return>
<value>${expression}</value>
<status status="PASS" start="2026-04-11T23:15:04.282532" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:15:04.282889" level="INFO">${jmes_expression} = </msg>
<var>${jmes_expression}</var>
<arg>${folder}</arg>
<doc>Reads JMES path from file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/jmespath.expr if the file exists and
returns the JMES path. Empty string is returned otherwise.</doc>
<status status="PASS" start="2026-04-11T23:15:04.264489" elapsed="0.018425"/>
</kw>
<kw name="Put_To_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.284638" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.284187" elapsed="0.000500"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.285257" level="INFO">&lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;netconf-scaling-device-1&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;10.30.171.36&lt;/host&gt;
    &lt;port&gt;17830&lt;/port&gt;
    &lt;login-password-unencrypted&gt;
      &lt;username&gt;admin&lt;/username&gt;
      &lt;password&gt;topsecret&lt;/password&gt;
    &lt;/login-password-unencrypted&gt;
    &lt;tcp-only&gt;false&lt;/tcp-only&gt;
    &lt;keepalive-delay&gt;0&lt;/keepalive-delay&gt;
  &lt;/netconf-node&gt;
&lt;/node&gt;</msg>
<arg>${data}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.284836" elapsed="0.000474"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.285903" level="INFO">{'Content-Type': 'application/xml'}</msg>
<arg>${content_type}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.285456" elapsed="0.000492"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.286515" level="INFO">{'Accept': 'application/xml'}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.286094" elapsed="0.000465"/>
</kw>
<kw name="Join_Two_Headers" owner="TemplatedRequests">
<kw name="Copy Dictionary" owner="Collections">
<msg time="2026-04-11T23:15:04.287941" level="INFO">${accumulator} = {'Content-Type': 'application/xml'}</msg>
<var>${accumulator}</var>
<arg>${first}</arg>
<doc>Returns a copy of the given dictionary.</doc>
<status status="PASS" start="2026-04-11T23:15:04.287304" elapsed="0.000695"/>
</kw>
<kw name="Get Dictionary Items" owner="Collections">
<msg time="2026-04-11T23:15:04.288617" level="INFO">${items_to_add} = ['Accept', 'application/xml']</msg>
<var>${items_to_add}</var>
<arg>${second}</arg>
<doc>Returns items of the given ``dictionary`` as a list.</doc>
<status status="PASS" start="2026-04-11T23:15:04.288245" elapsed="0.000431"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${accumulator}</arg>
<arg>@{items_to_add}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:15:04.288920" elapsed="0.000390"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.290111" level="INFO">{'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<arg>${accumulator}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.289562" elapsed="0.000663"/>
</kw>
<return>
<value>${accumulator}</value>
<status status="PASS" start="2026-04-11T23:15:04.290348" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:15:04.290617" level="INFO">${headers} = {'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<var>${headers}</var>
<arg>first=${content_type}</arg>
<arg>second=${accept}</arg>
<doc>Take two dicts, join them, return result. Second argument values take precedence.</doc>
<status status="PASS" start="2026-04-11T23:15:04.286773" elapsed="0.003871"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:04.305066" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.301339" elapsed="0.006341">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:04.290717" elapsed="0.017311">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="PUT On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.308216" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.308065" elapsed="0.000482"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:04.290699" elapsed="0.017890">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.309121" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.309254" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.309218" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:04.309200" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.309457" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.309523" elapsed="0.000015"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>data=${data}</arg>
<arg>content_type=${content_type}</arg>
<arg>accept=${accept}</arg>
<arg>session=${session}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>normalize_json=${normalize_json}</arg>
<arg>jmes_path=${jmes_expression}</arg>
<doc>PUT data to given URI, check status code and return response text.
${content_type} and ${accept} are mandatory Python objects with headers to use.
If ${normalize_json}, normalize text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.283367" elapsed="0.026283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.309730" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>folder=${folder}</arg>
<arg>base_name=data</arg>
<arg>extension=xml</arg>
<arg>accept=${ACCEPT_XML}</arg>
<arg>content_type=${HEADERS_XML}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=False</arg>
<arg>endline=${\n}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve URI and data from folder, call Put_To_Uri, return response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.928794" elapsed="0.381037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<if>
<branch type="IF" condition="${verify}">
<kw name="Verify_Response_As_Xml_Templated" owner="TemplatedRequests">
<arg>response=${response_text}</arg>
<arg>folder=${folder}</arg>
<arg>base_name=response</arg>
<arg>mapping=${mapping}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve expected XML data, should be equal to provided ${response}.
Endline set to empty, as this Resource does not support indented XML comparison.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.310118" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.309942" elapsed="0.000242"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:04.309924" elapsed="0.000283"/>
</if>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.310241" elapsed="0.000015"/>
</return>
<arg>folder=${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${version}${/}${device_type}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Add arguments sensible for XML data, return Put_Templated response text.
Optionally, verification against response.xml (no iteration) is called.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.925901" elapsed="0.384441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:03.925668" elapsed="0.384744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:03.925189" elapsed="0.385252">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Set To Dictionary" owner="Collections">
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${device_name}</arg>
<arg>${device_type}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.310626" elapsed="0.000023"/>
</kw>
<arg>${current_name}</arg>
<arg>device_type=${device_type}</arg>
<arg>device_port=${current_port}</arg>
<doc>Tell Netconf about the specified device so it can add it into its configuration.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.894587" elapsed="0.416157">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Device ${current_name} configured</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="NOT RUN" start="2026-04-11T23:15:04.315349" elapsed="0.000028"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Operation for configuring the device.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.837041" elapsed="0.478432">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.836514" elapsed="0.479014">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.315813" elapsed="0.000024"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.315994" elapsed="0.000020"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="FAIL" start="2026-04-11T23:15:03.833456" elapsed="0.482648">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.832948" elapsed="0.483232">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>NetconfKeywords.Configure_Device</arg>
<arg>timeout=${timeout}</arg>
<status status="FAIL" start="2026-04-11T23:15:03.831006" elapsed="0.485276">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<doc>Make requests to configure the testtool devices.</doc>
<status status="FAIL" start="2026-04-11T23:15:03.752186" elapsed="0.564261">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</test>
<test id="s1-s4-t3" name="Wait_For_Devices_To_Connect" line="55">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:15:04.320650" elapsed="0.000213"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:15:04.320378" elapsed="0.000539"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:15:04.321896" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.321786" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.321767" elapsed="0.000198"/>
</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-11T23:15:04.326774" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.326668" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.326650" elapsed="0.000192"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.327846" level="INFO">${return_list_reference} = [1]</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-11T23:15:04.327429" elapsed="0.000444"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.328324" level="INFO">${return_list_copy} = [1]</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-11T23:15:04.328028" elapsed="0.000322"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:15:04.328395" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:04.328547" level="INFO">${index_list} = [1]</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-11T23:15:04.327060" elapsed="0.001526"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:15:04.334029" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.333923" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.333904" elapsed="0.000193"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:15:04.335215" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.335110" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.335092" elapsed="0.000190"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:15:04.335726" level="INFO">${karaf_connection_index} = 60</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="PASS" start="2026-04-11T23:15:04.335418" elapsed="0.000346"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.336132" level="INFO">${current_connection_index} = 56</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:15:04.335917" elapsed="0.000240"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.336894" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.336650" elapsed="0.000813">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:15:04.337656" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:15:04.337702" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:15:04.336310" elapsed="0.001448"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.338495" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.338258" elapsed="0.000870">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:15:04.339303" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:15:04.339349" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:15:04.337925" elapsed="0.001447"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.340266" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Wait_For_Devices_To_Connect"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.339680" elapsed="0.000647">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Wait_For_Devices_To_Connect"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:04.339448" elapsed="0.000944">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Wait_For_Devices_To_Connect"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:04.339429" elapsed="0.000995">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Wait_For_Devices_To_Connect"</status>
</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-04-11T23:15:04.340597" elapsed="0.000024"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.340821" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.340685" elapsed="0.000187"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:04.340668" elapsed="0.000227"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.340927" elapsed="0.000016"/>
</return>
<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">
<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-11T23:15:04.343309" elapsed="0.000146"/>
</kw>
<msg time="2026-04-11T23:15:04.343514" 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-11T23:15:04.342285" elapsed="0.001363"/>
</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-11T23:15:04.343913" elapsed="0.000069"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.344218" elapsed="0.000067"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:15:04.341718" elapsed="0.002816"/>
</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="PASS" start="2026-04-11T23:15:04.341181" elapsed="0.003448"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.334814" elapsed="0.009897">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Wait_For_Devices_To_Connect"</status>
</kw>
<msg time="2026-04-11T23:15:04.344812" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:15:04.344855" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Wait_For_Devices_To_Connect"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:15:04.334245" elapsed="0.010633"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.345063" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.344955" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.344936" elapsed="0.000191"/>
</if>
<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-11T23:15:04.346100" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.345996" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.345978" elapsed="0.000189"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.346445" level="INFO">index=56
host=10.30.171.36
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-11T23:15:04.346545" level="INFO">${current_ssh_connection_object} = index=56
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:15:04.346320" elapsed="0.000266"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.346985" level="INFO">{1: 60}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.346734" elapsed="0.000295"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.347415" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.347174" elapsed="0.000284"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:15:04.348307" elapsed="0.000462"/>
</kw>
<msg time="2026-04-11T23:15:04.348912" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:15:04.348959" level="INFO">${old_connection_index} = 60</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-11T23:15:04.347625" elapsed="0.001356"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:15:04.349788" elapsed="0.000187"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.350959" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.350593" elapsed="0.001182">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:04.350134" elapsed="0.001734"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:15:04.352466" elapsed="0.000330"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:04.352033" elapsed="0.000842"/>
</kw>
<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="PASS" start="2026-04-11T23:15:04.349275" elapsed="0.003646"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:04.349058" elapsed="0.003912"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.349039" elapsed="0.003955"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:15:04.353821" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:15:04.353509" elapsed="0.000338"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:15:04.353895" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:04.354042" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:15:04.353196" elapsed="0.000870"/>
</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="PASS" start="2026-04-11T23:15:04.354214" elapsed="0.000462"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.354950" level="INFO">index=61
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:15:04.355047" level="INFO">${karaf_connection_object} = index=61
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:15:04.354843" elapsed="0.000230"/>
</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="PASS" start="2026-04-11T23:15:04.355214" elapsed="0.002347"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.357992" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:15:04.358896" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:15:04.357733" elapsed="0.001534">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:15:04.371505" elapsed="0.000399"/>
</kw>
<msg time="2026-04-11T23:15:04.372011" 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-11T23:15:04.370119" elapsed="0.002173"/>
</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-11T23:15:04.372450" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.372622" elapsed="0.000021"/>
</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-11T23:15:04.360058" elapsed="0.012647"/>
</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-11T23:15:04.359530" elapsed="0.013220"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.345705" elapsed="0.027123">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.373160" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.373233" elapsed="0.000055"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.333587" elapsed="0.039792">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:15:04.373483" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:15:04.373526" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:15:04.328948" elapsed="0.044601"/>
</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-11T23:15:04.373886" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.373643" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.373624" elapsed="0.000337"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:15:04.328811" elapsed="0.045173"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:15:04.328640" elapsed="0.045374"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:15:04.326291" elapsed="0.047777"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:15:04.321485" elapsed="0.052638"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:04.321063" elapsed="0.053105"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:15:04.317745" elapsed="0.056474"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.374789" level="INFO">${timeout} = 5000</msg>
<var>${timeout}</var>
<arg>${DEVICE_COUNT}*${TIMEOUT_FACTOR}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:04.374369" elapsed="0.000446"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:04.375709" level="INFO">${current_Date} = 2026-04-11 23:15:04.376</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:04.375465" elapsed="0.000272"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:15:04.376184" level="INFO">${deadline_Date} = 2026-04-12 00:38:24.376</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:15:04.375882" elapsed="0.000327"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.376799" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:15:04.376370" elapsed="0.000472"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.377288" level="INFO">Repeating keyword, round 1/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:15:04.378376" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.378270" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.378248" elapsed="0.000492"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:15:04.379047" level="INFO">${current_Date} = 2026-04-11 23:15:04.379</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:15:04.378890" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:15:04.379516" level="INFO">${ellapsed_seconds} = 4999.997</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:15:04.379218" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.379873" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.379635" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.379616" elapsed="0.000333"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:15:04.378032" elapsed="0.001961"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.380486" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:15:04.380132" elapsed="0.000379"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="Wait_Connected" owner="NetconfKeywords">
<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-11T23:15:04.388145" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.388038" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.388019" elapsed="0.000194"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.389318" level="INFO">${return_list_reference} = [1]</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-11T23:15:04.388936" elapsed="0.000408"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.389811" level="INFO">${return_list_copy} = [1]</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-11T23:15:04.389497" elapsed="0.000339"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:15:04.389881" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:04.390072" level="INFO">${index_list} = [1]</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-11T23:15:04.388427" elapsed="0.001670"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:15:04.395437" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.395329" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.395310" elapsed="0.000194"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:15:04.397121" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.396925" elapsed="0.000275"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.396869" elapsed="0.000366"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:15:04.398559" level="INFO">${karaf_connection_index} = 61</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="PASS" start="2026-04-11T23:15:04.398088" elapsed="0.000535"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.399920" level="INFO">${current_connection_index} = 56</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:15:04.399444" elapsed="0.000525"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.401536" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.401347" elapsed="0.000657">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:15:04.402268" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:15:04.402365" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:15:04.400819" elapsed="0.001591"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.404099" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.403913" elapsed="0.000679">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:15:04.404855" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:15:04.404954" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:15:04.403269" elapsed="0.001730"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.406110" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to connect"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.405522" elapsed="0.000649">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to connect"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:04.405136" elapsed="0.001120">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to connect"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:15:04.405079" elapsed="0.001223">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to connect"</status>
</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-04-11T23:15:04.407168" elapsed="0.000054"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.407615" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.407348" elapsed="0.000356"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:04.407294" elapsed="0.000447"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.407813" elapsed="0.000037"/>
</return>
<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">
<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-11T23:15:04.410293" elapsed="0.000145"/>
</kw>
<msg time="2026-04-11T23:15:04.410480" 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-11T23:15:04.409726" elapsed="0.000816"/>
</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-11T23:15:04.410709" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.410865" 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-11T23:15:04.409268" elapsed="0.001693"/>
</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="PASS" start="2026-04-11T23:15:04.408459" elapsed="0.002590"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.396244" elapsed="0.014926">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to connect"</status>
</kw>
<msg time="2026-04-11T23:15:04.411630" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:15:04.411700" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to connect"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:15:04.395664" elapsed="0.016061"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.411910" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.411803" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.411784" elapsed="0.000191"/>
</if>
<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-11T23:15:04.412911" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.412739" elapsed="0.000267"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.412721" elapsed="0.000310"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.413289" level="INFO">index=56
host=10.30.171.36
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-11T23:15:04.413422" level="INFO">${current_ssh_connection_object} = index=56
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:15:04.413176" elapsed="0.000287"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.414185" level="INFO">{1: 61}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.413748" elapsed="0.000539"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.414920" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.414484" elapsed="0.000537"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:15:04.416077" elapsed="0.000389"/>
</kw>
<msg time="2026-04-11T23:15:04.416608" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:15:04.416679" level="INFO">${old_connection_index} = 61</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-11T23:15:04.415224" elapsed="0.001490"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:15:04.418235" elapsed="0.000141"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.419075" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.418925" elapsed="0.000571">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:04.418599" elapsed="0.000957"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:15:04.420113" elapsed="0.000095"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:15:04.419794" elapsed="0.000460"/>
</kw>
<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="PASS" start="2026-04-11T23:15:04.417208" elapsed="0.003097"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:04.416877" elapsed="0.003554"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.416854" elapsed="0.003603"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:15:04.422093" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:15:04.421618" elapsed="0.000572"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:15:04.422279" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:15:04.422612" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:15:04.420671" elapsed="0.001980"/>
</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="PASS" start="2026-04-11T23:15:04.422861" elapsed="0.001057"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.424272" level="INFO">index=62
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:15:04.424403" level="INFO">${karaf_connection_object} = index=62
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:15:04.424162" elapsed="0.000280"/>
</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="PASS" start="2026-04-11T23:15:04.424649" elapsed="0.002477"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:15:04.427971" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:15:04.428976" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:15:04.427350" elapsed="0.002054">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:15:04.434375" elapsed="0.000146"/>
</kw>
<msg time="2026-04-11T23:15:04.434563" 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-11T23:15:04.433904" elapsed="0.000743"/>
</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-11T23:15:04.434837" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.435030" elapsed="0.000021"/>
</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-11T23:15:04.431239" elapsed="0.003927"/>
</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-11T23:15:04.429837" elapsed="0.005417"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.412400" elapsed="0.022971">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.435803" elapsed="0.000027"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.435878" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.394996" elapsed="0.040985">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:15:04.436083" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:15:04.436126" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:15:04.390451" elapsed="0.045698"/>
</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-11T23:15:04.436469" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.436224" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.436206" elapsed="0.000339"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:15:04.390314" elapsed="0.046320"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:15:04.390148" elapsed="0.046532"/>
</for>
<arg>Waiting for device ${current_name} to connect</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-11T23:15:04.385997" elapsed="0.050743"/>
</kw>
<kw name="Wait_Device_Connected" owner="NetconfKeywords">
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.449340" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:04.446896" elapsed="0.002519"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.450877" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:04.450261" elapsed="0.000663"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:04.449824" elapsed="0.001149"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.452190" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:04.451565" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:04.451133" elapsed="0.001152"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:04.449566" elapsed="0.002796"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.453039" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.452429" elapsed="0.000755"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.454818" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:04.453850" elapsed="0.001059"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:04.453246" elapsed="0.001737"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.455504" elapsed="0.000134"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.455047" elapsed="0.000669"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:04.452411" elapsed="0.003364"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:04.455813" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:04.455963" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:04.446278" elapsed="0.009710"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:04.456033" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:04.456172" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:04.445650" elapsed="0.010551"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.470514" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.470062" elapsed="0.000556"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:04.471301" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:04.470832" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:04.476736" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.473886" elapsed="0.005607">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:04.471520" elapsed="0.008190">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.480010" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:04.479797" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:04.471500" elapsed="0.008725">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.480715" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.480971" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:04.480935" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:04.480916" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.481265" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.481507" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.458903" elapsed="0.022729">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:04.481704" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.456422" elapsed="0.025379">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:04.481971" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.438166" elapsed="0.043955">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.001672" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:04.999301" elapsed="0.002452"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.003278" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:05.002647" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:05.002179" elapsed="0.001203"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.004617" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:05.004008" elapsed="0.000658"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:05.003547" elapsed="0.001169"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:05.001921" elapsed="0.002872"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.005490" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:05.004868" elapsed="0.000782"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.007305" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:05.006314" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:05.005715" elapsed="0.001760"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.008025" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:05.007539" elapsed="0.000633"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:05.004847" elapsed="0.003386"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:05.008274" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:05.008436" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:04.998363" elapsed="0.010098"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:05.008508" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:05.008667" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:04.997380" elapsed="0.011313"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.023191" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:05.022695" elapsed="0.000585"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.024102" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:05.023498" elapsed="0.000690"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:05.029793" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:05.026543" elapsed="0.006135">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:05.024325" elapsed="0.008482">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.033108" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:05.032892" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:05.024305" elapsed="0.009071">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.033884" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:05.034144" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:05.034106" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:05.034086" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.034447" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:05.034702" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:05.011397" elapsed="0.023419">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:05.034890" elapsed="0.000042"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:05.008913" elapsed="0.026107">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.035187" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.983287" elapsed="0.052012">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.555113" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:05.551791" elapsed="0.003434"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.556774" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:05.556144" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:05.555692" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.558098" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:05.557485" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:05.557042" elapsed="0.001154"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:05.555414" elapsed="0.002862"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.559008" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:05.558364" elapsed="0.000793"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.560889" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:05.559860" elapsed="0.001124"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:05.559222" elapsed="0.001838"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.561609" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:05.561127" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:05.558344" elapsed="0.003472"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:05.561856" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:05.562017" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:05.550848" elapsed="0.011197"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:05.562146" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:05.562308" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:05.549653" elapsed="0.012682"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.577086" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:05.576602" elapsed="0.000576"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:05.577889" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:05.577406" elapsed="0.000571"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:05.583705" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:05.580564" elapsed="0.006079">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:05.578114" elapsed="0.008660">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.587076" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:05.586859" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:05.578094" elapsed="0.009202">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.587872" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:05.588136" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:05.588098" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:05.588079" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.588450" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:05.588717" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:05.565102" elapsed="0.023728">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:05.588901" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:05.562560" elapsed="0.026439">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:05.589165" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:05.536020" elapsed="0.053255">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.107482" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:06.104602" elapsed="0.002963"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.109085" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:06.108449" elapsed="0.000686"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:06.107999" elapsed="0.001185"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.110462" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:06.109847" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:06.109352" elapsed="0.001210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:06.107746" elapsed="0.002912"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.111341" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:06.110730" elapsed="0.000759"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.113166" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:06.112172" elapsed="0.001088"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:06.111553" elapsed="0.001784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.113899" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:06.113402" elapsed="0.000643"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:06.110711" elapsed="0.003396"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:06.114146" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:06.114300" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:06.103663" elapsed="0.010663"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:06.114373" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:06.114515" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:06.102723" elapsed="0.011817"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.129224" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:06.128763" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.130026" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:06.129530" elapsed="0.000581"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:06.135686" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:06.132773" elapsed="0.005706">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:06.130247" elapsed="0.008447">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.138998" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:06.138782" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:06.130227" elapsed="0.008986">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.139705" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:06.140002" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:06.139964" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:06.139944" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.140302" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:06.140543" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:06.117304" elapsed="0.023372">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:06.140750" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:06.114775" elapsed="0.026073">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.141015" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:06.089960" elapsed="0.051166">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.658589" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:06.655691" elapsed="0.002982"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.660179" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:06.659547" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:06.659097" elapsed="0.001180"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.661561" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:06.660916" elapsed="0.000711"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:06.660443" elapsed="0.001235"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:06.658840" elapsed="0.002919"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.662465" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:06.661833" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.664442" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:06.663301" elapsed="0.001235"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:06.662699" elapsed="0.001931"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.665182" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:06.664695" elapsed="0.000635"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:06.661814" elapsed="0.003580"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:06.665435" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:15:06.665613" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:06.654812" elapsed="0.010829"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:06.665687" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:06.665829" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:06.653852" elapsed="0.012002"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.681111" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:06.680595" elapsed="0.000606"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:06.682062" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:06.681428" elapsed="0.000721"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:06.687839" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:06.684555" elapsed="0.006202">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:06.682286" elapsed="0.008602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.691194" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:06.690976" elapsed="0.000377"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:06.682265" elapsed="0.009153">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.691959" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:06.692221" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:06.692184" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:06.692164" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.692523" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:06.692794" elapsed="0.000023"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:06.669139" elapsed="0.023778">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:06.692990" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:06.666073" elapsed="0.027043">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:06.693284" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:06.641841" elapsed="0.051554">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.215756" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:07.210297" elapsed="0.005629"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.219425" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:07.217963" elapsed="0.001582"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:07.216910" elapsed="0.002782"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.222180" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:07.221232" elapsed="0.001016"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:07.220146" elapsed="0.002170"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:07.216264" elapsed="0.006159"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.223403" elapsed="0.000107"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:07.222531" elapsed="0.001112"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.226045" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:07.224685" elapsed="0.001454"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:07.223735" elapsed="0.002480"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.226761" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:07.226280" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:07.222503" elapsed="0.004464"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:07.227007" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:07.227161" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:07.208602" elapsed="0.018584"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:07.227233" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:07.227375" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:07.207619" elapsed="0.019781"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.241924" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:07.241331" elapsed="0.000682"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.242692" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:07.242229" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:07.248000" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:07.245147" elapsed="0.006023">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:07.242912" elapsed="0.008413">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.251682" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:07.251422" elapsed="0.000414"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:07.242891" elapsed="0.009009">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.252582" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:07.252848" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:07.252805" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:07.252786" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.253147" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:07.253387" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:07.230201" elapsed="0.023345">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:07.253680" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:07.227635" elapsed="0.026146">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.253947" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:07.194000" elapsed="0.060058">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.772412" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:07.769152" elapsed="0.003342"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.774007" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:07.773378" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:07.772929" elapsed="0.001177"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.775327" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:07.774732" elapsed="0.000644"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:07.774273" elapsed="0.001152"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:07.772673" elapsed="0.002838"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.776236" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:07.775598" elapsed="0.000787"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.778047" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:07.777058" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:07.776449" elapsed="0.001768"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.778759" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:07.778281" elapsed="0.000624"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:07.775564" elapsed="0.003403"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:07.779007" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:07.779166" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:07.768260" elapsed="0.010932"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:07.779239" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:07.779381" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:07.767305" elapsed="0.012106"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.795534" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:07.794270" elapsed="0.001773"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:07.797859" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:07.796635" elapsed="0.001447"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:07.809713" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:07.804114" elapsed="0.008708">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:07.798447" elapsed="0.014506">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.813280" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:07.813037" elapsed="0.000408"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:07.798396" elapsed="0.015113">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.814036" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:07.814327" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:07.814284" elapsed="0.000140"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:07.814262" elapsed="0.000225"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.814663" elapsed="0.000027"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:07.814918" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:07.782204" elapsed="0.032829">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:07.815106" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:07.779649" elapsed="0.035559">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:07.815402" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:07.754807" elapsed="0.060712">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.334881" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:08.332237" elapsed="0.002725"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.336509" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:08.335898" elapsed="0.000661"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:08.335413" elapsed="0.001227"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.337878" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:08.337245" elapsed="0.000682"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:08.336805" elapsed="0.001171"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:08.335130" elapsed="0.002925"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.338797" elapsed="0.000155"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:08.338131" elapsed="0.000906"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.340778" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:08.339770" elapsed="0.001104"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:08.339103" elapsed="0.001850"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.341492" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:08.341020" elapsed="0.000672"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:08.338111" elapsed="0.003645"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:08.341799" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:15:08.341992" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:08.331591" elapsed="0.010428"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:08.342066" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:08.342209" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:08.330865" elapsed="0.011370"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.356946" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:08.356449" elapsed="0.000586"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.357759" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:08.357253" elapsed="0.000594"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:08.363420" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:08.360389" elapsed="0.005934">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:08.357987" elapsed="0.008465">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.366831" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:08.366538" elapsed="0.000447"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:08.357965" elapsed="0.009084">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.367559" elapsed="0.000059"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:08.367863" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:08.367825" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:08.367805" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.368161" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:08.368420" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:08.345050" elapsed="0.023485">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:08.368662" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:08.342457" elapsed="0.026307">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.368953" elapsed="0.000031"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:08.316272" elapsed="0.052808">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.887710" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:08.884384" elapsed="0.003445"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.889399" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:08.888789" elapsed="0.000658"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:08.888318" elapsed="0.001179"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.890758" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:08.890118" elapsed="0.000690"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:08.889679" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:08.888051" elapsed="0.002887"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.891647" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:08.891009" elapsed="0.000789"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.893439" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:08.892454" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:08.891861" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.894151" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:08.893688" elapsed="0.000607"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:08.890990" elapsed="0.003366"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:08.894395" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:15:08.894549" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:08.883475" elapsed="0.011115"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:08.894638" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:08.894792" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:08.882506" elapsed="0.012312"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.909548" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:08.909085" elapsed="0.000569"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:08.910321" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:08.909872" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:08.915988" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:08.912959" elapsed="0.005894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:08.910546" elapsed="0.008623">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.919483" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:08.919260" elapsed="0.000397"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:08.910526" elapsed="0.009196">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.920267" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:08.920537" elapsed="0.000201"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:08.920500" elapsed="0.000323"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:08.920480" elapsed="0.000407"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.921037" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:08.921285" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:08.897560" elapsed="0.023845">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:08.921479" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:08.895041" elapsed="0.026552">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:08.921761" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:08.869765" elapsed="0.052141">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.433921" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:09.431548" elapsed="0.002457"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.435551" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:09.434935" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:09.434457" elapsed="0.001209"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.436914" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:09.436288" elapsed="0.000676"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:09.435832" elapsed="0.001180"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:09.434195" elapsed="0.002897"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:09.437814" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:09.437165" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.439692" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:09.438697" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:09.438028" elapsed="0.001835"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:09.440398" elapsed="0.000129"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:09.439929" elapsed="0.000692"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:09.437145" elapsed="0.003540"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:09.440726" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:09.440887" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:09.430922" elapsed="0.009991"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:09.440959" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:09.441101" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:09.430232" elapsed="0.010895"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.456110" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:09.455645" elapsed="0.000554"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.456886" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:09.456415" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:09.462381" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:09.459478" elapsed="0.005803">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:09.457106" elapsed="0.008302">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:09.465721" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:09.465491" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:09.457086" elapsed="0.008853">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:09.466440" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:09.466775" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:09.466737" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:09.466717" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:09.467070" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:09.467310" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:09.444063" elapsed="0.023359">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:09.467500" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:09.441347" elapsed="0.026266">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:09.467779" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:09.422588" elapsed="0.045348">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.988177" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:09.983374" elapsed="0.004884"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.989802" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:09.989162" elapsed="0.000690"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:09.988711" elapsed="0.001192"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.991153" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:09.990509" elapsed="0.000694"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:09.990069" elapsed="0.001187"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:09.988429" elapsed="0.002906"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:09.992074" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:09.991410" elapsed="0.000814"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:09.993932" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:09.992911" elapsed="0.001116"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:09.992290" elapsed="0.001813"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:09.994659" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:09.994169" elapsed="0.000640"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:09.991389" elapsed="0.003482"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:09.994913" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:09.995076" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:09.982468" elapsed="0.012634"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:09.995149" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:09.995292" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:09.981500" elapsed="0.013818"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:10.010025" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:10.009522" elapsed="0.000594"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:10.010818" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:10.010334" elapsed="0.000571"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:10.016312" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:10.013379" elapsed="0.005801">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:10.011042" elapsed="0.008266">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.019684" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:10.019392" elapsed="0.000448"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:10.011022" elapsed="0.008936">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.020458" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:10.020731" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:10.020694" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:10.020675" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.021027" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:10.021270" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:09.998112" elapsed="0.023270">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:10.021454" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:09.995538" elapsed="0.026015">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.021746" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:09.968824" elapsed="0.053033">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:10.541119" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:10.537823" elapsed="0.003410"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:10.542854" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:10.542210" elapsed="0.000693"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:10.541756" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:10.544193" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:10.543567" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:10.543119" elapsed="0.001171"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:10.541454" elapsed="0.002916"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.545107" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:10.544440" elapsed="0.000820"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:10.546975" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:10.545962" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:10.545325" elapsed="0.001822"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.547699" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:10.547212" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:10.544421" elapsed="0.003485"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:10.547944" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:15:10.548098" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:10.536845" elapsed="0.011280"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:10.548214" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:10.548359" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:10.535908" elapsed="0.012476"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:10.563195" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:10.562731" elapsed="0.000554"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:10.563969" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:10.563503" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:10.569424" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:10.566442" elapsed="0.005842">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:10.564192" elapsed="0.008220">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.572731" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:10.572497" elapsed="0.000390"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:10.564172" elapsed="0.008780">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.573442" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:10.573718" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:10.573681" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:10.573662" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.574022" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:10.574268" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:10.551237" elapsed="0.023140">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:10.574448" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:10.548623" elapsed="0.025922">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:10.574729" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:10.522453" elapsed="0.052387">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.093499" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:11.090262" elapsed="0.003350"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.095124" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:11.094473" elapsed="0.000701"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:11.094036" elapsed="0.001186"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.096441" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:11.095848" elapsed="0.000641"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:11.095385" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:11.093770" elapsed="0.002883"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.097330" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:11.096724" elapsed="0.000751"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.099135" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:11.098153" elapsed="0.001074"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:11.097539" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.099841" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:11.099367" elapsed="0.000618"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:11.096705" elapsed="0.003339"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:11.100082" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:15:11.100235" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:11.089326" elapsed="0.010936"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:11.100308" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:11.100449" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:11.088393" elapsed="0.012081"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.115069" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:11.114481" elapsed="0.000691"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.115865" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:11.115390" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:11.121299" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:11.118362" elapsed="0.005790">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:11.116086" elapsed="0.008191">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.124625" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:11.124362" elapsed="0.000431"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:11.116066" elapsed="0.008791">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.125337" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:11.125652" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:11.125613" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:11.125593" elapsed="0.000224"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.125961" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:11.126202" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:11.103256" elapsed="0.023058">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:11.126387" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:11.100719" elapsed="0.025766">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.126704" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:11.075461" elapsed="0.051356">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.646841" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:11.643512" elapsed="0.003439"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.648948" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:11.648190" elapsed="0.000808"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:11.647513" elapsed="0.001533"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.650292" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:11.649691" elapsed="0.000651"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:11.649212" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:11.647168" elapsed="0.003301"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.651164" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:11.650537" elapsed="0.000775"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.653005" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:11.652005" elapsed="0.001096"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:11.651376" elapsed="0.001801"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.653753" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:11.653243" elapsed="0.000658"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:11.650519" elapsed="0.003443"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:11.653999" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:11.654152" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:11.642660" elapsed="0.011519"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:11.654225" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:11.654366" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:11.641728" elapsed="0.012664"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.669081" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:11.668619" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:11.669969" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:11.669388" elapsed="0.000668"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:11.675318" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:11.672439" elapsed="0.005696">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:11.670193" elapsed="0.008066">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.678558" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:11.678343" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:11.670173" elapsed="0.008620">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.679266" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:11.679522" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:11.679485" elapsed="0.000145"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:11.679466" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.679862" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:11.680128" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:11.657162" elapsed="0.023095">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:11.680332" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:11.654625" elapsed="0.025807">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:11.680632" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:11.627418" elapsed="0.053329">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.199930" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:12.196671" elapsed="0.003369"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.201725" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:12.201095" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:12.200645" elapsed="0.001179"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.203096" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:12.202477" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:12.202033" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:12.200260" elapsed="0.003014"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.203991" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:12.203345" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.205832" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:12.204820" elapsed="0.001106"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:12.204201" elapsed="0.001804"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.206532" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:12.206069" elapsed="0.000624"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:12.203326" elapsed="0.003430"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:12.206796" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:15:12.206953" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:12.195781" elapsed="0.011198"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:12.207027" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:12.207169" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:12.194829" elapsed="0.012366"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.221876" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:12.221281" elapsed="0.000684"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.222651" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:12.222184" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:12.228188" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:12.225218" elapsed="0.005848">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:12.222876" elapsed="0.008317">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.231662" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:12.231277" elapsed="0.000540"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:12.222856" elapsed="0.009027">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.232354" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:12.232637" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:12.232597" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:12.232553" elapsed="0.000240"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.232936" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:12.233176" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:12.210023" elapsed="0.023301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:12.233397" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:12.207415" elapsed="0.026080">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.233701" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:12.181966" elapsed="0.051850">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.751933" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:12.748335" elapsed="0.003714"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.754288" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:12.753403" elapsed="0.000955"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:12.752767" elapsed="0.001662"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.756195" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:12.755337" elapsed="0.000927"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:12.754709" elapsed="0.001622"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:12.752291" elapsed="0.004155"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.757454" elapsed="0.000103"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:12.756553" elapsed="0.001149"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.759848" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:12.758735" elapsed="0.001211"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:12.757798" elapsed="0.002226"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.760582" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:12.760091" elapsed="0.000642"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:12.756524" elapsed="0.004269"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:12.760835" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:15:12.761004" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:12.747410" elapsed="0.013621"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:12.761077" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:12.761219" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:12.746315" elapsed="0.014930"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.776106" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:12.775625" elapsed="0.000571"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:12.776893" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:12.776415" elapsed="0.000567"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:12.782872" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:12.779754" elapsed="0.005978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:12.777123" elapsed="0.008738">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.786161" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:12.785946" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:12.777102" elapsed="0.009272">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.786894" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:12.787178" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:12.787140" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:12.787120" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.787476" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:12.787737" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:12.764131" elapsed="0.023722">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:12.787925" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:12.761477" elapsed="0.026546">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:12.788187" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:12.735141" elapsed="0.053157">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.307224" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:13.303910" elapsed="0.003425"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.308943" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:13.308308" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:13.307858" elapsed="0.001184"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.310273" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:13.309679" elapsed="0.000644"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:13.309206" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:13.307564" elapsed="0.002885"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.311180" elapsed="0.000126"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:13.310540" elapsed="0.000844"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.313046" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:13.312062" elapsed="0.001077"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:13.311447" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.313778" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:13.313277" elapsed="0.000644"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:13.310518" elapsed="0.003463"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:13.314024" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:13.314187" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:13.303019" elapsed="0.011194"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:13.314261" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:15:13.314400" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:13.302064" elapsed="0.012362"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.329187" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:13.328727" elapsed="0.000548"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.330068" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:13.329493" elapsed="0.000660"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:13.335711" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:13.332660" elapsed="0.005947">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:13.330289" elapsed="0.008445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.339033" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:13.338818" elapsed="0.000363"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:13.330269" elapsed="0.008975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.339738" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:13.339992" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:13.339955" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:13.339936" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.340287" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:13.340525" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:13.317397" elapsed="0.023269">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:13.340773" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:13.314674" elapsed="0.026202">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.341043" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:13.289045" elapsed="0.052107">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.859411" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:13.856143" elapsed="0.003351"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.861095" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:13.860449" elapsed="0.000695"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:13.859997" elapsed="0.001197"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.862460" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:13.861841" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:13.861359" elapsed="0.001199"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:13.859726" elapsed="0.002928"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.863363" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:13.862733" elapsed="0.000777"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.865199" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:13.864200" elapsed="0.001095"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:13.863591" elapsed="0.001780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.865943" elapsed="0.000081"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:13.865436" elapsed="0.000664"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:13.862711" elapsed="0.003450"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:13.866202" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:13.866365" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:13.855246" elapsed="0.011145"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:13.866437" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:15:13.866591" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:13.854295" elapsed="0.012323"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.881263" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:13.880798" elapsed="0.000554"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:13.882170" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:13.881690" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:13.887646" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:13.884641" elapsed="0.005898">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:13.882392" elapsed="0.008345">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.891043" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:13.890824" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:13.882372" elapsed="0.008888">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.891752" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:13.892008" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:13.891971" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:13.891952" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.892302" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:13.892543" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:13.869333" elapsed="0.023351">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:13.892758" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:13.866834" elapsed="0.026022">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:13.893021" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:13.841911" elapsed="0.051221">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.417296" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:14.414930" elapsed="0.002448"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.418932" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:14.418304" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:14.417856" elapsed="0.001174"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.420239" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:14.419650" elapsed="0.000637"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:14.419195" elapsed="0.001139"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:14.417563" elapsed="0.002849"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:14.421135" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:14.420491" elapsed="0.000790"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.423626" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:14.422649" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:14.421348" elapsed="0.002453"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:14.424328" elapsed="0.000134"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:14.423866" elapsed="0.000674"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:14.420469" elapsed="0.004148"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:14.424662" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:15:14.424833" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:14.413807" elapsed="0.011054"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:14.424908" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:14.425049" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:14.411923" elapsed="0.013152"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.439812" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:14.439329" elapsed="0.000573"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.440567" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:14.440117" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:14.446145" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:14.443213" elapsed="0.005872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:14.440806" elapsed="0.008408">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:14.449532" elapsed="0.000115"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:14.449299" elapsed="0.000434"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:14.440786" elapsed="0.009011">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:14.450383" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:14.450678" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:14.450631" elapsed="0.000164"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:14.450609" elapsed="0.000248"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:14.451000" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:14.451247" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:14.427932" elapsed="0.023427">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:14.451431" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:14.425304" elapsed="0.026224">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:14.451815" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:14.393983" elapsed="0.057981">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.970545" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:14.968157" elapsed="0.002488"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.972182" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:14.971548" elapsed="0.000687"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:14.971091" elapsed="0.001194"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.973615" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:14.972975" elapsed="0.000690"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:14.972499" elapsed="0.001217"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:14.970828" elapsed="0.002969"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:14.974518" elapsed="0.000088"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:14.973875" elapsed="0.000811"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.976355" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:14.975359" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:14.974751" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:14.977122" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:14.976626" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:14.973853" elapsed="0.003478"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:14.977372" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:14.977534" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:14.967407" elapsed="0.010154"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:14.977625" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:14.977770" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:14.966276" elapsed="0.011520"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.992346" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:14.991882" elapsed="0.000553"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:14.993269" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:14.992802" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:14.999016" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:14.995860" elapsed="0.006046">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:14.993489" elapsed="0.008544">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.002332" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:15.002116" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:14.993468" elapsed="0.009149">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.003113" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:15.003372" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:15.003334" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:15.003315" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.003685" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:15.003928" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:14.980525" elapsed="0.023516">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:15.004113" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:14.978023" elapsed="0.026188">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.004377" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:14.952831" elapsed="0.051658">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:15.524760" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:15.521215" elapsed="0.003663"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:15.526666" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:15.526031" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:15.525492" elapsed="0.001274"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:15.528000" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:15.527373" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:15.526931" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:15.525118" elapsed="0.003058"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.528908" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:15.528251" elapsed="0.000804"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:15.530713" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:15.529734" elapsed="0.001072"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:15.529122" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.531407" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:15.530948" elapsed="0.000607"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:15.528230" elapsed="0.003438"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:15.531712" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:15.531874" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:15.520258" elapsed="0.011643"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:15.532009" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:15.532155" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:15.519249" elapsed="0.012932"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:15.552345" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:15.550942" elapsed="0.001605"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:15.554239" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:15.553190" elapsed="0.001239"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:15.565500" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:15.560079" elapsed="0.008404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:15.554769" elapsed="0.013876">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.568949" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:15.568731" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:15.554721" elapsed="0.014445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.569690" elapsed="0.000031"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:15.569960" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:15.569919" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:15.569899" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.570262" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:15.570504" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:15.536581" elapsed="0.034055">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:15.570711" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:15.532405" elapsed="0.038406">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:15.570979" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:15.505279" elapsed="0.065812">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.088451" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:16.085891" elapsed="0.002644"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.090085" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:16.089445" elapsed="0.000690"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:16.088990" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.091437" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:16.090833" elapsed="0.000653"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:16.090353" elapsed="0.001184"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:16.088726" elapsed="0.002907"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.092367" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:16.091710" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.094195" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:16.093203" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:16.092600" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.094921" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:16.094432" elapsed="0.000635"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:16.091690" elapsed="0.003436"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:16.095167" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:16.095330" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:16.085160" elapsed="0.010196"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:16.095403" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:16.095546" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:16.084438" elapsed="0.011149"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.110070" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:16.109590" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.110991" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:16.110383" elapsed="0.000694"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:16.116634" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:16.113480" elapsed="0.006048">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:16.111215" elapsed="0.008455">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.119968" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:16.119755" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:16.111194" elapsed="0.009007">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.120715" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:16.121035" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:16.120996" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:16.120976" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.121334" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:16.121591" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:16.098314" elapsed="0.023393">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:16.121782" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:16.095815" elapsed="0.026068">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.122051" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:16.071924" elapsed="0.050240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.641698" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:16.638601" elapsed="0.003179"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.643288" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:16.642681" elapsed="0.000655"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:16.642208" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.644643" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:16.644024" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:16.643552" elapsed="0.001190"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:16.641949" elapsed="0.002880"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.645534" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:16.644904" elapsed="0.000795"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.647359" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:16.646358" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:16.645763" elapsed="0.001765"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.648099" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:16.647608" elapsed="0.000642"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:16.644883" elapsed="0.003428"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:16.648352" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:16.648515" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:16.637660" elapsed="0.010881"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:16.648605" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:16.648751" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:16.636625" elapsed="0.012158"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.663529" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:16.663067" elapsed="0.000633"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:16.664365" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:16.663920" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:16.670155" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:16.667001" elapsed="0.006138">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:16.664617" elapsed="0.008650">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.673566" elapsed="0.000088"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:16.673353" elapsed="0.000385"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:16.664564" elapsed="0.009237">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.674282" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:16.674540" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:16.674504" elapsed="0.000169"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:16.674484" elapsed="0.000251"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.674877" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:16.675119" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:16.651639" elapsed="0.023593">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:16.675304" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:16.649005" elapsed="0.026396">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:16.675564" elapsed="0.000037"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:16.623026" elapsed="0.052675">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.195043" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:17.191780" elapsed="0.003369"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.196861" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:17.196237" elapsed="0.000672"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:17.195766" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.198220" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:17.197623" elapsed="0.000645"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:17.197168" elapsed="0.001148"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:17.195398" elapsed="0.002996"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.199086" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:17.198465" elapsed="0.000765"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.200903" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:17.199922" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:17.199307" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.201619" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:17.201139" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:17.198446" elapsed="0.003378"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:17.201863" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:15:17.202018" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:17.190886" elapsed="0.011159"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:17.202092" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:17.202234" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:17.189840" elapsed="0.012419"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.216778" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:17.216181" elapsed="0.000686"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.217536" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:17.217084" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:17.223266" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:17.220015" elapsed="0.006135">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:17.217775" elapsed="0.008500">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.226597" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:17.226358" elapsed="0.000393"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:17.217754" elapsed="0.009059">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.227304" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:17.227602" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:17.227532" elapsed="0.000166"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:17.227509" elapsed="0.000250"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.227908" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:17.228146" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:17.205058" elapsed="0.023236">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:17.228368" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:17.202475" elapsed="0.025992">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.228648" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:17.176294" elapsed="0.052471">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.747627" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:17.744353" elapsed="0.003384"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.749316" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:17.748713" elapsed="0.000652"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:17.748248" elapsed="0.001166"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.750641" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:17.750029" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:17.749592" elapsed="0.001149"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:17.747986" elapsed="0.002849"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.751519" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:17.750907" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.753326" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:17.752338" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:17.751747" elapsed="0.001751"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.754042" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:17.753561" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:17.750887" elapsed="0.003359"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:17.754285" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:15:17.754442" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:17.743481" elapsed="0.010987"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:17.754515" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:17.754673" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:17.742526" elapsed="0.012173"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.769427" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:17.768963" elapsed="0.000553"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:17.770205" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:17.769750" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:17.775844" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:17.772974" elapsed="0.005744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:17.770427" elapsed="0.008460">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.779194" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:17.778975" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:17.770407" elapsed="0.009007">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.779931" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:17.780198" elapsed="0.000179"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:17.780160" elapsed="0.000304"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:17.780140" elapsed="0.000388"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.780690" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:17.780954" elapsed="0.000021"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:17.757490" elapsed="0.023584">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:17.781148" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:17.754936" elapsed="0.026314">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:17.781420" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:17.729396" elapsed="0.052138">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.299582" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:18.296456" elapsed="0.003211"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.301151" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:18.300531" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:18.300087" elapsed="0.001162"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.302475" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:18.301864" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:18.301413" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:18.299832" elapsed="0.002840"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.303371" elapsed="0.000133"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:18.302748" elapsed="0.000849"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.305252" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:18.304261" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:18.303663" elapsed="0.001757"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.305959" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:18.305483" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:18.302727" elapsed="0.003436"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:18.306206" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:18.306367" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:18.295565" elapsed="0.010994"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:18.307241" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:18.307393" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:18.294621" elapsed="0.012798"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.322269" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:18.321767" elapsed="0.000594"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.323145" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:18.322637" elapsed="0.000596"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:18.328859" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:18.325896" elapsed="0.005956">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:18.323377" elapsed="0.008607">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.332285" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:18.332069" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:18.323354" elapsed="0.009141">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.333007" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:18.333266" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:18.333228" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:18.333208" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.333566" elapsed="0.000037"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:18.333820" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:18.310286" elapsed="0.023650">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:18.334068" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:18.307673" elapsed="0.026500">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.334342" elapsed="0.000049"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:18.282320" elapsed="0.052166">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.853788" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:18.850292" elapsed="0.003646"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.855728" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:18.855106" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:18.854596" elapsed="0.001231"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.857046" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:18.856432" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:18.855990" elapsed="0.001154"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:18.854207" elapsed="0.003017"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.857934" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:18.857295" elapsed="0.000801"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.859775" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:18.858793" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:18.858161" elapsed="0.001785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.860476" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:18.860011" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:18.857275" elapsed="0.003423"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:18.860738" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:18.860896" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:18.849388" elapsed="0.011534"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:18.860969" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:18.861109" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:18.848449" elapsed="0.012686"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.875948" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:18.875460" elapsed="0.000579"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:18.876730" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:18.876258" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:18.882382" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:18.879364" elapsed="0.005935">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:18.876954" elapsed="0.008522">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.885798" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:18.885563" elapsed="0.000404"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:18.876933" elapsed="0.009099">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.886514" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:18.886850" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:18.886813" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:18.886793" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.887152" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:18.887398" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:18.863903" elapsed="0.023608">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:18.887598" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:18.861352" elapsed="0.026347">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:18.887864" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:18.835169" elapsed="0.052809">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.406766" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:19.403504" elapsed="0.003349"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.408382" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:19.407766" elapsed="0.000667"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:19.407291" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.409749" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:19.409118" elapsed="0.000680"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:19.408666" elapsed="0.001180"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:19.407027" elapsed="0.002898"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.410657" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:19.410001" elapsed="0.000806"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.412469" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:19.411483" elapsed="0.001077"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:19.410872" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.413179" elapsed="0.000131"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:19.412718" elapsed="0.000669"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:19.409979" elapsed="0.003468"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:19.413489" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:15:19.413694" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:19.402643" elapsed="0.011078"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:19.413768" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:19.413909" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:19.401666" elapsed="0.012268"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.428355" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:19.427894" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.429118" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:19.428674" elapsed="0.000529"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:19.434876" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:19.431763" elapsed="0.005959">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:19.429337" elapsed="0.008513">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.438148" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:19.437934" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:19.429317" elapsed="0.009043">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.438926" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:19.439182" elapsed="0.000161"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:19.439145" elapsed="0.000279"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:19.439126" elapsed="0.000359"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.439645" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:19.439888" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:19.416684" elapsed="0.023322">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:19.440078" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:19.414152" elapsed="0.026023">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.440340" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:19.388825" elapsed="0.051659">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.958489" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:19.955295" elapsed="0.003284"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.960055" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:19.959430" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:19.958988" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.961388" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:19.960773" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:19.960314" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:19.958740" elapsed="0.002824"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.962268" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:19.961650" elapsed="0.000766"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.964083" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:19.963089" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:19.962479" elapsed="0.001772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.964790" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:19.964316" elapsed="0.000619"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:19.961631" elapsed="0.003363"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:19.965033" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:15:19.965202" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:19.954420" elapsed="0.010808"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:19.965275" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:19.965415" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:19.953416" elapsed="0.012025"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.980246" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:19.979780" elapsed="0.000556"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:19.981021" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:19.980553" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:19.986757" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:19.983654" elapsed="0.005952">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:19.981269" elapsed="0.008463">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.990035" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:19.989817" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:19.981249" elapsed="0.009045">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.990803" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:19.991061" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:19.991024" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:19.991005" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.991358" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:19.991639" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:19.968245" elapsed="0.023507">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:19.991824" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:19.965676" elapsed="0.026252">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:19.992096" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:19.941128" elapsed="0.051077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:20.506662" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:20.504174" elapsed="0.002566"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:20.508371" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:20.507763" elapsed="0.000657"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:20.507284" elapsed="0.001184"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:20.509761" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:20.509140" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:20.508676" elapsed="0.001181"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:20.506900" elapsed="0.003036"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:20.510641" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:20.510010" elapsed="0.000779"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:20.512435" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:20.511451" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:20.510853" elapsed="0.001785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:20.513190" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:20.512703" elapsed="0.000633"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:20.509990" elapsed="0.003407"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:20.513435" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:15:20.513614" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:20.503531" elapsed="0.010111"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:20.513731" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:20.513877" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:20.502881" elapsed="0.011027"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:20.528503" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:20.528046" elapsed="0.000559"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:20.529279" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:20.528832" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:20.534660" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:20.531876" elapsed="0.005574">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:20.529498" elapsed="0.008092">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:20.537887" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:20.537675" elapsed="0.000362"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:20.529477" elapsed="0.008621">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:20.538656" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:20.538913" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:20.538877" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:20.538858" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:20.539206" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:20.539445" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:20.516651" elapsed="0.022905">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:20.539642" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:20.514124" elapsed="0.025622">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:20.539914" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:20.492691" elapsed="0.047336">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.059086" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:21.056644" elapsed="0.002518"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.060644" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:21.060013" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:21.059561" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.061947" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:21.061342" elapsed="0.000654"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:21.060904" elapsed="0.001140"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:21.059317" elapsed="0.002805"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.062804" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:21.062191" elapsed="0.000759"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.064611" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:21.063614" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:21.063013" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.065297" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:21.064843" elapsed="0.000598"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:21.062173" elapsed="0.003327"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:21.065538" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:15:21.065706" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:21.055701" elapsed="0.010032"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:21.065778" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:21.065917" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:21.054771" elapsed="0.011171"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.080237" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:21.079777" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.081153" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:21.080560" elapsed="0.000677"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:21.086499" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:21.083593" elapsed="0.005746">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:21.081370" elapsed="0.008091">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.089771" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:21.089544" elapsed="0.000377"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:21.081351" elapsed="0.008633">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.090448" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:21.090770" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:21.090731" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:21.090711" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.091065" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:21.091309" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:21.068718" elapsed="0.022702">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:21.091491" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:21.066160" elapsed="0.025443">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.091769" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:21.040695" elapsed="0.051183">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.609673" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:21.606640" elapsed="0.003111"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.611250" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:21.610644" elapsed="0.000655"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:21.610182" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.612590" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:21.611981" elapsed="0.000660"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:21.611508" elapsed="0.001180"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:21.609918" elapsed="0.002849"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.613448" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:21.612836" elapsed="0.000773"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.615396" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:21.614399" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:21.613674" elapsed="0.001907"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.616128" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:21.615649" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:21.612817" elapsed="0.003519"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:21.616373" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:21.616524" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:21.605779" elapsed="0.010771"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:21.616611" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:21.616752" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:21.604862" elapsed="0.011915"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.631404" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:21.630946" elapsed="0.000547"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:21.632207" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:21.631726" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:21.637452" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:21.634808" elapsed="0.005471">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:21.632428" elapsed="0.007973">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.640712" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:21.640485" elapsed="0.000379"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:21.632408" elapsed="0.008519">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.641398" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:21.641669" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:21.641631" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:21.641611" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.641963" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:21.642201" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:21.619621" elapsed="0.022690">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:21.642382" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:21.616993" elapsed="0.025486">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:21.642690" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:21.592480" elapsed="0.050323">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.160798" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:22.157781" elapsed="0.003096"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.162349" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:22.161750" elapsed="0.000648"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:22.161297" elapsed="0.001150"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.163747" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:22.163124" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:22.162689" elapsed="0.001154"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:22.161044" elapsed="0.002879"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.164627" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:22.163997" elapsed="0.000777"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.166405" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:22.165428" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:22.164838" elapsed="0.001760"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.167120" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:22.166664" elapsed="0.000600"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:22.163976" elapsed="0.003347"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:22.167363" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:15:22.167522" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:22.156900" elapsed="0.010660"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:22.167623" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:22.167765" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:22.155963" elapsed="0.011828"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.182127" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:22.181666" elapsed="0.000548"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.183033" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:22.182429" elapsed="0.000688"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:22.188522" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:22.185494" elapsed="0.005905">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:22.183252" elapsed="0.008420">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.191984" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:22.191770" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:22.183232" elapsed="0.008968">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.192695" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:22.192951" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:22.192914" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:22.192895" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.193243" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:22.193485" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:22.170463" elapsed="0.023182">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:22.193718" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:22.168006" elapsed="0.025809">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.193979" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:22.143472" elapsed="0.050618">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.712365" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:22.709241" elapsed="0.003202"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.713933" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:22.713307" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:22.712866" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.715258" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:22.714649" elapsed="0.000658"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:22.714194" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:22.712613" elapsed="0.002822"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.716137" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:22.715504" elapsed="0.000779"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.718079" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:22.717000" elapsed="0.001191"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:22.716348" elapsed="0.001939"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.718890" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:22.718370" elapsed="0.000667"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:22.715485" elapsed="0.003611"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:22.719136" elapsed="0.000048"/>
</return>
<msg time="2026-04-11T23:15:22.719312" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:22.708364" elapsed="0.010974"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:22.719384" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:22.719527" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:22.707435" elapsed="0.012118"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.735034" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:22.734494" elapsed="0.000632"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:22.735854" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:22.735365" elapsed="0.000579"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:22.741467" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:22.738383" elapsed="0.006064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:22.736086" elapsed="0.008503">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.744894" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:22.744677" elapsed="0.000377"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:22.736065" elapsed="0.009054">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.745616" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:22.745878" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:22.745841" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:22.745822" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.746182" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:22.746427" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:22.722554" elapsed="0.023986">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:22.746637" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:22.719790" elapsed="0.026948">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:22.746903" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:22.694755" elapsed="0.052265">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.265444" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:23.263114" elapsed="0.002413"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.267051" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:23.266411" elapsed="0.000690"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:23.265962" elapsed="0.001187"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.268384" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:23.267779" elapsed="0.000653"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:23.267314" elapsed="0.001167"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:23.265705" elapsed="0.002855"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.269271" elapsed="0.000126"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:23.268648" elapsed="0.000827"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.271173" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:23.270158" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:23.269540" elapsed="0.001801"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.271896" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:23.271404" elapsed="0.000639"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:23.268628" elapsed="0.003475"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:23.272144" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:23.272304" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:23.262455" elapsed="0.009876"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:23.272378" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:23.272518" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:23.261774" elapsed="0.010770"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.287091" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:23.286476" elapsed="0.000702"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.287857" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:23.287394" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:23.293498" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:23.290280" elapsed="0.006153">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:23.288074" elapsed="0.008487">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.296880" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:23.296663" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:23.288055" elapsed="0.009045">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.297598" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:23.297861" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:23.297824" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:23.297805" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.298162" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:23.298408" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:23.275267" elapsed="0.023254">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:23.298677" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:23.272779" elapsed="0.026013">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.298959" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:23.247771" elapsed="0.051305">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.818285" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:23.815065" elapsed="0.003360"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.820133" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:23.819493" elapsed="0.000689"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:23.819023" elapsed="0.001209"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.821464" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:23.820861" elapsed="0.000653"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:23.820399" elapsed="0.001164"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:23.818670" elapsed="0.002990"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.822346" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:23.821729" elapsed="0.000778"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.824196" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:23.823190" elapsed="0.001102"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:23.822585" elapsed="0.001784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.824919" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:23.824434" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:23.821711" elapsed="0.003415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:23.825165" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:23.825316" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:23.814170" elapsed="0.011173"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:23.825389" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:23.825530" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:23.813123" elapsed="0.012433"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.840429" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:23.839967" elapsed="0.000551"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:23.841216" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:23.840754" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:23.846772" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:23.843845" elapsed="0.005797">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:23.841441" elapsed="0.008367">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.850113" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:23.849894" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:23.841421" elapsed="0.008908">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.850850" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:23.851112" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:23.851072" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:23.851051" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.851407" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:23.851701" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:23.828369" elapsed="0.023443">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:23.851884" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:23.825790" elapsed="0.026191">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:23.852144" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:23.799703" elapsed="0.052551">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.371648" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:24.368403" elapsed="0.003331"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.373258" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:24.372655" elapsed="0.000651"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:24.372182" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.374611" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:24.373982" elapsed="0.000680"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:24.373523" elapsed="0.001188"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:24.371909" elapsed="0.002880"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.375517" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:24.374874" elapsed="0.000810"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.377338" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:24.376349" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:24.375750" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.378069" elapsed="0.000140"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:24.377591" elapsed="0.000700"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:24.374851" elapsed="0.003501"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:24.378398" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:15:24.378587" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:24.367499" elapsed="0.011116"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:24.378662" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:24.378804" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:24.366510" elapsed="0.012319"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.393428" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:24.392961" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.394235" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:24.393751" elapsed="0.000571"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:24.400105" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:24.397054" elapsed="0.005974">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:24.394462" elapsed="0.008697">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.403460" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:24.403245" elapsed="0.000385"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:24.394441" elapsed="0.009253">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.404179" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:24.404436" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:24.404400" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:24.404380" elapsed="0.000241"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.404766" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:24.405008" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:24.381635" elapsed="0.023485">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:24.405191" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:24.379054" elapsed="0.026234">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.405451" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:24.353864" elapsed="0.051754">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.925993" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:24.923590" elapsed="0.002487"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.927624" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:24.926993" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:24.926518" elapsed="0.001206"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.928951" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:24.928332" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:24.927892" elapsed="0.001155"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:24.926253" elapsed="0.002880"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.929884" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:24.929212" elapsed="0.000825"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.931755" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:24.930727" elapsed="0.001124"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:24.930106" elapsed="0.001826"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.932466" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:24.931998" elapsed="0.000638"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:24.929191" elapsed="0.003507"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:24.932739" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:15:24.932904" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:24.922927" elapsed="0.010009"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:24.932983" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:24.933123" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:24.922179" elapsed="0.010970"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.953039" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:24.951558" elapsed="0.001697"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:24.954851" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:24.953800" elapsed="0.001241"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:24.964676" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:24.960713" elapsed="0.006851">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:24.955369" elapsed="0.012344">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.968018" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:24.967801" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:24.955314" elapsed="0.012993">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.968881" elapsed="0.000031"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:24.969153" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:24.969109" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:24.969089" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.969454" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:24.969738" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:24.936210" elapsed="0.033651">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:24.969938" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:24.933377" elapsed="0.036664">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:24.970210" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:24.906425" elapsed="0.063899">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:25.489303" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:25.485832" elapsed="0.003580"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:25.491110" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:25.490484" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:25.490018" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:25.492415" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:25.491824" elapsed="0.000638"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:25.491373" elapsed="0.001137"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:25.489657" elapsed="0.002946"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:25.493286" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:25.492675" elapsed="0.000758"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:25.495096" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:25.494114" elapsed="0.001074"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:25.493497" elapsed="0.001768"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:25.495802" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:25.495329" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:25.492657" elapsed="0.003347"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:25.496042" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:15:25.496201" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:25.484909" elapsed="0.011319"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:25.496307" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:25.496452" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:25.483990" elapsed="0.012487"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:25.511164" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:25.510703" elapsed="0.000548"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:25.511947" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:25.511471" elapsed="0.000563"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:25.517374" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:25.514414" elapsed="0.005787">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:25.512171" elapsed="0.008154">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:25.520638" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:25.520408" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:25.512151" elapsed="0.008701">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:25.521350" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:25.521645" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:25.521607" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:25.521586" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:25.521943" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:25.522182" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:25.499271" elapsed="0.023023">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:25.522364" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:25.496715" elapsed="0.025746">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:25.522679" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:25.470979" elapsed="0.051813">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.042915" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:26.039813" elapsed="0.003187"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.044687" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:26.044042" elapsed="0.000697"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:26.043488" elapsed="0.001301"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.046061" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:26.045434" elapsed="0.000678"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:26.044980" elapsed="0.001181"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:26.043209" elapsed="0.003034"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.047003" elapsed="0.000078"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:26.046325" elapsed="0.000855"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.048921" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:26.047906" elapsed="0.001119"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:26.047262" elapsed="0.001842"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.049657" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:26.049170" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:26.046302" elapsed="0.003565"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:26.049910" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:15:26.050082" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:26.038735" elapsed="0.011377"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:26.050161" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:26.050303" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:26.037657" elapsed="0.012673"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.065237" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:26.064733" elapsed="0.000595"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.066026" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:26.065547" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:26.071922" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:26.068710" elapsed="0.006081">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:26.066249" elapsed="0.008670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.075222" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:26.075003" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:26.066229" elapsed="0.009206">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.075997" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:26.076291" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:26.076253" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:26.076234" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.076606" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:26.076848" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:26.053135" elapsed="0.023903">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:26.077114" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:26.050551" elapsed="0.026661">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.077379" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:26.023650" elapsed="0.053839">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.596718" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:26.593420" elapsed="0.003402"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.598367" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:26.597765" elapsed="0.000650"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:26.597309" elapsed="0.001153"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.599678" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:26.599074" elapsed="0.000652"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:26.598640" elapsed="0.001133"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:26.597035" elapsed="0.002816"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.600517" elapsed="0.000095"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:26.599919" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.602328" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:26.601348" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:26.600759" elapsed="0.001736"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.603030" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:26.602557" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:26.599900" elapsed="0.003333"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:26.603270" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:26.603423" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:26.592537" elapsed="0.010912"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:26.603494" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:26.603652" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:26.591645" elapsed="0.012033"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.618345" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:26.617889" elapsed="0.000543"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:26.619150" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:26.618702" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:26.626172" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:26.623413" elapsed="0.005688">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:26.619369" elapsed="0.009856">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.629519" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:26.629309" elapsed="0.000380"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:26.619348" elapsed="0.010404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.630227" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:26.630487" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:26.630450" elapsed="0.000146"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:26.630431" elapsed="0.000230"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.630802" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:26.631050" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:26.606466" elapsed="0.024696">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:26.631232" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:26.603894" elapsed="0.027434">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:26.631489" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:26.578092" elapsed="0.053522">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.149727" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:27.147339" elapsed="0.002469"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.151325" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:27.150710" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:27.150234" elapsed="0.001189"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.152752" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:27.152111" elapsed="0.000691"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:27.151664" elapsed="0.001186"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:27.149971" elapsed="0.002958"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.153647" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:27.153004" elapsed="0.000792"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.155456" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:27.154469" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:27.153861" elapsed="0.001797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.156215" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:27.155724" elapsed="0.000641"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:27.152984" elapsed="0.003442"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:27.156468" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:27.156652" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:27.146511" elapsed="0.010168"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:27.156726" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:27.156869" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:27.145430" elapsed="0.011464"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.171770" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:27.171292" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.172541" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:27.172075" elapsed="0.000567"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:27.178132" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:27.175158" elapsed="0.005918">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:27.172782" elapsed="0.008428">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.181509" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:27.181295" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:27.172762" elapsed="0.008979">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.182225" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:27.182481" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:27.182445" elapsed="0.000143"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:27.182425" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.182796" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:27.183036" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:27.159891" elapsed="0.023293">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:27.183257" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:27.157112" elapsed="0.026244">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.183522" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:27.132312" elapsed="0.051362">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.703030" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:27.699482" elapsed="0.003659"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.705019" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:27.704393" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:27.703746" elapsed="0.001370"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.706330" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:27.705736" elapsed="0.000642"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:27.705281" elapsed="0.001145"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:27.703363" elapsed="0.003140"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.707221" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:27.706590" elapsed="0.000777"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.709041" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:27.708069" elapsed="0.001064"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:27.707430" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.709747" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:27.709275" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:27.706557" elapsed="0.003394"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:27.709992" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:27.710155" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:27.698627" elapsed="0.011554"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:27.710228" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:27.710368" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:27.697686" elapsed="0.012708"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.724984" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:27.724512" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:27.725760" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:27.725296" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:27.731441" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:27.728466" elapsed="0.005791">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:27.725981" elapsed="0.008402">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.734758" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:27.734467" elapsed="0.000444"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:27.725961" elapsed="0.009012">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.735451" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:27.735724" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:27.735686" elapsed="0.000144"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:27.735666" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.736035" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:27.736274" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:27.713173" elapsed="0.023216">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:27.736460" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:27.710630" elapsed="0.025927">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:27.736736" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:27.684352" elapsed="0.052495">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.256181" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:28.252787" elapsed="0.003476"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.257816" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:28.257173" elapsed="0.000693"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:28.256721" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.259164" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:28.258531" elapsed="0.000684"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:28.258085" elapsed="0.001180"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:28.256426" elapsed="0.002920"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.260084" elapsed="0.000119"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:28.259422" elapsed="0.000860"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.261995" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:28.260984" elapsed="0.001107"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:28.260348" elapsed="0.001823"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.262721" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:28.262236" elapsed="0.000633"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:28.259402" elapsed="0.003529"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:28.262973" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:15:28.263135" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:28.251892" elapsed="0.011269"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:28.263210" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:28.263353" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:28.250934" elapsed="0.012445"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.278206" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:28.277726" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.279003" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:28.278516" elapsed="0.000573"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:28.284602" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:28.281650" elapsed="0.005767">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:28.279228" elapsed="0.008427">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.287961" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:28.287745" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:28.279207" elapsed="0.008968">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.288688" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:28.288945" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:28.288907" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:28.288888" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.289241" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:28.289481" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:28.266233" elapsed="0.023379">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:28.289728" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:28.263645" elapsed="0.026187">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.290000" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:28.237528" elapsed="0.052584">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.808638" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:28.805463" elapsed="0.003258"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.810216" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:28.809615" elapsed="0.000649"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:28.809146" elapsed="0.001168"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.811553" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:28.810935" elapsed="0.000683"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:28.810478" elapsed="0.001189"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:28.808887" elapsed="0.002859"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.812435" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:28.811819" elapsed="0.000783"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.814275" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:28.813280" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:28.812683" elapsed="0.001764"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.814985" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:28.814510" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:28.811799" elapsed="0.003408"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:28.815247" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:28.815408" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:28.804549" elapsed="0.010886"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:28.815482" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:28.815639" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:28.803634" elapsed="0.012031"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.830284" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:28.829820" elapsed="0.000552"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:28.831049" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:28.830603" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:28.836830" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:28.833531" elapsed="0.006201">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:28.831301" elapsed="0.008605">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.840208" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:28.839992" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:28.831281" elapsed="0.009140">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.840915" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:28.841168" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:28.841132" elapsed="0.000126"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:28.841113" elapsed="0.000206"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.841460" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:28.841753" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:28.818449" elapsed="0.023418">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:28.841939" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:28.815885" elapsed="0.026151">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:28.842200" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:28.790827" elapsed="0.051483">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.358213" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:29.355826" elapsed="0.002470"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.359841" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:29.359214" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:29.358747" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.361275" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:29.360555" elapsed="0.000770"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:29.360103" elapsed="0.001272"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:29.358469" elapsed="0.002987"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.362193" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:29.361534" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.364033" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:29.363045" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:29.362407" elapsed="0.001797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.364751" elapsed="0.000129"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:29.364269" elapsed="0.000689"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:29.361512" elapsed="0.003507"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:29.365060" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:29.365222" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:29.355072" elapsed="0.010176"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:29.365295" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:29.365436" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:29.354073" elapsed="0.011388"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.380015" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:29.379542" elapsed="0.000561"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.380778" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:29.380318" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:29.386527" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:29.383501" elapsed="0.005968">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:29.380999" elapsed="0.008613">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.389916" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:29.389701" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:29.380979" elapsed="0.009150">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.390671" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:29.390943" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:29.390906" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:29.390887" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.391237" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:29.391475" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:29.368319" elapsed="0.023283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:29.391675" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:29.365697" elapsed="0.026075">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.391937" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:29.343451" elapsed="0.048632">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.910775" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:29.907442" elapsed="0.003444"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.912485" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:29.911870" elapsed="0.000665"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:29.911397" elapsed="0.001204"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.913842" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:29.913219" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:29.912772" elapsed="0.001168"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:29.911111" elapsed="0.002911"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.914763" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:29.914094" elapsed="0.000820"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.916596" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:29.915611" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:29.914980" elapsed="0.001791"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.917303" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:29.916836" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:29.914075" elapsed="0.003438"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:29.917552" elapsed="0.000048"/>
</return>
<msg time="2026-04-11T23:15:29.917725" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:29.906551" elapsed="0.011200"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:29.917799" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:29.917940" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:29.905609" elapsed="0.012357"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.932811" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:29.932326" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:29.933592" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:29.933121" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:29.939317" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:29.936281" elapsed="0.005888">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:29.933820" elapsed="0.008480">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.942728" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:29.942386" elapsed="0.000499"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:29.933800" elapsed="0.009199">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.943503" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:29.943784" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:29.943745" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:29.943724" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.944084" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:29.944328" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:29.920961" elapsed="0.023483">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:29.944517" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:29.918187" elapsed="0.026444">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:29.944799" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:29.892798" elapsed="0.052112">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:30.462957" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:30.460019" elapsed="0.003018"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:30.464566" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:30.463949" elapsed="0.000693"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:30.463478" elapsed="0.001214"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:30.465929" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:30.465307" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:30.464860" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:30.463196" elapsed="0.002909"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:30.466820" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:30.466192" elapsed="0.000774"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:30.468716" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:30.467633" elapsed="0.001180"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:30.467029" elapsed="0.001861"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:30.469419" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:30.468956" elapsed="0.000609"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:30.466172" elapsed="0.003482"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:30.469694" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:15:30.469853" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:30.459139" elapsed="0.010741"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:30.469975" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:30.470149" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:30.458197" elapsed="0.011980"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:30.484871" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:30.484385" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:30.485780" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:30.485174" elapsed="0.000690"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:30.491166" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:30.488230" elapsed="0.005730">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:30.486000" elapsed="0.008087">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:30.494422" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:30.494202" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:30.485980" elapsed="0.008678">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:30.495134" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:30.495387" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:30.495351" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:30.495333" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:30.495717" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:30.495956" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:30.472992" elapsed="0.023074">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:30.496137" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:30.470398" elapsed="0.025834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:30.496396" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:30.445538" elapsed="0.050966">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.014774" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:31.011694" elapsed="0.003160"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.016334" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:31.015731" elapsed="0.000652"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:31.015270" elapsed="0.001163"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.017685" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:31.017069" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:31.016625" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:31.015014" elapsed="0.002871"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.018614" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:31.017958" elapsed="0.000805"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.020404" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:31.019421" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:31.018826" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.021124" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:31.020659" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:31.017938" elapsed="0.003396"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:31.021372" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:15:31.021530" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:31.010756" elapsed="0.010801"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:31.021619" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:31.021762" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:31.009776" elapsed="0.012027"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.036301" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:31.035840" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.037071" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:31.036620" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:31.042734" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:31.039697" elapsed="0.005950">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:31.037290" elapsed="0.008515">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.046119" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:31.045902" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:31.037270" elapsed="0.009070">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.046903" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:31.047200" elapsed="0.000161"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:31.047163" elapsed="0.000282"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:31.047143" elapsed="0.000366"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.047670" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:31.047920" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:31.024588" elapsed="0.023445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:31.048107" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:31.022029" elapsed="0.026179">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.048375" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:30.997168" elapsed="0.051320">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.567141" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:31.563800" elapsed="0.003461"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.569469" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:31.568672" elapsed="0.000849"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:31.567901" elapsed="0.001683"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.570850" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:31.570210" elapsed="0.000690"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:31.569758" elapsed="0.001190"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:31.567505" elapsed="0.003522"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.571780" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:31.571111" elapsed="0.000819"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.573645" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:31.572634" elapsed="0.001105"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:31.571998" elapsed="0.001819"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.574346" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:31.573881" elapsed="0.000614"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:31.571088" elapsed="0.003468"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:31.574614" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:15:31.574786" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:31.562869" elapsed="0.011943"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:31.574860" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:31.575000" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:31.561877" elapsed="0.013148"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.590390" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:31.589920" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:31.591300" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:31.590853" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:31.596957" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:31.593803" elapsed="0.006017">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:31.591520" elapsed="0.008431">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.600251" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:31.600035" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:31.591500" elapsed="0.008966">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.601029" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:31.601289" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:31.601250" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:31.601231" elapsed="0.000235"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.601630" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:31.601872" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:31.577913" elapsed="0.024075">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:31.602073" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:31.575251" elapsed="0.026922">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:31.602339" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:31.549348" elapsed="0.053108">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.116272" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:32.111885" elapsed="0.004475"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.117909" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:32.117280" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:32.116821" elapsed="0.001186"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.119288" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:32.118687" elapsed="0.000650"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:32.118224" elapsed="0.001161"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:32.116531" elapsed="0.002931"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.120182" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:32.119540" elapsed="0.000792"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.122023" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:32.121009" elapsed="0.001107"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:32.120396" elapsed="0.001800"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.122732" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:32.122260" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:32.119519" elapsed="0.003417"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:32.122977" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:32.123141" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:32.111238" elapsed="0.011929"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:32.123213" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:32.123353" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:32.110548" elapsed="0.012830"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.137807" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:32.137327" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.138555" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:32.138110" elapsed="0.000693"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:32.144172" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:32.141176" elapsed="0.005938">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:32.138941" elapsed="0.008301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.147544" elapsed="0.000089"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:32.147328" elapsed="0.000390"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:32.138920" elapsed="0.008862">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.148275" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:32.148533" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:32.148496" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:32.148477" elapsed="0.000229"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.148848" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:32.149092" elapsed="0.000029"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:32.126124" elapsed="0.023140">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:32.149337" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:32.123610" elapsed="0.025826">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.149618" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:32.102954" elapsed="0.046779">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.667744" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:32.665353" elapsed="0.002475"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.669406" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:32.668734" elapsed="0.000722"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:32.668268" elapsed="0.001237"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.670787" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:32.670144" elapsed="0.000694"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:32.669699" elapsed="0.001188"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:32.668001" elapsed="0.002965"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.671689" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:32.671044" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.673534" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:32.672500" elapsed="0.001158"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:32.671905" elapsed="0.001830"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.674265" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:32.673799" elapsed="0.000610"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:32.671022" elapsed="0.003449"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:32.674513" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:15:32.674698" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:32.664317" elapsed="0.010408"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:32.674771" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:32.674913" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:32.663277" elapsed="0.011662"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.690244" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:32.689771" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:32.691184" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:32.690552" elapsed="0.000719"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:32.696847" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:32.693783" elapsed="0.005935">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:32.691407" elapsed="0.008441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.700150" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:32.699933" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:32.691387" elapsed="0.008978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.700941" elapsed="0.000031"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:32.701218" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:32.701181" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:32.701161" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.701523" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:32.701789" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:32.677900" elapsed="0.024007">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:32.701984" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:32.675157" elapsed="0.026926">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:32.702249" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:32.650515" elapsed="0.051844">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.214794" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:33.212384" elapsed="0.002491"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.216395" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:33.215783" elapsed="0.000661"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:33.215317" elapsed="0.001187"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.217767" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:33.217144" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:33.216694" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:33.215049" elapsed="0.002897"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.218683" elapsed="0.000127"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:33.218025" elapsed="0.000865"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.220609" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:33.219557" elapsed="0.001149"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:33.218955" elapsed="0.001827"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.221313" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:33.220848" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:33.218003" elapsed="0.003518"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:33.221564" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:15:33.221746" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:33.211755" elapsed="0.010017"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:33.221820" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:33.221960" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:33.211019" elapsed="0.010967"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.236756" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:33.236127" elapsed="0.000720"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.237517" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:33.237064" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:33.243302" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:33.239981" elapsed="0.006267">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:33.237755" elapsed="0.008627">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.246707" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:33.246466" elapsed="0.000395"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:33.237734" elapsed="0.009191">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.247412" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:33.247702" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:33.247664" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:33.247644" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.248000" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:33.248243" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:33.224790" elapsed="0.023568">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:33.248483" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:33.222206" elapsed="0.026397">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.248771" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:33.203048" elapsed="0.045835">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.766921" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:33.764529" elapsed="0.002473"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.768538" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:33.767909" elapsed="0.000703"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:33.767432" elapsed="0.001231"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.769898" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:33.769279" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:33.768832" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:33.767168" elapsed="0.002909"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.770800" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:33.770152" elapsed="0.000796"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.772688" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:33.771633" elapsed="0.001155"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:33.771014" elapsed="0.001851"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.773399" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:33.772930" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:33.770132" elapsed="0.003491"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:33.773665" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:33.773826" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:33.763638" elapsed="0.010214"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:33.773898" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:33.774038" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:33.762670" elapsed="0.011393"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.788891" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:33.788262" elapsed="0.000718"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:33.789661" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:33.789196" elapsed="0.000550"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:33.795297" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:33.792184" elapsed="0.006009">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:33.789901" elapsed="0.008476">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.798696" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:33.798463" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:33.789881" elapsed="0.009033">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.799393" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:33.799667" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:33.799630" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:33.799610" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.799966" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:33.800224" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:33.776895" elapsed="0.023442">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:33.800409" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:33.774282" elapsed="0.026224">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:33.800725" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:33.749636" elapsed="0.051201">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.318729" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:34.316281" elapsed="0.002533"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.320356" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:34.319716" elapsed="0.000691"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:34.319246" elapsed="0.001210"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.321728" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:34.321097" elapsed="0.000681"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:34.320651" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:34.318983" elapsed="0.002922"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.322633" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:34.321981" elapsed="0.000803"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.324466" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:34.323454" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:34.322849" elapsed="0.001819"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.325193" elapsed="0.000139"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:34.324733" elapsed="0.000682"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:34.321960" elapsed="0.003515"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:34.325518" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:34.325702" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:34.315294" elapsed="0.010434"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:34.325775" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:34.325916" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:34.314270" elapsed="0.011670"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.340897" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:34.340239" elapsed="0.000753"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.341684" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:34.341213" elapsed="0.000558"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:34.347199" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:34.344178" elapsed="0.005942">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:34.341913" elapsed="0.008335">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.350551" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:34.350333" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:34.341892" elapsed="0.008892">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.351291" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:34.351553" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:34.351513" elapsed="0.000148"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:34.351493" elapsed="0.000229"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.351877" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:34.352120" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:34.328824" elapsed="0.023414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:34.352310" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:34.326175" elapsed="0.026233">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.352627" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:34.302274" elapsed="0.050525">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.873047" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:34.869801" elapsed="0.003329"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.874744" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:34.874054" elapsed="0.000741"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:34.873559" elapsed="0.001285"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.876109" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:34.875464" elapsed="0.000694"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:34.875013" elapsed="0.001195"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:34.873298" elapsed="0.002990"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.877047" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:34.876366" elapsed="0.000837"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.878916" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:34.877912" elapsed="0.001103"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:34.877270" elapsed="0.001823"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.879669" elapsed="0.000077"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:34.879160" elapsed="0.000671"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:34.876344" elapsed="0.003556"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:34.879945" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:34.880110" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:34.868866" elapsed="0.011270"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:34.880182" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:34.880324" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:34.867806" elapsed="0.012543"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.895312" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:34.894837" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:34.896107" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:34.895653" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:34.901911" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:34.898915" elapsed="0.005898">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:34.896329" elapsed="0.008615">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.905253" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:34.905030" elapsed="0.000379"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:34.896309" elapsed="0.009220">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.906138" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:34.906402" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:34.906364" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:34.906345" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.906724" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:34.906983" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:34.883148" elapsed="0.023953">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:34.907176" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:34.880587" elapsed="0.026688">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:34.907444" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:34.854283" elapsed="0.053304">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.426495" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:35.424134" elapsed="0.002454"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.428159" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:35.427525" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:35.427018" elapsed="0.001241"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.429495" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:35.428891" elapsed="0.000654"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:35.428424" elapsed="0.001188"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:35.426758" elapsed="0.002935"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:35.430400" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:35.429768" elapsed="0.000778"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.432271" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:35.431257" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:35.430626" elapsed="0.001816"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:35.432998" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:35.432507" elapsed="0.000638"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:35.429747" elapsed="0.003458"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:35.433246" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:35.433410" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:35.423472" elapsed="0.009965"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:35.433553" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:15:35.433716" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:35.422670" elapsed="0.011073"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.449051" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:35.448554" elapsed="0.000588"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.449835" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:35.449364" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:35.455843" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:35.452457" elapsed="0.006299">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:35.450063" elapsed="0.008821">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:35.459196" elapsed="0.000079"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:35.458968" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:35.450041" elapsed="0.009386">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:35.459948" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:35.460222" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:35.460182" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:35.460149" elapsed="0.000228"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:35.460519" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:35.460781" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:35.437009" elapsed="0.023887">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:35.460969" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:35.433974" elapsed="0.027094">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:35.461234" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:35.408337" elapsed="0.053007">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.980819" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:35.977564" elapsed="0.003340"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.982434" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:35.981818" elapsed="0.000667"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:35.981338" elapsed="0.001206"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.983864" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:35.983234" elapsed="0.000681"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:35.982728" elapsed="0.001237"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:35.981077" elapsed="0.002968"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:35.984781" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:35.984122" elapsed="0.000809"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:35.986630" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:35.985632" elapsed="0.001095"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:35.984997" elapsed="0.001812"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:35.987395" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:35.986875" elapsed="0.000670"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:35.984101" elapsed="0.003523"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:35.987667" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:35.987829" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:35.976524" elapsed="0.011332"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:35.987902" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:35.988043" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:35.975503" elapsed="0.012566"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:36.003088" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:36.002400" elapsed="0.000785"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:36.003889" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:36.003402" elapsed="0.000574"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:36.009373" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:36.006334" elapsed="0.006075">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:36.004114" elapsed="0.008421">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.012855" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:36.012636" elapsed="0.000373"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:36.004093" elapsed="0.008979">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.013558" elapsed="0.000040"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:36.013891" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:36.013852" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:36.013832" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.014192" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:36.014443" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:35.990832" elapsed="0.023726">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:36.014691" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:35.988291" elapsed="0.026502">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.015019" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:35.962083" elapsed="0.053064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:36.537247" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:36.534682" elapsed="0.002649"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:36.538886" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:36.538226" elapsed="0.000711"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:36.537781" elapsed="0.001206"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:36.540205" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:36.539609" elapsed="0.000645"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:36.539151" elapsed="0.001151"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:36.537506" elapsed="0.002875"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.541100" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:36.540458" elapsed="0.000787"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:36.542934" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:36.541915" elapsed="0.001112"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:36.541309" elapsed="0.001792"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.543647" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:36.543165" elapsed="0.000628"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:36.540435" elapsed="0.003416"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:36.543892" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:15:36.544057" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:36.533761" elapsed="0.010322"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:36.544130" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:36.544271" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:36.532782" elapsed="0.011514"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:36.559180" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:36.558538" elapsed="0.000730"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:36.559951" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:36.559488" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:36.565425" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:36.562385" elapsed="0.005978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:36.560170" elapsed="0.008320">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.568803" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:36.568589" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:36.560150" elapsed="0.008868">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.569496" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:36.569767" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:36.569731" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:36.569712" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.570061" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:36.570299" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:36.547211" elapsed="0.023200">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:36.570481" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:36.544515" elapsed="0.026162">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:36.570864" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:36.515934" elapsed="0.055043">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.092138" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:37.088812" elapsed="0.003436"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.094390" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:37.093465" elapsed="0.001005"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:37.092842" elapsed="0.001688"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.095843" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:37.095224" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:37.094776" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:37.092469" elapsed="0.003552"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.096728" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:37.096092" elapsed="0.000784"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.098605" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:37.097539" elapsed="0.001163"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:37.096941" elapsed="0.001839"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.099301" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:37.098844" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:37.096072" elapsed="0.003447"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:37.099559" elapsed="0.000047"/>
</return>
<msg time="2026-04-11T23:15:37.099733" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:37.087934" elapsed="0.011825"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:37.099806" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:37.099947" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:37.086998" elapsed="0.012975"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.114936" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:37.114433" elapsed="0.000592"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.115811" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:37.115240" elapsed="0.000658"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:37.121343" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:37.118557" elapsed="0.005754">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:37.116034" elapsed="0.008404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.124751" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:37.124521" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:37.116014" elapsed="0.008951">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.125436" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:37.125914" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:37.125877" elapsed="0.000126"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:37.125857" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.126205" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:37.126505" elapsed="0.000022"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:37.102805" elapsed="0.023896">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:37.126775" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:37.100190" elapsed="0.026683">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.127039" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:37.071630" elapsed="0.055519">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.643961" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:37.640516" elapsed="0.003565"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.646227" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:37.645321" elapsed="0.000974"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:37.644697" elapsed="0.001666"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.647994" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:37.647198" elapsed="0.000861"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:37.646596" elapsed="0.001525"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:37.644318" elapsed="0.003904"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.649164" elapsed="0.000092"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:37.648319" elapsed="0.001038"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.651541" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:37.650278" elapsed="0.001402"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:37.649440" elapsed="0.002344"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.652484" elapsed="0.000151"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:37.651868" elapsed="0.000869"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:37.648293" elapsed="0.004526"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:37.652879" elapsed="0.000049"/>
</return>
<msg time="2026-04-11T23:15:37.653095" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:37.639668" elapsed="0.013464"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:37.653195" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:37.653384" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:37.638681" elapsed="0.014738"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.672071" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:37.671592" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:37.672862" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:37.672385" elapsed="0.000563"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:37.678545" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:37.675535" elapsed="0.006007">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:37.673088" elapsed="0.008598">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.682013" elapsed="0.000083"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:37.681773" elapsed="0.000421"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:37.673066" elapsed="0.009195">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.682839" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:37.683103" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:37.683064" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:37.683045" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.683408" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:37.683671" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:37.659543" elapsed="0.024244">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:37.683860" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:37.653745" elapsed="0.030213">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:37.684124" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:37.627795" elapsed="0.056439">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.203592" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:38.200006" elapsed="0.003672"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.205193" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:38.204559" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:38.204109" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.206599" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:38.205954" elapsed="0.000696"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:38.205458" elapsed="0.001241"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:38.203845" elapsed="0.002934"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.207485" elapsed="0.000155"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:38.206854" elapsed="0.000870"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.209422" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:38.208402" elapsed="0.001116"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:38.207791" elapsed="0.001820"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.210165" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:38.209690" elapsed="0.000622"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:38.206833" elapsed="0.003539"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:38.210414" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:38.210593" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:38.199045" elapsed="0.011575"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:38.210669" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:38.210812" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:38.198021" elapsed="0.012817"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.226003" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:38.225494" elapsed="0.000606"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.226801" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:38.226324" elapsed="0.000563"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:38.232291" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:38.229418" elapsed="0.005740">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:38.227026" elapsed="0.008261">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.235686" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:38.235374" elapsed="0.000470"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:38.227005" elapsed="0.008905">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.236412" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:38.236691" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:38.236652" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:38.236632" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.236994" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:38.237239" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:38.213923" elapsed="0.023429">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:38.237473" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:38.211062" elapsed="0.026529">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.237776" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:38.185041" elapsed="0.052848">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.750230" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:38.747872" elapsed="0.002440"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.751839" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:38.751218" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:38.750762" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.753175" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:38.752549" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:38.752105" elapsed="0.001169"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:38.750481" elapsed="0.002883"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.754091" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:38.753440" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.755894" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:38.754915" elapsed="0.001072"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:38.754303" elapsed="0.001760"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.756614" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:38.756129" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:38.753419" elapsed="0.003400"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:38.756859" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:38.757021" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:38.747217" elapsed="0.009830"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:38.757095" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:38.757237" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:38.746487" elapsed="0.010776"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.771803" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:38.771309" elapsed="0.000584"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:38.772566" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:38.772112" elapsed="0.000687"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:38.778239" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:38.775178" elapsed="0.005958">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:38.772938" elapsed="0.008402">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.781668" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:38.781428" elapsed="0.000395"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:38.772916" elapsed="0.008970">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.782400" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:38.782681" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:38.782642" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:38.782621" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.782986" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:38.783233" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:38.760041" elapsed="0.023307">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:38.783421" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:38.757517" elapsed="0.026002">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:38.783703" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:38.738599" elapsed="0.045218">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.303053" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:39.300243" elapsed="0.002891"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.304654" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:39.304025" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:39.303560" elapsed="0.001192"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.305996" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:39.305373" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:39.304917" elapsed="0.001179"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:39.303302" elapsed="0.002873"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.306891" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:39.306250" elapsed="0.000791"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.308718" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:39.307723" elapsed="0.001088"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:39.307105" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.309431" elapsed="0.000150"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:39.308951" elapsed="0.000710"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:39.306229" elapsed="0.003493"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:39.309764" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:39.309928" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:39.299279" elapsed="0.010676"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:39.310003" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:39.310146" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:39.298017" elapsed="0.012155"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.324931" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:39.324297" elapsed="0.000747"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.325737" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:39.325267" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:39.331277" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:39.328335" elapsed="0.005817">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:39.325960" elapsed="0.008321">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.334632" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:39.334367" elapsed="0.000423"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:39.325940" elapsed="0.008914">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.335349" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:39.335631" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:39.335592" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:39.335554" elapsed="0.000234"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.335933" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:39.336177" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:39.312980" elapsed="0.023309">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:39.336362" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:39.310403" elapsed="0.026057">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.336642" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:39.284635" elapsed="0.052168">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.855731" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:39.853367" elapsed="0.002445"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.857330" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:39.856703" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:39.856238" elapsed="0.001192"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.858670" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:39.858055" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:39.857613" elapsed="0.001155"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:39.855979" elapsed="0.002868"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.859550" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:39.858922" elapsed="0.000789"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.861394" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:39.860376" elapsed="0.001110"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:39.859775" elapsed="0.001786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.862122" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:39.861660" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:39.858901" elapsed="0.003428"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:39.862369" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:39.862531" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:39.852702" elapsed="0.009855"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:39.862621" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:39.862764" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:39.851973" elapsed="0.010817"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.877257" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:39.876787" elapsed="0.000561"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:39.878168" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:39.877566" elapsed="0.000688"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:39.883682" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:39.880646" elapsed="0.005934">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:39.878392" elapsed="0.008318">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.887014" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:39.886794" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:39.878372" elapsed="0.008923">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.887832" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:39.888095" elapsed="0.000214"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:39.888055" elapsed="0.000336"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:39.888036" elapsed="0.000418"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.888628" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:39.888886" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:39.865529" elapsed="0.023477">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:39.889081" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:39.863013" elapsed="0.026169">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:39.889353" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:39.837560" elapsed="0.051906">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.409488" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:40.405979" elapsed="0.003639"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.411125" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:40.410494" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:40.410046" elapsed="0.001177"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.412444" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:40.411837" elapsed="0.000657"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:40.411384" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:40.409788" elapsed="0.002857"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.413352" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:40.412726" elapsed="0.000771"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.415174" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:40.414181" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:40.413562" elapsed="0.001786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.415889" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:40.415413" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:40.412701" elapsed="0.003396"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:40.416137" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:40.416300" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:40.405027" elapsed="0.011300"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:40.416453" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:40.416623" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:40.403986" elapsed="0.012664"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.431536" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:40.431060" elapsed="0.000591"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.432320" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:40.431870" elapsed="0.000577"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:40.437991" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:40.434901" elapsed="0.006046">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:40.432605" elapsed="0.008472">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.441380" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:40.441162" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:40.432583" elapsed="0.009033">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.442117" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:40.442379" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:40.442340" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:40.442321" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.442757" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:40.443004" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:40.419449" elapsed="0.023670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:40.443191" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:40.416882" elapsed="0.026407">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.443455" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:40.390223" elapsed="0.053344">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.962111" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:40.959038" elapsed="0.003155"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.963776" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:40.963098" elapsed="0.000729"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:40.962642" elapsed="0.001237"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.965316" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:40.964514" elapsed="0.000853"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:40.964047" elapsed="0.001369"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:40.962361" elapsed="0.003133"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.966244" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:40.965605" elapsed="0.000786"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.968055" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:40.967072" elapsed="0.001088"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:40.966456" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.968781" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:40.968301" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:40.965551" elapsed="0.003435"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:40.969028" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:15:40.969197" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:40.958002" elapsed="0.011222"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:40.969271" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:40.969415" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:40.956990" elapsed="0.012451"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.984037" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:40.983435" elapsed="0.000714"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:40.984841" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:40.984369" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:40.990611" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:40.987290" elapsed="0.006217">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:40.985062" elapsed="0.008587">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.993948" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:40.993733" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:40.985040" elapsed="0.009122">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.994710" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:40.995030" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:40.994991" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:40.994970" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.995330" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:40.995588" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:40.972321" elapsed="0.023388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:40.995784" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:40.969692" elapsed="0.026193">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:40.996054" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:40.944378" elapsed="0.051812">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:41.516691" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:41.513195" elapsed="0.003579"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:41.518314" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:41.517707" elapsed="0.000658"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:41.517207" elapsed="0.001207"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:41.519663" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:41.519048" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:41.518599" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:41.516943" elapsed="0.002912"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:41.520562" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:41.519932" elapsed="0.000793"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:41.522378" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:41.521383" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:41.520790" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:41.523092" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:41.522633" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:41.519911" elapsed="0.003387"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:41.523338" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:41.523498" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:41.512247" elapsed="0.011277"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:41.523584" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:41.523729" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:41.511215" elapsed="0.012539"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:41.538404" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:41.537928" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:41.539200" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:41.538735" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:41.544951" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:41.541854" elapsed="0.006047">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:41.539425" elapsed="0.008605">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:41.548333" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:41.548115" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:41.539405" elapsed="0.009147">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:41.549058" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:41.549319" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:41.549281" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:41.549261" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:41.549632" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:41.549880" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:41.526564" elapsed="0.023430">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:41.550066" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:41.523989" elapsed="0.026176">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:41.550329" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:41.496991" elapsed="0.053448">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.069544" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:42.066484" elapsed="0.003159"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.071145" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:42.070515" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:42.070071" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.072545" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:42.071948" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:42.071471" elapsed="0.001189"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:42.069812" elapsed="0.002930"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.073444" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:42.072817" elapsed="0.000789"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.075260" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:42.074268" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:42.073673" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.075989" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:42.075499" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:42.072796" elapsed="0.003400"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:42.076237" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:42.076398" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:42.065545" elapsed="0.010879"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:42.076471" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:42.076630" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:42.064540" elapsed="0.012116"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.091186" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:42.090723" elapsed="0.000551"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.091986" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:42.091494" elapsed="0.000577"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:42.097682" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:42.094549" elapsed="0.006444">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:42.092208" elapsed="0.008927">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.101467" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:42.101230" elapsed="0.000405"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:42.092187" elapsed="0.009514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.102210" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:42.102469" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:42.102431" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:42.102412" elapsed="0.000261"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.102817" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:42.103057" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:42.079425" elapsed="0.023805">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:42.103304" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:42.076875" elapsed="0.026527">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.103597" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:42.051197" elapsed="0.052513">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.623209" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:42.619974" elapsed="0.003381"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.624965" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:42.624337" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:42.623890" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.626296" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:42.625688" elapsed="0.000657"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:42.625228" elapsed="0.001196"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:42.623603" elapsed="0.002901"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.627238" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:42.626603" elapsed="0.000783"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.629041" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:42.628062" elapsed="0.001073"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:42.627450" elapsed="0.001761"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.629758" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:42.629277" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:42.626558" elapsed="0.003405"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:42.630003" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:42.630164" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:42.619067" elapsed="0.011124"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:42.630238" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:15:42.630378" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:42.618117" elapsed="0.012288"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.645347" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:42.644880" elapsed="0.000556"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:42.646134" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:42.645669" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:42.652025" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:42.648793" elapsed="0.006178">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:42.646361" elapsed="0.008737">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.655416" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:42.655183" elapsed="0.000402"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:42.646341" elapsed="0.009311">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.656138" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:42.656398" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:42.656360" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:42.656341" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.656711" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:42.656957" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:42.633405" elapsed="0.023664">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:42.657141" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:42.630707" elapsed="0.026532">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:42.657407" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:42.604505" elapsed="0.053013">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.174999" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:43.172608" elapsed="0.002477"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.176647" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:43.176010" elapsed="0.000689"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:43.175527" elapsed="0.001223"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.178037" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:43.177394" elapsed="0.000693"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:43.176941" elapsed="0.001196"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:43.175260" elapsed="0.002958"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.179004" elapsed="0.000144"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:43.178297" elapsed="0.000931"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.180909" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:43.179921" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:43.179294" elapsed="0.001784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.181629" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:43.181143" elapsed="0.000631"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:43.178273" elapsed="0.003561"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:43.181877" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:43.182042" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:43.171944" elapsed="0.010124"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:43.182116" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:43.182256" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:43.171199" elapsed="0.011083"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.196951" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:43.196468" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.197843" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:43.197260" elapsed="0.000668"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:43.203297" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:43.200301" elapsed="0.005875">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:43.198063" elapsed="0.008240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.206618" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:43.206388" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:43.198042" elapsed="0.008793">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.207349" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:43.207624" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:43.207585" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:43.207551" elapsed="0.000229"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.207923" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:43.208163" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:43.185000" elapsed="0.023276">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:43.208381" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:43.182505" elapsed="0.025978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.208665" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:43.158281" elapsed="0.050498">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.728159" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:43.724934" elapsed="0.003305"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.729769" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:43.729131" elapsed="0.000687"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:43.728683" elapsed="0.001184"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.731109" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:43.730476" elapsed="0.000684"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:43.730034" elapsed="0.001175"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:43.728403" elapsed="0.002887"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.732022" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:43.731363" elapsed="0.000811"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.733837" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:43.732856" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:43.732238" elapsed="0.001772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.734537" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:43.734075" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:43.731342" elapsed="0.003430"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:43.734812" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:43.734975" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:43.724040" elapsed="0.010963"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:43.735050" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:43.735193" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:43.723071" elapsed="0.012148"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.749764" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:43.749276" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:43.750661" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:43.750164" elapsed="0.000588"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:43.756205" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:43.753244" elapsed="0.005901">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:43.750890" elapsed="0.008434">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.759654" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:43.759411" elapsed="0.000404"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:43.750870" elapsed="0.009009">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.760363" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:43.760640" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:43.760601" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:43.760580" elapsed="0.000223"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.760946" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:43.761192" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:43.737977" elapsed="0.023327">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:43.761377" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:43.735442" elapsed="0.026033">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:43.761667" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:43.709611" elapsed="0.052169">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.278853" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:44.275521" elapsed="0.003444"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.281194" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:44.280201" elapsed="0.001064"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:44.279546" elapsed="0.001792"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.283064" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:44.282223" elapsed="0.000906"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:44.281586" elapsed="0.001611"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:44.279184" elapsed="0.004125"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.284254" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:44.283411" elapsed="0.001024"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.286634" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:44.285300" elapsed="0.001454"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:44.284513" elapsed="0.002351"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.287645" elapsed="0.000183"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:44.286950" elapsed="0.000988"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:44.283384" elapsed="0.004640"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:44.288086" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:15:44.288312" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:44.274644" elapsed="0.013706"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:44.288417" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:15:44.288642" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:44.273651" elapsed="0.015028"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.308556" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:44.307903" elapsed="0.000832"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.309656" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:44.309034" elapsed="0.000743"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:44.316998" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:44.313288" elapsed="0.006969">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:44.309964" elapsed="0.010423">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.320720" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:44.320472" elapsed="0.000403"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:44.309936" elapsed="0.011006">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.321441" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:44.321723" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:44.321684" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:44.321664" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.322025" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:44.322271" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:44.292724" elapsed="0.029677">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:44.322476" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:44.288999" elapsed="0.033588">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.322765" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:44.262380" elapsed="0.060562">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.835178" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:44.832815" elapsed="0.002444"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.836776" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:44.836148" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:44.835701" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.838153" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:44.837490" elapsed="0.000714"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:44.837043" elapsed="0.001212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:44.835425" elapsed="0.002910"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.839058" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:44.838410" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.840874" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:44.839892" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:44.839272" elapsed="0.001771"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.841597" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:44.841110" elapsed="0.000633"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:44.838389" elapsed="0.003415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:44.841844" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:44.842005" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:44.832155" elapsed="0.009877"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:44.842094" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:44.842236" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:44.831448" elapsed="0.010814"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.856842" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:44.856352" elapsed="0.000595"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:44.857970" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:44.857363" elapsed="0.000721"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:44.863478" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:44.860443" elapsed="0.005967">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:44.858223" elapsed="0.008315">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.866854" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:44.866639" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:44.858203" elapsed="0.008920">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.867628" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:44.867894" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:44.867855" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:44.867836" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.868192" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:44.868434" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:44.844999" elapsed="0.023548">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:44.868637" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:44.842484" elapsed="0.026254">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:44.868904" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:44.823463" elapsed="0.045553">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.387322" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:45.384288" elapsed="0.003110"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.388873" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:45.388251" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:45.387816" elapsed="0.001155"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.390189" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:45.389565" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:45.389131" elapsed="0.001155"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:45.387550" elapsed="0.002813"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.391059" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:45.390431" elapsed="0.000772"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.392847" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:45.391870" elapsed="0.001068"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:45.391265" elapsed="0.001749"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.393535" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:45.393078" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:45.390413" elapsed="0.003342"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:45.393807" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:45.393960" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:45.383416" elapsed="0.010570"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:45.394069" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:45.394215" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:45.382500" elapsed="0.011740"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.408563" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:45.408109" elapsed="0.000683"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.409457" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:45.409007" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:45.414957" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:45.411961" elapsed="0.005853">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:45.409696" elapsed="0.008251">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.418244" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:45.418030" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:45.409675" elapsed="0.008785">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.418962" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:45.419216" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:45.419179" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:45.419160" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.419512" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:45.419768" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:45.397008" elapsed="0.022872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:45.419952" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:45.394456" elapsed="0.025594">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.420214" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:45.369712" elapsed="0.050612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.938885" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:45.935969" elapsed="0.002997"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.940602" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:45.939846" elapsed="0.000809"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:45.939387" elapsed="0.001318"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.941955" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:45.941317" elapsed="0.000688"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:45.940872" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:45.939130" elapsed="0.003007"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.942866" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:45.942213" elapsed="0.000804"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.944743" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:45.943706" elapsed="0.001132"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:45.943083" elapsed="0.001832"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.945451" elapsed="0.000081"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:45.944980" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:45.942192" elapsed="0.003496"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:45.945728" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:45.945889" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:45.934985" elapsed="0.010931"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:45.945962" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:45.946103" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:45.934033" elapsed="0.012096"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.961082" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:45.960617" elapsed="0.000553"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:45.961882" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:45.961384" elapsed="0.000583"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:45.967487" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:45.964335" elapsed="0.006051">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:45.962102" elapsed="0.008411">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.970831" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:45.970615" elapsed="0.000506"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:45.962082" elapsed="0.009103">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.971679" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:45.971977" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:45.971939" elapsed="0.000257"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:45.971919" elapsed="0.000339"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.972400" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:45.972695" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:45.948963" elapsed="0.023845">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:45.972882" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:45.946349" elapsed="0.026633">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:45.973147" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:45.921148" elapsed="0.052112">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:46.489871" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:46.486556" elapsed="0.003419"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:46.491555" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:46.490956" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:46.490495" elapsed="0.001174"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:46.492881" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:46.492264" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:46.491831" elapsed="0.001146"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:46.490251" elapsed="0.002804"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:46.493758" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:46.493124" elapsed="0.000783"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:46.495538" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:46.494556" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:46.493971" elapsed="0.001754"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:46.496247" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:46.495787" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:46.493105" elapsed="0.003347"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:46.496489" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:46.496656" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:46.485716" elapsed="0.010967"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:46.496729" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:46.496870" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:46.484720" elapsed="0.012176"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:46.511544" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:46.511083" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:46.512312" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:46.511866" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:46.517821" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:46.515078" elapsed="0.005580">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:46.512531" elapsed="0.008252">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:46.521078" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:46.520865" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:46.512511" elapsed="0.008798">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:46.521795" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:46.522049" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:46.522013" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:46.521993" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:46.522344" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:46.522633" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:46.499710" elapsed="0.023037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:46.522819" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:46.497112" elapsed="0.025804">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:46.523081" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:46.474126" elapsed="0.049065">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.041926" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:47.038679" elapsed="0.003356"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.043534" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:47.042934" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:47.042475" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.044987" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:47.044342" elapsed="0.000694"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:47.043905" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:47.042225" elapsed="0.002937"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.045852" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:47.045233" elapsed="0.000768"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.047631" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:47.046666" elapsed="0.001060"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:47.046065" elapsed="0.001738"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.048323" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:47.047867" elapsed="0.000601"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:47.045213" elapsed="0.003315"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:47.048620" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:15:47.048780" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:47.037780" elapsed="0.011026"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:47.048853" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:47.049152" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:47.036703" elapsed="0.012476"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.063944" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:47.063464" elapsed="0.000571"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.064844" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:47.064252" elapsed="0.000692"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:47.070280" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:47.067291" elapsed="0.005891">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:47.065080" elapsed="0.008230">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.073628" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:47.073394" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:47.065060" elapsed="0.008783">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.074320" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:47.074594" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:47.074538" elapsed="0.000151"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:47.074519" elapsed="0.000231"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.074897" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:47.075137" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:47.052090" elapsed="0.023192">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:47.075356" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:47.049405" elapsed="0.026051">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.075638" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:47.024182" elapsed="0.051571">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.592225" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:47.589785" elapsed="0.002515"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.593771" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:47.593159" elapsed="0.000661"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:47.592724" elapsed="0.001145"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.595079" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:47.594461" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:47.594029" elapsed="0.001145"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:47.592453" elapsed="0.002799"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.595932" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:47.595320" elapsed="0.000757"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.597730" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:47.596762" elapsed="0.001062"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:47.596139" elapsed="0.001760"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.598418" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:47.597963" elapsed="0.000597"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:47.595301" elapsed="0.003345"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:47.598684" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:47.598836" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:47.589171" elapsed="0.009696"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:47.598913" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:47.599056" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:47.588506" elapsed="0.010576"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.613388" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:47.612935" elapsed="0.000540"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:47.614153" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:47.613707" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:47.619465" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:47.616772" elapsed="0.005453">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:47.614371" elapsed="0.007977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.622662" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:47.622431" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:47.614351" elapsed="0.008526">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.623347" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:47.623619" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:47.623565" elapsed="0.000148"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:47.623546" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.623914" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:47.624155" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:47.601793" elapsed="0.022474">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:47.624338" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:47.599297" elapsed="0.025138">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:47.624622" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:47.576327" elapsed="0.048408">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.142995" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:48.140717" elapsed="0.002353"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.144526" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:48.143913" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:48.143464" elapsed="0.001174"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.145850" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:48.145232" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:48.144799" elapsed="0.001147"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:48.143222" elapsed="0.002801"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.146701" elapsed="0.000101"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:48.146090" elapsed="0.000791"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.148537" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:48.147531" elapsed="0.001115"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:48.146944" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.149242" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:48.148786" elapsed="0.000599"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:48.146072" elapsed="0.003373"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:48.149482" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:48.149660" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:48.140081" elapsed="0.009606"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:48.149734" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:48.149875" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:48.139418" elapsed="0.010482"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.164709" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:48.164109" elapsed="0.000693"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.165468" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:48.165019" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:48.170765" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:48.168002" elapsed="0.005687">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:48.165707" elapsed="0.008106">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.174120" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:48.173897" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:48.165686" elapsed="0.008649">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.174836" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:48.175093" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:48.175056" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:48.175036" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.175387" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:48.175671" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:48.152614" elapsed="0.023170">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:48.175893" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:48.150121" elapsed="0.025876">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.176161" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:48.125311" elapsed="0.050960">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.695190" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:48.692859" elapsed="0.002413"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.696795" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:48.696173" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:48.695715" elapsed="0.001180"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.698121" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:48.697500" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:48.697062" elapsed="0.001157"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:48.695439" elapsed="0.002858"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.699010" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:48.698371" elapsed="0.000788"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.700849" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:48.699839" elapsed="0.001105"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:48.699223" elapsed="0.001796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.701547" elapsed="0.000095"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:48.701084" elapsed="0.000633"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:48.698350" elapsed="0.003427"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:48.701816" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:48.701975" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:48.692215" elapsed="0.009786"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:48.702047" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:48.702188" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:48.691495" elapsed="0.010718"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.716643" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:48.716162" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:48.717400" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:48.716950" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:48.724408" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:48.721520" elapsed="0.005912">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:48.717753" elapsed="0.009872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.727926" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:48.727712" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:48.717733" elapsed="0.010425">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.728653" elapsed="0.000054"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:48.728940" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:48.728903" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:48.728883" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.729239" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:48.729479" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:48.704937" elapsed="0.024668">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:48.729678" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:48.702432" elapsed="0.027344">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:48.729939" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:48.677100" elapsed="0.052953">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.248619" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:49.245306" elapsed="0.003426"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.250367" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:49.249748" elapsed="0.000669"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:49.249277" elapsed="0.001188"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.251725" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:49.251100" elapsed="0.000690"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:49.250648" elapsed="0.001201"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:49.248980" elapsed="0.002952"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.252638" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:49.252000" elapsed="0.000788"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.254488" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:49.253466" elapsed="0.001133"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:49.252859" elapsed="0.001821"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.255227" elapsed="0.000108"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:49.254745" elapsed="0.000668"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:49.251981" elapsed="0.003492"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:49.255512" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:49.255684" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:49.244411" elapsed="0.011300"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:49.255757" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:15:49.255922" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:49.243463" elapsed="0.012486"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.271532" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:49.271045" elapsed="0.000597"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.272357" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:49.271879" elapsed="0.000568"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:49.277869" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:49.275017" elapsed="0.005738">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:49.272603" elapsed="0.008280">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.281189" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:49.280969" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:49.272581" elapsed="0.008843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.282007" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:49.282274" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:49.282233" elapsed="0.000169"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:49.282213" elapsed="0.000254"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.282653" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:49.282896" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:49.258949" elapsed="0.024062">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:49.283084" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:49.256178" elapsed="0.027006">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.283361" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:49.230680" elapsed="0.052830">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.801292" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:49.798206" elapsed="0.003164"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.802897" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:49.802255" elapsed="0.000692"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:49.801805" elapsed="0.001192"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.804262" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:49.803633" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:49.803161" elapsed="0.001200"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:49.801525" elapsed="0.002915"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.805147" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:49.804512" elapsed="0.000786"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.806994" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:49.805986" elapsed="0.001104"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:49.805363" elapsed="0.001803"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.807722" elapsed="0.000077"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:49.807230" elapsed="0.000654"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:49.804493" elapsed="0.003452"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:49.807985" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:15:49.808140" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:49.797315" elapsed="0.010852"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:49.808214" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:49.808357" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:49.796368" elapsed="0.012016"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.823067" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:49.822471" elapsed="0.000693"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:49.823883" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:49.823382" elapsed="0.000588"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:49.829470" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:49.826386" elapsed="0.005985">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:49.824111" elapsed="0.008386">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.832819" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:49.832601" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:49.824086" elapsed="0.008986">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.833586" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:49.833847" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:49.833809" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:49.833790" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.834147" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:49.834395" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:49.811224" elapsed="0.023286">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:49.834634" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:49.808619" elapsed="0.026117">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:49.834902" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:49.784088" elapsed="0.050925">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.352959" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:50.350044" elapsed="0.003008"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.354545" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:50.353935" elapsed="0.000686"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:50.353475" elapsed="0.001196"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.355895" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:50.355285" elapsed="0.000659"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:50.354834" elapsed="0.001157"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:50.353225" elapsed="0.002845"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.356760" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:50.356140" elapsed="0.000765"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.358538" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:50.357565" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:50.356968" elapsed="0.001764"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.359510" elapsed="0.000124"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:50.358795" elapsed="0.000922"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:50.356121" elapsed="0.003666"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:50.359836" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:15:50.360020" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:50.349164" elapsed="0.010883"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:50.360150" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:50.360299" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:50.348229" elapsed="0.012096"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.374977" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:50.374497" elapsed="0.000569"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.375788" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:50.375299" elapsed="0.000573"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:50.381045" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:50.378251" elapsed="0.005713">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:50.376010" elapsed="0.008082">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.384392" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:50.384176" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:50.375989" elapsed="0.008637">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.385112" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:50.385371" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:50.385334" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:50.385314" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.385689" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:50.385931" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:50.363150" elapsed="0.022894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:50.386116" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:50.360556" elapsed="0.025659">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.386379" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:50.336103" elapsed="0.050388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.910075" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:50.906810" elapsed="0.003377"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.912342" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:50.911460" elapsed="0.000953"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:50.910802" elapsed="0.001681"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.914244" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:50.913368" elapsed="0.000946"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:50.912739" elapsed="0.001643"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:50.910415" elapsed="0.004077"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.915547" elapsed="0.000123"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:50.914639" elapsed="0.001142"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.917503" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:50.916523" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:50.915871" elapsed="0.001822"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.918225" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:50.917758" elapsed="0.000613"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:50.914566" elapsed="0.003864"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:50.918471" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:50.918677" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:50.905838" elapsed="0.012866"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:50.918750" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:50.918892" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:50.904796" elapsed="0.014134"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.933444" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:50.932985" elapsed="0.000547"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:50.934210" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:50.933764" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:50.940061" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:50.936810" elapsed="0.006172">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:50.934431" elapsed="0.008678">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.943409" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:50.943194" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:50.934411" elapsed="0.009232">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.944126" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:50.944423" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:50.944384" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:50.944365" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.944739" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:50.944981" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:50.921653" elapsed="0.023441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:50.945168" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:50.919150" elapsed="0.026118">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:50.945436" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:50.887254" elapsed="0.058294">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:51.464067" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:51.461119" elapsed="0.003028"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:51.465662" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:51.465032" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:51.464584" elapsed="0.001176"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:51.466989" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:51.466361" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:51.465922" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:51.464314" elapsed="0.002851"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:51.467868" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:51.467236" elapsed="0.000780"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:51.469682" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:51.468689" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:51.468080" elapsed="0.001770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:51.470376" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:51.469915" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:51.467216" elapsed="0.003380"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:51.470645" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:15:51.470803" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:51.460235" elapsed="0.010594"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:51.470877" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:51.471028" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:51.459296" elapsed="0.011758"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:51.485927" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:51.485321" elapsed="0.000693"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:51.486706" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:51.486229" elapsed="0.000563"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:51.492249" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:51.489274" elapsed="0.005856">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:51.486935" elapsed="0.008322">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:51.495556" elapsed="0.000089"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:51.495340" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:51.486915" elapsed="0.008879">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:51.496326" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:51.496619" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:51.496558" elapsed="0.000159"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:51.496538" elapsed="0.000242"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:51.496927" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:51.497178" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:51.473902" elapsed="0.023391">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:51.497367" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:51.471271" elapsed="0.026199">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:51.497699" elapsed="0.000025"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:51.447440" elapsed="0.050403">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.015832" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:52.012832" elapsed="0.003079"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.017392" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:52.016788" elapsed="0.000653"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:52.016326" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.018837" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:52.018197" elapsed="0.000689"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:52.017749" elapsed="0.001185"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:52.016072" elapsed="0.002942"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.019725" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:52.019089" elapsed="0.000783"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.021532" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:52.020536" elapsed="0.001115"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:52.019936" elapsed="0.001793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.022260" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:52.021794" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:52.019068" elapsed="0.003410"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:52.022519" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:15:52.022701" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:52.011949" elapsed="0.010780"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:52.022776" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:52.022917" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:52.011009" elapsed="0.011933"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.037821" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:52.037342" elapsed="0.000567"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.038610" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:52.038125" elapsed="0.000573"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:52.044034" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:52.041206" elapsed="0.005778">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:52.038833" elapsed="0.008278">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.047409" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:52.047195" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:52.038813" elapsed="0.008830">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.048128" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:52.048385" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:52.048347" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:52.048328" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.048695" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:52.048937" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:52.025935" elapsed="0.023150">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:52.049159" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:52.023159" elapsed="0.026100">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.049425" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:51.998548" elapsed="0.050988">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.567534" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:52.564218" elapsed="0.003410"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.569099" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:52.568474" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:52.568033" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.570419" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:52.569812" elapsed="0.000656"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:52.569360" elapsed="0.001156"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:52.567784" elapsed="0.002826"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.571279" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:52.570680" elapsed="0.000743"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.573076" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:52.572091" elapsed="0.001077"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:52.571486" elapsed="0.001760"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.573781" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:52.573310" elapsed="0.000614"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:52.570661" elapsed="0.003322"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:52.574021" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:15:52.574185" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:52.563359" elapsed="0.010853"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:52.574257" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:52.574397" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:52.562455" elapsed="0.011967"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.589056" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:52.588462" elapsed="0.000684"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:52.589830" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:52.589369" elapsed="0.000546"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:52.595165" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:52.592317" elapsed="0.005675">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:52.590050" elapsed="0.008083">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.598430" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:52.598218" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:52.590030" elapsed="0.008642">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.599140" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:52.599394" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:52.599357" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:52.599338" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.599706" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:52.599949" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:52.577190" elapsed="0.022870">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:52.600132" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:52.574653" elapsed="0.025576">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:52.600394" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:52.550223" elapsed="0.050282">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.117853" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:53.115489" elapsed="0.002450"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.119462" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:53.118843" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:53.118371" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.120824" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:53.120189" elapsed="0.000684"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:53.119745" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:53.118108" elapsed="0.002893"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.121728" elapsed="0.000153"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:53.121075" elapsed="0.000887"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.123660" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:53.122657" elapsed="0.001099"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:53.122028" elapsed="0.001805"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.124374" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:53.123899" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:53.121054" elapsed="0.003557"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:53.124653" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:53.124817" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:53.114855" elapsed="0.009988"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:53.124891" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:53.125033" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:53.114145" elapsed="0.010913"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.139620" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:53.139138" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.140377" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:53.139929" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:53.146021" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:53.143005" elapsed="0.005921">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:53.140771" elapsed="0.008283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.149356" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:53.149138" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:53.140749" elapsed="0.008838">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.150116" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:53.150381" elapsed="0.000227"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:53.150342" elapsed="0.000353"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:53.150322" elapsed="0.000437"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.150935" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:53.151185" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:53.127898" elapsed="0.023405">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:53.151426" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:53.125284" elapsed="0.026246">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.151718" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:53.101317" elapsed="0.050514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.669128" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:53.666760" elapsed="0.002450"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.670759" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:53.670123" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:53.669672" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.672222" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:53.671520" elapsed="0.000753"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:53.671029" elapsed="0.001293"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:53.669378" elapsed="0.003027"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.673131" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:53.672482" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.675025" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:53.674019" elapsed="0.001103"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:53.673348" elapsed="0.001878"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.675834" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:53.675318" elapsed="0.000664"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:53.672460" elapsed="0.003581"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:53.676083" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:15:53.676250" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:53.666096" elapsed="0.010181"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:53.676324" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:53.676468" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:53.665373" elapsed="0.011121"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.691481" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:53.690952" elapsed="0.000776"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:53.692412" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:53.691955" elapsed="0.000544"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:53.698213" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:53.695019" elapsed="0.006152">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:53.692656" elapsed="0.008718">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.701747" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:53.701462" elapsed="0.000445"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:53.692634" elapsed="0.009336">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.702483" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:53.702801" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:53.702761" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:53.702741" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.703103" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:53.703386" elapsed="0.000021"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:53.679334" elapsed="0.024189">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:53.703635" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:53.676744" elapsed="0.026995">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:53.703911" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:53.652543" elapsed="0.051481">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.222959" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:54.217925" elapsed="0.005117"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.224647" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:54.224004" elapsed="0.000694"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:54.223481" elapsed="0.001267"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.226038" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:54.225381" elapsed="0.000707"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:54.224916" elapsed="0.001226"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:54.223217" elapsed="0.003004"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.226953" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:54.226296" elapsed="0.000807"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.228791" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:54.227795" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:54.227171" elapsed="0.001795"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.229547" elapsed="0.000155"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:54.229032" elapsed="0.000751"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:54.226274" elapsed="0.003570"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:54.229886" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:15:54.230052" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:54.216920" elapsed="0.013158"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:54.230125" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:54.230265" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:54.215912" elapsed="0.014379"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.245354" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:54.244850" elapsed="0.000598"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.246155" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:54.245701" elapsed="0.000542"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:54.251824" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:54.248764" elapsed="0.006010">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:54.246391" elapsed="0.008511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.255205" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:54.254987" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:54.246369" elapsed="0.009049">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.255931" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:54.256192" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:54.256152" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:54.256133" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.256487" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:54.256743" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:54.233076" elapsed="0.023783">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:54.256932" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:54.230518" elapsed="0.026510">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.257195" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:54.204646" elapsed="0.052736">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.778097" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:54.775688" elapsed="0.002491"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.779726" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:54.779077" elapsed="0.000701"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:54.778621" elapsed="0.001207"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.781090" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:54.780437" elapsed="0.000702"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:54.779993" elapsed="0.001200"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:54.778346" elapsed="0.002925"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.781990" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:54.781345" elapsed="0.000795"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.783811" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:54.782816" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:54.782204" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.784512" elapsed="0.000093"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:54.784045" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:54.781324" elapsed="0.003418"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:54.784782" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:54.784942" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:54.774988" elapsed="0.010011"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:54.785052" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:54.785196" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:54.774272" elapsed="0.010950"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.799939" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:54.799425" elapsed="0.000605"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:54.800842" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:54.800252" elapsed="0.000677"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:54.806525" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:54.803409" elapsed="0.006083">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:54.801092" elapsed="0.008547">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.809947" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:54.809725" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:54.801071" elapsed="0.009148">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.810749" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:54.811012" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:54.810974" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:54.810954" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.811313" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:54.811556" elapsed="0.000037"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:54.787955" elapsed="0.023746">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:54.811775" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:54.785445" elapsed="0.026430">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:54.812044" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:54.758181" elapsed="0.053973">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.331143" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:55.328508" elapsed="0.002717"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.332941" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:55.332256" elapsed="0.000736"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:55.331670" elapsed="0.001371"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.334597" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:55.333820" elapsed="0.000828"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:55.333207" elapsed="0.001490"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:55.331393" elapsed="0.003384"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.335490" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:55.334852" elapsed="0.000807"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.337391" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:55.336337" elapsed="0.001152"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:55.335724" elapsed="0.001857"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.338131" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:55.337651" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:55.334831" elapsed="0.003520"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:55.338392" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:55.338555" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:55.327544" elapsed="0.011052"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:55.338704" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:15:55.338853" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:55.326360" elapsed="0.012519"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.353683" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:55.353189" elapsed="0.000585"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.354445" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:55.353996" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:55.360330" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:55.357126" elapsed="0.006187">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:55.354686" elapsed="0.008755">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.363761" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:55.363527" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:55.354664" elapsed="0.009314">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.364486" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:55.364841" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:55.364793" elapsed="0.000153"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:55.364769" elapsed="0.000240"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.365154" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:55.365393" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:55.341741" elapsed="0.023767">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:55.365596" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:55.339104" elapsed="0.026595">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.365868" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:55.312986" elapsed="0.052994">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.884894" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:55.882259" elapsed="0.002745"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.886898" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:55.886141" elapsed="0.000820"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:55.885558" elapsed="0.001467"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.888659" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:55.887831" elapsed="0.000893"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:55.887237" elapsed="0.001553"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:55.885224" elapsed="0.003671"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.889787" elapsed="0.000083"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:55.889000" elapsed="0.000964"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.892052" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:55.890829" elapsed="0.001336"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:55.890043" elapsed="0.002223"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.892975" elapsed="0.000094"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:55.892351" elapsed="0.000818"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:55.888970" elapsed="0.004280"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:55.893308" elapsed="0.000048"/>
</return>
<msg time="2026-04-11T23:15:55.893518" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:55.881510" elapsed="0.012044"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:55.893645" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:55.893844" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:55.880741" elapsed="0.013138"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.913053" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:55.912482" elapsed="0.000672"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:55.913861" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:55.913382" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:55.919618" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:55.916529" elapsed="0.005959">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:55.914101" elapsed="0.008627">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.923049" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:55.922818" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:55.914075" elapsed="0.009197">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.923826" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:55.924165" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:55.924123" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:55.924103" elapsed="0.000223"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.924491" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:55.924757" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:55.897866" elapsed="0.027011">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:55.924952" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:55.894200" elapsed="0.030852">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:55.925226" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:55.866817" elapsed="0.058522">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:56.444359" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:56.441983" elapsed="0.002459"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:56.446109" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:56.445459" elapsed="0.000700"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:56.444895" elapsed="0.001314"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:56.447487" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:56.446875" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:56.446376" elapsed="0.001226"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:56.444630" elapsed="0.003055"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:56.448415" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:56.447761" elapsed="0.000802"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:56.450232" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:56.449244" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:56.448643" elapsed="0.001761"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:56.450956" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:56.450468" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:56.447740" elapsed="0.003424"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:56.451204" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:15:56.451367" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:56.441318" elapsed="0.010076"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:56.451441" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:56.451600" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:56.440334" elapsed="0.011293"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:56.466511" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:56.466027" elapsed="0.000729"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:56.467429" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:56.466977" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:56.473589" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:56.469966" elapsed="0.006547">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:56.467672" elapsed="0.008992">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:56.476982" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:56.476753" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:56.467650" elapsed="0.009553">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:56.477752" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:56.478021" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:56.477980" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:56.477961" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:56.478324" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:56.478615" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:56.454438" elapsed="0.024299">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:56.478811" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:56.451851" elapsed="0.027061">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:56.479081" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:56.426810" elapsed="0.052386">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:56.997772" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:56.995014" elapsed="0.002841"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:56.999355" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:56.998748" elapsed="0.000656"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:56.998283" elapsed="0.001170"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.000793" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:57.000168" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:56.999713" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:56.998025" elapsed="0.002945"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.001692" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:57.001045" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.003494" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:57.002504" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:57.001904" elapsed="0.001786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.004232" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:57.003755" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:57.001024" elapsed="0.003413"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:57.004479" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:57.004660" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:56.994069" elapsed="0.010618"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:57.004735" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:15:57.004880" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:56.993035" elapsed="0.011871"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.019713" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:57.019217" elapsed="0.000590"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.020501" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:57.020041" elapsed="0.000562"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:57.026490" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:57.023440" elapsed="0.006392">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:57.020744" elapsed="0.009226">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.030296" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:57.030059" elapsed="0.000392"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:57.020724" elapsed="0.009793">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.031059" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:57.031328" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:57.031288" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:57.031268" elapsed="0.000220"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.031647" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:57.031916" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:57.007723" elapsed="0.024374">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:57.032179" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:57.005134" elapsed="0.027144">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.032449" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:56.980630" elapsed="0.051932">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.553019" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:57.550632" elapsed="0.002471"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.554611" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:57.553996" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:57.553533" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.555972" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:57.555313" elapsed="0.000709"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:57.554871" elapsed="0.001200"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:57.553274" elapsed="0.002875"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.557010" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:57.556226" elapsed="0.000934"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.558818" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:57.557841" elapsed="0.001069"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:57.557224" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.559509" elapsed="0.000103"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:57.559052" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:57.556205" elapsed="0.003542"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:57.559788" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:15:57.559954" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:57.549977" elapsed="0.010003"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:57.560026" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:57.560167" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:57.549261" elapsed="0.010931"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.574890" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:57.574377" elapsed="0.000604"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:57.575843" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:57.575202" elapsed="0.000732"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:57.581724" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:57.578408" elapsed="0.006273">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:57.576071" elapsed="0.008742">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.585126" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:57.584908" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:57.576051" elapsed="0.009293">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.585872" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:57.586136" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:57.586098" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:57.586078" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.586434" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:57.586692" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:57.563154" elapsed="0.023656">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:57.586895" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:57.560412" elapsed="0.026583">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:57.587170" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:57.533345" elapsed="0.053937">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.106998" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:58.103450" elapsed="0.003658"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.108970" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:58.108351" elapsed="0.000669"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:58.107759" elapsed="0.001310"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.110285" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:58.109688" elapsed="0.000649"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:58.109232" elapsed="0.001153"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:58.107369" elapsed="0.003094"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.111175" elapsed="0.000126"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:58.110537" elapsed="0.000854"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.113055" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:58.112077" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:58.111457" elapsed="0.001768"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.113776" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:58.113292" elapsed="0.000628"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:58.110516" elapsed="0.003466"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:58.114024" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:15:58.114184" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:58.102551" elapsed="0.011660"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:58.114258" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:15:58.114398" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:58.101625" elapsed="0.012799"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.129181" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:58.128722" elapsed="0.000548"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.129948" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:58.129486" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:58.135455" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:58.132608" elapsed="0.005835">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:58.130169" elapsed="0.008489">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.138958" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:58.138746" elapsed="0.000360"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:58.130148" elapsed="0.009020">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.139668" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:58.139923" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:58.139886" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:58.139867" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.140217" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:58.140455" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:58.117190" elapsed="0.023392">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:58.140709" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:58.114660" elapsed="0.026153">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.140980" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:58.088042" elapsed="0.053049">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.657740" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:58.653623" elapsed="0.004258"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.661263" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:58.659775" elapsed="0.001601"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:58.658649" elapsed="0.002841"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.664016" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:58.662930" elapsed="0.001159"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:58.661891" elapsed="0.002271"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:58.658171" elapsed="0.006110"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.665360" elapsed="0.000321"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:58.664400" elapsed="0.001398"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.668358" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:58.666856" elapsed="0.001645"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:58.665894" elapsed="0.002740"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.669425" elapsed="0.000105"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:58.668731" elapsed="0.000931"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:58.664367" elapsed="0.005386"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:58.669819" elapsed="0.000058"/>
</return>
<msg time="2026-04-11T23:15:58.670075" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:58.652799" elapsed="0.017315"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:58.670187" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:58.670400" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:58.651857" elapsed="0.018581"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.687883" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:58.687213" elapsed="0.000776"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:58.688688" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:58.688219" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:58.694464" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:58.691300" elapsed="0.006243">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:58.688931" elapsed="0.008835">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.698090" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:58.697857" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:58.688902" elapsed="0.009406">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.698859" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:58.699143" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:58.699102" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:58.699082" elapsed="0.000221"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.699450" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:58.699736" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:58.675311" elapsed="0.024546">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:58.699931" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:58.670898" elapsed="0.029132">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:58.700199" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:58.641634" elapsed="0.058678">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.219951" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:59.216775" elapsed="0.003259"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.221613" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:59.220967" elapsed="0.000697"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:59.220477" elapsed="0.001238"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.223018" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:59.222334" elapsed="0.000738"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:59.221887" elapsed="0.001236"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:59.220206" elapsed="0.002997"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.223948" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:59.223282" elapsed="0.000817"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.225825" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:59.224812" elapsed="0.001109"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:59.224165" elapsed="0.001845"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.226552" elapsed="0.000161"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:59.226080" elapsed="0.000733"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:59.223259" elapsed="0.003624"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:59.226934" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:15:59.227112" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:59.215858" elapsed="0.011281"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:59.227187" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:15:59.227332" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:59.214832" elapsed="0.012526"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.242389" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:59.241908" elapsed="0.000573"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.243391" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:59.242925" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:59.249053" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:59.246036" elapsed="0.006021">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:59.243635" elapsed="0.008556">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.252495" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:59.252276" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:59.243614" elapsed="0.009117">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.253229" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:59.253489" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:59.253450" elapsed="0.000148"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:59.253431" elapsed="0.000232"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.253820" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:59.254070" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:59.230174" elapsed="0.024014">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:59.254261" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:59.227599" elapsed="0.026761">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.254527" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:59.201179" elapsed="0.053551">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.771451" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:59.769065" elapsed="0.002476"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.773208" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:59.772550" elapsed="0.000708"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:15:59.772085" elapsed="0.001223"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.774638" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:59.773954" elapsed="0.000743"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:15:59.773478" elapsed="0.001277"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:15:59.771731" elapsed="0.003112"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.775550" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:59.774923" elapsed="0.000795"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.777390" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:15:59.776380" elapsed="0.001106"/>
</kw>
<status status="PASS" start="2026-04-11T23:15:59.775781" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.778126" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:59.777665" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:15:59.774901" elapsed="0.003432"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:59.778374" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:15:59.778586" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:15:59.768399" elapsed="0.010216"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:15:59.778666" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:15:59.778819" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:15:59.767711" elapsed="0.011134"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.795429" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:59.794946" elapsed="0.000575"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:15:59.796383" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:15:59.795911" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:15:59.801853" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:15:59.798901" elapsed="0.005827">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:15:59.796628" elapsed="0.008231">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.805177" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:15:59.804948" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:15:59.796605" elapsed="0.008846">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.806002" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:59.806274" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:15:59.806235" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:15:59.806214" elapsed="0.000224"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.806619" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:15:59.806866" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:15:59.783398" elapsed="0.023583">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:15:59.807055" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:15:59.779065" elapsed="0.028101">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:15:59.807336" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:15:59.755430" elapsed="0.052021">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.328222" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:00.324692" elapsed="0.003615"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.329898" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:00.329247" elapsed="0.000702"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:00.328768" elapsed="0.001233"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.331356" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:00.330726" elapsed="0.000681"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:00.330186" elapsed="0.001271"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:00.328482" elapsed="0.003055"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.332331" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:00.331632" elapsed="0.000854"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.334559" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:00.333280" elapsed="0.001408"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:00.332553" elapsed="0.002223"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.335424" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:00.334851" elapsed="0.000848"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:00.331609" elapsed="0.004162"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:00.335826" elapsed="0.000046"/>
</return>
<msg time="2026-04-11T23:16:00.336037" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:00.323705" elapsed="0.012367"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:00.336205" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:16:00.336406" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:00.322627" elapsed="0.013815"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.351421" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:00.350912" elapsed="0.000604"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.352307" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:00.351835" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:00.358087" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:00.354870" elapsed="0.006239">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:00.352541" elapsed="0.008702">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.361552" elapsed="0.000089"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:00.361330" elapsed="0.000399"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:00.352519" elapsed="0.009275">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.362332" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:00.362617" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:00.362560" elapsed="0.000155"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:00.362540" elapsed="0.000238"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.362925" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:00.363172" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:00.339324" elapsed="0.023967">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:00.363366" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:00.336736" elapsed="0.026733">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.363689" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:00.308162" elapsed="0.055644">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.881964" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:00.879540" elapsed="0.002507"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.883636" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:00.882997" elapsed="0.000691"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:00.882516" elapsed="0.001223"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.885110" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:00.884452" elapsed="0.000709"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:00.883919" elapsed="0.001293"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:00.882250" elapsed="0.003045"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.886053" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:00.885373" elapsed="0.000872"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.887992" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:00.886962" elapsed="0.001128"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:00.886313" elapsed="0.001856"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.888734" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:00.888236" elapsed="0.000648"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:00.885351" elapsed="0.003600"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:00.888997" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:00.889164" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:00.878829" elapsed="0.010361"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:00.889238" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:00.889380" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:00.877933" elapsed="0.011472"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.904263" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:00.903775" elapsed="0.000579"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:00.905187" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:00.904715" elapsed="0.000569"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:00.910858" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:00.907738" elapsed="0.006051">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:00.905424" elapsed="0.008495">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.914242" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:00.914005" elapsed="0.000406"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:00.905403" elapsed="0.009075">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.915009" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:00.915311" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:00.915273" elapsed="0.000140"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:00.915253" elapsed="0.000224"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.915641" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:00.915889" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:00.892199" elapsed="0.023805">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:00.916079" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:00.889644" elapsed="0.026536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:00.916349" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:00.864644" elapsed="0.051824">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.432693" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:01.429809" elapsed="0.002966"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.434298" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:01.433696" elapsed="0.000651"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:01.433205" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.435672" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:01.435032" elapsed="0.000691"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:01.434588" elapsed="0.001184"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:01.432947" elapsed="0.002905"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:01.436563" elapsed="0.000101"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:01.435930" elapsed="0.000813"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.438393" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:01.437409" elapsed="0.001102"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:01.436810" elapsed="0.001821"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:01.439169" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:01.438700" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:01.435909" elapsed="0.003468"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:01.439425" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:01.439607" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:01.428902" elapsed="0.010733"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:01.439683" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:01.439828" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:01.427918" elapsed="0.011936"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.454731" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:01.454209" elapsed="0.000612"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.455509" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:01.455045" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:01.461162" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:01.458150" elapsed="0.005981">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:01.455754" elapsed="0.008507">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:01.464563" elapsed="0.000104"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:01.464346" elapsed="0.000430"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:01.455733" elapsed="0.009109">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:01.465339" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:01.465666" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:01.465563" elapsed="0.000203"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:01.465543" elapsed="0.000287"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:01.465975" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:01.466221" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:01.442752" elapsed="0.023585">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:01.466411" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:01.440076" elapsed="0.026434">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:01.466728" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:01.417334" elapsed="0.049517">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.985714" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:01.983338" elapsed="0.002455"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.987340" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:01.986702" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:01.986207" elapsed="0.001241"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.988801" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:01.988159" elapsed="0.000692"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:01.987709" elapsed="0.001191"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:01.985951" elapsed="0.003030"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:01.989713" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:01.989051" elapsed="0.000812"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:01.991549" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:01.990529" elapsed="0.001132"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:01.989927" elapsed="0.001813"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:01.992274" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:01.991805" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:01.989032" elapsed="0.003447"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:01.992519" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:16:01.992714" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:01.982399" elapsed="0.010342"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:01.992788" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:01.992931" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:01.981464" elapsed="0.011492"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:02.007955" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:02.007468" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:02.008757" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:02.008263" elapsed="0.000582"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:02.014319" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:02.011322" elapsed="0.005868">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:02.008982" elapsed="0.008337">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.017714" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:02.017405" elapsed="0.000467"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:02.008961" elapsed="0.008974">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.018421" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:02.018727" elapsed="0.000180"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:02.018660" elapsed="0.000353"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:02.018640" elapsed="0.000442"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.019233" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:02.019482" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:01.995766" elapsed="0.023882">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:02.019723" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:01.993175" elapsed="0.026648">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.019990" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:01.967460" elapsed="0.052648">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:02.538925" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:02.536541" elapsed="0.002466"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:02.540580" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:02.539960" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:02.539477" elapsed="0.001212"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:02.541918" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:02.541295" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:02.540854" elapsed="0.001161"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:02.539173" elapsed="0.002920"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.542834" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:02.542171" elapsed="0.000813"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:02.544720" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:02.543724" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:02.543048" elapsed="0.001841"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.545410" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:02.544953" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:02.542149" elapsed="0.003493"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:02.545684" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:02.545867" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:02.535906" elapsed="0.009994"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:02.545948" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:02.546093" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:02.535152" elapsed="0.010967"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:02.561147" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:02.560667" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:02.562051" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:02.561457" elapsed="0.000681"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:02.567714" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:02.564658" elapsed="0.005991">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:02.562277" elapsed="0.008501">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.571081" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:02.570864" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:02.562256" elapsed="0.009044">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.571895" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:02.572161" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:02.572123" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:02.572104" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.572463" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:02.572725" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:02.548973" elapsed="0.023867">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:02.572913" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:02.546340" elapsed="0.026670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:02.573174" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:02.520873" elapsed="0.052410">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.091310" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:03.088820" elapsed="0.002569"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.092939" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:03.092317" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:03.091854" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.094269" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:03.093671" elapsed="0.000647"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:03.093201" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:03.091555" elapsed="0.002891"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.095220" elapsed="0.000123"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:03.094523" elapsed="0.000899"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.097177" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:03.096184" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:03.095488" elapsed="0.001863"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.097908" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:03.097417" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:03.094502" elapsed="0.003611"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:03.098154" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:16:03.098311" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:03.088067" elapsed="0.010270"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:03.098384" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:03.098525" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:03.087057" elapsed="0.011493"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.113201" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:03.112712" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.114095" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:03.113505" elapsed="0.000675"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:03.119633" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:03.116591" elapsed="0.005966">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:03.114316" elapsed="0.008388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.122999" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:03.122787" elapsed="0.000363"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:03.114295" elapsed="0.008917">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.123728" elapsed="0.000047"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:03.124038" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:03.123995" elapsed="0.000140"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:03.123973" elapsed="0.000224"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.124341" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:03.124593" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:03.101330" elapsed="0.023376">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:03.124812" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:03.098787" elapsed="0.026127">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.125079" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:03.073908" elapsed="0.051281">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.644151" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:03.641428" elapsed="0.002810"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.645801" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:03.645166" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:03.644708" elapsed="0.001192"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.647149" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:03.646521" elapsed="0.000678"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:03.646070" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:03.644415" elapsed="0.002914"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.648072" elapsed="0.000102"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:03.647411" elapsed="0.000841"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.649972" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:03.648941" elapsed="0.001124"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:03.648318" elapsed="0.001823"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.650688" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:03.650207" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:03.647388" elapsed="0.003505"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:03.650935" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:16:03.651101" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:03.640660" elapsed="0.010467"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:03.651174" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:16:03.651315" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:03.639394" elapsed="0.011946"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.666150" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:03.665554" elapsed="0.000686"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:03.666931" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:03.666457" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:03.672926" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:03.669412" elapsed="0.006452">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:03.667154" elapsed="0.008891">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.676399" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:03.676176" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:03.667133" elapsed="0.009528">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.677172" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:03.677431" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:03.677394" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:03.677374" elapsed="0.000266"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.677787" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:03.678033" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:03.654150" elapsed="0.023996">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:03.678218" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:03.651558" elapsed="0.026757">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:03.678481" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:03.625878" elapsed="0.052734">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.196939" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:04.194368" elapsed="0.002707"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.198621" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:04.197993" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:04.197512" elapsed="0.001206"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.199960" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:04.199334" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:04.198882" elapsed="0.001175"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:04.197250" elapsed="0.002887"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.200941" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:04.200210" elapsed="0.000882"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.202877" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:04.201782" elapsed="0.001190"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:04.201157" elapsed="0.001891"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.203591" elapsed="0.000132"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:04.203112" elapsed="0.000688"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:04.200189" elapsed="0.003670"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:04.203901" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:04.204064" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:04.193740" elapsed="0.010349"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:04.204136" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:04.204276" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:04.192845" elapsed="0.011456"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.219081" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:04.218477" elapsed="0.000700"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.219864" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:04.219395" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:04.225596" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:04.222459" elapsed="0.006073">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:04.220084" elapsed="0.008601">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.228984" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:04.228770" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:04.220064" elapsed="0.009133">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.229718" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:04.229977" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:04.229940" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:04.229921" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.230272" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:04.230512" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:04.207136" elapsed="0.023538">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:04.230748" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:04.204555" elapsed="0.026289">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.231022" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:04.179426" elapsed="0.051741">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.750469" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:04.746340" elapsed="0.004208"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.752053" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:04.751432" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:04.750991" elapsed="0.001160"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.753389" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:04.752774" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:04.752316" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:04.750737" elapsed="0.002848"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.754296" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:04.753674" elapsed="0.000768"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.756097" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:04.755122" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:04.754505" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.756827" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:04.756332" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:04.753653" elapsed="0.003384"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:04.757077" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:04.757236" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:04.745392" elapsed="0.011875"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:04.757314" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:04.757482" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:04.744446" elapsed="0.013061"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.772275" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:04.771817" elapsed="0.000546"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:04.773074" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:04.772594" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:04.779737" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:04.775728" elapsed="0.010475">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:04.773296" elapsed="0.013186">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.787210" elapsed="0.000152"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:04.786729" elapsed="0.000814"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:04.773276" elapsed="0.014546">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.788951" elapsed="0.000059"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:04.789516" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:04.789442" elapsed="0.000185"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:04.789400" elapsed="0.000288"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.789831" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:04.790071" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:04.760463" elapsed="0.029720">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:04.790256" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:04.757756" elapsed="0.032596">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:04.790517" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:04.731844" elapsed="0.058808">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.311351" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:05.308608" elapsed="0.002824"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.312969" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:05.312343" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:05.311891" elapsed="0.001176"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.314368" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:05.313763" elapsed="0.000656"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:05.313271" elapsed="0.001197"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:05.311619" elapsed="0.002928"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.315272" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:05.314638" elapsed="0.000781"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.317110" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:05.316109" elapsed="0.001132"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:05.315484" elapsed="0.001847"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.317897" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:05.317408" elapsed="0.000635"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:05.314617" elapsed="0.003486"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:05.318145" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:05.318306" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:05.307723" elapsed="0.010609"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:05.318429" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:05.318590" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:05.306706" elapsed="0.011911"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.333346" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:05.332817" elapsed="0.000629"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.334128" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:05.333681" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:05.339709" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:05.336752" elapsed="0.005886">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:05.334356" elapsed="0.008410">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.343063" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:05.342849" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:05.334336" elapsed="0.008944">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.343790" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:05.344048" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:05.344011" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:05.343991" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.344346" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:05.344622" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:05.321424" elapsed="0.023311">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:05.344807" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:05.318838" elapsed="0.026067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.345069" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:05.291281" elapsed="0.053922">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.864633" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:05.862159" elapsed="0.002568"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.866268" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:05.865654" elapsed="0.000665"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:05.865157" elapsed="0.001211"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.867620" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:05.867005" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:05.866536" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:05.864898" elapsed="0.002901"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.868506" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:05.867875" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.870370" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:05.869342" elapsed="0.001124"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:05.868736" elapsed="0.001806"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.871148" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:05.870634" elapsed="0.000661"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:05.867853" elapsed="0.003503"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:05.871397" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:05.871559" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:05.861162" elapsed="0.010441"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:05.871654" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:05.871797" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:05.860201" elapsed="0.011621"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.886479" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:05.885995" elapsed="0.000729"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:05.887406" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:05.886953" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:05.893067" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:05.889884" elapsed="0.006137">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:05.887650" elapsed="0.008499">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.896451" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:05.896234" elapsed="0.000390"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:05.887629" elapsed="0.009061">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.897177" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:05.897476" elapsed="0.000025"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:05.897438" elapsed="0.000159"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:05.897418" elapsed="0.000244"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.897808" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:05.898056" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:05.874551" elapsed="0.023618">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:05.898243" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:05.872044" elapsed="0.026299">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:05.898510" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:05.846002" elapsed="0.052667">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.415343" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:06.412908" elapsed="0.002522"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.417042" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:06.416386" elapsed="0.000716"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:06.415897" elapsed="0.001258"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.418605" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:06.417947" elapsed="0.000711"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:06.417333" elapsed="0.001377"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:06.415624" elapsed="0.003173"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:06.419539" elapsed="0.000093"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:06.418873" elapsed="0.000839"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.421445" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:06.420413" elapsed="0.001131"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:06.419779" elapsed="0.001869"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:06.422229" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:06.421715" elapsed="0.000664"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:06.418852" elapsed="0.003591"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:06.422485" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:06.422667" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:06.412227" elapsed="0.010467"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:06.422743" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:06.422885" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:06.411490" elapsed="0.011420"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.438302" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:06.437776" elapsed="0.000623"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.439105" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:06.438638" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:06.444846" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:06.441765" elapsed="0.006069">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:06.439333" elapsed="0.008631">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:06.448272" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:06.448051" elapsed="0.000377"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:06.439312" elapsed="0.009180">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:06.449029" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:06.449291" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:06.449254" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:06.449235" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:06.449655" elapsed="0.000025"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:06.449944" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:06.425827" elapsed="0.024235">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:06.450134" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:06.423132" elapsed="0.027101">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:06.450398" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:06.399469" elapsed="0.051041">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.969953" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:06.966715" elapsed="0.003346"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.971755" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:06.971121" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:06.970673" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.973153" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:06.972524" elapsed="0.000686"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:06.972080" elapsed="0.001181"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:06.970324" elapsed="0.003019"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:06.974070" elapsed="0.000092"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:06.973417" elapsed="0.000823"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.975936" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:06.974945" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:06.974305" elapsed="0.001804"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:06.976665" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:06.976176" elapsed="0.000638"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:06.973396" elapsed="0.003478"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:06.976915" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:06.977074" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:06.965822" elapsed="0.011279"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:06.977148" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:06.977291" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:06.964858" elapsed="0.012459"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.992029" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:06.991554" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:06.992794" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:06.992330" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:06.998701" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:06.995413" elapsed="0.006096">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:06.993014" elapsed="0.008638">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.001950" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:07.001736" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:06.992994" elapsed="0.009213">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.002769" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:07.003024" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:07.002988" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:07.002969" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.003321" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:07.003561" elapsed="0.000032"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:06.980177" elapsed="0.023553">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:07.003803" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:06.977540" elapsed="0.026362">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.004069" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:06.951184" elapsed="0.052997">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:07.522019" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:07.519657" elapsed="0.002444"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:07.523614" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:07.522999" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:07.522540" elapsed="0.001180"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:07.525807" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:07.524496" elapsed="0.001360"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:07.524053" elapsed="0.001853"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:07.522268" elapsed="0.003718"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.526747" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:07.526061" elapsed="0.000836"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:07.528544" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:07.527559" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:07.526962" elapsed="0.001771"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.529257" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:07.528797" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:07.526040" elapsed="0.003421"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:07.529499" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:07.529675" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:07.519009" elapsed="0.010693"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:07.529748" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:07.529889" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:07.518085" elapsed="0.011830"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:07.544378" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:07.543917" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:07.545148" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:07.544698" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:07.550929" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:07.547802" elapsed="0.005928">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:07.545369" elapsed="0.008489">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.554154" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:07.553940" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:07.545348" elapsed="0.009023">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.554963" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:07.555222" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:07.555184" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:07.555164" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.555522" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:07.555778" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:07.532738" elapsed="0.023156">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:07.555966" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:07.530133" elapsed="0.025931">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:07.556229" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:07.504947" elapsed="0.051394">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.074314" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:08.071990" elapsed="0.002403"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.075902" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:08.075278" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:08.074836" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.077220" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:08.076629" elapsed="0.000640"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:08.076165" elapsed="0.001152"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:08.074552" elapsed="0.002844"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.078102" elapsed="0.000121"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:08.077467" elapsed="0.000835"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.079986" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:08.078998" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:08.078366" elapsed="0.001791"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.080720" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:08.080221" elapsed="0.000646"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:08.077448" elapsed="0.003480"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:08.080968" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:08.081127" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:08.071239" elapsed="0.009915"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:08.081202" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:08.081344" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:08.070284" elapsed="0.011086"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.095889" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:08.095410" elapsed="0.000567"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.096781" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:08.096195" elapsed="0.000671"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:08.102555" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:08.099253" elapsed="0.006178">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:08.097004" elapsed="0.008553">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.105873" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:08.105658" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:08.096983" elapsed="0.009104">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.106560" elapsed="0.000040"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:08.107009" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:08.106972" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:08.106951" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.107307" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:08.107547" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:08.084100" elapsed="0.023577">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:08.107787" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:08.081606" elapsed="0.026284">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.108057" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:08.057013" elapsed="0.051157">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.626352" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:08.623976" elapsed="0.002457"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.627973" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:08.627337" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:08.626874" elapsed="0.001197"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.629293" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:08.628700" elapsed="0.000642"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:08.628234" elapsed="0.001155"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:08.626617" elapsed="0.002850"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.630167" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:08.629539" elapsed="0.000773"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.631995" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:08.631015" elapsed="0.001074"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:08.630374" elapsed="0.001791"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.632707" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:08.632230" elapsed="0.000622"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:08.629520" elapsed="0.003390"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:08.632949" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:08.633106" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:08.623220" elapsed="0.009913"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:08.633179" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:08.633321" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:08.622253" elapsed="0.011093"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.647912" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:08.647435" elapsed="0.000565"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:08.648681" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:08.648216" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:08.654254" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:08.651418" elapsed="0.005750">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:08.648900" elapsed="0.008448">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.657666" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:08.657434" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:08.648880" elapsed="0.009000">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.658359" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:08.658691" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:08.658649" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:08.658558" elapsed="0.000286"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.659010" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:08.659251" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:08.636163" elapsed="0.023201">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:08.659437" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:08.633580" elapsed="0.025954">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:08.659716" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:08.609398" elapsed="0.050571">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.177855" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:09.175449" elapsed="0.002485"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.179407" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:09.178796" elapsed="0.000660"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:09.178341" elapsed="0.001163"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.180742" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:09.180127" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:09.179690" elapsed="0.001151"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:09.178090" elapsed="0.002831"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.181620" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:09.180993" elapsed="0.000774"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.183425" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:09.182424" elapsed="0.001095"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:09.181831" elapsed="0.001793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.184150" elapsed="0.000121"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:09.183690" elapsed="0.000659"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:09.180974" elapsed="0.003435"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:09.184448" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:09.184624" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:09.174542" elapsed="0.010109"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:09.184704" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:09.184846" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:09.173650" elapsed="0.011222"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.199810" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:09.199333" elapsed="0.000567"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.200563" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:09.200117" elapsed="0.000550"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:09.206035" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:09.203179" elapsed="0.005779">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:09.200807" elapsed="0.008279">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.209385" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:09.209170" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:09.200787" elapsed="0.008831">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.210092" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:09.210351" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:09.210313" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:09.210294" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.210662" elapsed="0.000027"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:09.210908" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:09.187922" elapsed="0.023097">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:09.211092" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:09.185093" elapsed="0.026097">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.211384" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:09.160620" elapsed="0.050915">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.730672" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:09.727761" elapsed="0.002998"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.732287" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:09.731671" elapsed="0.000666"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:09.731185" elapsed="0.001202"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.733653" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:09.733029" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:09.732555" elapsed="0.001199"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:09.730927" elapsed="0.002907"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.734538" elapsed="0.000088"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:09.733908" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.736412" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:09.735376" elapsed="0.001133"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:09.734772" elapsed="0.001860"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.737166" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:09.736700" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:09.733888" elapsed="0.003483"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:09.737410" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:09.737584" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:09.726859" elapsed="0.010753"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:09.737660" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:09.737801" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:09.725918" elapsed="0.011909"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.753561" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:09.753092" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:09.754328" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:09.753882" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:09.759851" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:09.756986" elapsed="0.005669">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:09.754547" elapsed="0.008243">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.763089" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:09.762874" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:09.754527" elapsed="0.008829">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.763949" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:09.764211" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:09.764173" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:09.764152" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.764510" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:09.764768" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:09.740544" elapsed="0.024339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:09.764955" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:09.738045" elapsed="0.027010">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:09.765222" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:09.712235" elapsed="0.053099">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.282023" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:10.279186" elapsed="0.002924"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.283647" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:10.283019" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:10.282555" elapsed="0.001193"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.284994" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:10.284368" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:10.283929" elapsed="0.001160"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:10.282286" elapsed="0.002883"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.285983" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:10.285251" elapsed="0.000883"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.287879" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:10.286826" elapsed="0.001147"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:10.286203" elapsed="0.001845"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.288605" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:10.288114" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:10.285227" elapsed="0.003583"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:10.288852" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:16:10.289020" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:10.278289" elapsed="0.010758"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:10.289174" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:10.289324" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:10.277316" elapsed="0.012033"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.304028" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:10.303510" elapsed="0.000608"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.304803" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:10.304334" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:10.310374" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:10.307390" elapsed="0.005995">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:10.305024" elapsed="0.008490">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.313840" elapsed="0.000077"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:10.313616" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:10.305004" elapsed="0.009059">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.314547" elapsed="0.000098"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:10.314882" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:10.314844" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:10.314825" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.315181" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:10.315425" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:10.292208" elapsed="0.023329">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:10.315624" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:10.289586" elapsed="0.026137">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.315897" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:10.266047" elapsed="0.049962">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.834790" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:10.832336" elapsed="0.002533"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.836538" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:10.835908" elapsed="0.000715"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:10.835285" elapsed="0.001389"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.837900" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:10.837282" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:10.836838" elapsed="0.001158"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:10.835030" elapsed="0.003047"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.838784" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:10.838150" elapsed="0.000783"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.840621" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:10.839599" elapsed="0.001115"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:10.838996" elapsed="0.001793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.841309" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:10.840853" elapsed="0.000601"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:10.838130" elapsed="0.003382"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:10.841550" elapsed="0.000048"/>
</return>
<msg time="2026-04-11T23:16:10.841724" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:10.831332" elapsed="0.010418"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:10.841797" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:10.841938" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:10.830395" elapsed="0.011568"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.856334" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:10.855848" elapsed="0.000578"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:10.857222" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:10.856774" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:10.864462" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:10.861559" elapsed="0.005750">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:10.857442" elapsed="0.009992">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.867746" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:10.867517" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:10.857422" elapsed="0.010543">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.868456" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:10.868783" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:10.868747" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:10.868726" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.869077" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:10.869315" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:10.844745" elapsed="0.024682">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:10.869498" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:10.842182" elapsed="0.027431">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:10.869778" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:10.816674" elapsed="0.053214">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.387173" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:11.384885" elapsed="0.002364"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.388729" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:11.388100" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:11.387663" elapsed="0.001162"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.390042" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:11.389420" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:11.388986" elapsed="0.001153"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:11.387403" elapsed="0.002814"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.390901" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:11.390286" elapsed="0.000757"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.392695" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:11.391709" elapsed="0.001079"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:11.391107" elapsed="0.001756"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.393383" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:11.392925" elapsed="0.000598"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:11.390267" elapsed="0.003341"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:11.393649" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:11.393802" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:11.384024" elapsed="0.009804"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:11.393874" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:11.394016" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:11.383121" elapsed="0.010920"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.408767" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:11.408266" elapsed="0.000592"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.409534" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:11.409079" elapsed="0.000827"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:11.415020" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:11.412272" elapsed="0.005545">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:11.410044" elapsed="0.007900">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.418244" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:11.418030" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:11.410024" elapsed="0.008436">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.418950" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:11.419209" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:11.419172" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:11.419153" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.419506" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:11.419788" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:11.396950" elapsed="0.022951">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:11.419972" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:11.394257" elapsed="0.025813">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.420233" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:11.370497" elapsed="0.049858">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.936949" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:11.934311" elapsed="0.002721"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.938556" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:11.937926" elapsed="0.000703"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:11.937463" elapsed="0.001216"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.939990" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:11.939374" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:11.938931" elapsed="0.001158"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:11.937204" elapsed="0.002967"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.940905" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:11.940251" elapsed="0.000803"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.942733" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:11.941733" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:11.941119" elapsed="0.001783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.943566" elapsed="0.000089"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:11.942966" elapsed="0.000766"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:11.940228" elapsed="0.003566"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:11.943837" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:16:11.944005" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:11.933678" elapsed="0.010353"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:11.944079" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:11.944222" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:11.932957" elapsed="0.011290"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.958969" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:11.958490" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:11.959738" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:11.959275" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:11.965427" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:11.962358" elapsed="0.005910">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:11.959960" elapsed="0.008435">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.968810" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:11.968480" elapsed="0.000486"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:11.959940" elapsed="0.009089">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.969516" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:11.969791" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:11.969754" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:11.969733" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.970091" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:11.970333" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:11.947064" elapsed="0.023416">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:11.970553" elapsed="0.000029"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:11.944467" elapsed="0.026201">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:11.970834" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:11.921224" elapsed="0.049720">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:12.488261" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:12.485974" elapsed="0.002363"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:12.489826" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:12.489202" elapsed="0.000672"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:12.488765" elapsed="0.001158"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:12.491148" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:12.490521" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:12.490086" elapsed="0.001158"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:12.488489" elapsed="0.002834"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:12.492018" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:12.491390" elapsed="0.000773"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:12.493806" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:12.492840" elapsed="0.001065"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:12.492226" elapsed="0.001754"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:12.494500" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:12.494043" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:12.491372" elapsed="0.003357"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:12.494768" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:12.494923" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:12.485156" elapsed="0.009794"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:12.494995" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:12.495136" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:12.484204" elapsed="0.010958"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:12.509538" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:12.509066" elapsed="0.000580"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:12.510321" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:12.509869" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:12.516183" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:12.512989" elapsed="0.006015">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:12.510539" elapsed="0.008591">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:12.519427" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:12.519213" elapsed="0.000414"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:12.510519" elapsed="0.009175">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:12.520321" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:12.520593" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:12.520541" elapsed="0.000148"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:12.520522" elapsed="0.000229"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:12.520918" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:12.521162" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:12.497895" elapsed="0.023379">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:12.521345" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:12.495377" elapsed="0.026064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:12.521619" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:12.471532" elapsed="0.050200">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.039981" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:13.037618" elapsed="0.002439"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.041536" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:13.040920" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:13.040458" elapsed="0.001198"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.042883" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:13.042269" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:13.041819" elapsed="0.001161"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:13.040211" elapsed="0.002849"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.043748" elapsed="0.000106"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:13.043128" elapsed="0.000806"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.045676" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:13.044613" elapsed="0.001158"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:13.043998" elapsed="0.001848"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.046370" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:13.045914" elapsed="0.000598"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:13.043109" elapsed="0.003478"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:13.046627" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:13.046781" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:13.036725" elapsed="0.010082"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:13.046854" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:13.046997" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:13.035794" elapsed="0.011228"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.061963" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:13.061393" elapsed="0.000658"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.062730" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:13.062266" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:13.068074" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:13.065260" elapsed="0.005759">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:13.062950" elapsed="0.008196">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.071445" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:13.071232" elapsed="0.000431"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:13.062929" elapsed="0.008800">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.072216" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:13.072474" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:13.072437" elapsed="0.000145"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:13.072418" elapsed="0.000230"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.072791" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:13.073064" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:13.049838" elapsed="0.023338">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:13.073280" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:13.047242" elapsed="0.026141">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.073549" elapsed="0.000037"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:13.022320" elapsed="0.051357">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.593015" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:13.590210" elapsed="0.002894"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.594686" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:13.594046" elapsed="0.000690"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:13.593584" elapsed="0.001202"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.596009" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:13.595395" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:13.594952" elapsed="0.001154"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:13.593304" elapsed="0.002881"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.596892" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:13.596257" elapsed="0.000782"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.598865" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:13.597737" elapsed="0.001223"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:13.597103" elapsed="0.002023"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.599673" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:13.599190" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:13.596237" elapsed="0.003641"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:13.599916" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:16:13.600072" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:13.589336" elapsed="0.010762"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:13.600143" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:13.600284" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:13.588164" elapsed="0.012145"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.614890" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:13.614298" elapsed="0.000681"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:13.615655" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:13.615195" elapsed="0.000544"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:13.621141" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:13.618256" elapsed="0.005773">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:13.615880" elapsed="0.008315">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.624497" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:13.624282" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:13.615860" elapsed="0.008874">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.625242" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:13.625503" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:13.625466" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:13.625446" elapsed="0.000231"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.625822" elapsed="0.000026"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:13.626071" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:13.603110" elapsed="0.023072">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:13.626253" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:13.600529" elapsed="0.025821">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:13.626515" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:13.574726" elapsed="0.051949">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.144275" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:14.141979" elapsed="0.002372"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.145835" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:14.145203" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:14.144766" elapsed="0.001166"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.147154" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:14.146532" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:14.146099" elapsed="0.001151"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:14.144505" elapsed="0.002822"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.148014" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:14.147396" elapsed="0.000763"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.149802" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:14.148825" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:14.148221" elapsed="0.001749"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.150489" elapsed="0.000143"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:14.150033" elapsed="0.000677"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:14.147377" elapsed="0.003392"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:14.150808" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:14.150964" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:14.141120" elapsed="0.009870"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:14.151037" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:14.151178" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:14.140208" elapsed="0.010995"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.166283" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:14.165819" elapsed="0.000554"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.167187" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:14.166735" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:14.172655" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:14.169685" elapsed="0.005819">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:14.167412" elapsed="0.008233">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.175943" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:14.175731" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:14.167392" elapsed="0.008766">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.176646" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:14.176905" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:14.176867" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:14.176848" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.177199" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:14.177466" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:14.154136" elapsed="0.023461">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:14.177672" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:14.151422" elapsed="0.026348">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.177941" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:14.127284" elapsed="0.050804">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.697763" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:14.695156" elapsed="0.002692"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.699424" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:14.698779" elapsed="0.000697"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:14.698289" elapsed="0.001239"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.700833" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:14.700193" elapsed="0.000693"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:14.699725" elapsed="0.001213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:14.698014" elapsed="0.003005"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.701787" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:14.701094" elapsed="0.000848"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.703685" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:14.702652" elapsed="0.001131"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:14.702008" elapsed="0.001852"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.704414" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:14.703927" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:14.701074" elapsed="0.003570"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:14.704683" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:14.704842" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:14.694498" elapsed="0.010371"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:14.704915" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:14.705069" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:14.693706" elapsed="0.011389"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.720083" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:14.719548" elapsed="0.000625"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:14.720967" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:14.720394" elapsed="0.000661"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:14.726529" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:14.723456" elapsed="0.006110">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:14.721194" elapsed="0.008551">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.730049" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:14.729830" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:14.721174" elapsed="0.009136">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.730898" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:14.731170" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:14.731133" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:14.731113" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.731470" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:14.731739" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:14.707940" elapsed="0.023914">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:14.731926" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:14.705321" elapsed="0.026704">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:14.732197" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:14.678782" elapsed="0.053529">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.244433" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:15.242101" elapsed="0.002412"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.246057" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:15.245400" elapsed="0.000707"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:15.244952" elapsed="0.001204"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.247382" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:15.246783" elapsed="0.000648"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:15.246320" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:15.244694" elapsed="0.002864"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.248280" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:15.247648" elapsed="0.000784"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.250105" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:15.249115" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:15.248497" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.250831" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:15.250343" elapsed="0.000631"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:15.247627" elapsed="0.003407"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:15.251073" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:15.251233" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:15.241445" elapsed="0.009815"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:15.251361" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:15.251513" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:15.240766" elapsed="0.010773"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.266054" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:15.265543" elapsed="0.000601"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.267207" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:15.266360" elapsed="0.000934"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:15.272744" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:15.269682" elapsed="0.005961">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:15.267432" elapsed="0.008340">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.276075" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:15.275857" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:15.267412" elapsed="0.008881">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.276818" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:15.277077" elapsed="0.000161"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:15.277040" elapsed="0.000282"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:15.277021" elapsed="0.000365"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.277531" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:15.277808" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:15.254279" elapsed="0.023643">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:15.277995" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:15.251773" elapsed="0.026327">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.278265" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:15.232860" elapsed="0.045523">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.796219" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:15.793459" elapsed="0.002884"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.797825" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:15.797205" elapsed="0.000668"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:15.796771" elapsed="0.001149"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.799135" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:15.798530" elapsed="0.000654"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:15.798095" elapsed="0.001137"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:15.796503" elapsed="0.002806"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.799992" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:15.799378" elapsed="0.000761"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.801789" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:15.800810" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:15.800202" elapsed="0.001753"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.802491" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:15.802033" elapsed="0.000619"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:15.799359" elapsed="0.003352"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:15.802750" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:15.802902" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:15.792519" elapsed="0.010409"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:15.802974" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:16:15.803111" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:15.791633" elapsed="0.011503"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.817715" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:15.817115" elapsed="0.000693"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:15.818708" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:15.818038" elapsed="0.001047"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:15.831063" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:15.825417" elapsed="0.009716">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:15.819493" elapsed="0.015824">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.835769" elapsed="0.000100"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:15.835439" elapsed="0.000544"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:15.819415" elapsed="0.016657">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.836833" elapsed="0.000040"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:15.837295" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:15.837237" elapsed="0.000192"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:15.837208" elapsed="0.000308"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.837753" elapsed="0.000031"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:15.838127" elapsed="0.000025"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:15.805918" elapsed="0.032378">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:15.838399" elapsed="0.000023"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:15.803350" elapsed="0.035188">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:15.838801" elapsed="0.000031"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:15.779010" elapsed="0.059951">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.356744" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:16.352429" elapsed="0.004396"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.358362" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:16.357726" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:16.357249" elapsed="0.001211"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.359705" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:16.359094" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:16.358647" elapsed="0.001156"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:16.356991" elapsed="0.002890"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.360589" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:16.359952" elapsed="0.000787"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.362396" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:16.361397" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:16.360802" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.363115" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:16.362650" elapsed="0.000607"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:16.359932" elapsed="0.003384"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:16.363356" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:16.363516" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:16.351811" elapsed="0.011730"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:16.363602" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:16.363743" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:16.351138" elapsed="0.012630"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.378633" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:16.378126" elapsed="0.000603"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.379389" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:16.378944" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:16.384863" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:16.381840" elapsed="0.006003">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:16.379626" elapsed="0.008344">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.388273" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:16.388058" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:16.379605" elapsed="0.008885">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.388990" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:16.389249" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:16.389212" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:16.389193" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.389546" elapsed="0.000036"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:16.389806" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:16.366557" elapsed="0.023361">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:16.389990" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:16.363983" elapsed="0.026103">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.390263" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:16.339620" elapsed="0.050753">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.907080" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:16.904677" elapsed="0.002486"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.908686" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:16.908063" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:16.907606" elapsed="0.001179"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.910081" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:16.909452" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:16.909006" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:16.907329" elapsed="0.002928"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.911020" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:16.910332" elapsed="0.000836"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.912834" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:16.911848" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:16.911232" elapsed="0.001773"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.913538" elapsed="0.000102"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:16.913069" elapsed="0.000647"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:16.910311" elapsed="0.003465"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:16.913818" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:16.913979" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:16.904029" elapsed="0.009976"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:16.914051" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:16.914192" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:16.903336" elapsed="0.010881"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.928910" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:16.928431" elapsed="0.000567"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:16.929671" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:16.929211" elapsed="0.000546"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:16.935753" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:16.932337" elapsed="0.006302">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:16.929892" elapsed="0.008876">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.939069" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:16.938853" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:16.929872" elapsed="0.009416">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.939850" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:16.940107" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:16.940071" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:16.940052" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.940411" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:16.940670" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:16.917020" elapsed="0.023796">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:16.940889" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:16.914486" elapsed="0.026501">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:16.941282" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:16.891096" elapsed="0.050296">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:17.459489" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:17.456356" elapsed="0.003209"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:17.461044" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:17.460422" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:17.459981" elapsed="0.001161"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:17.462340" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:17.461751" elapsed="0.000637"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:17.461302" elapsed="0.001133"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:17.459735" elapsed="0.002794"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:17.463250" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:17.462627" elapsed="0.000768"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:17.465041" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:17.464061" elapsed="0.001073"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:17.463457" elapsed="0.001750"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:17.465746" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:17.465271" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:17.462604" elapsed="0.003341"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:17.465982" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:17.466140" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:17.455491" elapsed="0.010675"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:17.466212" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:17.466350" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:17.454553" elapsed="0.011823"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:17.481298" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:17.480844" elapsed="0.000541"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:17.482181" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:17.481618" elapsed="0.000649"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:17.488007" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:17.484922" elapsed="0.005941">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:17.482406" elapsed="0.008583">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:17.491287" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:17.491072" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:17.482385" elapsed="0.009117">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:17.492068" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:17.492327" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:17.492290" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:17.492271" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:17.492638" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:17.492886" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:17.469239" elapsed="0.023759">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:17.493069" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:17.466643" elapsed="0.026523">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:17.493331" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:17.441964" elapsed="0.051477">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.012834" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:18.010475" elapsed="0.002436"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.014375" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:18.013772" elapsed="0.000653"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:18.013312" elapsed="0.001161"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.015790" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:18.015173" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:18.014655" elapsed="0.001232"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:18.013067" elapsed="0.002899"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.016656" elapsed="0.000104"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:18.016034" elapsed="0.000805"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.018657" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:18.017649" elapsed="0.001126"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:18.016903" elapsed="0.001960"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.019398" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:18.018934" elapsed="0.000606"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:18.016015" elapsed="0.003603"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:18.019659" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:18.019814" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:18.009729" elapsed="0.010111"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:18.019886" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:18.020028" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:18.009060" elapsed="0.010994"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.034467" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:18.034009" elapsed="0.000545"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.035422" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:18.034974" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:18.040969" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:18.037870" elapsed="0.006002">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:18.035660" elapsed="0.008335">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.044295" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:18.044081" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:18.035639" elapsed="0.008873">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.044996" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:18.045253" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:18.045217" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:18.045197" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.045548" elapsed="0.000035"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:18.045805" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:18.022873" elapsed="0.023044">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:18.046021" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:18.020271" elapsed="0.025852">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.046288" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:17.994044" elapsed="0.052355">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.564049" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:18.561129" elapsed="0.002997"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.565614" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:18.564985" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:18.564527" elapsed="0.001186"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.566961" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:18.566322" elapsed="0.000696"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:18.565875" elapsed="0.001199"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:18.564282" elapsed="0.002875"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.567850" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:18.567227" elapsed="0.000770"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.569662" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:18.568673" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:18.568060" elapsed="0.001773"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.570360" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:18.569898" elapsed="0.000603"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:18.567207" elapsed="0.003353"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:18.570615" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:18.570768" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:18.560261" elapsed="0.010533"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:18.570870" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:16:18.571041" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:18.559350" elapsed="0.011722"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.585740" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:18.585266" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:18.586495" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:18.586047" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:18.592054" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:18.589242" elapsed="0.005566">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:18.586734" elapsed="0.008288">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.595340" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:18.595120" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:18.586714" elapsed="0.008844">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.596128" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:18.596385" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:18.596348" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:18.596328" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.596696" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:18.596942" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:18.573863" elapsed="0.023190">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:18.597125" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:18.571296" elapsed="0.025926">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:18.597389" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:18.547557" elapsed="0.049943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.110248" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:19.107863" elapsed="0.002470"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.111922" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:19.111279" elapsed="0.000694"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:19.110795" elapsed="0.001228"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.113288" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:19.112674" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:19.112191" elapsed="0.001198"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:19.110512" elapsed="0.002959"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.114216" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:19.113548" elapsed="0.000819"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.116079" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:19.115071" elapsed="0.001104"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:19.114434" elapsed="0.001818"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.116813" elapsed="0.000138"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:19.116317" elapsed="0.000712"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:19.113526" elapsed="0.003567"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:19.117137" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:16:19.117304" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:19.107191" elapsed="0.010139"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:19.117377" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:19.117518" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:19.106395" elapsed="0.011148"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.132172" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:19.131712" elapsed="0.000549"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.132943" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:19.132477" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:19.138793" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:19.135688" elapsed="0.005975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:19.133168" elapsed="0.008622">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.142090" elapsed="0.000089"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:19.141874" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:19.133148" elapsed="0.009179">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.142880" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:19.143160" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:19.143123" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:19.143104" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.143454" elapsed="0.000030"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:19.143718" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:19.120301" elapsed="0.023530">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:19.143901" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:19.117779" elapsed="0.026219">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.144162" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:19.098711" elapsed="0.045602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.656466" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:19.654052" elapsed="0.002498"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.658123" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:19.657481" elapsed="0.000692"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:19.657020" elapsed="0.001203"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.659498" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:19.658862" elapsed="0.000687"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:19.658392" elapsed="0.001223"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:19.656745" elapsed="0.002951"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.660410" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:19.659776" elapsed="0.000783"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.662258" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:19.661248" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:19.660641" elapsed="0.001792"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.662994" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:19.662500" elapsed="0.000671"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:19.659754" elapsed="0.003481"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:19.663278" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:16:19.663443" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:19.653390" elapsed="0.010080"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:19.663517" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:19.663675" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:19.652682" elapsed="0.011019"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.678555" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:19.678075" elapsed="0.000716"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:19.679476" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:19.679009" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:19.685243" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:19.681952" elapsed="0.006220">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:19.679716" elapsed="0.008590">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.688630" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:19.688391" elapsed="0.000397"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:19.679696" elapsed="0.009214">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.689412" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:19.689690" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:19.689649" elapsed="0.000143"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:19.689629" elapsed="0.000224"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.690000" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:19.690242" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:19.666766" elapsed="0.023590">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:19.690430" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:19.663925" elapsed="0.026606">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:19.690752" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:19.644898" elapsed="0.045981">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.209775" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:20.206705" elapsed="0.003159"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.211393" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:20.210766" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:20.210300" elapsed="0.001192"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.212752" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:20.212126" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:20.211677" elapsed="0.001174"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:20.210034" elapsed="0.002897"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.213656" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:20.213007" elapsed="0.000798"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.215617" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:20.214561" elapsed="0.001154"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:20.213869" elapsed="0.001924"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.216335" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:20.215859" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:20.212985" elapsed="0.003558"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:20.216599" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:16:20.216767" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:20.205768" elapsed="0.011026"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:20.216903" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:20.217050" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:20.204715" elapsed="0.012360"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.231825" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:20.231334" elapsed="0.000579"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.232589" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:20.232129" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:20.238260" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:20.235172" elapsed="0.006054">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:20.232813" elapsed="0.008542">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.241674" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:20.241440" elapsed="0.000393"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:20.232793" elapsed="0.009101">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.242391" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:20.242720" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:20.242680" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:20.242660" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.243019" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:20.243258" elapsed="0.000029"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:20.219997" elapsed="0.023393">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:20.243462" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:20.217299" elapsed="0.026262">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.243746" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:20.191757" elapsed="0.052102">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.763704" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:20.760356" elapsed="0.003462"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.765451" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:20.764833" elapsed="0.000668"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:20.764354" elapsed="0.001196"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.766816" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:20.766192" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:20.765737" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:20.764056" elapsed="0.002942"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.767751" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:20.767073" elapsed="0.000831"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.769598" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:20.768606" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:20.767970" elapsed="0.001803"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.770314" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:20.769837" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:20.767052" elapsed="0.003471"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:20.770562" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:16:20.770742" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:20.759349" elapsed="0.011419"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:20.770815" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:20.770958" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:20.758359" elapsed="0.012625"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.785737" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:20.785255" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:20.786494" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:20.786046" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:20.792090" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:20.789128" elapsed="0.005945">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:20.786732" elapsed="0.008468">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.795540" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:20.795285" elapsed="0.000427"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:20.786712" elapsed="0.009070">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.796258" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:20.796555" elapsed="0.000055"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:20.796517" elapsed="0.000175"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:20.796497" elapsed="0.000282"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.796937" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:20.797179" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:20.773777" elapsed="0.023660">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:20.797510" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:20.771203" elapsed="0.026423">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:20.797792" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:20.744704" elapsed="0.053199">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.315397" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:21.313062" elapsed="0.002414"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.317039" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:21.316399" elapsed="0.000689"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:21.315949" elapsed="0.001187"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.318372" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:21.317766" elapsed="0.000655"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:21.317305" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:21.315694" elapsed="0.002854"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.319263" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:21.318634" elapsed="0.000775"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.321119" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:21.320129" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:21.319474" elapsed="0.001817"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.321936" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:21.321356" elapsed="0.000728"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:21.318615" elapsed="0.003529"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:21.322182" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:16:21.322338" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:21.312428" elapsed="0.009937"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:21.322411" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:21.322554" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:21.311581" elapsed="0.011026"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.337190" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:21.336726" elapsed="0.000553"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.337966" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:21.337497" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:21.343799" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:21.340720" elapsed="0.005947">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:21.338190" elapsed="0.008606">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.347095" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:21.346879" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:21.338170" elapsed="0.009142">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.347823" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:21.348082" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:21.348045" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:21.348025" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.348385" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:21.348640" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:21.325388" elapsed="0.023364">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:21.348824" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:21.322835" elapsed="0.026087">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.349087" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:21.298657" elapsed="0.050546">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.868224" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:21.864392" elapsed="0.003910"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.869797" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:21.869173" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:21.868730" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.871161" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:21.870546" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:21.870099" elapsed="0.001160"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:21.868457" elapsed="0.002881"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.872045" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:21.871406" elapsed="0.000792"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.873872" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:21.872890" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:21.872263" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.874589" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:21.874109" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:21.871388" elapsed="0.003411"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:21.874837" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:21.874990" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:21.863502" elapsed="0.011514"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:21.875062" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:21.875207" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:21.862600" elapsed="0.012632"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.891406" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:21.890939" elapsed="0.000555"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:21.892202" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:21.891739" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:21.897827" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:21.894849" elapsed="0.005807">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:21.892423" elapsed="0.008359">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.901078" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:21.900865" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:21.892403" elapsed="0.008897">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.901796" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:21.902051" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:21.902014" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:21.901995" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.902347" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:21.902601" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:21.879638" elapsed="0.023110">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:21.902822" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:21.875453" elapsed="0.027468">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:21.903089" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:21.849854" elapsed="0.053347">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.420051" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:22.416402" elapsed="0.003763"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.422269" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:22.421411" elapsed="0.000927"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:22.420777" elapsed="0.001631"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.424188" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:22.423279" elapsed="0.000974"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:22.422662" elapsed="0.001657"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:22.420390" elapsed="0.004039"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:22.425410" elapsed="0.000095"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:22.424531" elapsed="0.001096"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.427939" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:22.426541" elapsed="0.001526"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:22.425716" elapsed="0.002453"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:22.428913" elapsed="0.000237"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:22.428257" elapsed="0.001006"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:22.424503" elapsed="0.004845"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:22.429409" elapsed="0.000049"/>
</return>
<msg time="2026-04-11T23:16:22.429655" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:22.415460" elapsed="0.014232"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:22.429758" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:22.429957" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:22.414464" elapsed="0.015530"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.454400" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:22.453879" elapsed="0.000621"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.455272" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:22.454816" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:22.460935" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:22.457896" elapsed="0.005978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:22.455506" elapsed="0.008499">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:22.464317" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:22.464093" elapsed="0.000378"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:22.455481" elapsed="0.009053">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:22.465079" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:22.465350" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:22.465309" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:22.465289" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:22.465670" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:22.465916" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:22.435909" elapsed="0.030126">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:22.466108" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:22.430317" elapsed="0.035890">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:22.466377" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:22.403829" elapsed="0.062661">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.986634" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:22.984142" elapsed="0.002577"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.988261" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:22.987638" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:22.987171" elapsed="0.001196"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.989628" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:22.989003" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:22.988538" elapsed="0.001190"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:22.986903" elapsed="0.002904"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:22.990525" elapsed="0.000184"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:22.989882" elapsed="0.000908"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:22.992469" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:22.991469" elapsed="0.001132"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:22.990860" elapsed="0.001821"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:22.993212" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:22.992747" elapsed="0.000610"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:22.989860" elapsed="0.003557"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:22.993459" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:16:22.993643" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:22.983136" elapsed="0.010535"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:22.993720" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:22.993865" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:22.981879" elapsed="0.012012"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:23.008434" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:23.007945" elapsed="0.000582"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:23.009353" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:23.008900" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:23.015200" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:23.011854" elapsed="0.006301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:23.009592" elapsed="0.008694">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.018607" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:23.018374" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:23.009556" elapsed="0.009270">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.019335" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:23.019614" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:23.019557" elapsed="0.000153"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:23.019538" elapsed="0.000235"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.019943" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:23.020191" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:22.996754" elapsed="0.023554">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:23.020449" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:22.994123" elapsed="0.026431">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.020774" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:22.967268" elapsed="0.053621">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:23.539657" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:23.537274" elapsed="0.002464"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:23.541247" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:23.540640" elapsed="0.000656"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:23.540177" elapsed="0.001168"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:23.542593" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:23.541971" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:23.541510" elapsed="0.001184"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:23.539904" elapsed="0.002870"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.543482" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:23.542848" elapsed="0.000815"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:23.545316" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:23.544333" elapsed="0.001079"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:23.543726" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.546040" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:23.545555" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:23.542827" elapsed="0.003419"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:23.546287" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:23.546447" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:23.536641" elapsed="0.009833"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:23.546520" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:23.546677" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:23.535628" elapsed="0.011076"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:23.561261" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:23.560793" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:23.562036" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:23.561584" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:23.567698" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:23.564734" elapsed="0.005790">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:23.562259" elapsed="0.008515">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.571078" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:23.570861" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:23.562238" elapsed="0.009055">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.571845" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:23.572135" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:23.572097" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:23.572077" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.572435" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:23.572695" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:23.549482" elapsed="0.023329">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:23.572884" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:23.546927" elapsed="0.026057">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:23.573153" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:23.521717" elapsed="0.051549">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.090140" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:24.087737" elapsed="0.002485"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.091775" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:24.091128" elapsed="0.000697"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:24.090680" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.093178" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:24.092539" elapsed="0.000690"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:24.092045" elapsed="0.001234"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:24.090391" elapsed="0.002967"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.094099" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:24.093434" elapsed="0.000818"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.095973" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:24.094962" elapsed="0.001107"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:24.094317" elapsed="0.001845"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.096732" elapsed="0.000155"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:24.096228" elapsed="0.000739"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:24.093412" elapsed="0.003617"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:24.097070" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:16:24.097236" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:24.087070" elapsed="0.010193"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:24.097311" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:24.097458" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:24.086153" elapsed="0.011332"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.112212" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:24.111713" elapsed="0.000592"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.113139" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:24.112525" elapsed="0.000704"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:24.118758" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:24.115650" elapsed="0.006088">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:24.113366" elapsed="0.008502">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.122179" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:24.121961" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:24.113345" elapsed="0.009055">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.122912" elapsed="0.000031"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:24.123199" elapsed="0.000190"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:24.123160" elapsed="0.000313"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:24.123139" elapsed="0.000400"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.123704" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:24.123960" elapsed="0.000021"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:24.100299" elapsed="0.023782">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:24.124170" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:24.097738" elapsed="0.026535">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.124449" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:24.074098" elapsed="0.050552">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.643074" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:24.640521" elapsed="0.002630"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.644761" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:24.644007" elapsed="0.000803"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:24.643553" elapsed="0.001307"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.646089" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:24.645467" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:24.645024" elapsed="0.001164"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:24.643305" elapsed="0.002962"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.646976" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:24.646336" elapsed="0.000789"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.648829" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:24.647805" elapsed="0.001120"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:24.647190" elapsed="0.001813"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.649534" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:24.649068" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:24.646317" elapsed="0.003441"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:24.649797" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:24.649949" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:24.639643" elapsed="0.010332"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:24.650022" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:24.650163" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:24.638716" elapsed="0.011472"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.664884" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:24.664412" elapsed="0.000559"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:24.665648" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:24.665186" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:24.671047" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:24.668228" elapsed="0.005624">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:24.665869" elapsed="0.008109">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.674274" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:24.674061" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:24.665849" elapsed="0.008673">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.675092" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:24.675347" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:24.675310" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:24.675290" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.675656" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:24.675897" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:24.652927" elapsed="0.023081">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:24.676080" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:24.650410" elapsed="0.025766">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:24.676374" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:24.625246" elapsed="0.051241">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.195435" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:25.192922" elapsed="0.002591"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.197065" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:25.196420" elapsed="0.000695"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:25.195953" elapsed="0.001213"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.199869" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:25.198414" elapsed="0.001567"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:25.197357" elapsed="0.002735"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:25.195699" elapsed="0.004571"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.201593" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:25.200489" elapsed="0.001260"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.203405" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:25.202413" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:25.201816" elapsed="0.001780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.204131" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:25.203661" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:25.200444" elapsed="0.003906"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:25.204389" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:16:25.204546" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:25.192235" elapsed="0.012352"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:25.204678" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:16:25.204834" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:25.191556" elapsed="0.013305"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.219503" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:25.219028" elapsed="0.000580"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.220307" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:25.219829" elapsed="0.000574"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:25.225922" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:25.222964" elapsed="0.005842">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:25.220583" elapsed="0.008354">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.229253" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:25.229023" elapsed="0.000390"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:25.220546" elapsed="0.008933">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.230059" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:25.230341" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:25.230303" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:25.230282" elapsed="0.000221"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.230663" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:25.230913" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:25.207700" elapsed="0.023332">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:25.231105" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:25.205080" elapsed="0.026130">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.231388" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:25.177080" elapsed="0.054423">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.749753" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:25.746710" elapsed="0.003119"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.751304" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:25.750699" elapsed="0.000655"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:25.750231" elapsed="0.001171"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.752763" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:25.752107" elapsed="0.000704"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:25.751658" elapsed="0.001202"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:25.749986" elapsed="0.002952"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.753624" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:25.753006" elapsed="0.000769"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.755414" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:25.754434" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:25.753840" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.756131" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:25.755669" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:25.752988" elapsed="0.003353"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:25.756405" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:16:25.756567" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:25.745792" elapsed="0.010821"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:25.756660" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:25.756802" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:25.744854" elapsed="0.011974"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.771491" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:25.771034" elapsed="0.000560"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:25.772262" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:25.771813" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:25.777803" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:25.774905" elapsed="0.005662">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:25.772502" elapsed="0.008206">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.781010" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:25.780792" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:25.772481" elapsed="0.008743">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.781758" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:25.782049" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:25.782011" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:25.781991" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.782347" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:25.782629" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:25.759507" elapsed="0.023235">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:25.782814" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:25.757044" elapsed="0.025868">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:25.783076" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:25.732075" elapsed="0.051118">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.301730" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:26.298484" elapsed="0.003352"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.303900" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:26.303039" elapsed="0.000929"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:26.302399" elapsed="0.001636"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.305691" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:26.304974" elapsed="0.000766"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:26.304259" elapsed="0.001529"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:26.302056" elapsed="0.003816"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.306606" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:26.305949" elapsed="0.000804"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.308538" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:26.307404" elapsed="0.001244"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:26.306816" elapsed="0.001907"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.309241" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:26.308786" elapsed="0.000599"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:26.305929" elapsed="0.003516"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:26.309485" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:26.309656" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:26.297636" elapsed="0.012046"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:26.309732" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:26.309872" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:26.296637" elapsed="0.013260"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.324385" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:26.323931" elapsed="0.000569"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.325175" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:26.324731" elapsed="0.000528"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:26.330884" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:26.327824" elapsed="0.005912">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:26.325394" elapsed="0.008471">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.334168" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:26.333950" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:26.325374" elapsed="0.009014">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.334962" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:26.335221" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:26.335183" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:26.335164" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.335526" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:26.335785" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:26.312702" elapsed="0.023196">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:26.335970" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:26.310114" elapsed="0.025961">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.336240" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:26.283840" elapsed="0.052510">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.854409" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:26.851407" elapsed="0.003085"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.856085" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:26.855425" elapsed="0.000711"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:26.854961" elapsed="0.001228"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.857616" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:26.856972" elapsed="0.000695"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:26.856464" elapsed="0.001254"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:26.854679" elapsed="0.003121"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.858531" elapsed="0.000093"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:26.857889" elapsed="0.000815"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.860435" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:26.859397" elapsed="0.001166"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:26.858771" elapsed="0.001890"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.861245" elapsed="0.000098"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:26.860729" elapsed="0.000697"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:26.857867" elapsed="0.003621"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:26.861531" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:16:26.861718" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:26.850493" elapsed="0.011252"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:26.861793" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:26.861949" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:26.849446" elapsed="0.012530"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.877258" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:26.876774" elapsed="0.000575"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:26.878064" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:26.877584" elapsed="0.000569"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:26.883906" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:26.880708" elapsed="0.006134">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:26.878294" elapsed="0.008680">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.887284" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:26.887061" elapsed="0.000378"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:26.878273" elapsed="0.009231">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.888088" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:26.888348" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:26.888310" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:26.888291" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.888679" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:26.888936" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:26.865048" elapsed="0.024043">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:26.889165" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:26.862201" elapsed="0.027066">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:26.889434" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:26.837111" elapsed="0.052437">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:27.410414" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:27.407562" elapsed="0.002932"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:27.412018" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:27.411391" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:27.410934" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:27.413389" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:27.412755" elapsed="0.000684"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:27.412282" elapsed="0.001208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:27.410679" elapsed="0.002904"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:27.414290" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:27.413656" elapsed="0.000783"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:27.416117" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:27.415134" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:27.414503" elapsed="0.001790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:27.416863" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:27.416358" elapsed="0.000653"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:27.413636" elapsed="0.003436"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:27.417112" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:16:27.417270" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:27.406701" elapsed="0.010596"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:27.417343" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:27.417485" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:27.405751" elapsed="0.011760"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:27.432666" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:27.432152" elapsed="0.000606"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:27.433427" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:27.432976" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:27.439395" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:27.436098" elapsed="0.006197">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:27.433665" elapsed="0.008759">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:27.442817" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:27.442510" elapsed="0.000463"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:27.433644" elapsed="0.009393">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:27.443523" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:27.443800" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:27.443762" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:27.443743" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:27.444102" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:27.444348" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:27.420672" elapsed="0.023789">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:27.444535" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:27.417754" elapsed="0.026907">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:27.444828" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:27.390214" elapsed="0.054726">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.062359" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:28.059275" elapsed="0.003164"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.063972" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:28.063339" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:28.062888" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.065316" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:28.064717" elapsed="0.000648"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:28.064236" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:28.062621" elapsed="0.002878"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.066217" elapsed="0.000128"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:28.065586" elapsed="0.000837"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.068101" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:28.067109" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:28.066489" elapsed="0.001783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.068836" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:28.068335" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:28.065551" elapsed="0.003488"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:28.069079" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:28.069241" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:28.058323" elapsed="0.010945"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:28.069316" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:28.069458" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:28.057118" elapsed="0.012366"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.084314" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:28.083847" elapsed="0.000556"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.085117" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:28.084637" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:28.090743" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:28.087859" elapsed="0.005781">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:28.085339" elapsed="0.008441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.094079" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:28.093865" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:28.085319" elapsed="0.008976">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.094803" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:28.095061" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:28.095023" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:28.095004" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.095359" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:28.095648" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:28.072306" elapsed="0.023455">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:28.095869" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:28.069746" elapsed="0.026225">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.096137" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:27.945644" elapsed="0.150605">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.614447" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:28.611271" elapsed="0.003260"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.616065" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:28.615431" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:28.614982" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.617407" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:28.616801" elapsed="0.000657"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:28.616328" elapsed="0.001179"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:28.614719" elapsed="0.002884"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.618309" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:28.617680" elapsed="0.000778"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.620132" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:28.619143" elapsed="0.001088"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:28.618522" elapsed="0.001786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.620882" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:28.620372" elapsed="0.000656"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:28.617659" elapsed="0.003429"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:28.621129" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:28.621290" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:28.610209" elapsed="0.011108"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:28.621364" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:28.621506" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:28.609242" elapsed="0.012290"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.636150" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:28.635557" elapsed="0.000684"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:28.636949" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:28.636459" elapsed="0.000575"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:28.642391" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:28.639403" elapsed="0.005936">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:28.637170" elapsed="0.008359">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.645897" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:28.645679" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:28.637150" elapsed="0.008973">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.646623" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:28.646884" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:28.646846" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:28.646827" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.647185" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:28.647431" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:28.624356" elapsed="0.023186">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:28.647635" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:28.621769" elapsed="0.025966">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:28.647901" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:28.597070" elapsed="0.050943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.166189" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:29.163175" elapsed="0.003095"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.167799" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:29.167160" elapsed="0.000695"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:29.166711" elapsed="0.001194"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.169146" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:29.168515" elapsed="0.000681"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:29.168072" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:29.166431" elapsed="0.002892"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.170037" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:29.169397" elapsed="0.000790"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.171868" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:29.170872" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:29.170252" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.172586" elapsed="0.000127"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:29.172106" elapsed="0.000685"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:29.169376" elapsed="0.003504"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:29.172924" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:29.173084" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:29.162281" elapsed="0.010830"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:29.173158" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:29.173300" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:29.161335" elapsed="0.011991"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.188192" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:29.187729" elapsed="0.000551"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.188977" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:29.188496" elapsed="0.000567"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:29.194401" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:29.191432" elapsed="0.005870">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:29.189198" elapsed="0.008242">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.197781" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:29.197546" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:29.189177" elapsed="0.008821">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.198476" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:29.198750" elapsed="0.000175"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:29.198712" elapsed="0.000296"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:29.198692" elapsed="0.000379"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.199217" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:29.199463" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:29.176128" elapsed="0.023511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:29.199714" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:29.173549" elapsed="0.026266">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.199982" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:29.148724" elapsed="0.051409">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.716974" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:29.714606" elapsed="0.002450"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.718566" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:29.717948" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:29.717483" elapsed="0.001203"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.719947" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:29.719307" elapsed="0.000690"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:29.718851" elapsed="0.001195"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:29.717221" elapsed="0.002907"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.720880" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:29.720204" elapsed="0.000829"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.722711" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:29.721723" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:29.721099" elapsed="0.001785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.723417" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:29.722949" elapsed="0.000614"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:29.720183" elapsed="0.003465"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:29.723689" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:29.723851" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:29.713947" elapsed="0.009930"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:29.723925" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:29.724066" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:29.713230" elapsed="0.010862"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.739010" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:29.738529" elapsed="0.000569"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:29.739783" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:29.739318" elapsed="0.000550"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:29.745520" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:29.742413" elapsed="0.006055">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:29.740010" elapsed="0.008602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.748942" elapsed="0.000079"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:29.748697" elapsed="0.000409"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:29.739990" elapsed="0.009232">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.749732" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:29.749991" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:29.749953" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:29.749934" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.750290" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:29.750534" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:29.726928" elapsed="0.023761">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:29.750763" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:29.724313" elapsed="0.026550">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:29.751030" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:29.701039" elapsed="0.050102">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.268940" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:30.266362" elapsed="0.002662"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.270551" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:30.269937" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:30.269456" elapsed="0.001214"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.271915" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:30.271289" elapsed="0.000676"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:30.270837" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:30.269193" elapsed="0.002901"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.272825" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:30.272168" elapsed="0.000822"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.274695" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:30.273680" elapsed="0.001111"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:30.273057" elapsed="0.001810"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.275407" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:30.274934" elapsed="0.000620"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:30.272148" elapsed="0.003482"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:30.275672" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:30.275832" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:30.265729" elapsed="0.010131"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:30.275963" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:30.276109" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:30.264788" elapsed="0.011347"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.290815" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:30.290334" elapsed="0.000569"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.291587" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:30.291121" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:30.296921" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:30.294150" elapsed="0.005699">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:30.291811" elapsed="0.008166">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.300274" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:30.300061" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:30.291791" elapsed="0.008698">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.301004" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:30.301261" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:30.301224" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:30.301205" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.301566" elapsed="0.000088"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:30.301875" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:30.278935" elapsed="0.023053">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:30.302061" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:30.276355" elapsed="0.025805">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.302328" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:30.251973" elapsed="0.050466">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.820194" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:30.817883" elapsed="0.002391"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.821797" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:30.821163" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:30.820703" elapsed="0.001194"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.823138" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:30.822511" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:30.822069" elapsed="0.001168"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:30.820434" elapsed="0.002889"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.824029" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:30.823394" elapsed="0.000784"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.825837" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:30.824852" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:30.824242" elapsed="0.001768"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.826542" elapsed="0.000094"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:30.826075" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:30.823375" elapsed="0.003397"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:30.826811" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:30.826969" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:30.817084" elapsed="0.009911"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:30.827043" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:30.827185" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:30.816118" elapsed="0.011093"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.841869" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:30.841387" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:30.842770" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:30.842176" elapsed="0.000680"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:30.848307" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:30.845230" elapsed="0.005967">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:30.842990" elapsed="0.008332">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.851637" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:30.851406" elapsed="0.000385"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:30.842970" elapsed="0.008884">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.852333" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:30.852646" elapsed="0.000171"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:30.852607" elapsed="0.000293"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:30.852587" elapsed="0.000390"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.853126" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:30.853368" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:30.829951" elapsed="0.023531">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:30.853556" elapsed="0.000034"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:30.827433" elapsed="0.026245">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:30.853847" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:30.803081" elapsed="0.050879">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.372669" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:31.370231" elapsed="0.002520"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.374282" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:31.373662" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:31.373191" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.375652" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:31.375024" elapsed="0.000678"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:31.374553" elapsed="0.001197"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:31.372915" elapsed="0.002915"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.376529" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:31.375902" elapsed="0.000791"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.378389" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:31.377383" elapsed="0.001102"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:31.376760" elapsed="0.001803"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.379124" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:31.378653" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:31.375882" elapsed="0.003455"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:31.379377" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:16:31.379536" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:31.369052" elapsed="0.010511"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:31.379653" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:31.379826" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:31.368048" elapsed="0.011805"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.395182" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:31.394713" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.395961" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:31.395488" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:31.401465" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:31.398602" elapsed="0.005790">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:31.396184" elapsed="0.008339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.405011" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:31.404778" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:31.396164" elapsed="0.009067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.405733" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:31.405996" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:31.405958" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:31.405938" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.406295" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:31.406538" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:31.383230" elapsed="0.023459">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:31.406768" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:31.380075" elapsed="0.026793">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.407035" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:31.354635" elapsed="0.052511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.927419" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:31.924656" elapsed="0.002843"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.929059" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:31.928414" elapsed="0.000697"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:31.927969" elapsed="0.001193"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.930448" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:31.929837" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:31.929372" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:31.927710" elapsed="0.002951"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.931372" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:31.930739" elapsed="0.000786"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.933224" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:31.932222" elapsed="0.001101"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:31.931621" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.933948" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:31.933468" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:31.930718" elapsed="0.003439"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:31.934199" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:31.934363" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:31.923979" elapsed="0.010411"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:31.934438" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:31.934610" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:31.923250" elapsed="0.011395"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.949447" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:31.948949" elapsed="0.000589"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:31.950229" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:31.949773" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:31.955736" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:31.952875" elapsed="0.005789">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:31.950456" elapsed="0.008339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.959095" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:31.958879" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:31.950436" elapsed="0.008877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.959892" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:31.960154" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:31.960116" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:31.960097" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.960457" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:31.960715" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:31.937434" elapsed="0.023430">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:31.960937" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:31.934880" elapsed="0.026175">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:31.961226" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:31.909346" elapsed="0.051995">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:32.480853" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:32.477606" elapsed="0.003359"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:32.482782" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:32.482074" elapsed="0.000759"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:32.481617" elapsed="0.001267"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:32.484130" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:32.483503" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:32.483051" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:32.481226" elapsed="0.003083"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:32.485026" elapsed="0.000097"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:32.484380" elapsed="0.000822"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:32.486900" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:32.485909" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:32.485267" elapsed="0.001806"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:32.487688" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:32.487140" elapsed="0.000700"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:32.484361" elapsed="0.003541"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:32.487940" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:16:32.488098" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:32.476461" elapsed="0.011664"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:32.488172" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:32.488316" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:32.475534" elapsed="0.012809"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:32.503152" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:32.502677" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:32.503948" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:32.503466" elapsed="0.000570"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:32.510123" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:32.506747" elapsed="0.006278">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:32.504178" elapsed="0.009006">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:32.513489" elapsed="0.000111"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:32.513272" elapsed="0.000450"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:32.504158" elapsed="0.009653">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:32.514472" elapsed="0.000037"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:32.514894" elapsed="0.002114"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:32.514841" elapsed="0.002317"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:32.514812" elapsed="0.002436"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:32.517459" elapsed="0.000032"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:32.517824" elapsed="0.000026"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:32.491136" elapsed="0.026851">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:32.518088" elapsed="0.000022"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:32.488565" elapsed="0.029665">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:32.518461" elapsed="0.000033"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:32.461990" elapsed="0.056653">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.036144" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:33.033843" elapsed="0.002378"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.037744" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:33.037080" elapsed="0.000714"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:33.036642" elapsed="0.001201"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.039059" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:33.038440" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:33.038005" elapsed="0.001151"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:33.036376" elapsed="0.002858"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.039924" elapsed="0.000113"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:33.039304" elapsed="0.000811"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.041789" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:33.040785" elapsed="0.001100"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:33.040178" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.042482" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:33.042022" elapsed="0.000628"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:33.039284" elapsed="0.003426"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:33.042749" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:33.042904" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:33.033019" elapsed="0.009911"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:33.042976" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:33.043117" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:33.032106" elapsed="0.011036"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.057631" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:33.057137" elapsed="0.000591"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.058409" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:33.057948" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:33.064183" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:33.061195" elapsed="0.005951">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:33.058769" elapsed="0.008506">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.067594" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:33.067361" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:33.058748" elapsed="0.009067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.068298" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:33.068556" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:33.068518" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:33.068499" elapsed="0.000230"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.068873" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:33.069132" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:33.045902" elapsed="0.023345">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:33.069356" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:33.043360" elapsed="0.026099">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.069665" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:33.019283" elapsed="0.050501">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.588941" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:33.585552" elapsed="0.003497"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.590854" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:33.590190" elapsed="0.000714"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:33.589738" elapsed="0.001217"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.592205" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:33.591587" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:33.591122" elapsed="0.001182"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:33.589312" elapsed="0.003074"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.593099" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:33.592457" elapsed="0.000814"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.595056" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:33.593961" elapsed="0.001193"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:33.593337" elapsed="0.001897"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.595826" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:33.595302" elapsed="0.000673"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:33.592438" elapsed="0.003600"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:33.596081" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:33.596243" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:33.584674" elapsed="0.011597"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:33.596317" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:33.596460" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:33.583616" elapsed="0.012871"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.611492" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:33.611013" elapsed="0.000698"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:33.612404" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:33.611940" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:33.618048" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:33.614966" elapsed="0.005998">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:33.612652" elapsed="0.008522">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.621483" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:33.621266" elapsed="0.000398"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:33.612629" elapsed="0.009099">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.622231" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:33.622494" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:33.622455" elapsed="0.000160"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:33.622435" elapsed="0.000254"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.622839" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:33.623083" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:33.599494" elapsed="0.023704">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:33.623273" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:33.596728" elapsed="0.026647">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:33.623544" elapsed="0.000070"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:33.570380" elapsed="0.053331">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.142383" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:34.139094" elapsed="0.003372"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.144002" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:34.143366" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:34.142917" elapsed="0.001184"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.145348" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:34.144733" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:34.144267" elapsed="0.001182"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:34.142649" elapsed="0.002878"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.146247" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:34.145618" elapsed="0.000778"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.148062" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:34.147077" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:34.146459" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.148785" elapsed="0.000126"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:34.148302" elapsed="0.000687"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:34.145596" elapsed="0.003453"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:34.149089" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:34.149265" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:34.138200" elapsed="0.011092"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:34.149339" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:34.149481" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:34.137230" elapsed="0.012277"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.164084" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:34.163486" elapsed="0.000688"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.164861" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:34.164391" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:34.171046" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:34.167345" elapsed="0.006748">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:34.165084" elapsed="0.009184">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.174710" elapsed="0.000099"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:34.174386" elapsed="0.000540"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:34.165064" elapsed="0.009952">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.175753" elapsed="0.000037"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:34.176112" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:34.176060" elapsed="0.000181"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:34.176034" elapsed="0.000292"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.176525" elapsed="0.000031"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:34.176883" elapsed="0.000026"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:34.152325" elapsed="0.024718">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:34.177157" elapsed="0.000023"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:34.149744" elapsed="0.027556">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.177533" elapsed="0.000030"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:34.124513" elapsed="0.053244">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.696915" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:34.694498" elapsed="0.002502"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.698723" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:34.698049" elapsed="0.000727"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:34.697566" elapsed="0.001261"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.700119" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:34.699462" elapsed="0.000709"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:34.699000" elapsed="0.001223"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:34.697208" elapsed="0.003098"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.701055" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:34.700385" elapsed="0.000844"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.703107" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:34.701941" elapsed="0.001268"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:34.701299" elapsed="0.001991"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.703872" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:34.703360" elapsed="0.000664"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:34.700362" elapsed="0.003725"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:34.704132" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:34.704299" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:34.693835" elapsed="0.010492"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:34.704376" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:34.704523" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:34.692809" elapsed="0.011741"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.727092" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:34.726522" elapsed="0.000677"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:34.728055" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:34.727433" elapsed="0.000709"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:34.733884" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:34.730803" elapsed="0.005953">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:34.728297" elapsed="0.008592">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.737228" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:34.736977" elapsed="0.000407"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:34.728266" elapsed="0.009258">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.738071" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:34.738339" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:34.738296" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:34.738276" elapsed="0.000220"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.738659" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:34.738900" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:34.711532" elapsed="0.027487">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:34.739092" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:34.704838" elapsed="0.034356">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:34.739367" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:34.678483" elapsed="0.061001">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.258550" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:35.255537" elapsed="0.003108"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.260210" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:35.259547" elapsed="0.000714"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:35.259077" elapsed="0.001235"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.261638" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:35.260973" elapsed="0.000718"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:35.260483" elapsed="0.001259"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:35.258813" elapsed="0.003012"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.262542" elapsed="0.000091"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:35.261898" elapsed="0.000814"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.264444" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:35.263404" elapsed="0.001140"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:35.262779" elapsed="0.001895"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.265251" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:35.264743" elapsed="0.000660"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:35.261879" elapsed="0.003587"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:35.265507" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:16:35.265689" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:35.254625" elapsed="0.011093"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:35.265813" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:16:35.265965" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:35.253636" elapsed="0.012356"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.280908" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:35.280320" elapsed="0.000678"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.281717" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:35.281242" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:35.287367" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:35.284323" elapsed="0.005948">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:35.281942" elapsed="0.008456">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.290734" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:35.290482" elapsed="0.000430"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:35.281922" elapsed="0.009052">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.291451" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:35.291737" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:35.291699" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:35.291679" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.292031" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:35.292271" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:35.268861" elapsed="0.023527">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:35.292460" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:35.266218" elapsed="0.026339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.292759" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:35.240105" elapsed="0.052764">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.810685" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:35.807590" elapsed="0.003175"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.812255" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:35.811645" elapsed="0.000660"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:35.811173" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.813624" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:35.812982" elapsed="0.000692"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:35.812520" elapsed="0.001209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:35.810924" elapsed="0.002885"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.814490" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:35.813879" elapsed="0.000780"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.816323" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:35.815324" elapsed="0.001096"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:35.814724" elapsed="0.001772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.817050" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:35.816562" elapsed="0.000656"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:35.813860" elapsed="0.003422"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:35.817320" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:35.817480" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:35.806653" elapsed="0.010854"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:35.817554" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:16:35.817713" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:35.805719" elapsed="0.012020"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.833181" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:35.832699" elapsed="0.000593"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:35.834013" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:35.833523" elapsed="0.000580"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:35.839433" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:35.836655" elapsed="0.005712">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:35.834247" elapsed="0.008245">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.842815" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:35.842591" elapsed="0.000376"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:35.834226" elapsed="0.008803">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.843494" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:35.843867" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:35.843830" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:35.843810" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.844160" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:35.844404" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:35.820736" elapsed="0.023778">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:35.844600" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:35.817958" elapsed="0.026742">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:35.844865" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:35.793505" elapsed="0.051470">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.363708" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:36.360937" elapsed="0.002852"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.365286" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:36.364668" elapsed="0.000668"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:36.364203" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.366641" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:36.366024" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:36.365552" elapsed="0.001188"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:36.363950" elapsed="0.002868"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.367510" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:36.366890" elapsed="0.000782"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.369328" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:36.368335" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:36.367737" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.370048" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:36.369563" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:36.366871" elapsed="0.003378"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:36.370289" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:36.370451" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:36.360052" elapsed="0.010425"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:36.370522" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:36.370688" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:36.359111" elapsed="0.011603"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.385257" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:36.384776" elapsed="0.000571"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.386181" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:36.385565" elapsed="0.000702"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:36.391783" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:36.388627" elapsed="0.006041">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:36.386402" elapsed="0.008393">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.395089" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:36.394879" elapsed="0.000362"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:36.386382" elapsed="0.008921">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.395799" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:36.396054" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:36.396018" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:36.395999" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.396346" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:36.396600" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:36.373556" elapsed="0.023157">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:36.396785" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:36.370934" elapsed="0.025948">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.397046" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:36.345727" elapsed="0.051429">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.917524" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:36.914151" elapsed="0.003514"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.919228" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:36.918618" elapsed="0.000660"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:36.918130" elapsed="0.001197"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.920658" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:36.920034" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:36.919558" elapsed="0.001198"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:36.917864" elapsed="0.002973"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.921586" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:36.920917" elapsed="0.000823"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.923414" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:36.922414" elapsed="0.001096"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:36.921805" elapsed="0.001797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.924139" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:36.923668" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:36.920894" elapsed="0.003449"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:36.924387" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:16:36.924552" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:36.913244" elapsed="0.011348"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:36.924640" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:36.924782" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:36.912130" elapsed="0.012677"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.939310" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:36.938851" elapsed="0.000548"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:36.940072" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:36.939628" elapsed="0.000529"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:36.946015" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:36.942525" elapsed="0.006425">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:36.940292" elapsed="0.008788">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.949390" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:36.949162" elapsed="0.000379"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:36.940272" elapsed="0.009349">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.950107" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:36.950361" elapsed="0.000168"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:36.950324" elapsed="0.000340"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:36.950305" elapsed="0.000421"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.950872" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:36.951111" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:36.927626" elapsed="0.023634">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:36.951333" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:36.925026" elapsed="0.026405">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:36.951611" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:36.898047" elapsed="0.053677">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:37.469883" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:37.466621" elapsed="0.003340"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:37.471445" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:37.470845" elapsed="0.000648"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:37.470375" elapsed="0.001167"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:37.472764" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:37.472156" elapsed="0.000658"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:37.471722" elapsed="0.001141"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:37.470122" elapsed="0.002818"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:37.473645" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:37.473011" elapsed="0.000782"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:37.475429" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:37.474446" elapsed="0.001079"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:37.473857" elapsed="0.001760"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:37.476144" elapsed="0.000067"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:37.475682" elapsed="0.000602"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:37.472991" elapsed="0.003352"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:37.476382" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:16:37.476538" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:37.465757" elapsed="0.010808"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:37.476626" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:37.476768" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:37.464811" elapsed="0.011983"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:37.491387" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:37.490931" elapsed="0.000547"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:37.492155" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:37.491708" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:37.497642" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:37.494803" elapsed="0.005679">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:37.492375" elapsed="0.008246">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:37.500922" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:37.500706" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:37.492354" elapsed="0.008779">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:37.501658" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:37.501914" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:37.501877" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:37.501858" elapsed="0.000206"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:37.502204" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:37.502452" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:37.479551" elapsed="0.023013">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:37.502686" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:37.477010" elapsed="0.025774">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:37.502948" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:37.452370" elapsed="0.050688">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.022365" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:38.018217" elapsed="0.004225"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.023936" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:38.023312" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:38.022871" elapsed="0.001163"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.025255" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:38.024647" elapsed="0.000656"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:38.024195" elapsed="0.001157"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:38.022619" elapsed="0.002812"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.026121" elapsed="0.000110"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:38.025500" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.028106" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:38.026990" elapsed="0.001211"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:38.026371" elapsed="0.001905"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.028811" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:38.028339" elapsed="0.000737"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:38.025482" elapsed="0.003654"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:38.029175" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:16:38.029355" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:38.017455" elapsed="0.011926"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:38.029427" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:38.029567" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:38.016506" elapsed="0.013101"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.044014" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:38.043545" elapsed="0.000555"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.044775" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:38.044315" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:38.050168" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:38.047370" elapsed="0.005641">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:38.044994" elapsed="0.008142">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.053448" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:38.053234" elapsed="0.000379"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:38.044974" elapsed="0.008703">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.054145" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:38.054399" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:38.054363" elapsed="0.000126"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:38.054344" elapsed="0.000206"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.054765" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:38.055005" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:38.032334" elapsed="0.022782">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:38.055218" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:38.029823" elapsed="0.025495">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.055482" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:38.003715" elapsed="0.051892">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.573910" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:38.570683" elapsed="0.003303"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.575431" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:38.574836" elapsed="0.000643"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:38.574382" elapsed="0.001146"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.576742" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:38.576137" elapsed="0.000655"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:38.575706" elapsed="0.001134"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:38.574139" elapsed="0.002778"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.577605" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:38.576984" elapsed="0.000770"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.579410" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:38.578412" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:38.577816" elapsed="0.001793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.580134" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:38.579676" elapsed="0.000601"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:38.576966" elapsed="0.003370"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:38.580373" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:38.580525" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:38.569828" elapsed="0.010724"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:38.580613" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:38.580754" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:38.568893" elapsed="0.011886"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.595257" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:38.594799" elapsed="0.000546"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:38.596025" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:38.595561" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:38.601218" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:38.598498" elapsed="0.005524">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:38.596247" elapsed="0.007929">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.604475" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:38.604261" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:38.596226" elapsed="0.008478">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.605165" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:38.605445" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:38.605407" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:38.605388" elapsed="0.000223"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.605756" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:38.605997" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:38.583516" elapsed="0.022590">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:38.606178" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:38.580993" elapsed="0.025283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:38.606441" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:38.556213" elapsed="0.050337">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.124462" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:39.122091" elapsed="0.002449"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.126042" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:39.125423" elapsed="0.000668"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:39.124966" elapsed="0.001172"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.127354" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:39.126761" elapsed="0.000642"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:39.126297" elapsed="0.001153"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:39.124712" elapsed="0.002816"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.128292" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:39.127617" elapsed="0.000823"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.130116" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:39.129120" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:39.128503" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.130844" elapsed="0.000108"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:39.130349" elapsed="0.000681"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:39.127597" elapsed="0.003494"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:39.131129" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:39.131282" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:39.121246" elapsed="0.010062"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:39.131354" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:39.131494" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:39.120307" elapsed="0.011212"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.146151" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:39.145692" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.147058" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:39.146460" elapsed="0.000684"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:39.152443" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:39.149513" elapsed="0.005763">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:39.147280" elapsed="0.008119">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.155712" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:39.155482" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:39.147260" elapsed="0.008673">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.156397" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:39.156671" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:39.156634" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:39.156614" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.156965" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:39.157222" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:39.134266" elapsed="0.023068">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:39.157404" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:39.131767" elapsed="0.025734">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.157681" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:39.107204" elapsed="0.050620">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.676047" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:39.673643" elapsed="0.002480"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.677607" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:39.676979" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:39.676529" elapsed="0.001176"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.678933" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:39.678301" elapsed="0.000687"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:39.677867" elapsed="0.001169"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:39.676279" elapsed="0.002835"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.679802" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:39.679185" elapsed="0.000762"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.681616" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:39.680611" elapsed="0.001099"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:39.680009" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.682304" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:39.681849" elapsed="0.000600"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:39.679166" elapsed="0.003342"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:39.682546" elapsed="0.000047"/>
</return>
<msg time="2026-04-11T23:16:39.682718" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:39.672750" elapsed="0.009994"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:39.682791" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:39.682960" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:39.671828" elapsed="0.011163"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.697792" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:39.697316" elapsed="0.000565"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:39.698547" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:39.698100" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:39.703819" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:39.701153" elapsed="0.005558">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:39.698784" elapsed="0.008053">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.707137" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:39.706924" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:39.698763" elapsed="0.008626">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.707884" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:39.708138" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:39.708102" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:39.708083" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.708434" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:39.708689" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:39.685920" elapsed="0.022881">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:39.708874" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:39.683211" elapsed="0.025761">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:39.709138" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:39.658433" elapsed="0.050830">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.227864" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:40.225384" elapsed="0.002563"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.229424" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:40.228807" elapsed="0.000666"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:40.228347" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.230867" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:40.230245" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:40.229710" elapsed="0.001254"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:40.228103" elapsed="0.002941"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.231734" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:40.231111" elapsed="0.000770"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.233560" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:40.232547" elapsed="0.001139"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:40.231946" elapsed="0.001817"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.234300" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:40.233828" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:40.231093" elapsed="0.003411"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:40.234541" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:16:40.234711" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:40.224474" elapsed="0.010264"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:40.234826" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:40.234973" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:40.223580" elapsed="0.011419"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.249779" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:40.249306" elapsed="0.000561"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.250536" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:40.250090" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:40.255953" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:40.253005" elapsed="0.005785">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:40.250786" elapsed="0.008128">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.259212" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:40.259001" elapsed="0.000361"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:40.250765" elapsed="0.008658">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.259930" elapsed="0.000033"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:40.260200" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:40.260163" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:40.260144" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.260491" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:40.260745" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:40.237904" elapsed="0.022952">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:40.260929" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:40.235216" elapsed="0.025810">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.261201" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:40.210385" elapsed="0.050928">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.780170" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:40.777846" elapsed="0.002403"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.781740" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:40.781108" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:40.780668" elapsed="0.001169"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.783055" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:40.782434" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:40.781999" elapsed="0.001153"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:40.780404" elapsed="0.002825"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.783920" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:40.783302" elapsed="0.000765"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.785735" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:40.784736" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:40.784130" elapsed="0.001775"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.786428" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:40.785969" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:40.783282" elapsed="0.003375"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:40.786697" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:40.786854" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:40.776990" elapsed="0.009890"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:40.786928" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:40.787069" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:40.776324" elapsed="0.010771"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.801529" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:40.801056" elapsed="0.000582"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:40.802315" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:40.801855" elapsed="0.000544"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:40.808142" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:40.805032" elapsed="0.005993">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:40.802533" elapsed="0.008617">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.811444" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:40.811233" elapsed="0.000379"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:40.802513" elapsed="0.009162">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.812144" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:40.812433" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:40.812396" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:40.812375" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.812747" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:40.812985" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:40.789826" elapsed="0.023271">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:40.813182" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:40.787315" elapsed="0.025968">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:40.813449" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:40.762482" elapsed="0.051078">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.332636" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:41.330241" elapsed="0.002480"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.334269" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:41.333652" elapsed="0.000668"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:41.333184" elapsed="0.001185"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.335635" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:41.335011" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:41.334542" elapsed="0.001190"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:41.332897" elapsed="0.002918"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.336536" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:41.335895" elapsed="0.000809"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.338495" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:41.337393" elapsed="0.001232"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:41.336771" elapsed="0.001931"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.339233" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:41.338767" elapsed="0.000614"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:41.335873" elapsed="0.003568"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:41.339485" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:16:41.339670" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:41.329424" elapsed="0.010273"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:41.339743" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:41.339889" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:41.328314" elapsed="0.011600"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.355290" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:41.354783" elapsed="0.000604"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.356075" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:41.355623" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:41.361774" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:41.358739" elapsed="0.005911">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:41.356309" elapsed="0.008472">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.365093" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:41.364870" elapsed="0.000393"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:41.356285" elapsed="0.009041">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.365874" elapsed="0.000033"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:41.366150" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:41.366107" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:41.366086" elapsed="0.000220"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.366451" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:41.366731" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:41.343124" elapsed="0.023729">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:41.366928" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:41.340142" elapsed="0.026887">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.367197" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:41.314406" elapsed="0.052904">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.885951" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:41.883182" elapsed="0.002856"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.887651" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:41.886991" elapsed="0.000711"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:41.886502" elapsed="0.001251"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.889163" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:41.888469" elapsed="0.000762"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:41.887992" elapsed="0.001321"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:41.886225" elapsed="0.003189"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.890239" elapsed="0.000089"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:41.889502" elapsed="0.000908"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.892165" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:41.891126" elapsed="0.001136"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:41.890478" elapsed="0.001869"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.892911" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:41.892414" elapsed="0.000648"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:41.889476" elapsed="0.003685"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:41.893209" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:16:41.893389" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:41.882500" elapsed="0.010916"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:41.893465" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:41.893628" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:41.881660" elapsed="0.011995"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.908860" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:41.908341" elapsed="0.000612"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:41.909694" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:41.909206" elapsed="0.000577"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:41.915626" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:41.912333" elapsed="0.006429">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:41.909926" elapsed="0.008972">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.919208" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:41.918985" elapsed="0.000377"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:41.909904" elapsed="0.009522">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.919979" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:41.920428" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:41.920388" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:41.920368" elapsed="0.000237"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.920763" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:41.921011" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:41.896491" elapsed="0.024713">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:41.921278" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:41.893889" elapsed="0.027636">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:41.921720" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:41.868137" elapsed="0.053701">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:42.442624" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:42.438939" elapsed="0.003774"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:42.444332" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:42.443684" elapsed="0.000699"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:42.443171" elapsed="0.001264"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:42.445878" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:42.445130" elapsed="0.000800"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:42.444629" elapsed="0.001353"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:42.442894" elapsed="0.003174"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:42.446841" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:42.446146" elapsed="0.000853"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:42.448759" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:42.447727" elapsed="0.001138"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:42.447066" elapsed="0.001879"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:42.449540" elapsed="0.000096"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:42.449013" elapsed="0.000701"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:42.446124" elapsed="0.003652"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:42.449818" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:16:42.449997" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:42.437949" elapsed="0.012076"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:42.450073" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:42.450220" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:42.436854" elapsed="0.013394"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:42.465695" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:42.465178" elapsed="0.000612"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:42.466494" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:42.466020" elapsed="0.000580"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:42.472422" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:42.469272" elapsed="0.006113">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:42.466745" elapsed="0.008774">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:42.475932" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:42.475705" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:42.466723" elapsed="0.009436">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:42.476713" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:42.476984" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:42.476944" elapsed="0.000153"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:42.476924" elapsed="0.000240"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:42.477320" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:42.477589" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:42.453240" elapsed="0.024469">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:42.477781" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:42.450476" elapsed="0.027405">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:42.478049" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:42.422723" elapsed="0.055441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:42.997610" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:42.994275" elapsed="0.003451"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:42.999339" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:42.998716" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:42.998236" elapsed="0.001202"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.000680" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:43.000063" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:42.999624" elapsed="0.001155"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:42.997957" elapsed="0.002901"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.001585" elapsed="0.000128"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:43.000932" elapsed="0.000859"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.003448" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:43.002456" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:43.001856" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.004166" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:43.003702" elapsed="0.000607"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:43.000910" elapsed="0.003458"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:43.004410" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:43.004586" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:42.993374" elapsed="0.011239"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:43.004661" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:43.004804" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:42.992389" elapsed="0.012440"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.019344" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:43.018881" elapsed="0.000551"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.020110" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:43.019663" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:43.025947" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:43.022860" elapsed="0.006109">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:43.020329" elapsed="0.008799">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.029428" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:43.029214" elapsed="0.000379"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:43.020309" elapsed="0.009350">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.030135" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:43.030390" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:43.030353" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:43.030333" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.030697" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:43.030937" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:43.007616" elapsed="0.023435">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:43.031158" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:43.005070" elapsed="0.026189">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.031423" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:42.979027" elapsed="0.052505">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.549795" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:43.546524" elapsed="0.003380"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.551446" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:43.550834" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:43.550360" elapsed="0.001186"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.552831" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:43.552170" elapsed="0.000713"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:43.551729" elapsed="0.001202"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:43.550102" elapsed="0.002909"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.553749" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:43.553105" elapsed="0.000795"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.555585" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:43.554601" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:43.553965" elapsed="0.001795"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.556295" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:43.555826" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:43.553081" elapsed="0.003421"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:43.556541" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:16:43.556719" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:43.545678" elapsed="0.011068"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:43.556792" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:43.556933" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:43.544733" elapsed="0.012226"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.573830" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:43.573324" elapsed="0.000598"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:43.574761" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:43.574146" elapsed="0.000703"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:43.580104" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:43.577265" elapsed="0.005904">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:43.574991" elapsed="0.008356">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.583669" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:43.583435" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:43.574968" elapsed="0.008923">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.584379" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:43.584654" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:43.584616" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:43.584595" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.584957" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:43.585236" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:43.561608" elapsed="0.023742">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:43.585423" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:43.557191" elapsed="0.028330">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:43.585702" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:43.532211" elapsed="0.053602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.105205" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:44.101663" elapsed="0.003652"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.107017" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:44.106390" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:44.105918" elapsed="0.001198"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.108345" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:44.107741" elapsed="0.000653"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:44.107283" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:44.105536" elapsed="0.002986"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.109249" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:44.108610" elapsed="0.000788"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.111117" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:44.110128" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:44.109462" elapsed="0.001827"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.111838" elapsed="0.000119"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:44.111356" elapsed="0.000679"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:44.108589" elapsed="0.003506"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:44.112135" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:44.112295" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:44.100769" elapsed="0.011553"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:44.112369" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:44.112511" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:44.099821" elapsed="0.012716"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.127369" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:44.126896" elapsed="0.000563"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.128145" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:44.127692" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:44.133434" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:44.130639" elapsed="0.005630">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:44.128368" elapsed="0.008027">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.136710" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:44.136479" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:44.128347" elapsed="0.008581">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.137425" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:44.137702" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:44.137665" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:44.137645" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.138005" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:44.138246" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:44.115315" elapsed="0.023042">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:44.138429" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:44.112776" elapsed="0.025751">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.138763" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:44.086468" elapsed="0.052442">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.656700" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:44.654329" elapsed="0.002448"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.658270" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:44.657665" elapsed="0.000654"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:44.657202" elapsed="0.001166"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.659600" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:44.658989" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:44.658534" elapsed="0.001262"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:44.656933" elapsed="0.002947"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.660614" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:44.659953" elapsed="0.000812"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.662451" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:44.661460" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:44.660830" elapsed="0.001823"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.663179" elapsed="0.000209"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:44.662718" elapsed="0.000745"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:44.659933" elapsed="0.003590"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:44.663561" elapsed="0.000074"/>
</return>
<msg time="2026-04-11T23:16:44.663761" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:44.653556" elapsed="0.010232"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:44.663836" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:44.663978" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:44.652609" elapsed="0.011395"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.678852" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:44.678313" elapsed="0.000630"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:44.679760" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:44.679164" elapsed="0.000684"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:44.685340" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:44.682259" elapsed="0.005973">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:44.679986" elapsed="0.008374">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.688676" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:44.688444" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:44.679966" elapsed="0.008977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.689459" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:44.689737" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:44.689699" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:44.689680" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.690038" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:44.690283" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:44.666752" elapsed="0.023645">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:44.690471" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:44.664225" elapsed="0.026383">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:44.690779" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:44.639538" elapsed="0.051355">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.209992" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:45.206729" elapsed="0.003374"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.212183" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:45.211319" elapsed="0.000934"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:45.210702" elapsed="0.001620"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.214081" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:45.213233" elapsed="0.000898"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:45.212553" elapsed="0.001628"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:45.210323" elapsed="0.003938"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.214986" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:45.214335" elapsed="0.000798"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.216804" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:45.215812" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:45.215197" elapsed="0.001794"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.217522" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:45.217056" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:45.214315" elapsed="0.003427"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:45.217781" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:16:45.217942" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:45.205842" elapsed="0.012127"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:45.218078" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:16:45.218225" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:45.204850" elapsed="0.013402"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.232761" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:45.232282" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.233541" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:45.233092" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:45.239126" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:45.236180" elapsed="0.005805">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:45.233780" elapsed="0.008333">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.242411" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:45.242197" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:45.233760" elapsed="0.008962">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.243227" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:45.243485" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:45.243447" elapsed="0.000145"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:45.243428" elapsed="0.000228"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.243801" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:45.244041" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:45.221025" elapsed="0.023135">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:45.244232" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:45.218472" elapsed="0.025861">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.244503" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:45.191614" elapsed="0.053014">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.760563" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:45.758219" elapsed="0.002437"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.762151" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:45.761532" elapsed="0.000669"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:45.761086" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.763511" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:45.762905" elapsed="0.000655"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:45.762416" elapsed="0.001212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:45.760817" elapsed="0.002891"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.764407" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:45.763782" elapsed="0.000775"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.766248" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:45.765256" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:45.764638" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.766972" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:45.766484" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:45.763761" elapsed="0.003415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:45.767215" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:45.767377" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:45.757271" elapsed="0.010132"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:45.767449" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:45.767606" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:45.756293" elapsed="0.011339"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.782484" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:45.782010" elapsed="0.000709"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:45.783393" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:45.782943" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:45.789078" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:45.785871" elapsed="0.006123">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:45.783630" elapsed="0.008491">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.792423" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:45.792207" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:45.783609" elapsed="0.009052">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.793165" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:45.793466" elapsed="0.000210"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:45.793427" elapsed="0.000336"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:45.793407" elapsed="0.000420"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.793976" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:45.794230" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:45.770459" elapsed="0.023886">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:45.794419" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:45.767951" elapsed="0.026570">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:45.794742" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:45.745244" elapsed="0.049614">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.311229" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:46.307967" elapsed="0.003372"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.313427" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:46.312603" elapsed="0.000874"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:46.311944" elapsed="0.001582"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.314789" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:46.314166" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:46.313719" elapsed="0.001169"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:46.311564" elapsed="0.003407"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.315688" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:46.315046" elapsed="0.000790"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.317516" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:46.316502" elapsed="0.001127"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:46.315904" elapsed="0.001801"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.318240" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:46.317771" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:46.315025" elapsed="0.003420"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:46.318485" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:46.318662" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:46.307057" elapsed="0.011633"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:46.318737" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:46.318881" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:46.306097" elapsed="0.012810"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.333742" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:46.333262" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.334489" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:46.334045" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:46.340067" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:46.337139" elapsed="0.005847">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:46.334727" elapsed="0.008385">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.343411" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:46.343197" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:46.334706" elapsed="0.008939">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.344132" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:46.344390" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:46.344353" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:46.344334" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.344742" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:46.344996" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:46.321757" elapsed="0.023352">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:46.345182" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:46.319128" elapsed="0.026153">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.345448" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:46.295459" elapsed="0.050100">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.863490" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:46.860987" elapsed="0.002595"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.865265" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:46.864644" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:46.864000" elapsed="0.001365"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.866664" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:46.866050" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:46.865610" elapsed="0.001150"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:46.863747" elapsed="0.003091"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.867523" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:46.866910" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.869346" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:46.868350" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:46.867749" elapsed="0.001766"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.870065" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:46.869606" elapsed="0.000612"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:46.866890" elapsed="0.003389"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:46.870319" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:46.870478" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:46.860339" elapsed="0.010165"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:46.870550" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:16:46.870710" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:46.859676" elapsed="0.011059"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.885705" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:46.885222" elapsed="0.000573"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:46.886469" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:46.886014" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:46.891959" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:46.889126" elapsed="0.005763">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:46.886711" elapsed="0.008305">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.895314" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:46.895101" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:46.886690" elapsed="0.008843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.896030" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:46.896289" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:46.896251" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:46.896232" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.896602" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:46.896860" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:46.873429" elapsed="0.023579">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:46.897082" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:46.870954" elapsed="0.026228">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:46.897350" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:46.846191" elapsed="0.051271">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.417324" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:47.414924" elapsed="0.002486"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.419009" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:47.418339" elapsed="0.000722"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:47.417877" elapsed="0.001236"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.420381" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:47.419761" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:47.419281" elapsed="0.001203"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:47.417598" elapsed="0.002968"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:47.421318" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:47.420658" elapsed="0.000814"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.423186" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:47.422163" elapsed="0.001120"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:47.421539" elapsed="0.001822"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:47.423923" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:47.423428" elapsed="0.000646"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:47.420637" elapsed="0.003499"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:47.424177" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:47.424343" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:47.414243" elapsed="0.010127"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:47.424419" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:47.424563" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:47.413520" elapsed="0.011087"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.439145" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:47.438665" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.440062" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:47.439453" elapsed="0.000696"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:47.445669" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:47.442680" elapsed="0.005870">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:47.440286" elapsed="0.008409">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:47.449018" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:47.448802" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:47.440266" elapsed="0.008972">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:47.449767" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:47.450030" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:47.449992" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:47.449973" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:47.450332" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:47.450620" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:47.427371" elapsed="0.023366">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:47.450810" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:47.424859" elapsed="0.026051">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:47.451078" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:47.398249" elapsed="0.052943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.969655" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:47.966475" elapsed="0.003260"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.971237" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:47.970622" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:47.970145" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.972599" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:47.971969" elapsed="0.000682"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:47.971510" elapsed="0.001206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:47.969892" elapsed="0.002905"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:47.973481" elapsed="0.000130"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:47.972867" elapsed="0.000831"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.975373" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:47.974361" elapsed="0.001120"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:47.973762" elapsed="0.001797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:47.976113" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:47.975645" elapsed="0.000613"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:47.972848" elapsed="0.003470"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:47.976358" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:47.976527" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:47.965606" elapsed="0.010949"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:47.976621" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:47.976781" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:47.964629" elapsed="0.012177"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.991835" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:47.991340" elapsed="0.000585"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:47.992622" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:47.992146" elapsed="0.000596"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:47.998700" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:47.995415" elapsed="0.006147">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:47.992884" elapsed="0.008831">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.002033" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:48.001809" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:47.992863" elapsed="0.009393">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.002813" elapsed="0.000031"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:48.003083" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:48.003045" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:48.003026" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.003392" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:48.003655" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:47.979619" elapsed="0.024151">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:48.003882" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:47.977027" elapsed="0.026964">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.004160" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:47.951815" elapsed="0.052460">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:48.521694" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:48.518659" elapsed="0.003112"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:48.523232" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:48.522623" elapsed="0.000657"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:48.522168" elapsed="0.001161"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:48.524532" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:48.523939" elapsed="0.000656"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:48.523490" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:48.521922" elapsed="0.002813"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.525406" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:48.524808" elapsed="0.000743"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:48.527206" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:48.526218" elapsed="0.001080"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:48.525630" elapsed="0.001742"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.527909" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:48.527435" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:48.524789" elapsed="0.003320"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:48.528147" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:16:48.528299" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:48.517803" elapsed="0.010522"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:48.528370" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:48.528508" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:48.516884" elapsed="0.011648"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:48.543536" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:48.543064" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:48.544313" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:48.543866" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:48.549628" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:48.546987" elapsed="0.005429">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:48.544532" elapsed="0.008068">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.552932" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:48.552718" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:48.544512" elapsed="0.008634">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.553627" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:48.553883" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:48.553846" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:48.553827" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.554177" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:48.554417" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:48.531461" elapsed="0.023067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:48.554653" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:48.528776" elapsed="0.025978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:48.554918" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:48.504954" elapsed="0.050073">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.073624" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:49.071282" elapsed="0.002420"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.075173" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:49.074552" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:49.074108" elapsed="0.001171"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.076498" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:49.075899" elapsed="0.000648"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:49.075441" elapsed="0.001180"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:49.073859" elapsed="0.002841"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.077378" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:49.076771" elapsed="0.000754"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.079178" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:49.078202" elapsed="0.001069"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:49.077603" elapsed="0.001749"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.079911" elapsed="0.000110"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:49.079418" elapsed="0.000680"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:49.076751" elapsed="0.003408"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:49.080199" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:16:49.080357" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:49.070663" elapsed="0.009722"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:49.080432" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:49.080614" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:49.069986" elapsed="0.010657"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.101756" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:49.101261" elapsed="0.000586"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.102519" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:49.102067" elapsed="0.000616"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:49.108081" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:49.105193" elapsed="0.005783">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:49.102822" elapsed="0.008283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.111408" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:49.111190" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:49.102801" elapsed="0.008844">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.112125" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:49.112386" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:49.112348" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:49.112329" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.112713" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:49.112961" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:49.083353" elapsed="0.029719">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:49.113145" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:49.080865" elapsed="0.032383">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.113414" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:49.055682" elapsed="0.057878">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.632651" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:49.629387" elapsed="0.003374"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.634355" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:49.633752" elapsed="0.000654"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:49.633291" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.635682" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:49.635069" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:49.634634" elapsed="0.001146"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:49.632978" elapsed="0.002880"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.636550" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:49.635929" elapsed="0.000782"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.638354" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:49.637367" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:49.636774" elapsed="0.001750"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.639063" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:49.638603" elapsed="0.000604"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:49.635910" elapsed="0.003357"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:49.639313" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:16:49.639468" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:49.628502" elapsed="0.010993"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:49.639542" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:16:49.639700" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:49.627595" elapsed="0.012131"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.654147" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:49.653686" elapsed="0.000549"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:49.655069" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:49.654451" elapsed="0.000704"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:49.660438" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:49.657521" elapsed="0.005782">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:49.655296" elapsed="0.008134">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.663742" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:49.663513" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:49.655275" elapsed="0.008723">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.664481" elapsed="0.000041"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:49.664766" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:49.664729" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:49.664710" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.665067" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:49.665305" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:49.642512" elapsed="0.022905">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:49.665489" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:49.639945" elapsed="0.025656">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:49.665769" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:49.614205" elapsed="0.051675">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.184778" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:50.181498" elapsed="0.003386"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.186439" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:50.185846" elapsed="0.000642"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:50.185388" elapsed="0.001148"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.187750" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:50.187146" elapsed="0.000653"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:50.186713" elapsed="0.001133"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:50.185095" elapsed="0.002827"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.188622" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:50.187990" elapsed="0.000777"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.190400" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:50.189420" elapsed="0.001074"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:50.188829" elapsed="0.001755"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.191109" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:50.190651" elapsed="0.000601"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:50.187971" elapsed="0.003346"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:50.191357" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:50.191510" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:50.180657" elapsed="0.010880"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:50.191637" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:16:50.191786" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:50.179710" elapsed="0.012101"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.207015" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:50.206364" elapsed="0.000740"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.207791" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:50.207326" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:50.213394" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:50.210389" elapsed="0.005878">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:50.208012" elapsed="0.008381">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.216742" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:50.216508" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:50.207992" elapsed="0.008969">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.217438" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:50.217772" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:50.217734" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:50.217714" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.218072" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:50.218317" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:50.194556" elapsed="0.023873">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:50.218502" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:50.192028" elapsed="0.026588">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.218783" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:50.166471" elapsed="0.052423">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.736736" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:50.734350" elapsed="0.002466"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.738306" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:50.737697" elapsed="0.000660"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:50.737232" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.739660" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:50.739036" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:50.738593" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:50.736977" elapsed="0.002861"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.740557" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:50.739911" elapsed="0.000809"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.742393" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:50.741399" elapsed="0.001088"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:50.740785" elapsed="0.001780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.743141" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:50.742662" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:50.739891" elapsed="0.003458"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:50.743389" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:50.743548" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:50.733660" elapsed="0.009930"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:50.743640" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:50.743784" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:50.732803" elapsed="0.011008"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.758365" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:50.757892" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:50.759269" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:50.758817" elapsed="0.000576"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:50.764787" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:50.761809" elapsed="0.005857">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:50.759533" elapsed="0.008258">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.768089" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:50.767874" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:50.759512" elapsed="0.008792">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.768824" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:50.769121" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:50.769081" elapsed="0.000174"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:50.769062" elapsed="0.000256"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.769467" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:50.769728" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:50.746658" elapsed="0.023185">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:50.769917" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:50.744033" elapsed="0.025982">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:50.770183" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:50.719650" elapsed="0.050645">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.287683" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:51.284243" elapsed="0.003553"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.289957" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:51.289093" elapsed="0.000935"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:51.288428" elapsed="0.001671"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.291824" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:51.290970" elapsed="0.000919"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:51.290332" elapsed="0.001621"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:51.288026" elapsed="0.004029"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.293044" elapsed="0.000091"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:51.292153" elapsed="0.001078"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.295519" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:51.294127" elapsed="0.001545"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:51.293318" elapsed="0.002466"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.296531" elapsed="0.000155"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:51.295878" elapsed="0.000914"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:51.292124" elapsed="0.004750"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:51.296934" elapsed="0.000047"/>
</return>
<msg time="2026-04-11T23:16:51.297152" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:51.283345" elapsed="0.013844"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:51.297254" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:51.297451" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:51.282366" elapsed="0.015121"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.314535" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:51.314053" elapsed="0.000739"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.315474" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:51.315014" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:51.321274" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:51.318128" elapsed="0.005975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:51.315720" elapsed="0.008511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.324550" elapsed="0.000130"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:51.324332" elapsed="0.000432"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:51.315699" elapsed="0.009129">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.325330" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:51.325608" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:51.325552" elapsed="0.000152"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:51.325532" elapsed="0.000234"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.325911" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:51.326153" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:51.301631" elapsed="0.024637">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:51.326342" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:51.297820" elapsed="0.028623">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.326627" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:51.270934" elapsed="0.055809">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.846483" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:51.843423" elapsed="0.003157"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.848172" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:51.847505" elapsed="0.000719"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:51.847025" elapsed="0.001263"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.849675" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:51.849015" elapsed="0.000713"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:51.848527" elapsed="0.001252"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:51.846756" elapsed="0.003108"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.850811" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:51.849943" elapsed="0.001021"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.852757" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:51.851699" elapsed="0.001155"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:51.851032" elapsed="0.001902"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.853496" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:51.853002" elapsed="0.000664"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:51.849920" elapsed="0.003808"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:51.853777" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:16:51.853947" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:51.842425" elapsed="0.011550"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:51.854024" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:51.854172" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:51.841347" elapsed="0.012852"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.869145" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:51.868652" elapsed="0.000586"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:51.869963" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:51.869463" elapsed="0.000590"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:51.875856" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:51.872728" elapsed="0.006032">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:51.870196" elapsed="0.008697">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.879202" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:51.878981" elapsed="0.000376"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:51.870174" elapsed="0.009247">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.880027" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:51.880310" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:51.880268" elapsed="0.000142"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:51.880233" elapsed="0.000239"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.880644" elapsed="0.000025"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:51.880894" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:51.857097" elapsed="0.023975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:51.881149" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:51.854445" elapsed="0.026809">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:51.881431" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:51.827486" elapsed="0.054064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.402857" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:52.400430" elapsed="0.002511"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.404511" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:52.403861" elapsed="0.000726"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:52.403377" elapsed="0.001266"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.405929" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:52.405274" elapsed="0.000706"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:52.404821" elapsed="0.001211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:52.403107" elapsed="0.003005"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.407083" elapsed="0.000104"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:52.406192" elapsed="0.001105"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.409787" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:52.408312" elapsed="0.001614"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:52.407389" elapsed="0.002647"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.410822" elapsed="0.000100"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:52.410128" elapsed="0.000900"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:52.406169" elapsed="0.004943"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:52.411170" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:16:52.411400" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:52.399739" elapsed="0.011699"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:52.411503" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:16:52.411743" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:52.398818" elapsed="0.012965"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.427621" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:52.427113" elapsed="0.000601"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.428437" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:52.427950" elapsed="0.000574"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:52.434394" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:52.431343" elapsed="0.005971">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:52.428681" elapsed="0.008766">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.437995" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:52.437534" elapsed="0.000633"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:52.428659" elapsed="0.009574">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.438775" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:52.439044" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:52.439003" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:52.438983" elapsed="0.000230"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.439361" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:52.439622" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:52.415232" elapsed="0.024513">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:52.439821" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:52.412106" elapsed="0.027818">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.440099" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:52.383094" elapsed="0.057137">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.958685" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:52.955788" elapsed="0.002978"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.960281" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:52.959660" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:52.959190" elapsed="0.001189"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.961621" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:52.961005" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:52.960543" elapsed="0.001179"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:52.958930" elapsed="0.002872"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.962508" elapsed="0.000158"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:52.961877" elapsed="0.000869"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.964419" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:52.963409" elapsed="0.001105"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:52.962811" elapsed="0.001795"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.965140" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:52.964674" elapsed="0.000609"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:52.961855" elapsed="0.003488"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:52.965387" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:16:52.965552" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:52.954856" elapsed="0.010737"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:52.965642" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:52.965785" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:52.953809" elapsed="0.012002"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.980758" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:52.980249" elapsed="0.000601"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:52.981527" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:52.981072" elapsed="0.000558"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:52.987212" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:52.984222" elapsed="0.005873">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:52.981767" elapsed="0.008455">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.990525" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:52.990308" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:52.981746" elapsed="0.009014">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.991260" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:52.991519" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:52.991480" elapsed="0.000188"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:52.991461" elapsed="0.000269"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.991876" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:52.992128" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:52.968865" elapsed="0.023380">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:52.992373" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:52.966037" elapsed="0.026438">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:52.992659" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:52.941059" elapsed="0.051714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:53.512168" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:53.508564" elapsed="0.003716"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:53.513825" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:53.513201" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:53.512747" elapsed="0.001176"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:53.515151" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:53.514533" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:53.514089" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:53.512466" elapsed="0.002861"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:53.516080" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:53.515401" elapsed="0.000832"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:53.518075" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:53.517082" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:53.516298" elapsed="0.001953"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:53.518804" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:53.518317" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:53.515381" elapsed="0.003627"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:53.519047" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:16:53.519210" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:53.507683" elapsed="0.011553"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:53.519282" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:53.519422" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:53.506699" elapsed="0.012749"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:53.534540" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:53.534070" elapsed="0.000576"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:53.535323" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:53.534868" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:53.540931" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:53.537945" elapsed="0.005910">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:53.535545" elapsed="0.008523">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:53.544377" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:53.544159" elapsed="0.000373"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:53.535525" elapsed="0.009092">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:53.545103" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:53.545364" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:53.545327" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:53.545307" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:53.545678" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:53.545926" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:53.522303" elapsed="0.023735">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:53.546112" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:53.519684" elapsed="0.026527">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:53.546383" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:53.493549" elapsed="0.052946">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.063714" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:54.061345" elapsed="0.002451"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.065338" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:54.064714" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:54.064242" elapsed="0.001202"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.066710" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:54.066082" elapsed="0.000678"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:54.065631" elapsed="0.001180"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:54.063980" elapsed="0.002917"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.067604" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:54.066969" elapsed="0.000785"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.069444" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:54.068455" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:54.067819" elapsed="0.001832"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.070182" elapsed="0.000130"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:54.069717" elapsed="0.000676"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:54.066949" elapsed="0.003504"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:54.070493" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:54.070671" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:54.060714" elapsed="0.009984"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:54.070746" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:16:54.070891" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:54.060000" elapsed="0.010916"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.085499" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:54.085012" elapsed="0.000725"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.086431" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:54.085963" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:54.092035" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:54.088936" elapsed="0.006013">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:54.086674" elapsed="0.008404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.095389" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:54.095162" elapsed="0.000385"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:54.086652" elapsed="0.008985">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.096144" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:54.096417" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:54.096379" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:54.096358" elapsed="0.000231"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.096737" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:54.096982" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:54.073757" elapsed="0.023339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:54.097170" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:54.071140" elapsed="0.026130">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.097457" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:54.047127" elapsed="0.050536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.615162" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:54.612836" elapsed="0.002403"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.616740" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:54.616115" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:54.615658" elapsed="0.001180"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.618089" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:54.617442" elapsed="0.000696"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:54.617002" elapsed="0.001185"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:54.615394" elapsed="0.002869"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.618961" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:54.618332" elapsed="0.000775"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.620774" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:54.619776" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:54.619170" elapsed="0.001772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.621467" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:54.621006" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:54.618314" elapsed="0.003382"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:54.621734" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:54.621888" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:54.612209" elapsed="0.009706"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:54.621962" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:54.622102" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:54.611537" elapsed="0.010591"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.637161" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:54.636550" elapsed="0.000700"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:54.637939" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:54.637469" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:54.645317" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:54.642456" elapsed="0.005694">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:54.638161" elapsed="0.010116">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.648631" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:54.648361" elapsed="0.000426"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:54.638141" elapsed="0.010751">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.649375" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:54.649656" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:54.649618" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:54.649598" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.649956" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:54.650196" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:54.624840" elapsed="0.025469">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:54.650381" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:54.622344" elapsed="0.028135">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:54.650683" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:54.598311" elapsed="0.052485">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.167683" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:55.165296" elapsed="0.002476"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.169336" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:55.168700" elapsed="0.000687"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:55.168213" elapsed="0.001224"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.170740" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:55.170098" elapsed="0.000699"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:55.169626" elapsed="0.001222"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:55.167951" elapsed="0.002978"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.171657" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:55.171003" elapsed="0.000841"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.173558" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:55.172540" elapsed="0.001147"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:55.171913" elapsed="0.001853"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.174334" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:55.173846" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:55.170983" elapsed="0.003561"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:55.174599" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:16:55.174760" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:55.164673" elapsed="0.010114"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:55.174881" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:16:55.175032" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:55.163981" elapsed="0.011078"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.190107" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:55.189614" elapsed="0.000590"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.190915" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:55.190431" elapsed="0.000573"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:55.196491" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:55.193610" elapsed="0.005834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:55.191153" elapsed="0.008440">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.199925" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:55.199681" elapsed="0.000402"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:55.191131" elapsed="0.009018">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.200681" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:55.200953" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:55.200909" elapsed="0.000138"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:55.200886" elapsed="0.000223"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.201263" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:55.201511" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:55.178103" elapsed="0.023564">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:55.201744" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:55.175282" elapsed="0.026564">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.202015" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:55.151416" elapsed="0.050714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.720944" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:55.717539" elapsed="0.003490"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.722519" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:55.721914" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:55.721449" elapsed="0.001198"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.723898" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:55.723251" elapsed="0.000696"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:55.722813" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:55.721190" elapsed="0.002892"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.724789" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:55.724156" elapsed="0.000780"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.726565" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:55.725608" elapsed="0.001080"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:55.725000" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.727292" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:55.726828" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:55.724136" elapsed="0.003365"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:55.727540" elapsed="0.000047"/>
</return>
<msg time="2026-04-11T23:16:55.727729" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:55.716441" elapsed="0.011316"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:55.727805" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:55.727949" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:55.715483" elapsed="0.012491"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.742884" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:55.742383" elapsed="0.000591"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:55.743775" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:55.743193" elapsed="0.000668"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:55.749278" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:55.746253" elapsed="0.005923">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:55.743999" elapsed="0.008306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.752630" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:55.752390" elapsed="0.000398"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:55.743979" elapsed="0.008875">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.753336" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:55.753651" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:55.753613" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:55.753592" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.753956" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:55.754201" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:55.730711" elapsed="0.023604">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:55.754389" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:55.728197" elapsed="0.026292">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:55.754688" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:55.702992" elapsed="0.051813">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.273762" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:56.270872" elapsed="0.002987"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.275392" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:56.274772" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:56.274295" elapsed="0.001201"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.276795" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:56.276149" elapsed="0.000696"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:56.275699" elapsed="0.001195"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:56.274032" elapsed="0.002943"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.277744" elapsed="0.000082"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:56.277050" elapsed="0.000852"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.279565" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:56.278585" elapsed="0.001112"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:56.277966" elapsed="0.001808"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.280316" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:56.279840" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:56.277028" elapsed="0.003500"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:56.280585" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:16:56.280749" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:56.269929" elapsed="0.010846"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:56.280822" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:56.280965" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:56.268911" elapsed="0.012080"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.296126" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:56.295622" elapsed="0.000600"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.297026" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:56.296440" elapsed="0.000673"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:56.302707" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:56.299478" elapsed="0.006155">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:56.297249" elapsed="0.008519">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.306067" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:56.305853" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:56.297228" elapsed="0.009056">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.306787" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:56.307045" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:56.307008" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:56.306989" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.307342" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:56.307596" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:56.283885" elapsed="0.023841">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:56.307799" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:56.281210" elapsed="0.026721">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.308112" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:56.255556" elapsed="0.052671">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.820259" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:56.817904" elapsed="0.002434"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.821840" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:56.821218" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:56.820776" elapsed="0.001161"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.823223" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:56.822628" elapsed="0.000643"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:56.822158" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:56.820507" elapsed="0.002892"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.824366" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:56.823473" elapsed="0.001044"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.826180" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:56.825193" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:56.824598" elapsed="0.001754"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.826903" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:56.826417" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:56.823453" elapsed="0.003656"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:56.827150" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:16:56.827311" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:56.817266" elapsed="0.010072"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:56.827385" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:56.827529" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:56.816595" elapsed="0.011005"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.842042" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:56.841564" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:56.842946" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:56.842346" elapsed="0.000686"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:56.848806" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:56.845487" elapsed="0.006288">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:56.843168" elapsed="0.008745">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.852214" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:56.851999" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:56.843147" elapsed="0.009287">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.852947" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:56.853206" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:56.853168" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:56.853149" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.853507" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:56.853767" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:56.830323" elapsed="0.023611">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:56.854008" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:56.827827" elapsed="0.026283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:56.854277" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:56.808669" elapsed="0.045722">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.371970" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:57.369624" elapsed="0.002430"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.373596" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:57.372960" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:57.372487" elapsed="0.001212"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.374948" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:57.374317" elapsed="0.000680"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:57.373868" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:57.372224" elapsed="0.002902"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.375864" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:57.375199" elapsed="0.000814"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.377701" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:57.376706" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:57.376081" elapsed="0.001797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.378413" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:57.377943" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:57.375178" elapsed="0.003469"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:57.378687" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:16:57.378850" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:57.368976" elapsed="0.009900"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:57.378922" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:57.379064" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:57.368180" elapsed="0.010911"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.393553" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:57.393088" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.394330" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:57.393878" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:57.400130" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:57.397108" elapsed="0.005905">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:57.394552" elapsed="0.008588">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.403438" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:57.403224" elapsed="0.000401"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:57.394531" elapsed="0.009158">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.404172" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:57.404430" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:57.404393" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:57.404373" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.404746" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:57.404986" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:57.381863" elapsed="0.023238">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:57.405174" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:57.379318" elapsed="0.025956">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.405439" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:57.355837" elapsed="0.049714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.922922" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:57.920633" elapsed="0.002365"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.924491" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:57.923890" elapsed="0.000650"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:57.923433" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.925828" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:57.925207" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:57.924771" elapsed="0.001155"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:57.923151" elapsed="0.002853"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.926687" elapsed="0.000105"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:57.926071" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.928519" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:57.927542" elapsed="0.001104"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:57.926933" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.929244" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:57.928786" elapsed="0.000602"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:57.926053" elapsed="0.003395"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:57.929487" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:16:57.929655" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:57.919822" elapsed="0.009860"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:57.929729" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:57.929872" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:57.918866" elapsed="0.011032"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.944709" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:57.944233" elapsed="0.000565"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:57.945480" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:57.945016" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:57.950880" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:57.948117" elapsed="0.005571">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:57.945724" elapsed="0.008089">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.954113" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:57.953898" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:57.945704" elapsed="0.008628">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.954829" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:57.955087" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:57.955050" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:57.955031" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.955399" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:57.955665" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:57.932911" elapsed="0.022868">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:57.955884" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:57.930115" elapsed="0.025871">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:57.956153" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:57.906173" elapsed="0.050093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:58.472232" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:58.469773" elapsed="0.002537"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:58.473909" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:58.473182" elapsed="0.000778"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:58.472733" elapsed="0.001278"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:58.475262" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:58.474659" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:58.474175" elapsed="0.001202"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:58.472467" elapsed="0.002990"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:58.476167" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:58.475527" elapsed="0.000790"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:58.477986" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:58.476996" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:58.476381" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:58.478719" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:58.478225" elapsed="0.000641"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:58.475508" elapsed="0.003419"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:58.478965" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:16:58.479120" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:58.469150" elapsed="0.009996"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:58.479192" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:16:58.479359" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:58.468454" elapsed="0.010931"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:58.493914" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:58.493436" elapsed="0.000567"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:58.494784" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:58.494218" elapsed="0.000651"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:58.500067" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:58.497232" elapsed="0.005637">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:58.495004" elapsed="0.008023">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:58.503340" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:58.503113" elapsed="0.000379"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:58.494983" elapsed="0.008572">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:58.504040" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:58.504295" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:58.504259" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:58.504239" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:58.504605" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:58.504850" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:58.482084" elapsed="0.022877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:58.505032" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:58.479617" elapsed="0.025512">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:58.505292" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:58.456909" elapsed="0.048492">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.023981" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:59.020936" elapsed="0.003122"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.025519" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:59.024916" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:59.024456" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.026865" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:59.026253" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:59.025815" elapsed="0.001147"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:59.024211" elapsed="0.002830"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.027742" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:59.027109" elapsed="0.000781"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.029516" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:59.028543" elapsed="0.001098"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:59.027953" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.030244" elapsed="0.000103"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:59.029782" elapsed="0.000642"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:59.027090" elapsed="0.003394"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:59.030523" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:16:59.030694" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:59.019932" elapsed="0.010789"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:59.030768" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:59.030911" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:59.018995" elapsed="0.011941"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.045326" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:59.044866" elapsed="0.000549"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.046226" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:59.045777" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:59.051566" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:59.048697" elapsed="0.005740">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:59.046448" elapsed="0.008114">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.054883" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:59.054669" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:59.046428" elapsed="0.008674">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.055603" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:59.055865" elapsed="0.000165"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:59.055828" elapsed="0.000285"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:59.055808" elapsed="0.000370"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.056324" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:59.056584" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:59.033728" elapsed="0.022971">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:59.056770" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:59.031155" elapsed="0.025713">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.057035" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:59.006361" elapsed="0.050827">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.576223" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:59.572981" elapsed="0.003328"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.577856" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:59.577223" elapsed="0.000682"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:16:59.576773" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.579207" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:59.578585" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:16:59.578122" elapsed="0.001186"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:16:59.576486" elapsed="0.002902"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.580137" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:59.579471" elapsed="0.000818"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.582068" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:16:59.581069" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:16:59.580355" elapsed="0.001888"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.582804" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:59.582308" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:16:59.579448" elapsed="0.003566"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:59.583058" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:16:59.583242" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:16:59.572068" elapsed="0.011200"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:16:59.583315" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:16:59.583456" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:16:59.571068" elapsed="0.012414"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.599449" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:59.598939" elapsed="0.000605"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:16:59.600231" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:16:59.599784" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:16:59.605891" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:16:59.602773" elapsed="0.006037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:16:59.600450" elapsed="0.008490">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.609234" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:16:59.609022" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:16:59.600430" elapsed="0.009091">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.610099" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:59.610354" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:16:59.610317" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:16:59.610298" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.610668" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:16:59.610908" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:16:59.587371" elapsed="0.023651">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:16:59.611093" elapsed="0.000040"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:16:59.583720" elapsed="0.027497">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:16:59.611383" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:16:59.558082" elapsed="0.053411">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.132420" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:00.126954" elapsed="0.005543"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.133969" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:00.133352" elapsed="0.000666"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:00.132914" elapsed="0.001152"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.135287" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:00.134678" elapsed="0.000659"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:00.134228" elapsed="0.001157"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:00.132667" elapsed="0.002795"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.136152" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:00.135529" elapsed="0.000768"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.137931" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:00.136965" elapsed="0.001060"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:00.136359" elapsed="0.001741"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.138634" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:00.138164" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:00.135511" elapsed="0.003326"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:00.138874" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:00.139039" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:00.126091" elapsed="0.012975"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:00.139145" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:00.139289" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:00.125175" elapsed="0.014139"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.153733" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:00.153263" elapsed="0.000556"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.154477" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:00.154033" elapsed="0.000528"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:00.159887" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:00.157096" elapsed="0.005537">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:00.154714" elapsed="0.008044">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.163082" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:00.162840" elapsed="0.000394"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:00.154693" elapsed="0.008603">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.163841" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:00.164098" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:00.164061" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:00.164042" elapsed="0.000206"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.164389" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:00.164643" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:00.142058" elapsed="0.022697">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:00.164826" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:00.139530" elapsed="0.025394">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.165089" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:00.112071" elapsed="0.053128">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.683707" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:00.680483" elapsed="0.003303"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.685401" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:00.684659" elapsed="0.000793"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:00.684187" elapsed="0.001315"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.686755" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:00.686131" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:00.685686" elapsed="0.001168"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:00.683941" elapsed="0.003008"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.687641" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:00.687018" elapsed="0.000774"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.689455" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:00.688453" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:00.687856" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.690180" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:00.689711" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:00.687000" elapsed="0.003387"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:00.690425" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:00.690633" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:00.679553" elapsed="0.011109"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:00.690710" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:00.690853" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:00.678640" elapsed="0.012239"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.705351" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:00.704894" elapsed="0.000546"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:00.706135" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:00.705678" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:00.711456" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:00.708782" elapsed="0.005419">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:00.706359" elapsed="0.007966">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.714711" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:00.714409" elapsed="0.000456"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:00.706339" elapsed="0.008612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.715425" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:00.715737" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:00.715698" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:00.715678" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.716033" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:00.716276" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:00.693615" elapsed="0.022773">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:00.716462" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:00.691111" elapsed="0.025452">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:00.716745" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:00.665833" elapsed="0.051024">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.236529" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:01.233370" elapsed="0.003258"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.238156" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:01.237531" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:01.237081" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.239487" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:01.238888" elapsed="0.000649"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:01.238421" elapsed="0.001195"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:01.236812" elapsed="0.002884"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.240405" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:01.239778" elapsed="0.000774"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.242204" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:01.241230" elapsed="0.001068"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:01.240634" elapsed="0.001738"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.242941" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:01.242437" elapsed="0.000650"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:01.239755" elapsed="0.003393"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:01.243191" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:17:01.243359" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:01.232415" elapsed="0.010970"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:01.243430" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:01.243618" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:01.231394" elapsed="0.012252"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.258141" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:01.257677" elapsed="0.000553"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.259049" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:01.258448" elapsed="0.000686"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:01.264839" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:01.261498" elapsed="0.006285">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:01.259270" elapsed="0.008640">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.268207" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:01.267995" elapsed="0.000363"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:01.259249" elapsed="0.009171">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.268912" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:01.269168" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:01.269132" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:01.269113" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.269462" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:01.269717" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:01.246434" elapsed="0.023396">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:01.269903" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:01.243866" elapsed="0.026135">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.270168" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:01.217704" elapsed="0.052574">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.788742" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:01.785831" elapsed="0.002994"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.790350" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:01.789735" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:01.789258" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.791822" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:01.791192" elapsed="0.000681"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:01.790737" elapsed="0.001192"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:01.788997" elapsed="0.003012"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.792732" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:01.792083" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.794563" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:01.793583" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:01.792958" elapsed="0.001821"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.795317" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:01.794844" elapsed="0.000619"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:01.792062" elapsed="0.003462"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:01.795565" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:17:01.795809" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:01.784921" elapsed="0.010917"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:01.795891" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:17:01.796041" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:01.783886" elapsed="0.012181"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.810783" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:01.810266" elapsed="0.000606"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:01.811542" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:01.811091" elapsed="0.000665"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:01.817229" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:01.814143" elapsed="0.006018">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:01.811901" elapsed="0.008388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.820602" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:01.820374" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:01.811873" elapsed="0.008946">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.821303" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:01.821562" elapsed="0.000030"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:01.821524" elapsed="0.000149"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:01.821505" elapsed="0.000229"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.821877" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:01.822117" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:01.798854" elapsed="0.023412">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:01.822340" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:01.796288" elapsed="0.026153">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:01.822638" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:01.771105" elapsed="0.051663">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.343631" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:02.340047" elapsed="0.003676"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.345256" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:02.344645" elapsed="0.000661"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:02.344162" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.346633" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:02.346004" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:02.345522" elapsed="0.001210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:02.343902" elapsed="0.002908"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.347525" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:02.346889" elapsed="0.000801"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.349351" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:02.348351" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:02.347754" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.350095" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:02.349630" elapsed="0.000609"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:02.346865" elapsed="0.003434"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:02.350340" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:02.350504" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:02.339079" elapsed="0.011452"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:02.350591" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:17:02.350756" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:02.337959" elapsed="0.012824"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.365405" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:02.364936" elapsed="0.000559"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.366295" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:02.365843" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:02.371968" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:02.368941" elapsed="0.005928">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:02.366518" elapsed="0.008480">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.375300" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:02.375083" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:02.366498" elapsed="0.009018">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.376035" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:02.376297" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:02.376258" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:02.376238" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.376623" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:02.376867" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:02.353547" elapsed="0.023442">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:02.377063" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:02.351011" elapsed="0.026152">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.377329" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:02.324233" elapsed="0.053211">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.897863" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:02.895391" elapsed="0.002557"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.899641" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:02.899002" elapsed="0.000690"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:02.898536" elapsed="0.001206"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.900971" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:02.900345" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:02.899905" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:02.898121" elapsed="0.003027"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.901866" elapsed="0.000132"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:02.901221" elapsed="0.000857"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.903783" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:02.902780" elapsed="0.001098"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:02.902143" elapsed="0.001813"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.904485" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:02.904020" elapsed="0.000682"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:02.901200" elapsed="0.003562"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:02.904804" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:02.904967" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:02.894404" elapsed="0.010589"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:02.905042" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:02.905185" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:02.893367" elapsed="0.011844"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.919852" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:02.919350" elapsed="0.000593"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:02.920735" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:02.920160" elapsed="0.000662"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:02.926420" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:02.923374" elapsed="0.005959">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:02.920960" elapsed="0.008501">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.929786" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:02.929547" elapsed="0.000393"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:02.920939" elapsed="0.009065">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.930510" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:02.930807" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:02.930768" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:02.930748" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.931108" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:02.931348" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:02.907982" elapsed="0.023481">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:02.931611" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:02.905436" elapsed="0.026281">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:02.931884" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:02.878959" elapsed="0.053037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:03.443962" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:03.441523" elapsed="0.002521"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:03.445550" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:03.444936" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:03.444474" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:03.446916" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:03.446272" elapsed="0.000693"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:03.445829" elapsed="0.001185"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:03.444214" elapsed="0.002878"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:03.447819" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:03.447167" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:03.449633" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:03.448646" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:03.448033" elapsed="0.001774"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:03.450338" elapsed="0.000102"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:03.449873" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:03.447146" elapsed="0.003457"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:03.450646" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:03.450810" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:03.440899" elapsed="0.009937"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:03.450882" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:03.451025" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:03.440180" elapsed="0.010871"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:03.465817" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:03.465323" elapsed="0.000585"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:03.466732" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:03.466128" elapsed="0.000692"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:03.472269" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:03.469206" elapsed="0.005966">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:03.466958" elapsed="0.008403">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:03.475692" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:03.475449" elapsed="0.000402"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:03.466937" elapsed="0.008978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:03.476412" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:03.476691" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:03.476652" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:03.476631" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:03.476993" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:03.477235" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:03.454023" elapsed="0.023327">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:03.477424" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:03.451274" elapsed="0.026251">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:03.477707" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:03.432529" elapsed="0.045290">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:03.995870" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:03.992508" elapsed="0.003444"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:03.997482" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:03.996869" elapsed="0.000662"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:03.996386" elapsed="0.001211"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:03.998860" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:03.998218" elapsed="0.000691"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:03.997768" elapsed="0.001190"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:03.996122" elapsed="0.002915"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:03.999765" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:03.999111" elapsed="0.000806"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:04.001638" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:04.000642" elapsed="0.001095"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:03.999984" elapsed="0.001831"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.002379" elapsed="0.000165"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:04.001882" elapsed="0.000758"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:03.999090" elapsed="0.003612"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:04.002750" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:04.002914" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:03.991640" elapsed="0.011301"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:04.002988" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:04.003131" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:03.990665" elapsed="0.012491"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:04.017900" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:04.017415" elapsed="0.000575"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:04.018685" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:04.018207" elapsed="0.000570"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:04.024234" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:04.021296" elapsed="0.005930">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:04.018913" elapsed="0.008441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.027672" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:04.027439" elapsed="0.000393"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:04.018893" elapsed="0.009001">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.028370" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:04.028643" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:04.028605" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:04.028585" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.028940" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:04.029181" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:04.006068" elapsed="0.023226">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:04.029373" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:04.003380" elapsed="0.026091">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.029652" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:03.978707" elapsed="0.051093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:04.548793" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:04.546131" elapsed="0.002748"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:04.550400" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:04.549776" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:04.549314" elapsed="0.001184"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:04.551741" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:04.551126" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:04.550691" elapsed="0.001153"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:04.549049" elapsed="0.002874"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.552649" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:04.552001" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:04.554464" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:04.553465" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:04.552865" elapsed="0.001798"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.555195" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:04.554727" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:04.551980" elapsed="0.003417"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:04.555438" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:04.555615" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:04.545131" elapsed="0.010512"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:04.555690" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:04.555831" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:04.544058" elapsed="0.011798"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:04.570316" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:04.569826" elapsed="0.000578"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:04.571128" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:04.570677" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:04.576916" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:04.573681" elapsed="0.006184">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:04.571347" elapsed="0.008647">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.580289" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:04.580077" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:04.571328" elapsed="0.009255">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.581075" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:04.581331" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:04.581293" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:04.581274" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.581644" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:04.581885" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:04.558679" elapsed="0.023320">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:04.582071" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:04.556079" elapsed="0.026090">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:04.582346" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:04.531284" elapsed="0.051174">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.101480" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:05.099103" elapsed="0.002460"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.103211" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:05.102584" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:05.102108" elapsed="0.001203"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.104565" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:05.103957" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:05.103482" elapsed="0.001202"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:05.101756" elapsed="0.003007"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.105473" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:05.104837" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.107435" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:05.106327" elapsed="0.001204"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:05.105702" elapsed="0.001938"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.108201" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:05.107707" elapsed="0.000639"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:05.104816" elapsed="0.003590"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:05.108446" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:17:05.108631" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:05.098442" elapsed="0.010217"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:05.108773" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:17:05.108921" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:05.097722" elapsed="0.011225"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.123790" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:05.123179" elapsed="0.000700"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.124628" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:05.124126" elapsed="0.000590"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:05.130664" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:05.127214" elapsed="0.006313">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:05.124856" elapsed="0.008814">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.133970" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:05.133755" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:05.124835" elapsed="0.009373">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.134713" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:05.134976" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:05.134939" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:05.134920" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.135273" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:05.135515" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:05.111763" elapsed="0.023914">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:05.135752" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:05.109166" elapsed="0.026686">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.136018" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:05.083259" elapsed="0.052870">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.660642" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:05.657473" elapsed="0.003248"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.662285" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:05.661625" elapsed="0.000711"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:05.661143" elapsed="0.001244"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.663729" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:05.663084" elapsed="0.000706"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:05.662591" elapsed="0.001254"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:05.660878" elapsed="0.003047"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.664644" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:05.663997" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.666534" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:05.665493" elapsed="0.001156"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:05.664869" elapsed="0.001855"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.667272" elapsed="0.000078"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:05.666788" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:05.663977" elapsed="0.003508"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:05.667524" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:05.667695" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:05.655916" elapsed="0.011805"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:05.667766" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:05.667919" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:05.654370" elapsed="0.013575"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.685393" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:05.684802" elapsed="0.000698"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:05.686254" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:05.685756" elapsed="0.000587"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:05.692208" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:05.689007" elapsed="0.006092">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:05.686499" elapsed="0.008727">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.695527" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:05.695312" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:05.686471" elapsed="0.009290">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.696278" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:05.696651" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:05.696559" elapsed="0.000187"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:05.696540" elapsed="0.000268"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.696952" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:05.697193" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:05.672799" elapsed="0.024510">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:05.697382" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:05.668162" elapsed="0.029322">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:05.697668" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:05.636763" elapsed="0.061019">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.210034" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:06.207365" elapsed="0.002749"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.211637" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:06.211009" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:06.210539" elapsed="0.001199"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.212984" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:06.212354" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:06.211909" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:06.210279" elapsed="0.002882"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.213886" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:06.213233" elapsed="0.000804"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.215888" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:06.214833" elapsed="0.001149"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:06.214102" elapsed="0.001955"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.216596" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:06.216120" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:06.213214" elapsed="0.003586"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:06.216840" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:17:06.216999" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:06.206747" elapsed="0.010278"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:06.217071" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:06.217213" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:06.206066" elapsed="0.011172"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.231936" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:06.231454" elapsed="0.000731"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.232873" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:06.232404" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:06.238276" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:06.235384" elapsed="0.005786">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:06.233096" elapsed="0.008200">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.241613" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:06.241381" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:06.233075" elapsed="0.008757">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.242351" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:06.242703" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:06.242662" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:06.242552" elapsed="0.000307"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.243002" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:06.243241" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:06.220147" elapsed="0.023205">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:06.243426" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:06.217457" elapsed="0.026067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.243705" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:06.198349" elapsed="0.045467">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.763026" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:06.759765" elapsed="0.003342"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.764656" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:06.764031" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:06.763527" elapsed="0.001228"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.766058" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:06.765422" elapsed="0.000685"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:06.764978" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:06.763270" elapsed="0.002966"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.766951" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:06.766310" elapsed="0.000791"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.768782" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:06.767795" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:06.767166" elapsed="0.001790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.769487" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:06.769020" elapsed="0.000628"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:06.766289" elapsed="0.003419"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:06.769775" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:06.769938" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:06.758738" elapsed="0.011227"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:06.770013" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:06.770157" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:06.757757" elapsed="0.012426"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.784731" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:06.784251" elapsed="0.000569"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:06.785490" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:06.785038" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:06.791059" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:06.788098" elapsed="0.005792">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:06.785731" elapsed="0.008288">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.794318" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:06.794103" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:06.785710" elapsed="0.008823">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.795108" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:06.795364" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:06.795327" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:06.795308" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.795675" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:06.795919" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:06.772961" elapsed="0.023104">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:06.796140" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:06.770406" elapsed="0.025834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:06.796409" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:06.744520" elapsed="0.052002">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.314598" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:07.311516" elapsed="0.003163"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.316223" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:07.315541" elapsed="0.000738"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:07.315095" elapsed="0.001235"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.317561" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:07.316966" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:07.316508" elapsed="0.001184"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:07.314837" elapsed="0.002932"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.318439" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:07.317838" elapsed="0.000762"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.320258" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:07.319258" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:07.318665" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.320972" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:07.320491" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:07.317820" elapsed="0.003355"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:07.321213" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:07.321368" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:07.310658" elapsed="0.010736"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:07.321441" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:07.321695" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:07.309737" elapsed="0.011987"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.336429" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:07.335967" elapsed="0.000551"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.337205" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:07.336753" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:07.342621" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:07.339876" elapsed="0.005608">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:07.337427" elapsed="0.008209">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.345940" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:07.345725" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:07.337407" elapsed="0.008753">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.346662" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:07.346924" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:07.346886" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:07.346867" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.347223" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:07.347468" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:07.324499" elapsed="0.023129">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:07.347703" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:07.321945" elapsed="0.025858">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.347969" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:07.297146" elapsed="0.050936">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.865703" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:07.863258" elapsed="0.002529"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.867330" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:07.866712" elapsed="0.000669"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:07.866210" elapsed="0.001221"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.868735" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:07.868098" elapsed="0.000688"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:07.867648" elapsed="0.001188"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:07.865950" elapsed="0.002967"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.869652" elapsed="0.000125"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:07.868990" elapsed="0.000867"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.871605" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:07.870562" elapsed="0.001146"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:07.869923" elapsed="0.001865"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.872322" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:07.871853" elapsed="0.000614"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:07.868970" elapsed="0.003558"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:07.872582" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:17:07.872748" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:07.862629" elapsed="0.010150"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:07.872826" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:07.872973" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:07.861878" elapsed="0.011122"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.887778" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:07.887287" elapsed="0.000582"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:07.888558" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:07.888093" elapsed="0.000587"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:07.894299" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:07.891266" elapsed="0.005983">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:07.888822" elapsed="0.008568">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.897736" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:07.897476" elapsed="0.000422"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:07.888801" elapsed="0.009161">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.898458" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:07.898765" elapsed="0.000188"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:07.898727" elapsed="0.000311"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:07.898705" elapsed="0.000394"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.899247" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:07.899515" elapsed="0.000021"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:07.875859" elapsed="0.023839">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:07.899817" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:07.873223" elapsed="0.026702">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:07.900095" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:07.848787" elapsed="0.051424">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.418116" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:08.414913" elapsed="0.003280"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.419705" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:08.419074" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:08.418625" elapsed="0.001179"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.421025" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:08.420411" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:08.419969" elapsed="0.001154"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:08.418356" elapsed="0.002846"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:08.421903" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:08.421271" elapsed="0.000780"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.423810" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:08.422721" elapsed="0.001182"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:08.422114" elapsed="0.001866"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:08.424506" elapsed="0.000083"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:08.424044" elapsed="0.000622"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:08.421252" elapsed="0.003473"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:08.424763" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:08.424917" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:08.414049" elapsed="0.010894"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:08.424989" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:08.425130" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:08.413120" elapsed="0.012036"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.440092" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:08.439590" elapsed="0.000596"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.440888" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:08.440409" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:08.446351" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:08.443512" elapsed="0.005634">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:08.441113" elapsed="0.008204">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:08.449731" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:08.449421" elapsed="0.000467"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:08.441093" elapsed="0.008860">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:08.450437" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:08.450714" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:08.450677" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:08.450657" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:08.451015" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:08.451262" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:08.427951" elapsed="0.023422">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:08.451446" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:08.425371" elapsed="0.026173">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:08.451726" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:08.400856" elapsed="0.050981">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.970246" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:08.966808" elapsed="0.003518"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.971843" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:08.971213" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:08.970767" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.973158" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:08.972547" elapsed="0.000660"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:08.972108" elapsed="0.001147"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:08.970490" elapsed="0.002862"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:08.974059" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:08.973425" elapsed="0.000781"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.975878" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:08.974886" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:08.974270" elapsed="0.001780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:08.976598" elapsed="0.000121"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:08.976116" elapsed="0.000687"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:08.973405" elapsed="0.003460"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:08.976905" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:17:08.977064" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:08.965927" elapsed="0.011164"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:08.977138" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:08.977280" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:08.964970" elapsed="0.012350"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.991921" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:08.991321" elapsed="0.000690"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:08.992695" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:08.992228" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:08.998132" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:08.995174" elapsed="0.005843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:08.992918" elapsed="0.008225">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.001470" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:09.001227" elapsed="0.000414"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:08.992897" elapsed="0.008808">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.002178" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:09.002435" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:09.002398" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:09.002379" elapsed="0.000224"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.002754" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:09.002998" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:08.980112" elapsed="0.022997">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:09.003181" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:08.977541" elapsed="0.025737">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.003446" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:08.952536" elapsed="0.051145">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:09.522614" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:09.519366" elapsed="0.003329"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:09.524202" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:09.523600" elapsed="0.000653"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:09.523130" elapsed="0.001172"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:09.525539" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:09.524919" elapsed="0.000684"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:09.524465" elapsed="0.001189"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:09.522872" elapsed="0.002879"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.526460" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:09.525828" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:09.528294" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:09.527296" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:09.526690" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.529010" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:09.528532" elapsed="0.000624"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:09.525805" elapsed="0.003423"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:09.529269" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:17:09.529428" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:09.518479" elapsed="0.010975"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:09.529502" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:09.529659" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:09.517506" elapsed="0.012180"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:09.550266" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:09.549343" elapsed="0.001033"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:09.551166" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:09.550702" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:09.556854" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:09.553821" elapsed="0.006004">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:09.551415" elapsed="0.008541">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.560261" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:09.560043" elapsed="0.000376"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:09.551385" elapsed="0.009181">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.561140" elapsed="0.000041"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:09.561426" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:09.561383" elapsed="0.000141"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:09.561362" elapsed="0.000239"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.561751" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:09.561995" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:09.532528" elapsed="0.029587">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:09.562189" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:09.529906" elapsed="0.032383">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:09.562458" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:09.504681" elapsed="0.057923">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.081879" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:10.078544" elapsed="0.003444"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.083500" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:10.082893" elapsed="0.000656"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:10.082423" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.084852" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:10.084239" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:10.083781" elapsed="0.001168"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:10.082157" elapsed="0.002869"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.085757" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:10.085116" elapsed="0.000787"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.087583" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:10.086614" elapsed="0.001068"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:10.085969" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.088282" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:10.087821" elapsed="0.000602"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:10.085094" elapsed="0.003389"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:10.088524" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:10.088703" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:10.077672" elapsed="0.011059"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:10.088833" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:10.088978" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:10.076689" elapsed="0.012314"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.103442" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:10.102982" elapsed="0.000548"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.104209" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:10.103763" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:10.109850" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:10.106954" elapsed="0.005775">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:10.104429" elapsed="0.008428">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.113183" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:10.112940" elapsed="0.000396"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:10.104409" elapsed="0.008989">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.113899" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:10.114153" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:10.114117" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:10.114098" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.114448" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:10.114738" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:10.091775" elapsed="0.023078">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:10.114925" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:10.089237" elapsed="0.025783">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.115184" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:10.063359" elapsed="0.051934">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.634323" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:10.631114" elapsed="0.003293"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.635950" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:10.635317" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:10.634868" elapsed="0.001186"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.637289" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:10.636679" elapsed="0.000658"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:10.636219" elapsed="0.001167"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:10.634597" elapsed="0.002871"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.638196" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:10.637551" elapsed="0.000905"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.640148" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:10.639156" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:10.638532" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.640876" elapsed="0.000098"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:10.640386" elapsed="0.000668"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:10.637528" elapsed="0.003587"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:10.641159" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:17:10.641331" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:10.629947" elapsed="0.011411"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:10.641405" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:10.641598" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:10.628971" elapsed="0.012654"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.656772" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:10.656294" elapsed="0.000567"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:10.657535" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:10.657090" elapsed="0.000546"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:10.663014" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:10.660035" elapsed="0.005896">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:10.657772" elapsed="0.008286">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.666353" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:10.666141" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:10.657752" elapsed="0.008815">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.667060" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:10.667353" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:10.667316" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:10.667296" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.667680" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:10.667921" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:10.644676" elapsed="0.023361">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:10.668110" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:10.641849" elapsed="0.026360">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:10.668374" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:10.616159" elapsed="0.052324">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.188490" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:11.186128" elapsed="0.002457"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.190104" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:11.189484" elapsed="0.000669"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:11.189038" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.191431" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:11.190831" elapsed="0.000649"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:11.190367" elapsed="0.001160"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:11.188758" elapsed="0.002866"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.192332" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:11.191706" elapsed="0.000771"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.194144" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:11.193166" elapsed="0.001070"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:11.192540" elapsed="0.001769"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.194877" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:11.194373" elapsed="0.000650"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:11.191683" elapsed="0.003399"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:11.195124" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:17:11.195291" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:11.185260" elapsed="0.010057"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:11.195363" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:11.195503" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:11.184262" elapsed="0.011266"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.209976" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:11.209500" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.210874" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:11.210283" elapsed="0.000676"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:11.216451" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:11.213324" elapsed="0.006039">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:11.211092" elapsed="0.008399">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.219806" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:11.219591" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:11.211072" elapsed="0.008948">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.220492" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:11.220763" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:11.220727" elapsed="0.000142"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:11.220707" elapsed="0.000223"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.221073" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:11.221312" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:11.198333" elapsed="0.023091">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:11.221496" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:11.195764" elapsed="0.025843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.221773" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:11.169255" elapsed="0.052627">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.740295" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:11.737879" elapsed="0.002500"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.741984" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:11.741344" elapsed="0.000692"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:11.740883" elapsed="0.001206"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.743435" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:11.742824" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:11.742340" elapsed="0.001206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:11.740559" elapsed="0.003094"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.744380" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:11.743738" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.746278" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:11.745263" elapsed="0.001113"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:11.744620" elapsed="0.001834"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.747022" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:11.746522" elapsed="0.000653"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:11.743715" elapsed="0.003522"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:11.747280" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:17:11.747602" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:11.737212" elapsed="0.010424"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:11.747697" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:17:11.747847" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:11.736479" elapsed="0.011394"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.762965" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:11.762323" elapsed="0.000733"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:11.763753" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:11.763278" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:11.769357" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:11.766277" elapsed="0.006046">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:11.763998" elapsed="0.008457">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.772796" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:11.772540" elapsed="0.000413"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:11.763977" elapsed="0.009047">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.773521" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:11.773802" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:11.773764" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:11.773744" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.774112" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:11.774362" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:11.750753" elapsed="0.023759">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:11.774639" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:11.748097" elapsed="0.026645">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:11.774912" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:11.722694" elapsed="0.052331">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.293408" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:12.290191" elapsed="0.003295"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.294984" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:12.294362" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:12.293919" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.296290" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:12.295698" elapsed="0.000641"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:12.295244" elapsed="0.001143"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:12.293663" elapsed="0.002801"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.297176" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:12.296536" elapsed="0.000784"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.298965" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:12.297986" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:12.297382" elapsed="0.001750"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.299667" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:12.299194" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:12.296516" elapsed="0.003353"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:12.299907" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:17:12.300063" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:12.289313" elapsed="0.010777"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:12.300136" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:12.300278" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:12.288344" elapsed="0.011959"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.314835" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:12.314238" elapsed="0.000684"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.315599" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:12.315138" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:12.321266" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:12.318124" elapsed="0.006015">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:12.315821" elapsed="0.008446">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.324604" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:12.324350" elapsed="0.000410"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:12.315800" elapsed="0.009022">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.325309" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:12.325566" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:12.325529" elapsed="0.000145"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:12.325510" elapsed="0.000226"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.325878" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:12.326123" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:12.303111" elapsed="0.023126">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:12.326309" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:12.300520" elapsed="0.025886">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.326624" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:12.275675" elapsed="0.051063">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.845235" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:12.842008" elapsed="0.003305"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.846815" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:12.846187" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:12.845740" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.848125" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:12.847514" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:12.847076" elapsed="0.001149"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:12.845469" elapsed="0.002835"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.849017" elapsed="0.000125"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:12.848376" elapsed="0.000846"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.850937" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:12.849933" elapsed="0.001100"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:12.849287" elapsed="0.001825"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.851668" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:12.851177" elapsed="0.000641"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:12.848357" elapsed="0.003523"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:12.851920" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:17:12.852080" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:12.841133" elapsed="0.010974"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:12.852155" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:12.852298" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:12.840190" elapsed="0.012134"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.867432" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:12.866964" elapsed="0.000557"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:12.868219" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:12.867758" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:12.873827" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:12.870857" elapsed="0.005903">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:12.868455" elapsed="0.008434">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.877190" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:12.876975" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:12.868434" elapsed="0.008975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.877908" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:12.878166" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:12.878129" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:12.878110" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.878465" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:12.878756" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:12.855273" elapsed="0.023598">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:12.878980" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:12.852590" elapsed="0.026492">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:12.879247" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:12.827363" elapsed="0.052000">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.397738" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:13.394697" elapsed="0.003119"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.399301" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:13.398698" elapsed="0.000652"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:13.398234" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.400638" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:13.400015" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:13.399560" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:13.397977" elapsed="0.002837"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.401502" elapsed="0.000083"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:13.400888" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.403318" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:13.402328" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:13.401728" elapsed="0.001756"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.404025" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:13.403548" elapsed="0.000619"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:13.400867" elapsed="0.003359"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:13.404264" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:17:13.404434" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:13.393827" elapsed="0.010634"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:13.404508" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:13.404664" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:13.392874" elapsed="0.011815"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.419201" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:13.418743" elapsed="0.000546"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.419969" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:13.419506" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:13.425484" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:13.422455" elapsed="0.005891">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:13.420190" elapsed="0.008331">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.428839" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:13.428623" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:13.420168" elapsed="0.008885">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.429533" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:13.429803" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:13.429766" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:13.429746" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.430101" elapsed="0.000029"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:13.430348" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:13.407465" elapsed="0.022996">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:13.430534" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:13.404908" elapsed="0.025778">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.430854" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:13.380007" elapsed="0.050958">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.949558" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:13.946431" elapsed="0.003219"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.951281" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:13.950675" elapsed="0.000654"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:13.950062" elapsed="0.001317"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.952612" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:13.951990" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:13.951539" elapsed="0.001171"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:13.949810" elapsed="0.002976"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.953463" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:13.952858" elapsed="0.000767"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.955266" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:13.954282" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:13.953694" elapsed="0.001739"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.955973" elapsed="0.000113"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:13.955497" elapsed="0.000666"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:13.952838" elapsed="0.003399"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:13.956276" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:17:13.956431" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:13.945555" elapsed="0.010902"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:13.956504" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:13.956660" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:13.944647" elapsed="0.012039"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.971695" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:13.971215" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:13.972484" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:13.972002" elapsed="0.000583"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:13.978166" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:13.975132" elapsed="0.005883">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:13.972726" elapsed="0.008421">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.981448" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:13.981234" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:13.972705" elapsed="0.008976">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.982160" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:13.982415" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:13.982377" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:13.982358" elapsed="0.000264"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.982769" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:13.983010" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:13.959441" elapsed="0.023681">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:13.983192" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:13.956907" elapsed="0.026388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:13.983461" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:13.931638" elapsed="0.051987">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:14.501938" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:14.498937" elapsed="0.003082"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:14.503523" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:14.502922" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:14.502438" elapsed="0.001212"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:14.504872" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:14.504261" elapsed="0.000660"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:14.503812" elapsed="0.001157"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:14.502181" elapsed="0.002865"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:14.505753" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:14.505121" elapsed="0.000778"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:14.507534" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:14.506558" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:14.505962" elapsed="0.001766"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:14.508261" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:14.507792" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:14.505100" elapsed="0.003363"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:14.508502" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:14.508680" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:14.498054" elapsed="0.010652"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:14.508754" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:14.508894" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:14.497111" elapsed="0.011808"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:14.523368" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:14.522902" elapsed="0.000554"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:14.524300" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:14.523816" elapsed="0.000569"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:14.530005" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:14.526941" elapsed="0.005954">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:14.524520" elapsed="0.008504">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:14.533322" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:14.533108" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:14.524500" elapsed="0.009104">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:14.534098" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:14.534353" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:14.534317" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:14.534297" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:14.534662" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:14.534903" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:14.511710" elapsed="0.023306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:14.535088" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:14.509138" elapsed="0.026046">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:14.535347" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:14.484953" elapsed="0.050505">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.051855" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:15.049490" elapsed="0.002457"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.053427" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:15.052822" elapsed="0.000654"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:15.052363" elapsed="0.001161"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.054762" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:15.054143" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:15.053705" elapsed="0.001154"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:15.052108" elapsed="0.002828"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.055639" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:15.055010" elapsed="0.000774"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.057440" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:15.056469" elapsed="0.001064"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:15.055847" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.058159" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:15.057691" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:15.054990" elapsed="0.003372"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:15.058403" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:17:15.058563" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:15.048866" elapsed="0.009750"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:15.058717" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:15.058863" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:15.048171" elapsed="0.010718"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.073689" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:15.073203" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.074452" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:15.073998" elapsed="0.000541"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:15.080695" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:15.077356" elapsed="0.006175">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:15.074816" elapsed="0.008860">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.083992" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:15.083761" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:15.074795" elapsed="0.009418">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.084733" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:15.084993" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:15.084956" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:15.084937" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.085290" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:15.085534" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:15.061839" elapsed="0.023822">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:15.085734" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:15.059106" elapsed="0.026725">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.085998" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:15.036146" elapsed="0.049962">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.605542" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:15.602343" elapsed="0.003300"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.607198" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:15.606566" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:15.606108" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.608628" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:15.607975" elapsed="0.000703"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:15.607464" elapsed="0.001262"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:15.605848" elapsed="0.002959"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.609548" elapsed="0.000088"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:15.608882" elapsed="0.000833"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.611465" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:15.610383" elapsed="0.001179"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:15.609782" elapsed="0.001872"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.612228" elapsed="0.000081"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:15.611719" elapsed="0.000666"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:15.608861" elapsed="0.003586"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:15.612487" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:15.612667" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:15.601109" elapsed="0.011585"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:15.612741" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:15.612885" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:15.600090" elapsed="0.012823"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.627597" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:15.627119" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:15.628362" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:15.627919" elapsed="0.000527"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:15.633827" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:15.630865" elapsed="0.005920">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:15.628595" elapsed="0.008317">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.637210" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:15.636997" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:15.628560" elapsed="0.008866">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.637924" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:15.638231" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:15.638193" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:15.638173" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.638530" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:15.638847" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:15.615810" elapsed="0.023150">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:15.639033" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:15.613189" elapsed="0.025943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:15.639299" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:15.586936" elapsed="0.052476">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.159232" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:16.155974" elapsed="0.003370"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.161148" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:16.160512" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:16.159991" elapsed="0.001256"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.162473" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:16.161870" elapsed="0.000652"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:16.161413" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:16.159595" elapsed="0.003073"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.163371" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:16.162741" elapsed="0.000779"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.165204" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:16.164214" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:16.163598" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.165920" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:16.165441" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:16.162721" elapsed="0.003407"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:16.166169" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:17:16.166364" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:16.155062" elapsed="0.011329"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:16.166438" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:16.166595" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:16.154090" elapsed="0.012532"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.181601" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:16.181119" elapsed="0.000573"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.182365" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:16.181910" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:16.187933" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:16.184980" elapsed="0.005794">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:16.182755" elapsed="0.008147">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.191203" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:16.190988" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:16.182732" elapsed="0.008695">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.191966" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:16.192227" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:16.192191" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:16.192172" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.192525" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:16.192792" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:16.169491" elapsed="0.023413">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:16.192976" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:16.166843" elapsed="0.026231">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.193239" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:16.140224" elapsed="0.053125">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.712775" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:16.709549" elapsed="0.003307"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.714357" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:16.713749" elapsed="0.000658"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:16.713281" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.715772" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:16.715143" elapsed="0.000678"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:16.714696" elapsed="0.001175"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:16.713024" elapsed="0.002927"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.716674" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:16.716025" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.718477" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:16.717483" elapsed="0.001105"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:16.716887" elapsed="0.001780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.719194" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:16.718731" elapsed="0.000606"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:16.716004" elapsed="0.003394"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:16.719439" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:17:16.719625" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:16.708635" elapsed="0.011017"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:16.719699" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:16.719843" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:16.707610" elapsed="0.012259"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.734367" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:16.733905" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:16.735135" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:16.734687" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:16.742443" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:16.739370" elapsed="0.006000">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:16.735357" elapsed="0.010141">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.745812" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:16.745599" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:16.735337" elapsed="0.010692">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.746510" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:16.746784" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:16.746747" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:16.746728" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.747081" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:16.747321" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:16.722657" elapsed="0.024810">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:16.747554" elapsed="0.000038"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:16.720090" elapsed="0.027588">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:16.747843" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:16.694120" elapsed="0.053834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.267516" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:17.264153" elapsed="0.003498"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.269313" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:17.268701" elapsed="0.000662"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:17.268234" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.270690" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:17.270046" elapsed="0.000694"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:17.269602" elapsed="0.001188"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:17.267881" elapsed="0.002988"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.271622" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:17.270945" elapsed="0.000828"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.273424" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:17.272443" elapsed="0.001079"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:17.271839" elapsed="0.001774"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.274150" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:17.273685" elapsed="0.000610"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:17.270923" elapsed="0.003432"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:17.274396" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:17.274558" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:17.263237" elapsed="0.011363"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:17.274648" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:17.274791" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:17.262260" elapsed="0.012558"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.289981" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:17.289496" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.290879" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:17.290288" elapsed="0.000679"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:17.296514" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:17.293439" elapsed="0.006012">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:17.291103" elapsed="0.008491">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.299893" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:17.299680" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:17.291083" elapsed="0.009025">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.300619" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:17.300879" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:17.300841" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:17.300822" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.301182" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:17.301422" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:17.277874" elapsed="0.023663">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:17.301625" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:17.275043" elapsed="0.026683">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.301894" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:17.248962" elapsed="0.053045">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.820691" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:17.817251" elapsed="0.003523"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.822289" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:17.821675" elapsed="0.000663"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:17.821202" elapsed="0.001186"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.823638" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:17.823011" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:17.822555" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:17.820941" elapsed="0.002877"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.824531" elapsed="0.000144"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:17.823892" elapsed="0.000862"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.826419" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:17.825419" elapsed="0.001100"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:17.824821" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.827145" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:17.826676" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:17.823871" elapsed="0.003495"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:17.827407" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:17.827582" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:17.816349" elapsed="0.011261"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:17.827658" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:17.827802" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:17.815393" elapsed="0.012435"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.842632" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:17.842146" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:17.843417" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:17.842941" elapsed="0.000563"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:17.849036" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:17.845888" elapsed="0.006056">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:17.843656" elapsed="0.008415">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.852369" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:17.852156" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:17.843635" elapsed="0.008968">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.853093" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:17.853350" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:17.853313" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:17.853293" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.853664" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:17.853907" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:17.830622" elapsed="0.023399">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:17.854129" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:17.828050" elapsed="0.026183">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:17.854401" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:17.802915" elapsed="0.051599">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.373069" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:18.370015" elapsed="0.003135"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.374681" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:18.374046" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:18.373598" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.376056" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:18.375419" elapsed="0.000689"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:18.374946" elapsed="0.001213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:18.373317" elapsed="0.002925"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.376996" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:18.376324" elapsed="0.000824"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.378850" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:18.377841" elapsed="0.001106"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:18.377214" elapsed="0.001811"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.379589" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:18.379091" elapsed="0.000648"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:18.376296" elapsed="0.003504"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:18.379841" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:18.380005" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:18.369116" elapsed="0.010917"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:18.380080" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:18.380225" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:18.368102" elapsed="0.012150"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.395318" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:18.394804" elapsed="0.000606"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.396122" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:18.395660" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:18.401824" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:18.398728" elapsed="0.006025">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:18.396359" elapsed="0.008581">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.405273" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:18.405029" elapsed="0.000406"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:18.396337" elapsed="0.009162">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.406079" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:18.406343" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:18.406305" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:18.406285" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.406665" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:18.406913" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:18.383088" elapsed="0.023940">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:18.407117" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:18.380488" elapsed="0.026733">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.407396" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:18.355390" elapsed="0.052120">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.926823" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:18.923552" elapsed="0.003380"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.928582" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:18.927956" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:18.927485" elapsed="0.001197"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.929999" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:18.929290" elapsed="0.000778"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:18.928846" elapsed="0.001298"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:18.927191" elapsed="0.003037"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.930988" elapsed="0.000078"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:18.930306" elapsed="0.000835"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.932805" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:18.931826" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:18.931205" elapsed="0.001772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.933503" elapsed="0.000143"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:18.933041" elapsed="0.000683"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:18.930283" elapsed="0.003502"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:18.933826" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:18.933989" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:18.922676" elapsed="0.011340"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:18.934063" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:18.934207" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:18.921712" elapsed="0.012520"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.948788" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:18.948308" elapsed="0.000571"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:18.949551" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:18.949096" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:18.955193" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:18.952154" elapsed="0.005865">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:18.949790" elapsed="0.008357">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.958449" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:18.958231" elapsed="0.000445"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:18.949770" elapsed="0.008971">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.959231" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:18.959487" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:18.959450" elapsed="0.000144"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:18.959431" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.959802" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:18.960043" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:18.937029" elapsed="0.023126">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:18.960227" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:18.934458" elapsed="0.025867">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:18.960491" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:18.908187" elapsed="0.052469">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:19.479818" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:19.476688" elapsed="0.003211"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:19.481406" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:19.480795" elapsed="0.000661"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:19.480328" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:19.482760" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:19.482134" elapsed="0.000676"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:19.481689" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:19.480069" elapsed="0.002882"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:19.483675" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:19.483026" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:19.485476" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:19.484483" elapsed="0.001101"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:19.483888" elapsed="0.001775"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:19.486192" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:19.485727" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:19.483005" elapsed="0.003392"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:19.486436" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:19.486611" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:19.475803" elapsed="0.010836"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:19.486687" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:19.486830" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:19.474810" elapsed="0.012058"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:19.501757" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:19.501092" elapsed="0.000756"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:19.502526" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:19.502070" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:19.508393" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:19.505299" elapsed="0.006010">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:19.502770" elapsed="0.008667">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:19.511755" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:19.511522" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:19.502749" elapsed="0.009277">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:19.512519" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:19.512797" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:19.512760" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:19.512740" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:19.513098" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:19.513347" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:19.489636" elapsed="0.023824">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:19.513533" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:19.487092" elapsed="0.026555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:19.513815" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:19.462086" elapsed="0.051841">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.029487" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:20.027083" elapsed="0.002501"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.031143" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:20.030481" elapsed="0.000712"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:20.030017" elapsed="0.001226"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.032495" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:20.031885" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:20.031409" elapsed="0.001204"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:20.029757" elapsed="0.002939"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.033471" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:20.032770" elapsed="0.000871"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.035325" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:20.034319" elapsed="0.001103"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:20.033706" elapsed="0.001793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.036061" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:20.035565" elapsed="0.000643"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:20.032749" elapsed="0.003520"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:20.036311" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:17:20.036473" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:20.026119" elapsed="0.010382"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:20.036622" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:17:20.036772" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:20.025147" elapsed="0.011651"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.052270" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:20.051801" elapsed="0.000559"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.053051" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:20.052594" elapsed="0.000542"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:20.058685" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:20.055708" elapsed="0.005990">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:20.053276" elapsed="0.008552">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.062129" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:20.061912" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:20.053255" elapsed="0.009136">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.063454" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:20.063733" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:20.063694" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:20.063674" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.064029" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:20.064270" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:20.040034" elapsed="0.024349">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:20.064455" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:20.037019" elapsed="0.027533">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.064734" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:20.014521" elapsed="0.050324">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.583702" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:20.580237" elapsed="0.003548"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.585297" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:20.584689" elapsed="0.000658"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:20.584216" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.586655" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:20.586028" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:20.585582" elapsed="0.001173"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:20.583952" elapsed="0.002883"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.587546" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:20.586910" elapsed="0.000801"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.589380" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:20.588379" elapsed="0.001098"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:20.587777" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.590098" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:20.589633" elapsed="0.000610"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:20.586889" elapsed="0.003414"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:20.590342" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:20.590504" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:20.579211" elapsed="0.011320"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:20.590602" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:20.590748" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:20.578237" elapsed="0.012537"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.605367" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:20.604891" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:20.606154" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:20.605698" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:20.611940" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:20.608811" elapsed="0.006110">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:20.606382" elapsed="0.008667">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.615349" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:20.615133" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:20.606361" elapsed="0.009203">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.616069" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:20.616410" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:20.616371" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:20.616350" elapsed="0.000233"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.616748" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:20.616995" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:20.593536" elapsed="0.023573">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:20.617186" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:20.590995" elapsed="0.026289">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:20.617451" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:20.565654" elapsed="0.051909">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.136332" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:21.133253" elapsed="0.003163"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.138071" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:21.137358" elapsed="0.000764"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:21.136870" elapsed="0.001303"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.139446" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:21.138829" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:21.138347" elapsed="0.001242"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:21.136603" elapsed="0.003095"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.140425" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:21.139782" elapsed="0.000810"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.142322" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:21.141301" elapsed="0.001130"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:21.140661" elapsed="0.001853"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.143081" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:21.142601" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:21.139759" elapsed="0.003532"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:21.143332" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:21.143497" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:21.132297" elapsed="0.011226"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:21.143592" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:21.143746" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:21.131279" elapsed="0.012494"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.158636" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:21.158113" elapsed="0.000616"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.159429" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:21.158963" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:21.165048" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:21.162102" elapsed="0.005898">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:21.159676" elapsed="0.008454">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.168433" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:21.168217" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:21.159654" elapsed="0.009021">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.169172" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:21.169435" elapsed="0.000226"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:21.169396" elapsed="0.000351"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:21.169376" elapsed="0.000435"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.169960" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:21.170205" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:21.146700" elapsed="0.023624">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:21.170400" elapsed="0.000031"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:21.144011" elapsed="0.026508">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.170706" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:21.118360" elapsed="0.052475">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.689350" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:21.686977" elapsed="0.002454"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.690959" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:21.690333" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:21.689875" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.692356" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:21.691764" elapsed="0.000640"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:21.691290" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:21.689615" elapsed="0.002917"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.693254" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:21.692625" elapsed="0.000779"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.695098" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:21.694085" elapsed="0.001111"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:21.693469" elapsed="0.001804"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.695835" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:21.695339" elapsed="0.000642"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:21.692603" elapsed="0.003438"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:21.696082" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:21.696245" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:21.686318" elapsed="0.009953"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:21.696319" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:21.696461" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:21.685616" elapsed="0.010870"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.711012" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:21.710535" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:21.711951" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:21.711318" elapsed="0.000720"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:21.717518" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:21.714439" elapsed="0.005982">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:21.712175" elapsed="0.008377">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.720868" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:21.720653" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:21.712155" elapsed="0.008931">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.721592" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:21.721852" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:21.721814" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:21.721795" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.722150" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:21.722409" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:21.699223" elapsed="0.023388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:21.722687" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:21.696723" elapsed="0.026206">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:21.723098" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:21.671608" elapsed="0.051604">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.241872" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:22.237257" elapsed="0.004697"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.243472" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:22.242859" elapsed="0.000661"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:22.242396" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.244819" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:22.244198" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:22.243756" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:22.242123" elapsed="0.002873"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.245727" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:22.245070" elapsed="0.000804"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.247536" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:22.246544" elapsed="0.001101"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:22.245937" elapsed="0.001786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.248252" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:22.247787" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:22.245049" elapsed="0.003406"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:22.248496" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:17:22.248672" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:22.236363" elapsed="0.012336"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:22.248746" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:22.248886" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:22.235403" elapsed="0.013510"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.263603" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:22.263112" elapsed="0.000584"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.264364" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:22.263913" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:22.269823" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:22.266945" elapsed="0.005847">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:22.264601" elapsed="0.008318">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.273217" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:22.273004" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:22.264565" elapsed="0.008868">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.273939" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:22.274210" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:22.274172" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:22.274152" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.274509" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:22.274824" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:22.251673" elapsed="0.023267">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:22.275013" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:22.249131" elapsed="0.025981">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.275278" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:22.224048" elapsed="0.051343">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.794545" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:22.791280" elapsed="0.003363"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.796150" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:22.795517" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:22.795068" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.797490" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:22.796883" elapsed="0.000658"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:22.796419" elapsed="0.001187"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:22.794811" elapsed="0.002876"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.798404" elapsed="0.000128"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:22.797762" elapsed="0.000868"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.800289" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:22.799295" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:22.798695" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.801006" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:22.800527" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:22.797740" elapsed="0.003471"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:22.801252" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:17:22.801411" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:22.790393" elapsed="0.011045"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:22.801486" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:17:22.801642" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:22.789406" elapsed="0.012262"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.816328" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:22.815862" elapsed="0.000561"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:22.817107" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:22.816656" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:22.822801" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:22.819851" elapsed="0.005889">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:22.817328" elapsed="0.008540">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.826218" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:22.825954" elapsed="0.000423"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:22.817308" elapsed="0.009142">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.826981" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:22.827249" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:22.827209" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:22.827189" elapsed="0.000220"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.827555" elapsed="0.000072"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:22.827865" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:22.804495" elapsed="0.023489">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:22.828092" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:22.801891" elapsed="0.026307">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:22.828368" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:22.776209" elapsed="0.052275">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.349263" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:23.345913" elapsed="0.003462"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.351293" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:23.350660" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:23.350043" elapsed="0.001351"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.352689" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:23.352039" elapsed="0.000701"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:23.351582" elapsed="0.001208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:23.349630" elapsed="0.003244"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.353628" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:23.352957" elapsed="0.000821"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.355492" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:23.354477" elapsed="0.001127"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:23.353843" elapsed="0.001843"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.356232" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:23.355752" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:23.352929" elapsed="0.003521"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:23.356492" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:17:23.356682" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:23.344960" elapsed="0.011749"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:23.356757" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:23.356903" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:23.343934" elapsed="0.012994"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.371818" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:23.371312" elapsed="0.000597"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.372867" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:23.372131" elapsed="0.000840"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:23.378454" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:23.375582" elapsed="0.005759">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:23.373124" elapsed="0.008417">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.381930" elapsed="0.000080"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:23.381651" elapsed="0.000445"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:23.373102" elapsed="0.009058">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.382711" elapsed="0.000031"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:23.382988" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:23.382947" elapsed="0.000138"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:23.382927" elapsed="0.000221"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.383296" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:23.383563" elapsed="0.000063"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:23.359787" elapsed="0.023944">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:23.383806" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:23.357148" elapsed="0.026762">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.384084" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:23.329263" elapsed="0.054937">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.902927" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:23.899802" elapsed="0.003211"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.904499" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:23.903894" elapsed="0.000654"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:23.903432" elapsed="0.001193"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.905856" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:23.905228" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:23.904791" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:23.903176" elapsed="0.002857"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.906749" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:23.906106" elapsed="0.000792"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.908543" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:23.907553" elapsed="0.001110"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:23.906961" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.909271" elapsed="0.000131"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:23.908805" elapsed="0.000675"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:23.906086" elapsed="0.003454"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:23.909595" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:23.909770" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:23.898917" elapsed="0.010880"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:23.909843" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:23.909985" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:23.897948" elapsed="0.012063"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.925434" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:23.924944" elapsed="0.000585"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:23.926254" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:23.925795" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:23.932011" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:23.929005" elapsed="0.005883">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:23.926483" elapsed="0.008534">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.935321" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:23.935103" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:23.926462" elapsed="0.009077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.936051" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:23.936315" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:23.936276" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:23.936257" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.936654" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:23.936899" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:23.912819" elapsed="0.024195">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:23.937086" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:23.910233" elapsed="0.026952">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:23.937353" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:23.885037" elapsed="0.052478">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:24.455272" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:24.452118" elapsed="0.003236"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:24.457068" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:24.456417" elapsed="0.000701"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:24.455960" elapsed="0.001208"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:24.458432" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:24.457826" elapsed="0.000656"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:24.457336" elapsed="0.001195"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:24.455531" elapsed="0.003097"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:24.459340" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:24.458707" elapsed="0.000784"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:24.461172" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:24.460178" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:24.459556" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:24.461912" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:24.461410" elapsed="0.000649"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:24.458685" elapsed="0.003435"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:24.462162" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:24.462324" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:24.451191" elapsed="0.011160"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:24.462399" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:24.462541" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:24.450022" elapsed="0.012559"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:24.477222" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:24.476753" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:24.478019" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:24.477529" elapsed="0.000575"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:24.483459" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:24.480482" elapsed="0.005897">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:24.478240" elapsed="0.008267">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:24.486824" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:24.486607" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:24.478220" elapsed="0.008878">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:24.487595" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:24.487855" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:24.487818" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:24.487798" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:24.488150" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:24.488391" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:24.465385" elapsed="0.023123">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:24.488633" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:24.462804" elapsed="0.025930">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:24.488903" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:24.438688" elapsed="0.050328">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.007502" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:25.004590" elapsed="0.003018"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.009108" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:25.008487" elapsed="0.000669"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:25.008044" elapsed="0.001161"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.010586" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:25.009843" elapsed="0.000796"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:25.009370" elapsed="0.001319"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:25.007778" elapsed="0.002988"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.011466" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:25.010841" elapsed="0.000793"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.013295" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:25.012295" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:25.011699" elapsed="0.001787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.014033" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:25.013551" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:25.010820" elapsed="0.003417"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:25.014277" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:25.014437" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:25.003705" elapsed="0.010760"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:25.014590" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:17:25.014740" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:25.002591" elapsed="0.012175"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.029295" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:25.028836" elapsed="0.000547"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.030102" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:25.029654" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:25.035830" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:25.032864" elapsed="0.005998">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:25.030322" elapsed="0.008670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.039297" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:25.039078" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:25.030302" elapsed="0.009212">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.040015" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:25.040275" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:25.040237" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:25.040218" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.040624" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:25.040868" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:25.017588" elapsed="0.023394">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:25.041053" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:25.014989" elapsed="0.026161">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.041326" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:24.990543" elapsed="0.050920">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.558811" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:25.555978" elapsed="0.002917"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.560401" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:25.559787" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:25.559320" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.561957" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:25.561148" elapsed="0.000862"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:25.560701" elapsed="0.001359"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:25.559061" elapsed="0.003080"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.562870" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:25.562217" elapsed="0.000803"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.564718" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:25.563716" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:25.563086" elapsed="0.001804"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.565438" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:25.564954" elapsed="0.000648"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:25.562196" elapsed="0.003470"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:25.565707" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:17:25.565871" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:25.554989" elapsed="0.010908"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:25.565944" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:17:25.566083" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:25.554022" elapsed="0.012087"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.581147" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:25.580561" elapsed="0.000675"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:25.581961" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:25.581487" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:25.587420" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:25.584427" elapsed="0.005863">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:25.582183" elapsed="0.008239">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.590805" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:25.590510" elapsed="0.000450"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:25.582163" elapsed="0.008859">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.591538" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:25.591881" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:25.591842" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:25.591821" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.592181" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:25.592423" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:25.569156" elapsed="0.023388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:25.592634" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:25.566328" elapsed="0.026409">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:25.592906" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:25.542230" elapsed="0.050790">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.110760" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:26.107601" elapsed="0.003240"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.112321" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:26.111721" elapsed="0.000649"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:26.111257" elapsed="0.001161"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.113704" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:26.113080" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:26.112614" elapsed="0.001186"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:26.111003" elapsed="0.002876"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.114595" elapsed="0.000091"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:26.113950" elapsed="0.000830"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.116443" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:26.115441" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:26.114846" elapsed="0.001788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.117180" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:26.116700" elapsed="0.000628"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:26.113931" elapsed="0.003458"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:26.117429" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:17:26.117605" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:26.106723" elapsed="0.010910"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:26.117681" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:26.117826" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:26.105765" elapsed="0.012087"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.132670" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:26.132193" elapsed="0.000565"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.133457" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:26.132975" elapsed="0.000568"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:26.138897" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:26.136053" elapsed="0.005815">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:26.133695" elapsed="0.008300">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.142297" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:26.142081" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:26.133674" elapsed="0.008842">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.143022" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:26.143282" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:26.143245" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:26.143226" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.143638" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:26.143883" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:26.120705" elapsed="0.023290">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:26.144068" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:26.118073" elapsed="0.026093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.144331" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:26.093768" elapsed="0.050674">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.662302" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:26.659318" elapsed="0.003064"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.663876" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:26.663245" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:26.662806" elapsed="0.001170"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.665422" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:26.664655" elapsed="0.000818"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:26.664197" elapsed="0.001324"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:26.662540" elapsed="0.003076"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.666306" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:26.665689" elapsed="0.000764"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.668124" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:26.667130" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:26.666517" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.668837" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:26.668358" elapsed="0.000641"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:26.665669" elapsed="0.003391"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:26.669100" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:17:26.669259" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:26.658439" elapsed="0.010846"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:26.669332" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:26.669482" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:26.657507" elapsed="0.012001"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.684241" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:26.683780" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:26.685045" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:26.684545" elapsed="0.000588"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:26.690413" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:26.687484" elapsed="0.005852">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:26.685267" elapsed="0.008196">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.693776" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:26.693547" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:26.685247" elapsed="0.008745">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.694466" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:26.694737" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:26.694700" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:26.694681" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.695033" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:26.695273" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:26.672486" elapsed="0.022935">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:26.695495" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:26.669927" elapsed="0.025684">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:26.695781" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:26.645110" elapsed="0.050785">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.217638" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:27.214274" elapsed="0.003479"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.219876" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:27.218990" elapsed="0.000958"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:27.218332" elapsed="0.001685"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.221808" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:27.220930" elapsed="0.000948"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:27.220251" elapsed="0.001699"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:27.217973" elapsed="0.004090"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.223068" elapsed="0.000101"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:27.222163" elapsed="0.001117"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.225751" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:27.224236" elapsed="0.001736"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:27.223370" elapsed="0.002780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.227436" elapsed="0.000185"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:27.226302" elapsed="0.001489"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:27.222135" elapsed="0.005793"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:27.228015" elapsed="0.000068"/>
</return>
<msg time="2026-04-11T23:17:27.228357" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:27.213397" elapsed="0.015018"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:27.228518" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:17:27.228895" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:27.212433" elapsed="0.016523"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.246207" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:27.245596" elapsed="0.000702"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.247143" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:27.246518" elapsed="0.000712"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:27.252878" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:27.249808" elapsed="0.005937">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:27.247367" elapsed="0.008507">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.256174" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:27.255959" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:27.247347" elapsed="0.009046">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.256919" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:27.257180" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:27.257143" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:27.257124" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.257481" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:27.257742" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:27.234341" elapsed="0.023515">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:27.257927" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:27.229447" elapsed="0.028579">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.258189" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:27.196532" elapsed="0.061769">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.777671" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:27.774166" elapsed="0.003587"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.779246" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:27.778650" elapsed="0.000645"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:27.778180" elapsed="0.001163"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.780551" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:27.779960" elapsed="0.000656"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:27.779506" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:27.777923" elapsed="0.002831"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.781456" elapsed="0.000143"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:27.780830" elapsed="0.000848"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.783338" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:27.782341" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:27.781744" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.784054" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:27.783587" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:27.780810" elapsed="0.003448"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:27.784300" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:17:27.784460" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:27.773230" elapsed="0.011256"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:27.784534" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:27.784767" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:27.772244" elapsed="0.012549"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.801744" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:27.801210" elapsed="0.000623"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:27.802503" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:27.802052" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:27.808103" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:27.805115" elapsed="0.005929">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:27.802742" elapsed="0.008430">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.811470" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:27.811257" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:27.802721" elapsed="0.008982">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.812187" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:27.812443" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:27.812405" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:27.812386" elapsed="0.000251"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.812793" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:27.813035" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:27.789322" elapsed="0.023826">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:27.813260" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:27.785018" elapsed="0.028344">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:27.813527" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:27.759014" elapsed="0.054641">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.332831" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:28.329290" elapsed="0.003652"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.334788" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:28.334159" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:28.333518" elapsed="0.001369"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.336117" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:28.335496" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:28.335054" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:28.333165" elapsed="0.003131"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.337014" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:28.336367" elapsed="0.000796"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.338836" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:28.337857" elapsed="0.001074"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:28.337227" elapsed="0.001780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.339536" elapsed="0.000083"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:28.339072" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:28.336348" elapsed="0.003408"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:28.339795" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:17:28.339953" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:28.328383" elapsed="0.011597"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:28.340026" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:28.340168" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:28.327438" elapsed="0.012756"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.355109" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:28.354640" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.355881" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:28.355415" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:28.362114" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:28.358623" elapsed="0.010497">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:28.356105" elapsed="0.013548">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.370210" elapsed="0.000107"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:28.369797" elapsed="0.000643"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:28.356084" elapsed="0.014450">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.371364" elapsed="0.000042"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:28.371789" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:28.371727" elapsed="0.000202"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:28.371695" elapsed="0.000329"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.372245" elapsed="0.000034"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:28.372645" elapsed="0.000026"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:28.342981" elapsed="0.029851">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:28.372943" elapsed="0.000024"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:28.340414" elapsed="0.032679">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.373344" elapsed="0.000033"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:28.314289" elapsed="0.059222">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.892857" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:28.889530" elapsed="0.003413"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.894455" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:28.893839" elapsed="0.000666"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:28.893369" elapsed="0.001185"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.895804" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:28.895183" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:28.894738" elapsed="0.001164"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:28.893111" elapsed="0.002871"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.896718" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:28.896056" elapsed="0.000812"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.898521" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:28.897531" elapsed="0.001103"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:28.896933" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.899247" elapsed="0.000125"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:28.898777" elapsed="0.000672"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:28.896035" elapsed="0.003475"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:28.899551" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:17:28.899730" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:28.888659" elapsed="0.011098"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:28.899804" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:28.899947" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:28.887659" elapsed="0.012314"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.914718" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:28.914221" elapsed="0.000587"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:28.915474" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:28.915026" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:28.921401" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:28.918145" elapsed="0.006084">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:28.915875" elapsed="0.008480">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.924707" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:28.924471" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:28.915854" elapsed="0.009071">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.925404" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:28.925678" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:28.925641" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:28.925621" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.925977" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:28.926219" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:28.902762" elapsed="0.023569">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:28.926403" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:28.900196" elapsed="0.026305">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:28.926687" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:28.874371" elapsed="0.052466">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:29.445163" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:29.442093" elapsed="0.003146"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:29.446720" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:29.446095" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:29.445656" elapsed="0.001161"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:29.448032" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:29.447416" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:29.446979" elapsed="0.001149"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:29.445394" elapsed="0.002811"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:29.448908" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:29.448285" elapsed="0.000769"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:29.450702" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:29.449722" elapsed="0.001072"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:29.449117" elapsed="0.001752"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:29.451394" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:29.450933" elapsed="0.000603"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:29.448266" elapsed="0.003346"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:29.451652" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:29.451805" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:29.441210" elapsed="0.010621"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:29.451878" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:29.452019" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:29.440291" elapsed="0.011754"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:29.466994" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:29.466364" elapsed="0.000718"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:29.467767" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:29.467299" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:29.473075" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:29.470226" elapsed="0.005678">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:29.467990" elapsed="0.008041">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:29.476357" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:29.476118" elapsed="0.000396"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:29.467969" elapsed="0.008662">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:29.477125" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:29.477399" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:29.477360" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:29.477340" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:29.477715" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:29.477961" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:29.454852" elapsed="0.023221">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:29.478146" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:29.452278" elapsed="0.025967">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:29.478412" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:29.427702" elapsed="0.050822">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:29.997044" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:29.993919" elapsed="0.003200"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:29.998611" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:29.997983" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:29.997527" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:29.999918" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:29.999303" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:29.998870" elapsed="0.001145"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:29.997273" elapsed="0.002834"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.000796" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:30.000177" elapsed="0.000763"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:30.002561" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:30.001608" elapsed="0.001072"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:30.001003" elapsed="0.001753"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.003278" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:30.002819" elapsed="0.000601"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:30.000158" elapsed="0.003322"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:30.003518" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:30.003689" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:29.993055" elapsed="0.010661"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:30.003802" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:30.003950" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:29.992138" elapsed="0.011838"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:30.018326" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:30.017859" elapsed="0.000563"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:30.019234" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:30.018785" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:30.024778" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:30.021729" elapsed="0.005873">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:30.019454" elapsed="0.008274">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.028024" elapsed="0.000097"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:30.027811" elapsed="0.000400"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:30.019433" elapsed="0.008841">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.028771" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:30.029025" elapsed="0.000182"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:30.028989" elapsed="0.000301"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:30.028970" elapsed="0.000382"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.029499" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:30.029756" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:30.006769" elapsed="0.023102">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:30.029943" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:30.004205" elapsed="0.025837">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.030207" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:29.979492" elapsed="0.050827">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:30.548537" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:30.545271" elapsed="0.003393"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:30.550152" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:30.549528" elapsed="0.000672"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:30.549091" elapsed="0.001158"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:30.551449" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:30.550860" elapsed="0.000637"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:30.550410" elapsed="0.001136"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:30.548843" elapsed="0.002796"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.552322" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:30.551710" elapsed="0.000757"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:30.554114" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:30.553137" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:30.552530" elapsed="0.001754"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.554829" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:30.554347" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:30.551691" elapsed="0.003342"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:30.555072" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:17:30.555228" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:30.544336" elapsed="0.010918"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:30.555301" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:30.555441" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:30.543413" elapsed="0.012054"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:30.570407" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:30.569944" elapsed="0.000553"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:30.571181" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:30.570730" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:30.576632" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:30.573824" elapsed="0.005695">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:30.571401" elapsed="0.008257">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.579981" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:30.579742" elapsed="0.000390"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:30.571381" elapsed="0.008815">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.580682" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:30.580973" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:30.580936" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:30.580916" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.581268" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:30.581508" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:30.558258" elapsed="0.023378">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:30.581710" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:30.555700" elapsed="0.026108">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:30.581973" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:30.530963" elapsed="0.051120">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.100468" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:31.097052" elapsed="0.003544"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.102115" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:31.101488" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:31.101051" elapsed="0.001161"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.103432" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:31.102840" elapsed="0.000640"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:31.102376" elapsed="0.001151"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:31.100806" elapsed="0.002818"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.104304" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:31.103692" elapsed="0.000758"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.106095" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:31.105118" elapsed="0.001072"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:31.104513" elapsed="0.001752"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.106805" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:31.106328" elapsed="0.000622"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:31.103673" elapsed="0.003336"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:31.107047" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:31.107200" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:31.096184" elapsed="0.011042"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:31.107272" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:31.107412" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:31.095257" elapsed="0.012180"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.121928" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:31.121343" elapsed="0.000672"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.122690" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:31.122229" elapsed="0.000546"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:31.128021" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:31.125146" elapsed="0.005667">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:31.122909" elapsed="0.008035">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.131239" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:31.131028" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:31.122889" elapsed="0.008565">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.132009" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:31.132266" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:31.132229" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:31.132210" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.132560" elapsed="0.000038"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:31.132817" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:31.110253" elapsed="0.022675">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:31.133001" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:31.107670" elapsed="0.025430">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.133267" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:31.082725" elapsed="0.050654">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.652289" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:31.648984" elapsed="0.003411"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.653977" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:31.653354" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:31.652917" elapsed="0.001158"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.655324" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:31.654727" elapsed="0.000645"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:31.654274" elapsed="0.001147"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:31.652629" elapsed="0.002870"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.656197" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:31.655586" elapsed="0.000757"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.657987" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:31.657009" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:31.656405" elapsed="0.001751"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.658695" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:31.658219" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:31.655549" elapsed="0.003350"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:31.658937" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:31.659090" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:31.648112" elapsed="0.011005"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:31.659164" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:31.659306" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:31.647182" elapsed="0.012149"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.673895" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:31.673419" elapsed="0.000563"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:31.674657" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:31.674195" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:31.680215" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:31.677459" elapsed="0.005628">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:31.674879" elapsed="0.008334">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.683509" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:31.683297" elapsed="0.000407"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:31.674859" elapsed="0.008908">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.684235" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:31.684491" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:31.684454" elapsed="0.000146"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:31.684435" elapsed="0.000228"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.684805" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:31.685049" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:31.662118" elapsed="0.023074">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:31.685264" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:31.659548" elapsed="0.025813">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:31.685526" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:31.634012" elapsed="0.051670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.203787" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:32.201305" elapsed="0.002574"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.205442" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:32.204813" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:32.204329" elapsed="0.001216"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.206826" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:32.206190" elapsed="0.000686"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:32.205739" elapsed="0.001187"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:32.204054" elapsed="0.002953"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.207822" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:32.207088" elapsed="0.000889"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.209726" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:32.208702" elapsed="0.001119"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:32.208043" elapsed="0.001855"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.210430" elapsed="0.000079"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:32.209964" elapsed="0.000638"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:32.207066" elapsed="0.003599"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:32.210709" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:17:32.210880" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:32.200473" elapsed="0.010434"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:32.210955" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:32.211099" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:32.199723" elapsed="0.011404"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.228239" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:32.227747" elapsed="0.000583"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.229041" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:32.228550" elapsed="0.000577"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:32.235284" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:32.231874" elapsed="0.006403">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:32.229268" elapsed="0.009142">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.238734" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:32.238495" elapsed="0.000394"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:32.229246" elapsed="0.009716">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.239488" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:32.239773" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:32.239734" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:32.239714" elapsed="0.000222"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.240087" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:32.240331" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:32.214003" elapsed="0.026445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:32.240521" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:32.211354" elapsed="0.029284">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.240808" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:32.186553" elapsed="0.054371">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.753241" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:32.750826" elapsed="0.002503"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.754876" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:32.754249" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:32.753798" elapsed="0.001174"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.756206" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:32.755604" elapsed="0.000652"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:32.755138" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:32.753508" elapsed="0.002874"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.757123" elapsed="0.000143"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:32.756467" elapsed="0.000877"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.759005" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:32.758026" elapsed="0.001072"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:32.757410" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.759737" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:32.759236" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:32.756443" elapsed="0.003497"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:32.759985" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:17:32.760155" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:32.750156" elapsed="0.010025"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:32.760229" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:17:32.760368" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:32.749417" elapsed="0.010977"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.775023" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:32.774499" elapsed="0.000613"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:32.775854" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:32.775340" elapsed="0.000598"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:32.782144" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:32.778317" elapsed="0.010277">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:32.776072" elapsed="0.012809">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.789545" elapsed="0.000203"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:32.789068" elapsed="0.000863"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:32.776051" elapsed="0.014020">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.791141" elapsed="0.000059"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:32.791784" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:32.791704" elapsed="0.000191"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:32.791659" elapsed="0.000295"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.792097" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:32.792335" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:32.763408" elapsed="0.029042">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:32.792552" elapsed="0.000030"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:32.760632" elapsed="0.032037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:32.792834" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:32.741555" elapsed="0.051389">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.315795" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:33.312368" elapsed="0.003529"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.317412" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:33.316809" elapsed="0.000652"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:33.316339" elapsed="0.001171"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.318965" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:33.318182" elapsed="0.000846"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:33.317693" elapsed="0.001394"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:33.316070" elapsed="0.003128"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.319927" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:33.319280" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.321739" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:33.320766" elapsed="0.001073"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:33.320139" elapsed="0.001774"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.322433" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:33.321976" elapsed="0.000612"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:33.319257" elapsed="0.003391"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:33.322693" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:17:33.322865" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:33.311465" elapsed="0.011428"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:33.322940" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:33.323079" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:33.310481" elapsed="0.012623"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.337516" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:33.337056" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.338284" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:33.337838" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:33.343922" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:33.340901" elapsed="0.005871">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:33.338506" elapsed="0.008449">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.347284" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:33.347039" elapsed="0.000397"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:33.338486" elapsed="0.009011">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.348066" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:33.348321" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:33.348285" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:33.348265" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.348629" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:33.348870" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:33.325883" elapsed="0.023100">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:33.349055" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:33.323353" elapsed="0.025799">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.349317" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:33.293714" elapsed="0.055712">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.928891" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:33.926430" elapsed="0.002546"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.930508" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:33.929882" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:33.929421" elapsed="0.001202"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.931860" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:33.931244" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:33.930791" elapsed="0.001171"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:33.929152" elapsed="0.002889"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.932793" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:33.932124" elapsed="0.000816"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.934612" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:33.933619" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:33.933005" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.935332" elapsed="0.000135"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:33.934850" elapsed="0.000696"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:33.932101" elapsed="0.003522"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:33.935670" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:17:33.935843" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:33.925788" elapsed="0.010081"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:33.935918" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:33.936061" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:33.924803" elapsed="0.011284"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.950773" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:33.950275" elapsed="0.000590"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:33.951565" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:33.951114" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:33.957637" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:33.954155" elapsed="0.006336">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:33.951807" elapsed="0.008912">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.961036" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:33.960807" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:33.951786" elapsed="0.009466">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.961804" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:33.962070" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:33.962029" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:33.962009" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.962373" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:33.962631" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:33.938847" elapsed="0.023905">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:33.962826" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:33.936318" elapsed="0.026608">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:33.963138" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:33.850175" elapsed="0.113143">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:34.480825" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:34.477272" elapsed="0.003664"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:34.483106" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:34.482184" elapsed="0.000992"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:34.481526" elapsed="0.001720"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:34.484684" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:34.484063" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:34.483481" elapsed="0.001304"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:34.481169" elapsed="0.003696"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:34.485601" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:34.484942" elapsed="0.000807"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:34.487419" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:34.486417" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:34.485813" elapsed="0.001794"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:34.488142" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:34.487675" elapsed="0.000612"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:34.484921" elapsed="0.003428"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:34.488390" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:34.488553" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:34.476377" elapsed="0.012217"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:34.488643" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:34.488787" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:34.475367" elapsed="0.013447"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:34.503390" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:34.502927" elapsed="0.000552"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:34.504168" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:34.503713" elapsed="0.000541"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:34.509788" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:34.506750" elapsed="0.005887">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:34.504390" elapsed="0.008374">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:34.513217" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:34.512848" elapsed="0.000520"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:34.504370" elapsed="0.009113">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:34.514051" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:34.514308" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:34.514271" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:34.514251" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:34.514620" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:34.514877" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:34.491583" elapsed="0.023408">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:34.515064" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:34.489037" elapsed="0.026126">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:34.515331" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:34.464004" elapsed="0.051439">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.035721" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:35.032556" elapsed="0.003248"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.037385" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:35.036763" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:35.036235" elapsed="0.001252"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.038764" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:35.038126" elapsed="0.000689"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:35.037672" elapsed="0.001192"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:35.035973" elapsed="0.002972"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.039702" elapsed="0.000077"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:35.039021" elapsed="0.000845"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.041612" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:35.040560" elapsed="0.001152"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:35.039935" elapsed="0.001857"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.042340" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:35.041859" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:35.038999" elapsed="0.003552"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:35.042608" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:17:35.042788" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:35.031448" elapsed="0.011368"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:35.042923" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:17:35.043075" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:35.030376" elapsed="0.012726"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.057995" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:35.057468" elapsed="0.000625"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.058820" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:35.058319" elapsed="0.000589"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:35.064651" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:35.061523" elapsed="0.006083">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:35.059053" elapsed="0.008684">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.068048" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:35.067827" elapsed="0.000379"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:35.059030" elapsed="0.009240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.068810" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:35.069082" elapsed="0.000223"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:35.069042" elapsed="0.000352"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:35.069022" elapsed="0.000437"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.069626" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:35.069875" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:35.045902" elapsed="0.024093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:35.070069" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:35.043331" elapsed="0.026841">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.070343" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:35.016184" elapsed="0.054274">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.588311" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:35.585343" elapsed="0.003053"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.589961" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:35.589307" elapsed="0.000706"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:35.588852" elapsed="0.001212"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.591339" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:35.590714" elapsed="0.000676"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:35.590234" elapsed="0.001206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:35.588583" elapsed="0.002947"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.592289" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:35.591636" elapsed="0.000804"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.594171" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:35.593137" elapsed="0.001129"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:35.592504" elapsed="0.001840"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.594929" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:35.594411" elapsed="0.000669"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:35.591613" elapsed="0.003529"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:35.595185" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:17:35.595354" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:35.584316" elapsed="0.011066"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:35.595431" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:35.595595" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:35.583299" elapsed="0.012323"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.610711" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:35.610182" elapsed="0.000629"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:35.611521" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:35.611053" elapsed="0.000723"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:35.617174" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:35.614199" elapsed="0.005930">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:35.611917" elapsed="0.008343">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.620563" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:35.620346" elapsed="0.000392"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:35.611897" elapsed="0.008905">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.621316" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:35.621659" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:35.621618" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:35.621560" elapsed="0.000259"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.621964" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:35.622208" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:35.598452" elapsed="0.023873">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:35.622401" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:35.595850" elapsed="0.026671">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:35.622760" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:35.571276" elapsed="0.051619">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.142644" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:36.139105" elapsed="0.003650"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.144334" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:36.143724" elapsed="0.000660"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:36.143234" elapsed="0.001201"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.145713" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:36.145095" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:36.144654" elapsed="0.001167"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:36.142976" elapsed="0.002942"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.146654" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:36.146001" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.148457" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:36.147466" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:36.146863" elapsed="0.001783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.149172" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:36.148709" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:36.145974" elapsed="0.003403"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:36.149416" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:36.149591" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:36.138173" elapsed="0.011446"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:36.149666" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:36.149809" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:36.137222" elapsed="0.012612"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.164462" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:36.163999" elapsed="0.000552"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.165237" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:36.164784" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:36.170861" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:36.167901" elapsed="0.005874">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:36.165457" elapsed="0.008446">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.174205" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:36.173989" elapsed="0.000398"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:36.165437" elapsed="0.009015">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.174982" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:36.175244" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:36.175204" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:36.175185" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.175543" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:36.175839" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:36.152691" elapsed="0.023264">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:36.176037" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:36.150053" elapsed="0.026082">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.176304" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:36.123564" elapsed="0.052856">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.694131" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:36.691745" elapsed="0.002478"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.695732" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:36.695110" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:36.694666" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.697120" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:36.696500" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:36.696058" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:36.694389" elapsed="0.002909"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.698015" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:36.697373" elapsed="0.000792"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.699873" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:36.698881" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:36.698258" elapsed="0.001787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.700599" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:36.700110" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:36.697352" elapsed="0.003454"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:36.700847" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:36.701010" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:36.691094" elapsed="0.009943"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:36.701085" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:36.701229" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:36.690380" elapsed="0.010876"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.715771" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:36.715284" elapsed="0.000576"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:36.716530" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:36.716077" elapsed="0.000675"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:36.722296" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:36.719139" elapsed="0.006044">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:36.716888" elapsed="0.008428">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.725637" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:36.725406" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:36.716868" elapsed="0.008985">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.726346" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:36.726642" elapsed="0.000176"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:36.726565" elapsed="0.000338"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:36.726546" elapsed="0.000420"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.727119" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:36.727360" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:36.703985" elapsed="0.023524">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:36.727606" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:36.701477" elapsed="0.026231">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:36.727876" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:36.677206" elapsed="0.050788">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.247605" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:37.244310" elapsed="0.003377"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.249191" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:37.248564" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:37.248117" elapsed="0.001171"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.250541" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:37.249918" elapsed="0.000688"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:37.249454" elapsed="0.001202"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:37.247855" elapsed="0.002881"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.251450" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:37.250813" elapsed="0.000815"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.253427" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:37.252431" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:37.251695" elapsed="0.001928"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.254191" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:37.253691" elapsed="0.000646"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:37.250792" elapsed="0.003604"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:37.254437" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:17:37.254621" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:37.243363" elapsed="0.011285"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:37.254695" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:37.254837" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:37.242338" elapsed="0.012526"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.269912" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:37.269415" elapsed="0.000588"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.270717" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:37.270244" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:37.276671" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:37.273312" elapsed="0.006585">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:37.270943" elapsed="0.009106">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.280419" elapsed="0.000078"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:37.280150" elapsed="0.000535"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:37.270922" elapsed="0.009837">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.281384" elapsed="0.000034"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:37.281709" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:37.281661" elapsed="0.000175"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:37.281637" elapsed="0.000280"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.282140" elapsed="0.000030"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:37.282452" elapsed="0.000025"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:37.257645" elapsed="0.024986">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:37.282732" elapsed="0.000022"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:37.255087" elapsed="0.027789">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.283110" elapsed="0.000030"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:37.228710" elapsed="0.054555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.803319" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:37.799549" elapsed="0.003855"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.804975" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:37.804306" elapsed="0.000721"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:37.803855" elapsed="0.001220"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.806330" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:37.805707" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:37.805245" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:37.803592" elapsed="0.002914"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.807239" elapsed="0.000134"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:37.806598" elapsed="0.000855"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.809143" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:37.808150" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:37.807518" elapsed="0.001800"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.809880" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:37.809383" elapsed="0.000642"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:37.806562" elapsed="0.003523"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:37.810128" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:17:37.810293" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:37.798634" elapsed="0.011685"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:37.810367" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:37.810515" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:37.797585" elapsed="0.012956"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.825017" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:37.824534" elapsed="0.000571"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:37.825793" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:37.825322" elapsed="0.000580"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:37.831294" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:37.828435" elapsed="0.005727">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:37.826044" elapsed="0.008249">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.834679" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:37.834379" elapsed="0.000456"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:37.826022" elapsed="0.008877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.835400" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:37.835683" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:37.835644" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:37.835625" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.835981" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:37.836224" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:37.813318" elapsed="0.023022">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:37.836463" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:37.810818" elapsed="0.025763">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:37.836756" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:37.784088" elapsed="0.052781">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.355621" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:38.352850" elapsed="0.002855"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.357239" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:38.356622" elapsed="0.000666"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:38.356142" elapsed="0.001196"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.358602" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:38.357983" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:38.357505" elapsed="0.001198"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:38.355876" elapsed="0.002908"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.359626" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:38.358860" elapsed="0.000919"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.361456" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:38.360458" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:38.359848" elapsed="0.001812"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.362231" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:38.361752" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:38.358838" elapsed="0.003602"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:38.362480" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:17:38.362659" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:38.351904" elapsed="0.010782"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:38.362733" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:38.362874" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:38.350871" elapsed="0.012028"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.377869" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:38.377219" elapsed="0.000747"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.378681" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:38.378191" elapsed="0.000581"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:38.384593" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:38.381167" elapsed="0.006763">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:38.378916" elapsed="0.009217">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.388453" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:38.388224" elapsed="0.000403"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:38.378894" elapsed="0.009802">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.389217" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:38.389483" elapsed="0.001926"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:38.389444" elapsed="0.002059"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:38.389425" elapsed="0.002156"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.391738" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:38.391987" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:38.365701" elapsed="0.026405">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:38.392182" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:38.363122" elapsed="0.029161">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.392455" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:38.337699" elapsed="0.054883">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.911212" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:38.908208" elapsed="0.003088"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.912838" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:38.912205" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:38.911747" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.914191" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:38.913582" elapsed="0.000658"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:38.913107" elapsed="0.001182"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:38.911465" elapsed="0.002903"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.915093" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:38.914443" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.916914" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:38.915921" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:38.915308" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.917825" elapsed="0.000140"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:38.917154" elapsed="0.000888"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:38.914422" elapsed="0.003685"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:38.918148" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:38.918313" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:38.907254" elapsed="0.011086"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:38.918388" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:38.918533" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:38.906223" elapsed="0.012336"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.933333" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:38.932861" elapsed="0.000563"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:38.934135" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:38.933681" elapsed="0.000542"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:38.940106" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:38.936816" elapsed="0.006197">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:38.934361" elapsed="0.008782">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.943450" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:38.943228" elapsed="0.000421"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:38.934341" elapsed="0.009383">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.944262" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:38.944522" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:38.944483" elapsed="0.000149"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:38.944464" elapsed="0.000231"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.944842" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:38.945085" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:38.921385" elapsed="0.023816">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:38.945273" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:38.918808" elapsed="0.026565">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:38.945557" elapsed="0.000052"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:38.893350" elapsed="0.052403">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:39.464913" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:39.462522" elapsed="0.002475"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:39.466562" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:39.465926" elapsed="0.000709"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:39.465443" elapsed="0.001251"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:39.468382" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:39.467656" elapsed="0.000778"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:39.466903" elapsed="0.001584"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:39.465166" elapsed="0.003419"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:39.469319" elapsed="0.000094"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:39.468667" elapsed="0.000828"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:39.471210" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:39.470200" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:39.469562" elapsed="0.001824"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:39.471952" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:39.471453" elapsed="0.000649"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:39.468645" elapsed="0.003518"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:39.472206" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:17:39.472373" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:39.461881" elapsed="0.010518"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:39.472447" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:39.472606" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:39.461138" elapsed="0.011497"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:39.487799" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:39.487308" elapsed="0.000582"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:39.488735" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:39.488113" elapsed="0.000714"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:39.494115" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:39.491327" elapsed="0.005625">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:39.488966" elapsed="0.008115">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:39.497397" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:39.497165" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:39.488946" elapsed="0.008739">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:39.498179" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:39.498436" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:39.498397" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:39.498378" elapsed="0.000253"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:39.498778" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:39.499019" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:39.475759" elapsed="0.023374">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:39.499226" elapsed="0.000024"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:39.472863" elapsed="0.026486">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:39.499522" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:39.446555" elapsed="0.053097">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.018726" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:40.015198" elapsed="0.003614"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.020364" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:40.019746" elapsed="0.000668"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:40.019267" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.021729" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:40.021093" elapsed="0.000686"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:40.020645" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:40.018989" elapsed="0.002920"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.022644" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:40.021990" elapsed="0.000803"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.024448" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:40.023457" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:40.022859" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.025166" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:40.024706" elapsed="0.000619"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:40.021968" elapsed="0.003417"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:40.025429" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:17:40.025621" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:40.014288" elapsed="0.011362"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:40.025768" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:40.025917" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:40.013295" elapsed="0.012648"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.040468" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:40.040003" elapsed="0.000555"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.041268" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:40.040791" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:40.047148" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:40.043910" elapsed="0.010204">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:40.041493" elapsed="0.012803">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.054739" elapsed="0.000099"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:40.054414" elapsed="0.000539"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:40.041473" elapsed="0.013567">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.055766" elapsed="0.000037"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:40.056126" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:40.056073" elapsed="0.000180"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:40.056046" elapsed="0.000293"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.056540" elapsed="0.000050"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:40.056897" elapsed="0.000025"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:40.028729" elapsed="0.028327">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:40.057157" elapsed="0.000022"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:40.026164" elapsed="0.031167">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.057633" elapsed="0.000034"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:40.000511" elapsed="0.057285">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.576910" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:40.574441" elapsed="0.002546"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.578527" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:40.577913" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:40.577444" elapsed="0.001198"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.579884" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:40.579247" elapsed="0.000686"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:40.578805" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:40.577174" elapsed="0.002887"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.580760" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:40.580132" elapsed="0.000777"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.582644" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:40.581657" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:40.580972" elapsed="0.001846"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.583355" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:40.582883" elapsed="0.000620"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:40.580113" elapsed="0.003450"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:40.583626" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:40.583781" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:40.573781" elapsed="0.010026"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:40.583853" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:40.583994" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:40.573058" elapsed="0.010961"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.598908" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:40.598427" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:40.599700" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:40.599219" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:40.604981" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:40.602236" elapsed="0.005682">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:40.599921" elapsed="0.008122">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.608342" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:40.608127" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:40.599901" elapsed="0.008659">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.609045" elapsed="0.000047"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:40.609388" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:40.609350" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:40.609329" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.609705" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:40.609952" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:40.586826" elapsed="0.023239">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:40.610137" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:40.584243" elapsed="0.025993">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:40.610402" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:40.558382" elapsed="0.052131">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.128611" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:41.126195" elapsed="0.002498"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.130258" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:41.129647" elapsed="0.000660"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:41.129179" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.131599" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:41.130986" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:41.130521" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:41.128862" elapsed="0.002914"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.132476" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:41.131852" elapsed="0.000806"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.134380" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:41.133381" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:41.132723" elapsed="0.001828"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.135104" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:41.134631" elapsed="0.000618"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:41.131830" elapsed="0.003479"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:41.135350" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:41.135515" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:41.125542" elapsed="0.010000"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:41.135604" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:41.135750" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:41.124762" elapsed="0.011014"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.150631" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:41.150153" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.151387" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:41.150936" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:41.157369" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:41.154171" elapsed="0.006032">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:41.151623" elapsed="0.008707">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.160720" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:41.160414" elapsed="0.000459"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:41.151602" elapsed="0.009360">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.161475" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:41.161750" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:41.161713" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:41.161693" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.162048" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:41.162290" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:41.138652" elapsed="0.023750">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:41.162474" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:41.135996" elapsed="0.026591">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.162757" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:41.111336" elapsed="0.051533">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.682206" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:41.679098" elapsed="0.003191"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.684059" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:41.683256" elapsed="0.000855"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:41.682778" elapsed="0.001386"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.685636" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:41.684956" elapsed="0.000733"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:41.684432" elapsed="0.001308"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:41.682487" elapsed="0.003337"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.686617" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:41.685918" elapsed="0.000855"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.688594" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:41.687507" elapsed="0.001187"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:41.686840" elapsed="0.001947"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.689344" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:41.688854" elapsed="0.000666"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:41.685891" elapsed="0.003710"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:41.689648" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:17:41.689816" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:41.678097" elapsed="0.011746"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:41.689890" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:41.690065" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:41.677052" elapsed="0.013039"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.705779" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:41.705259" elapsed="0.000613"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:41.706608" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:41.706094" elapsed="0.000608"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:41.712652" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:41.709352" elapsed="0.006377">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:41.706866" elapsed="0.009006">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.716192" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:41.715971" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:41.706844" elapsed="0.009592">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.716995" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:41.717259" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:41.717221" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:41.717201" elapsed="0.000239"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.717613" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:41.717858" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:41.693244" elapsed="0.024791">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:41.718111" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:41.690315" elapsed="0.027899">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:41.718391" elapsed="0.000031"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:41.663699" elapsed="0.054823">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.237595" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:42.234111" elapsed="0.003568"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.239184" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:42.238555" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:42.238110" elapsed="0.001180"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.240514" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:42.239911" elapsed="0.000651"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:42.239453" elapsed="0.001197"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:42.237848" elapsed="0.002893"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.241461" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:42.240830" elapsed="0.000796"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.243279" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:42.242288" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:42.241692" elapsed="0.001765"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.243999" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:42.243521" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:42.240806" elapsed="0.003396"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:42.244242" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:42.244551" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:42.233217" elapsed="0.011388"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:42.244662" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:42.244829" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:42.232182" elapsed="0.012679"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.259503" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:42.259041" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.260277" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:42.259830" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:42.266142" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:42.263034" elapsed="0.006077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:42.260495" elapsed="0.008744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.269534" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:42.269322" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:42.260475" elapsed="0.009293">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.270246" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:42.270502" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:42.270465" elapsed="0.000184"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:42.270446" elapsed="0.000266"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.270856" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:42.271097" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:42.247674" elapsed="0.023536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:42.271282" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:42.245083" elapsed="0.026297">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.271545" elapsed="0.000037"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:42.219215" elapsed="0.052461">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.787792" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:42.785331" elapsed="0.002544"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.789659" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:42.788993" elapsed="0.000717"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:42.788311" elapsed="0.001449"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.791199" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:42.790566" elapsed="0.000761"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:42.789926" elapsed="0.001458"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:42.788048" elapsed="0.003418"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.792211" elapsed="0.000146"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:42.791543" elapsed="0.000909"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.794159" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:42.793149" elapsed="0.001109"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:42.792524" elapsed="0.001811"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.794884" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:42.794399" elapsed="0.000631"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:42.791522" elapsed="0.003569"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:42.795132" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:42.795295" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:42.784465" elapsed="0.010857"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:42.795369" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:42.795509" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:42.783462" elapsed="0.012072"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.810271" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:42.809803" elapsed="0.000556"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:42.811035" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:42.810588" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:42.816596" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:42.813509" elapsed="0.005989">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:42.811254" elapsed="0.008387">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.819940" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:42.819726" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:42.811234" elapsed="0.008920">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.820687" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:42.820945" elapsed="0.000170"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:42.820908" elapsed="0.000288"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:42.820889" elapsed="0.000369"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.821404" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:42.821700" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:42.798373" elapsed="0.023444">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:42.821919" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:42.795770" elapsed="0.026250">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:42.822185" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:42.772278" elapsed="0.050018">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.340717" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:43.337452" elapsed="0.003372"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.342392" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:43.341792" elapsed="0.000649"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:43.341333" elapsed="0.001156"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.343709" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:43.343099" elapsed="0.000659"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:43.342668" elapsed="0.001137"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:43.341041" elapsed="0.002841"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.344580" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:43.343953" elapsed="0.000774"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.346356" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:43.345379" elapsed="0.001072"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:43.344790" elapsed="0.001737"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.347065" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:43.346607" elapsed="0.000599"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:43.343934" elapsed="0.003331"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:43.347303" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:43.347457" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:43.336613" elapsed="0.010870"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:43.347529" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:43.347688" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:43.335676" elapsed="0.012038"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.362423" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:43.361963" elapsed="0.000548"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.363186" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:43.362744" elapsed="0.000526"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:43.368636" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:43.365842" elapsed="0.005580">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:43.363404" elapsed="0.008197">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.371900" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:43.371688" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:43.363384" elapsed="0.008732">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.372648" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:43.372906" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:43.372869" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:43.372849" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.373206" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:43.373446" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:43.350470" elapsed="0.023088">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:43.373683" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:43.347929" elapsed="0.025854">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.373951" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:43.322954" elapsed="0.051107">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.894720" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:43.889439" elapsed="0.005361"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.896324" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:43.895698" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:43.895210" elapsed="0.001214"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.897679" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:43.897056" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:43.896605" elapsed="0.001173"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:43.894959" elapsed="0.002899"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.898542" elapsed="0.000173"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:43.897928" elapsed="0.000866"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.900444" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:43.899453" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:43.898859" elapsed="0.001802"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.901184" elapsed="0.000117"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:43.900727" elapsed="0.000663"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:43.897910" elapsed="0.003539"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:43.901488" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:43.901659" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:43.888598" elapsed="0.013088"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:43.901733" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:43.901873" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:43.887463" elapsed="0.014435"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.916794" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:43.916020" elapsed="0.000865"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:43.917557" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:43.917103" elapsed="0.000558"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:43.922884" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:43.920038" elapsed="0.005879">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:43.917796" elapsed="0.008247">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.926345" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:43.926126" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:43.917777" elapsed="0.008780">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.927042" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:43.927297" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:43.927260" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:43.927241" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.927645" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:43.927886" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:43.904737" elapsed="0.023260">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:43.928069" elapsed="0.000026"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:43.902117" elapsed="0.026061">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:43.928343" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:43.874717" elapsed="0.053774">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.447390" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:44.444188" elapsed="0.003307"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.449275" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:44.448674" elapsed="0.000652"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:44.448105" elapsed="0.001271"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.450601" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:44.449990" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:44.449534" elapsed="0.001167"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:44.447729" elapsed="0.003049"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:44.451445" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:44.450847" elapsed="0.000757"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.453246" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:44.452269" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:44.451668" elapsed="0.001751"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:44.453960" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:44.453484" elapsed="0.000620"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:44.450828" elapsed="0.003335"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:44.454200" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:44.454352" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:44.443302" elapsed="0.011076"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:44.454424" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:44.454565" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:44.442385" elapsed="0.012222"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.469090" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:44.468636" elapsed="0.000543"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.469859" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:44.469395" elapsed="0.000550"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:44.475108" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:44.472503" elapsed="0.005476">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:44.470080" elapsed="0.008025">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:44.478406" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:44.478187" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:44.470060" elapsed="0.008612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:44.479149" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:44.479531" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:44.479370" elapsed="0.000269"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:44.479350" elapsed="0.000352"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:44.479847" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:44.480101" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:44.457366" elapsed="0.022847">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:44.480290" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:44.454827" elapsed="0.025562">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:44.480557" elapsed="0.000064"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:44.429073" elapsed="0.051642">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.992943" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:44.990544" elapsed="0.002479"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.994527" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:44.993918" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:44.993452" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.995977" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:44.995252" elapsed="0.000775"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:44.994807" elapsed="0.001271"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:44.993192" elapsed="0.002965"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:44.996879" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:44.996231" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:44.998691" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:44.997706" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:44.997093" elapsed="0.001773"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:44.999395" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:44.998931" elapsed="0.000609"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:44.996210" elapsed="0.003415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:44.999666" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:17:44.999840" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:44.989894" elapsed="0.009974"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:44.999980" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:45.000127" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:44.989178" elapsed="0.010975"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:45.015075" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:45.014607" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:45.015969" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:45.015386" elapsed="0.000669"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:45.021422" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:45.018434" elapsed="0.006081">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:45.016194" elapsed="0.008467">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.024966" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:45.024747" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:45.016173" elapsed="0.009014">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.025698" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:45.025962" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:45.025924" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:45.025905" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.026263" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:45.026508" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:45.002891" elapsed="0.023745">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:45.026710" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:45.000372" elapsed="0.026437">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.026977" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:44.981178" elapsed="0.045910">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:45.544993" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:45.542004" elapsed="0.003067"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:45.546549" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:45.545932" elapsed="0.000694"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:45.545475" elapsed="0.001201"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:45.547893" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:45.547272" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:45.546837" elapsed="0.001158"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:45.545226" elapsed="0.002847"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.548764" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:45.548143" elapsed="0.000767"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:45.550539" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:45.549566" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:45.548973" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.551263" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:45.550801" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:45.548125" elapsed="0.003340"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:45.551505" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:45.551686" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:45.541079" elapsed="0.010635"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:45.551761" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:45.551903" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:45.540153" elapsed="0.011783"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:45.566326" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:45.565868" elapsed="0.000546"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:45.567230" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:45.566779" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:45.572670" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:45.569728" elapsed="0.005758">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:45.567451" elapsed="0.008202">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.575958" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:45.575740" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:45.567430" elapsed="0.008739">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.576653" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:45.576948" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:45.576910" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:45.576890" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.577243" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:45.577489" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:45.554766" elapsed="0.022850">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:45.577691" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:45.552155" elapsed="0.025636">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:45.577957" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:45.527751" elapsed="0.050318">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.096468" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:46.093271" elapsed="0.003274"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.098034" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:46.097406" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:46.096964" elapsed="0.001166"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.099362" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:46.098766" elapsed="0.000645"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:46.098291" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:46.096719" elapsed="0.002835"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.100247" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:46.099639" elapsed="0.000753"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.102053" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:46.101060" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:46.100455" elapsed="0.001765"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.102760" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:46.102283" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:46.099620" elapsed="0.003343"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:46.103001" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:46.103155" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:46.092403" elapsed="0.010778"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:46.103228" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:46.103371" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:46.091488" elapsed="0.011908"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.118260" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:46.117802" elapsed="0.000547"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.119170" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:46.118565" elapsed="0.000690"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:46.124556" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:46.121657" elapsed="0.005784">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:46.119390" elapsed="0.008228">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.127928" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:46.127713" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:46.119369" elapsed="0.008771">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.128630" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:46.128889" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:46.128851" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:46.128832" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.129182" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:46.129423" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:46.106288" elapsed="0.023247">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:46.129623" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:46.103685" elapsed="0.026037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.129887" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:46.079219" elapsed="0.050787">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.648744" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:46.645624" elapsed="0.003199"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.650303" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:46.649700" elapsed="0.000656"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:46.649236" elapsed="0.001170"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.651725" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:46.651079" elapsed="0.000695"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:46.650641" elapsed="0.001181"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:46.648984" elapsed="0.002920"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.652613" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:46.651978" elapsed="0.000784"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.654450" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:46.653421" elapsed="0.001122"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:46.652825" elapsed="0.001810"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.655156" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:46.654700" elapsed="0.000613"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:46.651958" elapsed="0.003414"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:46.655412" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:17:46.655583" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:46.644756" elapsed="0.010863"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:46.655667" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:46.655811" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:46.643622" elapsed="0.012215"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.670338" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:46.669879" elapsed="0.000547"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:46.671100" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:46.670655" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:46.676853" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:46.673823" elapsed="0.005978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:46.671347" elapsed="0.008583">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.680227" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:46.680013" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:46.671327" elapsed="0.009113">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.680935" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:46.681199" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:46.681162" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:46.681143" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.681497" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:46.681786" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:46.658625" elapsed="0.023311">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:46.682011" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:46.656056" elapsed="0.026055">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:46.682280" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:46.631250" elapsed="0.051142">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.198637" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:47.196313" elapsed="0.002400"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.200188" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:47.199586" elapsed="0.000650"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:47.199123" elapsed="0.001162"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.201670" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:47.201056" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:47.200447" elapsed="0.001320"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:47.198867" elapsed="0.002977"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.202517" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:47.201918" elapsed="0.000761"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.204325" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:47.203359" elapsed="0.001060"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:47.202742" elapsed="0.001752"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.205046" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:47.204557" elapsed="0.000631"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:47.201894" elapsed="0.003352"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:47.205285" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:17:47.205453" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:47.195717" elapsed="0.009763"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:47.205526" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:47.205688" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:47.195026" elapsed="0.010688"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.220706" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:47.220109" elapsed="0.000686"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.221467" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:47.221015" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:47.226830" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:47.224191" elapsed="0.005465">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:47.221707" elapsed="0.008075">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.230078" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:47.229865" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:47.221686" elapsed="0.008607">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.230788" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:47.231048" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:47.231011" elapsed="0.000146"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:47.230991" elapsed="0.000229"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.231364" elapsed="0.000031"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:47.231673" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:47.208731" elapsed="0.023056">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:47.231858" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:47.205932" elapsed="0.026024">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.232119" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:47.182979" elapsed="0.049250">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.750975" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:47.747493" elapsed="0.003590"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.752690" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:47.752068" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:47.751629" elapsed="0.001159"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.753998" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:47.753384" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:47.752949" elapsed="0.001145"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:47.751298" elapsed="0.002873"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.754863" elapsed="0.000121"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:47.754240" elapsed="0.000822"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.756737" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:47.755753" elapsed="0.001077"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:47.755125" elapsed="0.001780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.757426" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:47.756969" elapsed="0.000610"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:47.754221" elapsed="0.003422"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:47.757683" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:47.757838" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:47.746641" elapsed="0.011223"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:47.757911" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:17:47.758060" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:47.745715" elapsed="0.012371"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.772659" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:47.772099" elapsed="0.000664"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:47.773508" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:47.773012" elapsed="0.000620"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:47.779888" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:47.776746" elapsed="0.006013">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:47.773784" elapsed="0.009103">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.783224" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:47.783000" elapsed="0.000376"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:47.773761" elapsed="0.009677">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.783956" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:47.784218" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:47.784180" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:47.784160" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.784515" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:47.784773" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:47.760869" elapsed="0.024023">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:47.785010" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:47.758303" elapsed="0.026810">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:47.785281" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:47.732842" elapsed="0.052556">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.310043" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:48.307645" elapsed="0.002482"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.311696" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:48.311056" elapsed="0.000690"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:48.310585" elapsed="0.001210"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.313024" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:48.312404" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:48.311961" elapsed="0.001160"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:48.310306" elapsed="0.002893"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.313976" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:48.313280" elapsed="0.000844"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.315813" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:48.314822" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:48.314190" elapsed="0.001791"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.316510" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:48.316045" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:48.313258" elapsed="0.003473"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:48.316775" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:17:48.316944" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:48.306300" elapsed="0.010670"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:48.317017" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:48.317159" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:48.304432" elapsed="0.012753"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.332159" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:48.331566" elapsed="0.000682"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.332928" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:48.332463" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:48.338523" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:48.335487" elapsed="0.005976">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:48.333146" elapsed="0.008518">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.341964" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:48.341751" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:48.333126" elapsed="0.009052">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.342680" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:48.342947" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:48.342911" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:48.342891" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.343243" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:48.343488" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:48.320140" elapsed="0.023512">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:48.343727" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:48.317420" elapsed="0.026406">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.343992" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:48.286108" elapsed="0.057996">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.861800" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:48.859492" elapsed="0.002384"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.863339" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:48.862741" elapsed="0.000646"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:48.862275" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.864666" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:48.864049" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:48.863615" elapsed="0.001148"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:48.862029" elapsed="0.002810"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.865504" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:48.864907" elapsed="0.000760"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.867319" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:48.866320" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:48.865730" elapsed="0.001756"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.868029" elapsed="0.000104"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:48.867551" elapsed="0.000658"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:48.864888" elapsed="0.003381"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:48.868307" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:48.868461" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:48.858894" elapsed="0.009593"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:48.868533" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:48.868703" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:48.858229" elapsed="0.010500"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.883106" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:48.882651" elapsed="0.000543"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:48.883918" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:48.883408" elapsed="0.000595"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:48.889622" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:48.886544" elapsed="0.005874">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:48.884137" elapsed="0.008405">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.892855" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:48.892642" elapsed="0.000363"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:48.884117" elapsed="0.008950">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.893528" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:48.893797" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:48.893761" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:48.893741" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.894091" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:48.894330" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:48.871420" elapsed="0.023020">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:48.894511" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:48.868948" elapsed="0.025708">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:48.894829" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:48.844712" elapsed="0.050262">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.414298" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:49.412016" elapsed="0.002359"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.415859" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:49.415245" elapsed="0.000662"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:49.414805" elapsed="0.001150"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.417163" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:49.416549" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:49.416115" elapsed="0.001145"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:49.414543" elapsed="0.002795"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.418031" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:49.417411" elapsed="0.000767"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.419832" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:49.418860" elapsed="0.001064"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:49.418241" elapsed="0.001757"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.420519" elapsed="0.000096"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:49.420062" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:49.417391" elapsed="0.003360"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:49.420790" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:17:49.420943" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:49.411348" elapsed="0.009621"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:49.421015" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:17:49.421153" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:49.410412" elapsed="0.010766"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.437956" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:49.437474" elapsed="0.000571"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.438902" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:49.438264" elapsed="0.000724"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:49.444395" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:49.441485" elapsed="0.005917">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:49.439126" elapsed="0.008404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.447850" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:49.447634" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:49.439105" elapsed="0.009005">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.448609" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:49.448869" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:49.448833" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:49.448813" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.449167" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:49.449411" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:49.425871" elapsed="0.023658">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:49.449616" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:49.421395" elapsed="0.028322">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.449884" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:49.395604" elapsed="0.054390">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.966115" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:49.963656" elapsed="0.002537"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.967715" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:49.967084" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:49.966633" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.969046" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:49.968421" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:49.967980" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:49.966363" elapsed="0.002858"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.969911" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:49.969291" elapsed="0.000763"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.971722" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:49.970753" elapsed="0.001063"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:49.970117" elapsed="0.001775"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.972415" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:49.971956" elapsed="0.000600"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:49.969272" elapsed="0.003369"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:49.972680" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:49.972834" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:49.963031" elapsed="0.009830"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:49.972941" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:17:49.973088" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:49.962377" elapsed="0.010737"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.987784" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:49.987311" elapsed="0.000563"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:49.988536" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:49.988091" elapsed="0.000669"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:49.993838" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:49.991127" elapsed="0.005528">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:49.988896" elapsed="0.007888">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.997080" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:49.996867" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:49.988876" elapsed="0.008417">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.997785" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:49.998042" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:49.998005" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:49.997985" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.998350" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:49.998605" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:49.975829" elapsed="0.022889">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:49.998791" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:49.973333" elapsed="0.025556">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:49.999055" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:49.950662" elapsed="0.048504">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:50.518118" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:50.514875" elapsed="0.003353"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:50.519800" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:50.519173" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:50.518732" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:50.521102" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:50.520493" elapsed="0.000657"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:50.520058" elapsed="0.001141"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:50.518441" elapsed="0.002835"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:50.521961" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:50.521345" elapsed="0.000773"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:50.523770" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:50.522789" elapsed="0.001073"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:50.522183" elapsed="0.001756"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:50.524463" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:50.524003" elapsed="0.000619"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:50.521326" elapsed="0.003480"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:50.524844" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:17:50.524997" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:50.513938" elapsed="0.011085"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:50.525070" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:50.525211" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:50.513024" elapsed="0.012212"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:50.540142" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:50.539550" elapsed="0.000681"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:50.540923" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:50.540450" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:50.546207" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:50.543492" elapsed="0.005584">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:50.541145" elapsed="0.008056">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:50.549495" elapsed="0.000091"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:50.549284" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:50.541124" elapsed="0.008609">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:50.550228" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:50.550520" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:50.550482" elapsed="0.000184"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:50.550462" elapsed="0.000266"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:50.550872" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:50.551111" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:50.528040" elapsed="0.023182">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:50.551295" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:50.525453" elapsed="0.025940">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:50.551557" elapsed="0.000037"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:50.499803" elapsed="0.051883">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.070434" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:51.067179" elapsed="0.003348"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.072018" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:51.071384" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:51.070943" elapsed="0.001172"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.073332" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:51.072737" elapsed="0.000644"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:51.072279" elapsed="0.001150"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:51.070697" elapsed="0.002813"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.074217" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:51.073597" elapsed="0.000767"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.076028" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:51.075040" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:51.074428" elapsed="0.001771"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.076745" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:51.076264" elapsed="0.000628"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:51.073564" elapsed="0.003388"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:51.076991" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:17:51.077144" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:51.066297" elapsed="0.010874"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:51.077217" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:51.077361" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:51.065370" elapsed="0.012016"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.092126" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:51.091537" elapsed="0.000678"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.092906" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:51.092432" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:51.098103" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:51.095391" elapsed="0.005525">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:51.093128" elapsed="0.007911">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.101335" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:51.101123" elapsed="0.000363"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:51.093107" elapsed="0.008441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.102069" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:51.102325" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:51.102288" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:51.102269" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.102636" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:51.102877" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:51.080216" elapsed="0.022773">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:51.103061" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:51.077619" elapsed="0.025541">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.103326" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:51.052287" elapsed="0.051148">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.623224" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:51.620000" elapsed="0.003305"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.624829" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:51.624193" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:51.623748" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.626230" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:51.625616" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:51.625160" elapsed="0.001168"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:51.623473" elapsed="0.002934"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.627131" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:51.626483" elapsed="0.000798"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.628964" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:51.627963" elapsed="0.001096"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:51.627346" elapsed="0.001795"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.629697" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:51.629207" elapsed="0.000652"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:51.626462" elapsed="0.003458"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:51.629962" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:51.630125" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:51.619050" elapsed="0.011102"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:51.630200" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:51.630345" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:51.618007" elapsed="0.012364"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.645205" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:51.644729" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:51.646027" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:51.645515" elapsed="0.000598"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:51.651786" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:51.648503" elapsed="0.006276">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:51.646253" elapsed="0.008655">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.655215" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:51.654997" elapsed="0.000373"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:51.646231" elapsed="0.009204">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.655961" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:51.656225" elapsed="0.000244"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:51.656186" elapsed="0.000368"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:51.656166" elapsed="0.000468"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.656784" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:51.657032" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:51.633186" elapsed="0.024017">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:51.657278" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:51.630616" elapsed="0.026763">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:51.657549" elapsed="0.000052"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:51.604199" elapsed="0.053498">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.177969" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:52.174421" elapsed="0.003664"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.179753" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:52.179123" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:52.178675" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.181087" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:52.180465" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:52.180020" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:52.178325" elapsed="0.002940"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.182006" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:52.181341" elapsed="0.000815"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.183836" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:52.182850" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:52.182221" elapsed="0.001787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.184537" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:52.184072" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:52.181320" elapsed="0.003438"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:52.184799" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:52.184960" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:52.173453" elapsed="0.011534"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:52.185034" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:52.185177" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:52.172421" elapsed="0.012783"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.199923" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:52.199435" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.200853" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:52.200233" elapsed="0.000706"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:52.206520" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:52.203402" elapsed="0.005937">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:52.201077" elapsed="0.008389">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.209812" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:52.209550" elapsed="0.000416"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:52.201056" elapsed="0.008974">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.210531" elapsed="0.000099"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:52.210870" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:52.210831" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:52.210810" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.211172" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:52.211413" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:52.187977" elapsed="0.023554">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:52.211625" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:52.185429" elapsed="0.026298">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.211892" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:52.158463" elapsed="0.053542">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.731291" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:52.727875" elapsed="0.003498"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.732906" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:52.732271" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:52.731822" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.734236" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:52.733635" elapsed="0.000650"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:52.733170" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:52.731543" elapsed="0.002872"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.735139" elapsed="0.000133"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:52.734489" elapsed="0.000862"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.737049" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:52.736034" elapsed="0.001110"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:52.735416" elapsed="0.001804"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.737780" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:52.737285" elapsed="0.000640"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:52.734468" elapsed="0.003517"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:52.738026" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:52.738187" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:52.726927" elapsed="0.011286"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:52.738260" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:52.738401" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:52.725907" elapsed="0.012519"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.753195" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:52.752719" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:52.753994" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:52.753524" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:52.759725" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:52.756438" elapsed="0.006185">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:52.754221" elapsed="0.008531">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.763058" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:52.762839" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:52.754201" elapsed="0.009076">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.763801" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:52.764064" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:52.764026" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:52.764007" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.764363" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:52.764662" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:52.741252" elapsed="0.023525">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:52.764901" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:52.738667" elapsed="0.026337">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:52.765171" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:52.712825" elapsed="0.052458">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.284031" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:53.281681" elapsed="0.002431"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.285666" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:53.285022" elapsed="0.000694"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:53.284547" elapsed="0.001220"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.287011" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:53.286379" elapsed="0.000683"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:53.285932" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:53.284284" elapsed="0.002909"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.287923" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:53.287267" elapsed="0.000807"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.289791" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:53.288766" elapsed="0.001122"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:53.288140" elapsed="0.001824"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.290499" elapsed="0.000095"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:53.290030" elapsed="0.000642"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:53.287246" elapsed="0.003487"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:53.290773" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:53.290935" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:53.280953" elapsed="0.010009"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:53.291008" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:53.291151" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:53.280231" elapsed="0.010946"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.305916" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:53.305429" elapsed="0.000580"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.306811" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:53.306225" elapsed="0.000671"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:53.312451" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:53.309274" elapsed="0.006084">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:53.307032" elapsed="0.008514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.315868" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:53.315650" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:53.307011" elapsed="0.009074">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.316592" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:53.316852" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:53.316813" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:53.316793" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.317153" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:53.317410" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:53.293932" elapsed="0.023592">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:53.317613" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:53.291404" elapsed="0.026309">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.317886" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:53.266210" elapsed="0.051789">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.837954" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:53.834591" elapsed="0.003444"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.839549" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:53.838939" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:53.838466" elapsed="0.001199"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.840880" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:53.840268" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:53.839828" elapsed="0.001150"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:53.838205" elapsed="0.002853"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.841801" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:53.841149" elapsed="0.000801"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.843626" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:53.842644" elapsed="0.001079"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:53.842014" elapsed="0.001784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.844327" elapsed="0.000134"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:53.843864" elapsed="0.000675"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:53.841128" elapsed="0.003486"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:53.844656" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:53.844816" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:53.833650" elapsed="0.011193"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:53.844890" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:53.845033" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:53.832596" elapsed="0.012475"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.859989" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:53.859470" elapsed="0.000611"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:53.860795" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:53.860299" elapsed="0.000585"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:53.866666" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:53.863547" elapsed="0.005953">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:53.861022" elapsed="0.008622">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.869949" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:53.869731" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:53.861002" elapsed="0.009168">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.870746" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:53.871011" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:53.870972" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:53.870953" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.871311" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:53.871556" elapsed="0.000031"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:53.847860" elapsed="0.023825">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:53.871756" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:53.845296" elapsed="0.026558">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:53.872020" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:53.818812" elapsed="0.053371">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.390660" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:54.387667" elapsed="0.003074"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.392263" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:54.391656" elapsed="0.000655"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:54.391183" elapsed="0.001177"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.393664" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:54.393038" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:54.392528" elapsed="0.001237"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:54.390907" elapsed="0.002937"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.394550" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:54.393919" elapsed="0.000798"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.396377" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:54.395381" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:54.394780" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.397105" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:54.396628" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:54.393898" elapsed="0.003412"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:54.397351" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:17:54.397516" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:54.386733" elapsed="0.010809"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:54.397606" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:54.397749" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:54.385705" elapsed="0.012071"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.412662" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:54.412172" elapsed="0.000582"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.413447" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:54.412993" elapsed="0.000541"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:54.419051" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:54.416063" elapsed="0.005947">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:54.413688" elapsed="0.008451">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.422439" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:54.422224" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:54.413667" elapsed="0.009061">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.423231" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:54.423491" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:54.423452" elapsed="0.000192"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:54.423432" elapsed="0.000275"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.423852" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:54.424091" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:54.400828" elapsed="0.023379">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:54.424280" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:54.398011" elapsed="0.026367">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.424545" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:54.373016" elapsed="0.051667">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.946882" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:54.943697" elapsed="0.003270"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.948481" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:54.947874" elapsed="0.000656"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:54.947397" elapsed="0.001198"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.949843" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:54.949226" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:54.948779" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:54.947136" elapsed="0.002884"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.950737" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:54.950093" elapsed="0.000791"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.952543" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:54.951550" elapsed="0.001107"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:54.950948" elapsed="0.001800"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.953278" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:54.952813" elapsed="0.000610"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:54.950072" elapsed="0.003411"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:54.953523" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:54.953701" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:54.942760" elapsed="0.010970"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:54.953839" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:54.953984" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:54.941670" elapsed="0.012340"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.968890" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:54.968378" elapsed="0.000602"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:54.969665" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:54.969197" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:54.975525" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:54.972227" elapsed="0.006282">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:54.969891" elapsed="0.008761">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.978958" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:54.978739" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:54.969870" elapsed="0.009307">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.979746" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:54.980010" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:54.979972" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:54.979953" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.980309" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:54.980555" elapsed="0.000031"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:54.956782" elapsed="0.023902">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:54.980770" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:54.954236" elapsed="0.026633">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:54.981035" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:54.925431" elapsed="0.055715">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:55.493435" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:55.491087" elapsed="0.002430"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:55.495061" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:55.494423" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:55.493966" elapsed="0.001194"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:55.496406" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:55.495799" elapsed="0.000657"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:55.495328" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:55.493701" elapsed="0.002914"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:55.497329" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:55.496692" elapsed="0.000788"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:55.499159" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:55.498171" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:55.497544" elapsed="0.001786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:55.499889" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:55.499395" elapsed="0.000639"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:55.496670" elapsed="0.003423"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:55.500133" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:55.500294" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:55.490374" elapsed="0.009947"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:55.500369" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:55.500511" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:55.489672" elapsed="0.010865"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:55.515084" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:55.514614" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:55.515993" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:55.515394" elapsed="0.000685"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:55.521739" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:55.518458" elapsed="0.006179">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:55.516217" elapsed="0.008548">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:55.525065" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:55.524849" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:55.516197" elapsed="0.009084">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:55.525797" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:55.526113" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:55.526073" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:55.526053" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:55.526411" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:55.526669" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:55.503299" elapsed="0.023484">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:55.526857" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:55.500803" elapsed="0.026153">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:55.527123" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:55.481822" elapsed="0.045412">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.045318" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:56.042223" elapsed="0.003172"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.046882" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:56.046258" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:56.045818" elapsed="0.001162"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.048195" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:56.047598" elapsed="0.000645"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:56.047146" elapsed="0.001145"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:56.045551" elapsed="0.002819"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.049079" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:56.048453" elapsed="0.000772"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.050871" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:56.049894" elapsed="0.001070"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:56.049288" elapsed="0.001750"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.051564" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:56.051103" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:56.048434" elapsed="0.003349"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:56.051821" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:56.051976" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:56.041348" elapsed="0.010654"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:56.052048" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:56.052190" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:56.040424" elapsed="0.011791"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.066790" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:56.066190" elapsed="0.000690"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.067553" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:56.067098" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:56.073198" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:56.070054" elapsed="0.006004">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:56.067793" elapsed="0.008391">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.076521" elapsed="0.000125"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:56.076271" elapsed="0.000467"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:56.067773" elapsed="0.009030">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.077282" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:56.077544" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:56.077506" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:56.077487" elapsed="0.000230"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.077859" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:56.078105" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:56.055038" elapsed="0.023177">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:56.078289" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:56.052444" elapsed="0.025943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.078553" elapsed="0.000036"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:56.027883" elapsed="0.050797">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.597034" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:56.593913" elapsed="0.003197"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.598593" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:56.597963" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:56.597508" elapsed="0.001188"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.599954" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:56.599334" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:56.598895" elapsed="0.001157"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:56.597262" elapsed="0.002868"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.600828" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:56.600198" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.602634" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:56.601647" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:56.601037" elapsed="0.001773"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.603340" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:56.602875" elapsed="0.000609"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:56.600179" elapsed="0.003365"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:56.603597" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:56.603752" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:56.593041" elapsed="0.010738"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:56.603826" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:56.603969" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:56.592111" elapsed="0.011884"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.618444" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:56.617984" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:56.619357" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:56.618904" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:56.624648" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:56.621865" elapsed="0.005578">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:56.619595" elapsed="0.007985">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.627879" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:56.627666" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:56.619560" elapsed="0.008534">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.628610" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:56.628868" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:56.628831" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:56.628812" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.629162" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:56.629402" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:56.606808" elapsed="0.022738">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:56.629635" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:56.604227" elapsed="0.025509">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:56.629902" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:56.579242" elapsed="0.050772">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.148939" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:57.145719" elapsed="0.003301"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.150531" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:57.149916" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:57.149448" elapsed="0.001199"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.151880" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:57.151260" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:57.150812" elapsed="0.001167"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:57.149186" elapsed="0.002886"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.152793" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:57.152147" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.154619" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:57.153641" elapsed="0.001073"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:57.153007" elapsed="0.001788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.155328" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:57.154861" elapsed="0.000612"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:57.152126" elapsed="0.003407"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:57.155588" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:17:57.155751" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:57.144825" elapsed="0.010953"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:57.155825" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:57.155969" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:57.143817" elapsed="0.012178"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.170538" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:57.170072" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.171313" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:57.170862" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:57.176888" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:57.174034" elapsed="0.005801">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:57.171535" elapsed="0.008427">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.180288" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:57.180071" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:57.171514" elapsed="0.008993">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.181019" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:57.181281" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:57.181243" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:57.181223" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.181596" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:57.181846" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:57.158788" elapsed="0.023173">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:57.182034" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:57.156229" elapsed="0.025906">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.182303" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:57.130792" elapsed="0.051624">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.701106" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:57.697973" elapsed="0.003210"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.702694" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:57.702057" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:57.701608" elapsed="0.001260"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.704367" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:57.703639" elapsed="0.000785"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:57.703090" elapsed="0.001400"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:57.701342" elapsed="0.003256"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.705399" elapsed="0.000131"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:57.704681" elapsed="0.000946"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.707277" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:57.706288" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:57.705693" elapsed="0.001753"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.707996" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:57.707510" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:57.704659" elapsed="0.003540"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:57.708239" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:57.708395" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:57.697100" elapsed="0.011321"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:57.708468" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:57.708627" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:57.696175" elapsed="0.012478"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.723191" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:57.722726" elapsed="0.000554"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:57.723988" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:57.723498" elapsed="0.000577"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:57.729486" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:57.726613" elapsed="0.005704">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:57.724212" elapsed="0.008231">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.732782" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:57.732529" elapsed="0.000406"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:57.724192" elapsed="0.008806">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.733484" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:57.733760" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:57.733722" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:57.733702" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.734065" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:57.734305" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:57.711418" elapsed="0.023001">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:57.734534" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:57.708872" elapsed="0.025781">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:57.734822" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:57.683091" elapsed="0.051843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.253537" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:58.250497" elapsed="0.003137"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.255144" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:58.254514" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:58.254064" elapsed="0.001179"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.256484" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:58.255879" elapsed="0.000655"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:58.255409" elapsed="0.001192"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:58.253803" elapsed="0.002882"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.257389" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:58.256758" elapsed="0.000778"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.259215" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:58.258220" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:58.257616" elapsed="0.001770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.259942" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:58.259450" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:58.256737" elapsed="0.003410"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:58.260187" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:17:58.260351" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:58.249630" elapsed="0.010747"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:58.260425" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:58.260580" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:58.248648" elapsed="0.011961"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.275152" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:58.274564" elapsed="0.000677"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.275959" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:58.275459" elapsed="0.000586"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:58.281680" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:58.278556" elapsed="0.006053">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:58.276181" elapsed="0.008613">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.285098" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:58.284881" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:58.276161" elapsed="0.009155">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.285817" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:58.286077" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:58.286039" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:58.286020" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.286376" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:58.286638" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:58.263374" elapsed="0.023377">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:58.286829" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:58.260829" elapsed="0.026099">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.287093" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:58.236464" elapsed="0.050739">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.805754" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:58.803128" elapsed="0.002703"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.807326" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:58.806691" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:58.806232" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.808672" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:58.808064" elapsed="0.000657"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:58.807624" elapsed="0.001145"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:58.805986" elapsed="0.002860"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.809510" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:58.808914" elapsed="0.000756"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.811363" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:58.810381" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:58.809733" elapsed="0.001813"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.812103" elapsed="0.000103"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:58.811637" elapsed="0.000648"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:58.808896" elapsed="0.003449"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:58.812383" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:58.812535" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:58.802268" elapsed="0.010293"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:58.812625" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:58.812768" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:58.801358" elapsed="0.011436"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.827313" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:58.826860" elapsed="0.000540"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:58.828244" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:58.827792" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:58.833458" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:58.830714" elapsed="0.005556">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:58.828467" elapsed="0.007926">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.836707" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:58.836476" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:58.828447" elapsed="0.008474">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.837387" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:58.837657" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:58.837620" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:58.837600" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.837952" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:58.838192" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:58.815784" elapsed="0.022519">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:58.838375" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:58.813010" elapsed="0.025462">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:58.838653" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:58.787862" elapsed="0.050938">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.355271" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:59.352833" elapsed="0.002525"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.356829" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:59.356215" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:59.355775" elapsed="0.001153"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.358136" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:59.357521" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:59.357087" elapsed="0.001144"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:59.355513" elapsed="0.002796"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.358992" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:59.358377" elapsed="0.000761"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.360808" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:59.359835" elapsed="0.001066"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:59.359203" elapsed="0.001773"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.361497" elapsed="0.000097"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:59.361040" elapsed="0.000633"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:59.358358" elapsed="0.003374"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:59.361771" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:17:59.361929" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:59.352213" elapsed="0.009743"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:59.362002" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:17:59.362143" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:59.351561" elapsed="0.010607"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.376528" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:59.376077" elapsed="0.000556"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.377294" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:59.376850" elapsed="0.000528"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:59.382614" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:59.379842" elapsed="0.005570">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:59.377514" elapsed="0.008021">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.385928" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:59.385714" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:59.377493" elapsed="0.008691">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.386682" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:59.386941" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:59.386904" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:59.386884" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.387238" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:59.387496" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:59.364880" elapsed="0.022744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:59.387698" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:59.362384" elapsed="0.025412">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.387966" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:59.339435" elapsed="0.048641">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.905905" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:59.903498" elapsed="0.002484"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.907652" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:59.906877" elapsed="0.000825"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:17:59.906408" elapsed="0.001344"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.908987" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:59.908369" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:17:59.907923" elapsed="0.001161"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:17:59.906137" elapsed="0.003028"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.909857" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:59.909233" elapsed="0.000773"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.911713" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:17:59.910699" elapsed="0.001111"/>
</kw>
<status status="PASS" start="2026-04-11T23:17:59.910070" elapsed="0.001816"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.912420" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:59.911952" elapsed="0.000646"/>
</branch>
<status status="PASS" start="2026-04-11T23:17:59.909214" elapsed="0.003447"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:59.912699" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:17:59.912852" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:17:59.902618" elapsed="0.010261"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:17:59.912960" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:17:59.913106" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:17:59.901689" elapsed="0.011442"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.927755" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:59.927123" elapsed="0.000725"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:17:59.928510" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:17:59.928063" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:17:59.933960" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:17:59.930958" elapsed="0.005752">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:17:59.928749" elapsed="0.008087">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.937135" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:17:59.936922" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:17:59.928728" elapsed="0.008619">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.937833" elapsed="0.000030"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:59.938092" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:17:59.938055" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:17:59.938036" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.938385" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:17:59.938639" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:17:59.915894" elapsed="0.022857">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:17:59.938823" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:17:59.913347" elapsed="0.025579">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:17:59.939090" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:17:59.888721" elapsed="0.050492">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:00.458471" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:00.455272" elapsed="0.003325"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:00.460455" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:00.459848" elapsed="0.000655"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:00.459197" elapsed="0.001356"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:00.461785" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:00.461172" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:00.460734" elapsed="0.001149"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:00.458815" elapsed="0.003147"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:00.462647" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:00.462031" elapsed="0.000769"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:00.464454" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:00.463468" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:00.462865" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:00.465165" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:00.464706" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:00.462012" elapsed="0.003359"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:00.465408" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:00.465562" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:00.454336" elapsed="0.011268"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:00.465653" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:00.465796" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:00.453421" elapsed="0.012400"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:00.480321" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:00.479862" elapsed="0.000548"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:00.481094" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:00.480642" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:00.488425" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:00.485186" elapsed="0.006046">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:00.481318" elapsed="0.010039">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:00.491694" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:00.491441" elapsed="0.000406"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:00.481298" elapsed="0.010612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:00.492387" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:00.492698" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:00.492660" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:00.492640" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:00.492994" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:00.493236" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:00.468597" elapsed="0.024749">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:00.493419" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:00.466044" elapsed="0.027473">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:00.493698" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:00.439844" elapsed="0.053967">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.013767" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:01.011154" elapsed="0.002700"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.015550" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:01.014927" elapsed="0.000708"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:01.014297" elapsed="0.001395"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.016939" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:01.016313" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:01.015861" elapsed="0.001175"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:01.014028" elapsed="0.003089"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.017861" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:01.017199" elapsed="0.000814"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.019730" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:01.018702" elapsed="0.001123"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:01.018078" elapsed="0.001823"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.020673" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:01.019966" elapsed="0.000856"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:01.017176" elapsed="0.003707"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:01.020926" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:18:01.021105" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:01.010144" elapsed="0.010988"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:01.021181" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:01.021329" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:01.008893" elapsed="0.012462"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.036809" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:01.036219" elapsed="0.000697"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.037616" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:01.037145" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:01.043430" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:01.040414" elapsed="0.005908">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:01.037860" elapsed="0.008605">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.046860" elapsed="0.000080"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:01.046556" elapsed="0.000469"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:01.037833" elapsed="0.009255">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.047707" elapsed="0.000030"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:01.047986" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:01.047944" elapsed="0.000138"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:01.047922" elapsed="0.000220"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.048288" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:01.048528" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:01.024716" elapsed="0.023953">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:01.048746" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:01.021626" elapsed="0.027221">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.049019" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:00.994690" elapsed="0.054442">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.566226" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:01.563674" elapsed="0.002634"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.567828" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:01.567198" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:01.566754" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.569350" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:01.568746" elapsed="0.000654"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:01.568285" elapsed="0.001164"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:01.566468" elapsed="0.003060"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.570255" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:01.569618" elapsed="0.000782"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.572091" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:01.571097" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:01.570464" elapsed="0.001797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.572804" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:01.572327" elapsed="0.000628"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:01.569597" elapsed="0.003418"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:01.573055" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:18:01.573214" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:01.563027" elapsed="0.010214"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:01.573288" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:01.573430" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:01.562336" elapsed="0.011120"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.588002" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:01.587519" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:01.588778" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:01.588306" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:01.594357" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:01.591385" elapsed="0.005805">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:01.589000" elapsed="0.008318">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.597704" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:01.597401" elapsed="0.000457"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:01.588980" elapsed="0.008947">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.598412" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:01.598699" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:01.598659" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:01.598628" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.599001" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:01.599243" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:01.576207" elapsed="0.023185">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:01.599465" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:01.573704" elapsed="0.025861">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:01.599750" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:01.549835" elapsed="0.050030">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.119155" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:02.115890" elapsed="0.003349"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.120797" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:02.120152" elapsed="0.000695"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:02.119686" elapsed="0.001215"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.122150" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:02.121526" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:02.121069" elapsed="0.001267"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:02.119407" elapsed="0.003013"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.123166" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:02.122512" elapsed="0.000804"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.125006" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:02.124006" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:02.123383" elapsed="0.001794"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.125726" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:02.125245" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:02.122488" elapsed="0.003443"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:02.125970" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:02.126132" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:02.114985" elapsed="0.011173"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:02.126205" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:02.126347" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:02.113997" elapsed="0.012377"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.141028" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:02.140549" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.141803" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:02.141337" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:02.147492" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:02.144490" elapsed="0.005898">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:02.142026" elapsed="0.008520">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.150870" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:02.150647" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:02.142006" elapsed="0.009085">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.151646" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:02.151907" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:02.151870" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:02.151851" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.152203" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:02.152446" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:02.129204" elapsed="0.023355">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:02.152647" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:02.126624" elapsed="0.026123">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.152913" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:02.100680" elapsed="0.052345">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.670103" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:02.667794" elapsed="0.002387"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.671689" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:02.671067" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:02.670622" elapsed="0.001172"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.673020" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:02.672396" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:02.671957" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:02.670353" elapsed="0.002845"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.673892" elapsed="0.000114"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:02.673267" elapsed="0.000817"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.675773" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:02.674784" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:02.674148" elapsed="0.001800"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.676472" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:02.676012" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:02.673248" elapsed="0.003454"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:02.676741" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:02.676898" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:02.667165" elapsed="0.009760"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:02.676973" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:02.677116" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:02.666290" elapsed="0.010852"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.691581" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:02.691108" elapsed="0.000565"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:02.692355" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:02.691892" elapsed="0.000550"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:02.697804" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:02.694957" elapsed="0.005721">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:02.692712" elapsed="0.008092">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.701108" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:02.700889" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:02.692557" elapsed="0.008767">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.701823" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:02.702083" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:02.702046" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:02.702028" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.702394" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:02.702652" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:02.679886" elapsed="0.022879">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:02.702872" elapsed="0.000024"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:02.677363" elapsed="0.025619">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:02.703151" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:02.653651" elapsed="0.049612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.221298" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:03.219010" elapsed="0.002365"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.222883" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:03.222256" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:03.221794" elapsed="0.001188"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.224214" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:03.223615" elapsed="0.000649"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:03.223148" elapsed="0.001164"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:03.221531" elapsed="0.002860"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.225093" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:03.224459" elapsed="0.000780"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.226895" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:03.225903" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:03.225302" elapsed="0.001761"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.227612" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:03.227127" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:03.224440" elapsed="0.003392"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:03.227871" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:18:03.228024" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:03.218124" elapsed="0.009927"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:03.228097" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:03.228237" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:03.217118" elapsed="0.011144"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.243005" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:03.242532" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.243907" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:03.243312" elapsed="0.000693"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:03.249232" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:03.246507" elapsed="0.005626">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:03.244141" elapsed="0.008152">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.252613" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:03.252381" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:03.244121" elapsed="0.008714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.253306" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:03.253563" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:03.253526" elapsed="0.000146"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:03.253507" elapsed="0.000228"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.253877" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:03.254132" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:03.231215" elapsed="0.023029">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:03.254317" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:03.228478" elapsed="0.025938">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.254595" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:03.204307" elapsed="0.050407">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.773500" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:03.770285" elapsed="0.003340"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.775509" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:03.774868" elapsed="0.000689"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:03.774227" elapsed="0.001395"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.776822" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:03.776218" elapsed="0.000652"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:03.775785" elapsed="0.001133"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:03.773844" elapsed="0.003151"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.777682" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:03.777065" elapsed="0.000764"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.779475" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:03.778499" elapsed="0.001067"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:03.777892" elapsed="0.001768"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.780207" elapsed="0.000108"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:03.779725" elapsed="0.000667"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:03.777046" elapsed="0.003406"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:03.780491" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:18:03.780663" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:03.769405" elapsed="0.011285"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:03.780736" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:03.780876" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:03.768498" elapsed="0.012403"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.795518" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:03.795065" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:03.796289" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:03.795841" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:03.801704" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:03.798915" elapsed="0.005638">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:03.796511" elapsed="0.008183">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.804990" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:03.804778" elapsed="0.000363"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:03.796491" elapsed="0.008712">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.805685" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:03.805939" elapsed="0.000025"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:03.805902" elapsed="0.000141"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:03.805883" elapsed="0.000221"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.806247" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:03.806487" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:03.783846" elapsed="0.022806">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:03.806727" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:03.781118" elapsed="0.025708">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:03.806993" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:03.755309" elapsed="0.051830">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.325487" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:04.322888" elapsed="0.002695"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.327115" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:04.326491" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:04.326043" elapsed="0.001172"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.328457" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:04.327852" elapsed="0.000655"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:04.327380" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:04.325754" elapsed="0.002899"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.329359" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:04.328728" elapsed="0.000778"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.331334" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:04.330198" elapsed="0.001232"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:04.329584" elapsed="0.001924"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.332061" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:04.331595" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:04.328707" elapsed="0.003565"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:04.332312" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:04.332472" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:04.322241" elapsed="0.010258"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:04.332546" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:18:04.332705" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:04.321518" elapsed="0.011213"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.347622" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:04.347144" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.348378" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:04.347930" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:04.354050" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:04.350990" elapsed="0.005978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:04.348614" elapsed="0.008482">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.357395" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:04.357181" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:04.348593" elapsed="0.009087">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.358192" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:04.358452" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:04.358415" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:04.358396" elapsed="0.000268"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.358808" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:04.359052" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:04.335440" elapsed="0.023724">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:04.359237" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:04.332953" elapsed="0.026382">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.359501" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:04.307947" elapsed="0.051682">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.878477" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:04.875324" elapsed="0.003235"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.880135" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:04.879463" elapsed="0.000722"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:04.879007" elapsed="0.001229"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.881511" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:04.880901" elapsed="0.000659"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:04.880399" elapsed="0.001248"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:04.878747" elapsed="0.002984"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.882525" elapsed="0.000109"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:04.881802" elapsed="0.000935"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.884760" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:04.883633" elapsed="0.001220"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:04.882819" elapsed="0.002110"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.885456" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:04.884995" elapsed="0.000641"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:04.881782" elapsed="0.003919"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:04.885741" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:04.885906" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:04.874404" elapsed="0.011530"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:04.886028" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:04.886176" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:04.873389" elapsed="0.012813"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.900716" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:04.900241" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:04.901464" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:04.901019" elapsed="0.000542"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:04.907026" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:04.904172" elapsed="0.005718">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:04.901750" elapsed="0.008267">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.910315" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:04.910100" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:04.901727" elapsed="0.008806">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.911101" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:04.911356" elapsed="0.000168"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:04.911319" elapsed="0.000306"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:04.911301" elapsed="0.000388"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.911835" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:04.912079" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:04.888993" elapsed="0.023200">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:04.912266" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:04.886423" elapsed="0.025942">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:04.912530" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:04.860303" elapsed="0.052354">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.429423" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:05.427065" elapsed="0.002458"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.431055" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:05.430423" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:05.429966" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.432397" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:05.431793" elapsed="0.000654"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:05.431323" elapsed="0.001173"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:05.429704" elapsed="0.002888"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:05.433372" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:05.432669" elapsed="0.000872"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.435225" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:05.434239" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:05.433623" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:05.435958" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:05.435468" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:05.432648" elapsed="0.003518"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:05.436206" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:05.436368" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:05.426348" elapsed="0.010047"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:05.436442" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:05.436600" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:05.425664" elapsed="0.010963"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.451817" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:05.451331" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.452594" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:05.452125" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:05.458188" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:05.455146" elapsed="0.005978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:05.452819" elapsed="0.008432">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:05.461600" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:05.461336" elapsed="0.000424"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:05.452798" elapsed="0.009026">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:05.462304" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:05.462618" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:05.462560" elapsed="0.000152"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:05.462541" elapsed="0.000233"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:05.462918" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:05.463164" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:05.439470" elapsed="0.023807">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:05.463351" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:05.436848" elapsed="0.026602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:05.463632" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:05.413409" elapsed="0.050336">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.983752" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:05.978768" elapsed="0.005069"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.985363" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:05.984737" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:05.984265" elapsed="0.001198"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.986732" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:05.986102" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:05.985650" elapsed="0.001179"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:05.984005" elapsed="0.002905"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:05.987635" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:05.986983" elapsed="0.000798"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:05.989438" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:05.988437" elapsed="0.001095"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:05.987844" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:05.990148" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:05.989688" elapsed="0.000604"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:05.986962" elapsed="0.003390"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:05.990392" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:05.990552" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:05.977878" elapsed="0.012715"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:05.990640" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:05.990783" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:05.976909" elapsed="0.013900"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:06.005358" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:06.004862" elapsed="0.000585"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:06.006130" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:06.005677" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:06.011869" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:06.008700" elapsed="0.006003">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:06.006351" elapsed="0.008478">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.015126" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:06.014914" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:06.006330" elapsed="0.009013">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.015913" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:06.016169" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:06.016132" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:06.016112" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.016466" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:06.016723" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:05.993624" elapsed="0.023212">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:06.016908" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:05.991028" elapsed="0.025979">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.017171" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:05.964440" elapsed="0.052859">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:06.529861" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:06.527433" elapsed="0.002513"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:06.531464" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:06.530855" elapsed="0.000659"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:06.530389" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:06.532882" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:06.532259" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:06.531814" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:06.530121" elapsed="0.002940"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.533823" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:06.533172" elapsed="0.000798"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:06.535660" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:06.534662" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:06.534036" elapsed="0.001796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.536371" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:06.535897" elapsed="0.000620"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:06.533148" elapsed="0.003457"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:06.536650" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:18:06.536822" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:06.526800" elapsed="0.010049"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:06.536896" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:06.537038" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:06.526069" elapsed="0.010995"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:06.552238" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:06.551262" elapsed="0.001179"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:06.554073" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:06.552976" elapsed="0.001290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:06.563283" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:06.559374" elapsed="0.007657">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:06.554598" elapsed="0.012562">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.567459" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:06.567245" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:06.554527" elapsed="0.013169">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.568185" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:06.568442" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:06.568406" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:06.568387" elapsed="0.000223"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.568754" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:06.568996" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:06.539927" elapsed="0.029235">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:06.569235" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:06.537304" elapsed="0.032028">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:06.569496" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:06.517907" elapsed="0.051716">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.086274" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:07.083732" elapsed="0.002629"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.087900" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:07.087272" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:07.086814" elapsed="0.001186"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.089449" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:07.088650" elapsed="0.000848"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:07.088169" elapsed="0.001377"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:07.086535" elapsed="0.003108"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.090351" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:07.089721" elapsed="0.000778"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.092154" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:07.091180" elapsed="0.001068"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:07.090565" elapsed="0.001759"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.092882" elapsed="0.000082"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:07.092388" elapsed="0.000653"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:07.089700" elapsed="0.003401"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:07.093141" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:07.093301" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:07.083080" elapsed="0.010248"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:07.093374" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:07.093516" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:07.082360" elapsed="0.011183"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.108233" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:07.107759" elapsed="0.000563"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.109022" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:07.108543" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:07.114751" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:07.111714" elapsed="0.005872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:07.109246" elapsed="0.008470">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.118015" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:07.117800" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:07.109226" elapsed="0.009004">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.118822" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:07.119084" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:07.119045" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:07.119025" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.119382" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:07.119640" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:07.096291" elapsed="0.023465">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:07.119829" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:07.093783" elapsed="0.026147">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.120098" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:07.070359" elapsed="0.049858">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.640919" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:07.637377" elapsed="0.003662"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.642614" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:07.641983" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:07.641485" elapsed="0.001231"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.643957" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:07.643324" elapsed="0.000682"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:07.642882" elapsed="0.001174"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:07.641223" elapsed="0.002913"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.644866" elapsed="0.000145"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:07.644211" elapsed="0.000900"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.646798" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:07.645808" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:07.645179" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.647497" elapsed="0.000083"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:07.647034" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:07.644190" elapsed="0.003530"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:07.647762" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:07.647926" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:07.636410" elapsed="0.011543"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:07.648001" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:07.648144" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:07.635373" elapsed="0.012797"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.663075" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:07.662596" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:07.663862" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:07.663385" elapsed="0.000563"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:07.669740" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:07.666706" elapsed="0.005899">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:07.664088" elapsed="0.008660">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.673053" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:07.672836" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:07.664068" elapsed="0.009204">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.673860" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:07.674124" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:07.674085" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:07.674066" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.674424" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:07.674687" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:07.651049" elapsed="0.023754">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:07.674928" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:07.648398" elapsed="0.026633">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:07.675200" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:07.621080" elapsed="0.054234">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.194459" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:08.191608" elapsed="0.002932"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.196068" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:08.195432" elapsed="0.000686"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:08.194983" elapsed="0.001188"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.197407" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:08.196806" elapsed="0.000651"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:08.196338" elapsed="0.001168"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:08.194724" elapsed="0.002878"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.198307" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:08.197677" elapsed="0.000779"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.200129" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:08.199136" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:08.198520" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.200858" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:08.200366" elapsed="0.000638"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:08.197656" elapsed="0.003409"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:08.201105" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:08.201268" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:08.190660" elapsed="0.010635"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:08.201342" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:08.201484" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:08.189618" elapsed="0.011892"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.216111" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:08.215518" elapsed="0.000683"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.216909" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:08.216419" elapsed="0.000577"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:08.222392" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:08.219373" elapsed="0.005964">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:08.217136" elapsed="0.008393">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.226700" elapsed="0.000168"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:08.225633" elapsed="0.001347"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:08.217113" elapsed="0.009950">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.227709" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:08.227978" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:08.227939" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:08.227919" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.228477" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:08.228769" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:08.204345" elapsed="0.024548">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:08.228971" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:08.201750" elapsed="0.027325">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.229251" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:08.176849" elapsed="0.052520">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.749138" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:08.745803" elapsed="0.003422"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.750758" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:08.750118" elapsed="0.000689"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:08.749669" elapsed="0.001187"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.752089" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:08.751474" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:08.751024" elapsed="0.001161"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:08.749392" elapsed="0.002872"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.753018" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:08.752338" elapsed="0.000832"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.754862" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:08.753857" elapsed="0.001101"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:08.753236" elapsed="0.001798"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.755583" elapsed="0.000200"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:08.755103" elapsed="0.000761"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:08.752317" elapsed="0.003607"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:08.755964" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:08.756127" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:08.744905" elapsed="0.011249"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:08.756200" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:08.756343" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:08.743917" elapsed="0.012465"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.771278" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:08.770813" elapsed="0.000555"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:08.772163" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:08.771599" elapsed="0.000652"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:08.777891" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:08.774916" elapsed="0.006022">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:08.772407" elapsed="0.008661">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.781370" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:08.781154" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:08.772386" elapsed="0.009219">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.782083" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:08.782342" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:08.782305" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:08.782286" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.782688" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:08.782935" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:08.759180" elapsed="0.023867">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:08.783119" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:08.756621" elapsed="0.026596">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:08.783383" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:08.730956" elapsed="0.052576">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.301534" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:09.298369" elapsed="0.003259"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.303114" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:09.302491" elapsed="0.000672"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:09.302045" elapsed="0.001169"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.304449" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:09.303835" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:09.303379" elapsed="0.001170"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:09.301790" elapsed="0.002854"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.305338" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:09.304717" elapsed="0.000770"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.307158" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:09.306165" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:09.305551" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.307874" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:09.307394" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:09.304697" elapsed="0.003386"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:09.308122" elapsed="0.000046"/>
</return>
<msg time="2026-04-11T23:18:09.308297" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:09.297485" elapsed="0.010838"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:09.308370" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:09.308511" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:09.296535" elapsed="0.012001"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.323334" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:09.322870" elapsed="0.000552"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.324108" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:09.323657" elapsed="0.000570"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:09.329852" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:09.326934" elapsed="0.005943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:09.324364" elapsed="0.008639">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.333305" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:09.333087" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:09.324344" elapsed="0.009222">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.334073" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:09.334331" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:09.334293" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:09.334274" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.334643" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:09.334889" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:09.311535" elapsed="0.023466">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:09.335074" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:09.308773" elapsed="0.026400">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.335339" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:09.284240" elapsed="0.051210">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.853192" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:09.849771" elapsed="0.003526"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.855363" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:09.854482" elapsed="0.000950"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:09.853869" elapsed="0.001630"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.856955" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:09.856344" elapsed="0.000660"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:09.855746" elapsed="0.001306"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:09.853508" elapsed="0.003622"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.857816" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:09.857198" elapsed="0.000763"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.859616" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:09.858648" elapsed="0.001060"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:09.858024" elapsed="0.001759"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.860324" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:09.859849" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:09.857179" elapsed="0.003352"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:09.860582" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:09.860735" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:09.848911" elapsed="0.011850"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:09.860842" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:09.860988" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:09.847996" elapsed="0.013017"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.875931" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:09.875426" elapsed="0.000596"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:09.876719" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:09.876247" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:09.881953" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:09.879346" elapsed="0.005438">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:09.876941" elapsed="0.007968">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.885208" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:09.884993" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:09.876921" elapsed="0.008505">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.885919" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:09.886177" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:09.886140" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:09.886121" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.886474" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:09.886792" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:09.863788" elapsed="0.023117">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:09.886984" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:09.861230" elapsed="0.025851">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:09.887246" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:09.836065" elapsed="0.051292">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.407935" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:10.404420" elapsed="0.003631"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.409610" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:10.408989" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:10.408519" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.410940" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:10.410319" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:10.409875" elapsed="0.001164"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:10.408261" elapsed="0.002857"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.411851" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:10.411195" elapsed="0.000803"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.413818" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:10.412696" elapsed="0.001214"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:10.412062" elapsed="0.001924"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.414509" elapsed="0.000083"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:10.414051" elapsed="0.000620"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:10.411172" elapsed="0.003560"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:10.414773" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:10.414935" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:10.403383" elapsed="0.011579"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:10.415010" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:10.415153" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:10.402345" elapsed="0.012834"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.429724" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:10.429240" elapsed="0.000576"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.430487" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:10.430033" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:10.435996" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:10.433127" elapsed="0.005755">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:10.430727" elapsed="0.008282">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.439308" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:10.439093" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:10.430706" elapsed="0.008817">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.440064" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:10.440409" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:10.440370" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:10.440350" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.440769" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:10.441008" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:10.417963" elapsed="0.023160">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:10.441196" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:10.415407" elapsed="0.025887">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.441460" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:10.388182" elapsed="0.053403">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.961211" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:10.958094" elapsed="0.003202"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.962862" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:10.962214" elapsed="0.000697"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:10.961769" elapsed="0.001193"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.964235" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:10.963621" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:10.963131" elapsed="0.001205"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:10.961472" elapsed="0.002946"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.965155" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:10.964500" elapsed="0.000809"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.967018" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:10.966005" elapsed="0.001109"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:10.965376" elapsed="0.001815"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.967779" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:10.967258" elapsed="0.000671"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:10.964478" elapsed="0.003514"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:10.968033" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:10.968197" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:10.957121" elapsed="0.011102"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:10.968272" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:18:10.968423" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:10.956075" elapsed="0.012374"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.985095" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:10.984359" elapsed="0.000866"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:10.986258" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:10.985537" elapsed="0.000846"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:10.994041" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:10.990238" elapsed="0.007752">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:10.986730" elapsed="0.011437">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.998620" elapsed="0.000094"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:10.998293" elapsed="0.000533"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:10.986551" elapsed="0.012360">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:10.999642" elapsed="0.000038"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:10.999992" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:10.999936" elapsed="0.000181"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:10.999909" elapsed="0.000294"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:11.000424" elapsed="0.000030"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:11.000778" elapsed="0.000025"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:10.971378" elapsed="0.029561">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:11.001045" elapsed="0.000023"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:10.968697" elapsed="0.032491">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:11.001431" elapsed="0.000031"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:10.942337" elapsed="0.059304">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:11.520930" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:11.517715" elapsed="0.003299"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:11.522535" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:11.521918" elapsed="0.000682"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:11.521445" elapsed="0.001207"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:11.523965" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:11.523350" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:11.522888" elapsed="0.001175"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:11.521183" elapsed="0.002959"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:11.524864" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:11.524220" elapsed="0.000791"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:11.526678" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:11.525704" elapsed="0.001069"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:11.525076" elapsed="0.001773"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:11.527391" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:11.526915" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:11.524199" elapsed="0.003461"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:11.527703" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:11.527868" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:11.516780" elapsed="0.011114"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:11.527942" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:11.528085" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:11.515706" elapsed="0.012405"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:11.544477" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:11.544012" elapsed="0.000553"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:11.545245" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:11.544799" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:11.550757" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:11.547778" elapsed="0.005831">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:11.545469" elapsed="0.008269">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:11.554125" elapsed="0.000094"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:11.553828" elapsed="0.000520"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:11.545449" elapsed="0.008964">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:11.555028" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:11.555308" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:11.555267" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:11.555247" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:11.555624" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:11.555864" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:11.532807" elapsed="0.023233">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:11.556113" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:11.528340" elapsed="0.027871">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:11.556379" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:11.502667" elapsed="0.053823">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.075372" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:12.071844" elapsed="0.003611"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.076988" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:12.076360" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:12.075908" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.078328" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:12.077730" elapsed="0.000647"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:12.077253" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:12.075641" elapsed="0.002865"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.079246" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:12.078598" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.081070" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:12.080080" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:12.079461" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.081788" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:12.081312" elapsed="0.000622"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:12.078562" elapsed="0.003431"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:12.082034" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:12.082196" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:12.070948" elapsed="0.011274"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:12.082268" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:12.082409" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:12.069993" elapsed="0.012442"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.097407" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:12.096932" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.098305" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:12.097836" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:12.103967" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:12.100934" elapsed="0.005910">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:12.098528" elapsed="0.008505">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.107352" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:12.107135" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:12.098508" elapsed="0.009059">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.108067" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:12.108322" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:12.108285" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:12.108266" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.108646" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:12.108889" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:12.085396" elapsed="0.023609">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:12.109077" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:12.082822" elapsed="0.026355">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.109344" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:12.057265" elapsed="0.052190">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.626754" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:12.624351" elapsed="0.002486"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.628343" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:12.627726" elapsed="0.000668"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:12.627262" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.629697" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:12.629065" elapsed="0.000682"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:12.628625" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:12.627003" elapsed="0.002873"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.630598" elapsed="0.000159"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:12.629953" elapsed="0.000885"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.632498" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:12.631513" elapsed="0.001096"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:12.630903" elapsed="0.001784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.633213" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:12.632751" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:12.629931" elapsed="0.003485"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:12.633457" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:12.633645" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:12.623714" elapsed="0.009958"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:12.633721" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:12.633865" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:12.622952" elapsed="0.010938"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.648373" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:12.647893" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:12.649156" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:12.648704" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:12.654870" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:12.651785" elapsed="0.006035">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:12.649381" elapsed="0.008569">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.658271" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:12.658044" elapsed="0.000380"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:12.649360" elapsed="0.009128">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.659055" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:12.659332" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:12.659287" elapsed="0.000143"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:12.659261" elapsed="0.000230"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.659652" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:12.659892" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:12.636637" elapsed="0.023373">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:12.660142" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:12.634119" elapsed="0.026129">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:12.660419" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:12.610172" elapsed="0.050361">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.180638" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:13.177103" elapsed="0.003653"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.183046" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:13.182074" elapsed="0.001045"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:13.181376" elapsed="0.001816"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.184456" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:13.183851" elapsed="0.000656"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:13.183392" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:13.180995" elapsed="0.003659"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.185395" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:13.184730" elapsed="0.000815"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.187268" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:13.186247" elapsed="0.001117"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:13.185636" elapsed="0.001806"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.188003" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:13.187509" elapsed="0.000643"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:13.184708" elapsed="0.003506"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:13.188254" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:18:13.188418" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:13.176148" elapsed="0.012297"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:13.188492" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:13.188652" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:13.175030" elapsed="0.013648"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.203528" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:13.203055" elapsed="0.000589"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.204309" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:13.203863" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:13.209957" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:13.206950" elapsed="0.005858">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:13.204531" elapsed="0.008467">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.213301" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:13.213086" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:13.204509" elapsed="0.009010">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.214068" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:13.214327" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:13.214288" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:13.214269" elapsed="0.000225"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.214657" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:13.214900" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:13.191642" elapsed="0.023372">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:13.215087" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:13.188911" elapsed="0.026276">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.215361" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:13.161319" elapsed="0.054155">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.735041" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:13.731727" elapsed="0.003427"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.736730" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:13.736106" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:13.735649" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.738076" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:13.737452" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:13.737007" elapsed="0.001167"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:13.735370" elapsed="0.002896"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.739000" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:13.738350" elapsed="0.000798"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.740826" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:13.739842" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:13.739213" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.741524" elapsed="0.000143"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:13.741062" elapsed="0.000686"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:13.738324" elapsed="0.003484"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:13.741849" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:13.742012" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:13.730796" elapsed="0.011243"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:13.742086" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:13.742230" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:13.729795" elapsed="0.012477"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.756853" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:13.756369" elapsed="0.000576"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:13.757634" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:13.757164" elapsed="0.000558"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:13.763115" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:13.760256" elapsed="0.005749">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:13.757858" elapsed="0.008275">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.766466" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:13.766216" elapsed="0.000420"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:13.757838" elapsed="0.008861">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.767174" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:13.767430" elapsed="0.000258"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:13.767393" elapsed="0.000379"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:13.767374" elapsed="0.000459"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.767980" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:13.768222" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:13.745053" elapsed="0.023283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:13.768408" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:13.742504" elapsed="0.026003">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:13.768690" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:13.716271" elapsed="0.052570">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.286844" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:14.283588" elapsed="0.003337"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.288392" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:14.287798" elapsed="0.000642"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:14.287338" elapsed="0.001151"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.289727" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:14.289102" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:14.288668" elapsed="0.001157"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:14.287083" elapsed="0.002820"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.290746" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:14.289976" elapsed="0.000918"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.292546" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:14.291547" elapsed="0.001133"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:14.290956" elapsed="0.001801"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.293320" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:14.292824" elapsed="0.000646"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:14.289956" elapsed="0.003575"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:14.293587" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:14.293750" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:14.282710" elapsed="0.011067"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:14.293823" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:14.293969" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:14.281738" elapsed="0.012258"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.309097" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:14.308636" elapsed="0.000551"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.309869" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:14.309404" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:14.315496" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:14.312471" elapsed="0.005846">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:14.310107" elapsed="0.008341">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.318824" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:14.318533" elapsed="0.000445"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:14.310086" elapsed="0.009001">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.319593" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:14.319853" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:14.319814" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:14.319795" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.320154" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:14.320397" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:14.296773" elapsed="0.023737">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:14.320598" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:14.294239" elapsed="0.026460">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.320867" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:14.269514" elapsed="0.051464">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.837749" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:14.834180" elapsed="0.003745"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.839993" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:14.839171" elapsed="0.000882"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:14.838494" elapsed="0.001626"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.841637" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:14.840894" elapsed="0.000804"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:14.840325" elapsed="0.001432"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:14.838148" elapsed="0.003732"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.842825" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:14.841994" elapsed="0.001010"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.845111" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:14.843836" elapsed="0.001392"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:14.843082" elapsed="0.002242"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.846032" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:14.845407" elapsed="0.000803"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:14.841964" elapsed="0.004320"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:14.846342" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:18:14.846564" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:14.833309" elapsed="0.013376"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:14.846844" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:14.847037" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:14.832123" elapsed="0.014948"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.867251" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:14.866509" elapsed="0.000870"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:14.868261" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:14.867691" elapsed="0.000676"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:14.876552" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:14.872187" elapsed="0.008209">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:14.868560" elapsed="0.012089">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.881166" elapsed="0.000091"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:14.880768" elapsed="0.000591"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:14.868524" elapsed="0.012914">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.882201" elapsed="0.000036"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:14.882675" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:14.882531" elapsed="0.000268"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:14.882503" elapsed="0.000376"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.883083" elapsed="0.000027"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:14.883375" elapsed="0.000023"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:14.851331" elapsed="0.032218">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:14.883667" elapsed="0.000021"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:14.847407" elapsed="0.036393">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:14.884023" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:14.821724" elapsed="0.062445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.406868" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:15.401180" elapsed="0.005868"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.410596" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:15.409091" elapsed="0.001620"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:15.408025" elapsed="0.002796"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.413589" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:15.412194" elapsed="0.001509"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:15.411185" elapsed="0.002625"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:15.407405" elapsed="0.006579"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.415714" elapsed="0.000161"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:15.414141" elapsed="0.001909"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.419053" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:15.417638" elapsed="0.001509"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:15.416190" elapsed="0.003035"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.419778" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:15.419292" elapsed="0.000633"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:15.414098" elapsed="0.005889"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:15.420026" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:15.420187" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:15.400064" elapsed="0.020150"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:15.420262" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:15.420406" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:15.399000" elapsed="0.021431"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.435303" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:15.434839" elapsed="0.000552"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.436070" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:15.435623" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:15.441564" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:15.438522" elapsed="0.005926">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:15.436289" elapsed="0.008301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.444890" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:15.444676" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:15.436269" elapsed="0.008838">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.445609" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:15.445913" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:15.445875" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:15.445855" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.446211" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:15.446454" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:15.423206" elapsed="0.023375">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:15.446657" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:15.420671" elapsed="0.026085">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.446922" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:15.385160" elapsed="0.061873">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.964883" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:15.962516" elapsed="0.002448"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.966478" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:15.965869" elapsed="0.000658"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:15.965407" elapsed="0.001184"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.967841" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:15.967207" elapsed="0.000683"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:15.966763" elapsed="0.001175"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:15.965131" elapsed="0.002887"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.968745" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:15.968093" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.970597" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:15.969599" elapsed="0.001100"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:15.968959" elapsed="0.001817"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.971303" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:15.970841" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:15.968072" elapsed="0.003435"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:15.971547" elapsed="0.000067"/>
</return>
<msg time="2026-04-11T23:18:15.971742" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:15.961883" elapsed="0.009886"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:15.971816" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:15.971961" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:15.961135" elapsed="0.010851"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.986526" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:15.986057" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:15.987298" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:15.986847" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:15.993081" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:15.990022" elapsed="0.005973">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:15.987521" elapsed="0.008602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.996427" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:15.996208" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:15.987501" elapsed="0.009159">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.997159" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:15.997438" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:15.997400" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:15.997380" elapsed="0.000230"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.997754" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:15.997996" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:15.974809" elapsed="0.023301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:15.998183" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:15.972211" elapsed="0.026071">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:15.998454" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:15.948014" elapsed="0.050566">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:16.521410" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:16.519064" elapsed="0.002429"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:16.523027" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:16.522395" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:16.521942" elapsed="0.001188"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:16.524445" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:16.523834" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:16.523361" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:16.521680" elapsed="0.002960"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:16.525384" elapsed="0.000097"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:16.524715" elapsed="0.000895"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:16.527954" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:16.526539" elapsed="0.001547"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:16.525703" elapsed="0.002490"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:16.528963" elapsed="0.000098"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:16.528284" elapsed="0.000903"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:16.524694" elapsed="0.004581"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:16.529332" elapsed="0.000048"/>
</return>
<msg time="2026-04-11T23:18:16.529555" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:16.518078" elapsed="0.011534"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:16.529679" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:18:16.529898" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:16.516504" elapsed="0.013430"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:16.546921" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:16.546289" elapsed="0.000723"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:16.547700" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:16.547229" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:16.553202" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:16.550160" elapsed="0.006223">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:16.547921" elapsed="0.008594">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:16.556831" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:16.556615" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:16.547900" elapsed="0.009145">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:16.557541" elapsed="0.000039"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:16.557814" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:16.557777" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:16.557757" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:16.558110" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:16.558350" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:16.534195" elapsed="0.024310">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:16.558630" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:16.530243" elapsed="0.028491">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:16.558900" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:16.499411" elapsed="0.059601">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.079512" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:17.077057" elapsed="0.002552"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.081122" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:17.080487" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:17.080038" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.082455" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:17.081856" elapsed="0.000652"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:17.081386" elapsed="0.001171"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:17.079778" elapsed="0.002874"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.083358" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:17.082726" elapsed="0.000780"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.085173" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:17.084184" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:17.083586" elapsed="0.001757"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.085896" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:17.085409" elapsed="0.000633"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:17.082705" elapsed="0.003398"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:17.086143" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:17.086305" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:17.076080" elapsed="0.010252"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:17.086378" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:17.086520" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:17.075056" elapsed="0.011491"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.101002" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:17.100499" elapsed="0.000592"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.102102" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:17.101310" elapsed="0.000876"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:17.107763" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:17.104626" elapsed="0.006040">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:17.102320" elapsed="0.008471">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.111088" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:17.110875" elapsed="0.000363"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:17.102300" elapsed="0.009000">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.111798" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:17.112053" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:17.112016" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:17.111997" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.112347" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:17.112601" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:17.089275" elapsed="0.023441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:17.112787" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:17.086784" elapsed="0.026115">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.113064" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:17.059820" elapsed="0.053354">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.632368" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:17.629165" elapsed="0.003311"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.634308" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:17.633705" elapsed="0.000652"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:17.633111" elapsed="0.001294"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.635652" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:17.635033" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:17.634586" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:17.632762" elapsed="0.003070"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.636514" elapsed="0.000141"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:17.635900" elapsed="0.000835"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.638422" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:17.637417" elapsed="0.001101"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:17.636802" elapsed="0.001809"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.639147" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:17.638679" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:17.635881" elapsed="0.003477"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:17.639397" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:17.639552" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:17.628273" elapsed="0.011320"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:17.639642" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:17.639786" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:17.627362" elapsed="0.012449"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.654534" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:17.654069" elapsed="0.000634"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:17.655387" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:17.654929" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:17.660971" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:17.658070" elapsed="0.005757">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:17.655627" elapsed="0.008327">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.664254" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:17.664040" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:17.655606" elapsed="0.008868">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.664999" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:17.665259" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:17.665220" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:17.665201" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.665558" elapsed="0.000060"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:17.665842" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:17.642606" elapsed="0.023349">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:17.666058" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:17.640029" elapsed="0.026132">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:17.666327" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:17.613795" elapsed="0.052643">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.185358" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:18.182092" elapsed="0.003373"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.186996" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:18.186374" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:18.185932" elapsed="0.001162"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.188302" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:18.187711" elapsed="0.000640"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:18.187257" elapsed="0.001161"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:18.185668" elapsed="0.002829"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.189191" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:18.188581" elapsed="0.000756"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.190985" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:18.190008" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:18.189399" elapsed="0.001770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.191708" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:18.191233" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:18.188548" elapsed="0.003364"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:18.191951" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:18:18.192107" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:18.181216" elapsed="0.010918"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:18.192180" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:18.192320" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:18.180260" elapsed="0.012085"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.206963" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:18.206365" elapsed="0.000688"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.207739" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:18.207272" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:18.213227" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:18.210254" elapsed="0.005839">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:18.207961" elapsed="0.008302">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.216627" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:18.216349" elapsed="0.000434"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:18.207941" elapsed="0.008906">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.217325" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:18.217599" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:18.217545" elapsed="0.000154"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:18.217526" elapsed="0.000234"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.217905" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:18.218146" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:18.195171" elapsed="0.023087">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:18.218331" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:18.192613" elapsed="0.025818">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.218651" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:18.167066" elapsed="0.051699">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.736391" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:18.734048" elapsed="0.002422"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.738004" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:18.737362" elapsed="0.000691"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:18.736906" elapsed="0.001196"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.739349" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:18.738745" elapsed="0.000654"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:18.738267" elapsed="0.001181"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:18.736647" elapsed="0.002879"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.740258" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:18.739613" elapsed="0.000795"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.742106" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:18.741100" elapsed="0.001103"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:18.740473" elapsed="0.001807"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.742850" elapsed="0.000120"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:18.742349" elapsed="0.000699"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:18.739592" elapsed="0.003517"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:18.743149" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:18:18.743309" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:18.733354" elapsed="0.009982"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:18.743383" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:18.743524" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:18.732273" elapsed="0.011277"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.758356" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:18.757878" elapsed="0.000569"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:18.759270" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:18.758811" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:18.764651" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:18.761783" elapsed="0.005715">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:18.759497" elapsed="0.008142">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.767939" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:18.767725" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:18.759477" elapsed="0.008699">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.768669" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:18.768927" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:18.768890" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:18.768870" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.769223" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:18.769465" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:18.746312" elapsed="0.023278">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:18.769664" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:18.743789" elapsed="0.025975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:18.770002" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:18.719411" elapsed="0.050746">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.289045" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:19.285893" elapsed="0.003234"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.290662" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:19.290025" elapsed="0.000687"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:19.289554" elapsed="0.001207"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.292022" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:19.291370" elapsed="0.000703"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:19.290926" elapsed="0.001197"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:19.289293" elapsed="0.002910"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.292929" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:19.292278" elapsed="0.000801"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.294761" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:19.293769" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:19.293144" elapsed="0.001787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.295461" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:19.294996" elapsed="0.000634"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:19.292257" elapsed="0.003434"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:19.295731" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:19.295893" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:19.284975" elapsed="0.010959"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:19.295982" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:18:19.296128" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:19.284001" elapsed="0.012153"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.310744" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:19.310261" elapsed="0.000573"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.311504" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:19.311052" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:19.316992" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:19.314149" elapsed="0.005757">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:19.311753" elapsed="0.008303">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.320352" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:19.320139" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:19.311732" elapsed="0.008902">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.321123" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:19.321379" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:19.321342" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:19.321322" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.321695" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:19.321938" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:19.298957" elapsed="0.023094">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:19.322123" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:19.296375" elapsed="0.025849">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.322390" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:19.270953" elapsed="0.051549">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.842022" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:19.839085" elapsed="0.003022"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.843671" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:19.843027" elapsed="0.000711"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:19.842540" elapsed="0.001249"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.845046" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:19.844407" elapsed="0.000691"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:19.843956" elapsed="0.001194"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:19.842277" elapsed="0.002953"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.845961" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:19.845304" elapsed="0.000807"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.847855" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:19.846823" elapsed="0.001128"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:19.846178" elapsed="0.001851"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.848584" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:19.848098" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:19.845283" elapsed="0.003514"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:19.848839" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:19.849004" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:19.838118" elapsed="0.010914"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:19.849143" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:18:19.849294" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:19.837081" elapsed="0.012239"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.864299" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:19.863818" elapsed="0.000571"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:19.865088" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:19.864626" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:19.870697" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:19.867736" elapsed="0.005855">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:19.865317" elapsed="0.008436">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.874070" elapsed="0.000096"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:19.873850" elapsed="0.000402"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:19.865297" elapsed="0.009019">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.874906" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:19.875170" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:19.875131" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:19.875112" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.875474" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:19.875756" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:19.852168" elapsed="0.023705">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:19.875947" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:19.849548" elapsed="0.026501">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:19.876219" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:19.823250" elapsed="0.053084">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.394405" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:20.390928" elapsed="0.003591"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.396821" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:20.395893" elapsed="0.001002"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:20.395142" elapsed="0.001828"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.398664" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:20.397831" elapsed="0.000929"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:20.397213" elapsed="0.001623"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:20.394773" elapsed="0.004185"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.400053" elapsed="0.000106"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:20.399072" elapsed="0.001202"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.402767" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:20.401331" elapsed="0.001575"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:20.400370" elapsed="0.002646"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.403735" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:20.403105" elapsed="0.000783"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:20.399040" elapsed="0.004909"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:20.403990" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:20.404160" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:20.389880" elapsed="0.014308"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:20.404236" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:20.404381" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:20.388777" elapsed="0.015630"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.418904" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:20.418415" elapsed="0.000580"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.419836" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:20.419212" elapsed="0.000710"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:20.425502" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:20.422464" elapsed="0.005955">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:20.420062" elapsed="0.008485">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.428865" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:20.428648" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:20.420041" elapsed="0.009041">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.429596" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:20.429915" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:20.429876" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:20.429855" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.430217" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:20.430458" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:20.407174" elapsed="0.023414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:20.430665" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:20.404659" elapsed="0.026106">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.430932" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:20.377540" elapsed="0.053504">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.948440" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:20.946044" elapsed="0.002479"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.950061" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:20.949426" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:20.948973" elapsed="0.001188"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.951466" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:20.950838" elapsed="0.000678"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:20.950330" elapsed="0.001234"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:20.948709" elapsed="0.002952"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.952374" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:20.951738" elapsed="0.000785"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.954211" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:20.953210" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:20.952606" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.954944" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:20.954450" elapsed="0.000644"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:20.951716" elapsed="0.003439"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:20.955196" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:18:20.955387" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:20.945378" elapsed="0.010035"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:20.955459" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:20.955620" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:20.944654" elapsed="0.010993"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.970823" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:20.970192" elapsed="0.000723"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:20.971629" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:20.971136" elapsed="0.000581"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:20.977254" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:20.974106" elapsed="0.006093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:20.971861" elapsed="0.008467">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.980653" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:20.980414" elapsed="0.000394"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:20.971838" elapsed="0.009035">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.981392" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:20.981676" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:20.981636" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:20.981615" elapsed="0.000221"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.981981" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:20.982222" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:20.958760" elapsed="0.023578">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:20.982412" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:20.955875" elapsed="0.026640">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:20.982735" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:20.931872" elapsed="0.050975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:21.502257" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:21.499673" elapsed="0.002668"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:21.503913" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:21.503271" elapsed="0.000692"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:21.502789" elapsed="0.001225"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:21.505352" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:21.504714" elapsed="0.000688"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:21.504244" elapsed="0.001209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:21.502507" elapsed="0.003024"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:21.506275" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:21.505625" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:21.508170" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:21.507146" elapsed="0.001119"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:21.506489" elapsed="0.001853"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:21.508900" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:21.508411" elapsed="0.000640"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:21.505603" elapsed="0.003508"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:21.509155" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:18:21.509326" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:21.498680" elapsed="0.010673"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:21.509401" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:21.509548" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:21.497621" elapsed="0.011968"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:21.524661" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:21.524091" elapsed="0.000670"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:21.525434" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:21.524981" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:21.531416" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:21.528271" elapsed="0.006110">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:21.525682" elapsed="0.008831">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:21.534837" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:21.534617" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:21.525658" elapsed="0.009427">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:21.535625" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:21.535895" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:21.535854" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:21.535834" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:21.536194" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:21.536431" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:21.512536" elapsed="0.024087">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:21.536706" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:21.509847" elapsed="0.026972">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:21.536997" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:21.483681" elapsed="0.053434">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.056346" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:22.053905" elapsed="0.002528"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.058033" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:22.057374" elapsed="0.000711"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:22.056909" elapsed="0.001229"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.059441" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:22.058821" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:22.058312" elapsed="0.001231"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:22.056625" elapsed="0.003018"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.060387" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:22.059732" elapsed="0.000807"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.062280" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:22.061254" elapsed="0.001125"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:22.060622" elapsed="0.001836"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.063066" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:22.062526" elapsed="0.000691"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:22.059709" elapsed="0.003570"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:22.063321" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:22.063487" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:22.053190" elapsed="0.010324"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:22.063561" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:18:22.063726" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:22.052317" elapsed="0.011438"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.079257" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:22.078716" elapsed="0.000634"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.080059" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:22.079592" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:22.085881" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:22.082834" elapsed="0.006018">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:22.080305" elapsed="0.008681">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.089305" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:22.089072" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:22.080283" elapsed="0.009242">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.090073" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:22.090348" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:22.090306" elapsed="0.000142"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:22.090284" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.090722" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:22.091010" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:22.066988" elapsed="0.024143">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:22.091205" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:22.063997" elapsed="0.027315">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.091483" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:22.037967" elapsed="0.053649">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.610038" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:22.607701" elapsed="0.002418"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.611633" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:22.611008" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:22.610543" elapsed="0.001189"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.612958" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:22.612333" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:22.611894" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:22.610284" elapsed="0.002852"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.613849" elapsed="0.000127"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:22.613209" elapsed="0.000848"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.615764" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:22.614772" elapsed="0.001088"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:22.614123" elapsed="0.001816"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.616469" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:22.616003" elapsed="0.000638"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:22.613188" elapsed="0.003516"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:22.616748" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:22.616910" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:22.607052" elapsed="0.009885"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:22.616984" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:22.617127" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:22.606327" elapsed="0.010826"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.631606" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:22.631117" elapsed="0.000581"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:22.632366" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:22.631914" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:22.639725" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:22.636759" elapsed="0.005890">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:22.632728" elapsed="0.010048">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.643087" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:22.642866" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:22.632705" elapsed="0.010597">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.643823" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:22.644085" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:22.644046" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:22.644027" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.644379" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:22.644646" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:22.619875" elapsed="0.024887">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:22.644884" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:22.617378" elapsed="0.027606">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:22.645147" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:22.592343" elapsed="0.052914">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.162972" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:23.160531" elapsed="0.002525"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.164606" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:23.163965" elapsed="0.000692"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:23.163485" elapsed="0.001223"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.166016" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:23.165385" elapsed="0.000681"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:23.164875" elapsed="0.001240"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:23.163226" elapsed="0.002971"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.166943" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:23.166271" elapsed="0.000823"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.168787" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:23.167784" elapsed="0.001098"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:23.167159" elapsed="0.001800"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.169493" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:23.169026" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:23.166250" elapsed="0.003467"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:23.169758" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:23.169920" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:23.159397" elapsed="0.010550"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:23.169993" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:23.170135" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:23.158431" elapsed="0.011810"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.185153" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:23.184564" elapsed="0.000679"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.185929" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:23.185461" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:23.191513" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:23.188405" elapsed="0.006025">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:23.186151" elapsed="0.008471">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.194923" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:23.194709" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:23.186130" elapsed="0.009009">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.195630" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:23.195888" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:23.195851" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:23.195832" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.196187" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:23.196428" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:23.173262" elapsed="0.023278">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:23.196681" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:23.170483" elapsed="0.026299">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.196951" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:23.146087" elapsed="0.050973">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.715171" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:23.711812" elapsed="0.003438"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.716768" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:23.716135" elapsed="0.000682"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:23.715687" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.718083" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:23.717468" elapsed="0.000676"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:23.717028" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:23.715413" elapsed="0.002860"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.718988" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:23.718346" elapsed="0.000790"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.720808" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:23.719813" elapsed="0.001088"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:23.719201" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.721512" elapsed="0.000136"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:23.721045" elapsed="0.000683"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:23.718326" elapsed="0.003462"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:23.721829" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:23.721989" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:23.710942" elapsed="0.011075"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:23.722064" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:23.722219" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:23.710004" elapsed="0.012241"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.736789" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:23.736309" elapsed="0.000571"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:23.737548" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:23.737098" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:23.743054" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:23.740186" elapsed="0.005835">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:23.737789" elapsed="0.008392">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.746499" elapsed="0.000088"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:23.746276" elapsed="0.000400"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:23.737769" elapsed="0.008977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.747257" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:23.747525" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:23.747485" elapsed="0.000206"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:23.747465" elapsed="0.000292"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.747907" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:23.748155" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:23.725034" elapsed="0.023242">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:23.748352" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:23.722464" elapsed="0.025990">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:23.748643" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:23.697775" elapsed="0.051023">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.266160" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:24.263794" elapsed="0.002447"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.267761" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:24.267131" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:24.266679" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.269394" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:24.268635" elapsed="0.000809"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:24.268150" elapsed="0.001344"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:24.266408" elapsed="0.003184"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.270487" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:24.269670" elapsed="0.000981"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.272318" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:24.271323" elapsed="0.001117"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:24.270716" elapsed="0.001802"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.273069" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:24.272606" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:24.269648" elapsed="0.003629"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:24.273317" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:18:24.273475" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:24.263136" elapsed="0.010365"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:24.273548" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:18:24.273707" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:24.262428" elapsed="0.011305"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.288539" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:24.288079" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.289308" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:24.288861" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:24.294880" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:24.291945" elapsed="0.005737">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:24.289528" elapsed="0.008281">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.298137" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:24.297919" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:24.289508" elapsed="0.008898">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.298990" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:24.299248" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:24.299211" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:24.299191" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.299546" elapsed="0.000035"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:24.299802" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:24.276470" elapsed="0.023445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:24.299987" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:24.273965" elapsed="0.026120">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.300259" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:24.249558" elapsed="0.050813">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.820019" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:24.817003" elapsed="0.003101"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.821720" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:24.821043" elapsed="0.000729"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:24.820543" elapsed="0.001286"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.823126" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:24.822473" elapsed="0.000703"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:24.822004" elapsed="0.001223"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:24.820276" elapsed="0.003034"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.824072" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:24.823388" elapsed="0.000840"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.825994" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:24.824940" elapsed="0.001152"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:24.824295" elapsed="0.001875"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.826738" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:24.826239" elapsed="0.000656"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:24.823365" elapsed="0.003594"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:24.827001" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:24.827169" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:24.816006" elapsed="0.011192"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:24.827305" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:18:24.827458" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:24.814914" elapsed="0.012571"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.842453" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:24.841952" elapsed="0.000594"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:24.843267" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:24.842789" elapsed="0.000567"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:24.849194" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:24.845943" elapsed="0.006264">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:24.843499" elapsed="0.008846">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.852676" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:24.852432" elapsed="0.000402"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:24.843478" elapsed="0.009422">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.853438" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:24.853777" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:24.853736" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:24.853714" elapsed="0.000225"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.854092" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:24.854347" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:24.830394" elapsed="0.024076">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:24.854545" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:24.827734" elapsed="0.026933">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:24.854840" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:24.801136" elapsed="0.053823">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.374821" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:25.371723" elapsed="0.003178"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.376536" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:25.375918" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:25.375333" elapsed="0.001322"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.377921" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:25.377281" elapsed="0.000690"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:25.376826" elapsed="0.001194"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:25.375070" elapsed="0.003031"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.378826" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:25.378177" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.380663" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:25.379680" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:25.379043" elapsed="0.001798"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.381373" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:25.380909" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:25.378156" elapsed="0.003455"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:25.381653" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:25.381816" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:25.370526" elapsed="0.011316"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:25.381889" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:25.382030" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:25.369516" elapsed="0.012539"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.396886" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:25.396397" elapsed="0.000578"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.397689" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:25.397192" elapsed="0.000581"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:25.403307" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:25.400401" elapsed="0.005740">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:25.397908" elapsed="0.008361">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.406640" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:25.406353" elapsed="0.000445"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:25.397888" elapsed="0.008978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.407350" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:25.407664" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:25.407626" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:25.407605" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.407965" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:25.408206" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:25.384808" elapsed="0.023511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:25.408392" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:25.382273" elapsed="0.026219">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.408673" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:25.356363" elapsed="0.052424">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.926124" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:25.922746" elapsed="0.003457"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.927718" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:25.927091" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:25.926648" elapsed="0.001169"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.929056" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:25.928423" elapsed="0.000682"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:25.927982" elapsed="0.001171"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:25.926368" elapsed="0.002881"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.929969" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:25.929326" elapsed="0.000790"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.931776" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:25.930797" elapsed="0.001072"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:25.930180" elapsed="0.001764"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.932482" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:25.932008" elapsed="0.000670"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:25.929304" elapsed="0.003434"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:25.932778" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:25.932941" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:25.921806" elapsed="0.011162"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:25.933014" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:25.933157" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:25.920762" elapsed="0.012420"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.948035" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:25.947556" elapsed="0.000567"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:25.948808" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:25.948340" elapsed="0.000558"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:25.954389" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:25.951442" elapsed="0.005863">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:25.949035" elapsed="0.008396">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.957746" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:25.957515" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:25.949015" elapsed="0.008948">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.958441" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:25.958773" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:25.958736" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:25.958717" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.959072" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:25.959312" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:25.936196" elapsed="0.023227">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:25.959496" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:25.933417" elapsed="0.026191">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:25.959775" elapsed="0.000025"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:25.909419" elapsed="0.050471">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:26.478325" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:26.474843" elapsed="0.003563"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:26.479968" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:26.479310" elapsed="0.000708"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:26.478851" elapsed="0.001217"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:26.481395" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:26.480772" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:26.480308" elapsed="0.001185"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:26.478582" elapsed="0.003006"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:26.482338" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:26.481665" elapsed="0.000846"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:26.484344" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:26.483304" elapsed="0.001137"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:26.482590" elapsed="0.001929"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:26.485149" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:26.484604" elapsed="0.000695"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:26.481644" elapsed="0.003716"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:26.485400" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:18:26.485560" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:26.473960" elapsed="0.011642"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:26.485650" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:26.485795" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:26.473018" elapsed="0.012807"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:26.500855" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:26.500362" elapsed="0.000617"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:26.501680" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:26.501210" elapsed="0.000558"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:26.507086" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:26.504321" elapsed="0.005722">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:26.501929" elapsed="0.008242">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:26.510472" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:26.510258" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:26.501905" elapsed="0.008804">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:26.511188" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:26.511446" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:26.511409" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:26.511391" elapsed="0.000278"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:26.511815" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:26.512059" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:26.488560" elapsed="0.023644">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:26.512277" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:26.486070" elapsed="0.026306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:26.512543" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:26.460603" elapsed="0.052071">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.031965" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:27.029628" elapsed="0.002421"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.033586" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:27.032958" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:27.032477" elapsed="0.001211"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.034919" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:27.034295" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:27.033855" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:27.032216" elapsed="0.002881"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.035815" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:27.035170" elapsed="0.000798"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.037781" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:27.036640" elapsed="0.001234"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:27.036031" elapsed="0.001919"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.038479" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:27.038015" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:27.035150" elapsed="0.003557"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:27.038747" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:27.038907" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:27.028983" elapsed="0.009950"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:27.038980" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:27.039121" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:27.028259" elapsed="0.010888"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.053735" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:27.053193" elapsed="0.000657"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.054529" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:27.054078" elapsed="0.000678"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:27.059992" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:27.057195" elapsed="0.005677">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:27.054908" elapsed="0.008093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.063299" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:27.063086" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:27.054887" elapsed="0.008626">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.064004" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:27.064264" elapsed="0.000164"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:27.064226" elapsed="0.000286"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:27.064207" elapsed="0.000382"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.064750" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:27.064995" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:27.041862" elapsed="0.023248">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:27.065182" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:27.039367" elapsed="0.025914">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.065445" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:27.013525" elapsed="0.052031">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.585218" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:27.581782" elapsed="0.003549"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.586917" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:27.586244" elapsed="0.000725"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:27.585793" elapsed="0.001225"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.588265" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:27.587647" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:27.587186" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:27.585505" elapsed="0.002937"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.589235" elapsed="0.000185"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:27.588537" elapsed="0.000974"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.591301" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:27.590262" elapsed="0.001135"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:27.589614" elapsed="0.001861"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.592041" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:27.591543" elapsed="0.000651"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:27.588498" elapsed="0.003758"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:27.592298" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:27.592464" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:27.580844" elapsed="0.011647"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:27.592558" elapsed="0.000060"/>
</return>
<msg time="2026-04-11T23:18:27.592778" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:27.579759" elapsed="0.013056"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.608648" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:27.608107" elapsed="0.000639"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:27.609447" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:27.608972" elapsed="0.000564"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:27.615236" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:27.612188" elapsed="0.006246">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:27.609700" elapsed="0.008866">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.618931" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:27.618700" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:27.609675" elapsed="0.009478">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.619771" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:27.620036" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:27.619997" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:27.619977" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.620357" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:27.620639" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:27.595772" elapsed="0.024987">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:27.620886" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:27.593122" elapsed="0.027868">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:27.621162" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:27.566282" elapsed="0.054995">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.141209" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:28.137049" elapsed="0.004242"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.142820" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:28.142195" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:28.141743" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.144145" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:28.143526" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:28.143083" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:28.141458" elapsed="0.002888"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.145066" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:28.144421" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.146945" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:28.145924" elapsed="0.001114"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:28.145279" elapsed="0.001834"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.147652" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:28.147179" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:28.144399" elapsed="0.003456"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:28.147895" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:28.148056" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:28.136395" elapsed="0.011687"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:28.148128" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:28.148267" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:28.135644" elapsed="0.012661"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.162691" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:28.162214" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.163441" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:28.162996" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:28.168921" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:28.165944" elapsed="0.005876">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:28.163677" elapsed="0.008518">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.172514" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:28.172297" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:28.163657" elapsed="0.009158">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.173443" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:28.173827" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:28.173790" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:28.173769" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.174127" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:28.174369" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:28.151028" elapsed="0.023453">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:28.174554" elapsed="0.000030"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:28.148524" elapsed="0.026145">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.174836" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:28.122085" elapsed="0.052863">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.693704" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:28.690531" elapsed="0.003256"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.695327" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:28.694705" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:28.694223" elapsed="0.001205"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.696848" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:28.696054" elapsed="0.000845"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:28.695610" elapsed="0.001342"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:28.693962" elapsed="0.003071"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.697779" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:28.697108" elapsed="0.000822"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.699611" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:28.698615" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:28.697995" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.700341" elapsed="0.000126"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:28.699853" elapsed="0.000693"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:28.697087" elapsed="0.003536"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:28.700664" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:28.700825" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:28.689644" elapsed="0.011208"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:28.700899" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:28.701040" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:28.688619" elapsed="0.012447"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.715901" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:28.715419" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:28.716794" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:28.716235" elapsed="0.000646"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:28.722195" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:28.719242" elapsed="0.006013">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:28.717016" elapsed="0.008367">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.725700" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:28.725467" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:28.716996" elapsed="0.008927">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.726400" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:28.726677" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:28.726639" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:28.726619" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.726975" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:28.727216" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:28.703823" elapsed="0.023505">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:28.727400" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:28.701285" elapsed="0.026214">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:28.727712" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:28.675807" elapsed="0.052052">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.246772" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:29.244407" elapsed="0.002447"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.248354" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:29.247728" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:29.247271" elapsed="0.001184"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.249710" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:29.249079" elapsed="0.000681"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:29.248637" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:29.247017" elapsed="0.002869"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.250597" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:29.249966" elapsed="0.000783"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.252423" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:29.251410" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:29.250813" elapsed="0.001796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.253137" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:29.252674" elapsed="0.000607"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:29.249946" elapsed="0.003395"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:29.253380" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:18:29.253536" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:29.243780" elapsed="0.009783"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:29.253634" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:29.253785" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:29.243095" elapsed="0.010716"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.268315" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:29.267849" elapsed="0.000555"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.269093" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:29.268640" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:29.274837" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:29.271859" elapsed="0.005872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:29.269323" elapsed="0.008534">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.278162" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:29.277942" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:29.269295" elapsed="0.009130">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.278921" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:29.279178" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:29.279140" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:29.279121" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.279475" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:29.279731" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:29.256555" elapsed="0.023302">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:29.279930" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:29.254033" elapsed="0.025996">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.280196" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:29.228510" elapsed="0.051797">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.799172" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:29.796811" elapsed="0.002442"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.800822" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:29.800194" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:29.799704" elapsed="0.001218"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.802168" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:29.801537" elapsed="0.000682"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:29.801089" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:29.799418" elapsed="0.002929"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.803072" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:29.802421" elapsed="0.000801"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.805043" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:29.804039" elapsed="0.001100"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:29.803287" elapsed="0.001928"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.805782" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:29.805284" elapsed="0.000644"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:29.802400" elapsed="0.003590"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:29.806030" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:18:29.806190" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:29.796171" elapsed="0.010047"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:29.806320" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:29.806468" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:29.795380" elapsed="0.011114"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.821338" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:29.820871" elapsed="0.000556"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:29.822237" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:29.821784" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:29.828100" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:29.824719" elapsed="0.006434">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:29.822460" elapsed="0.008822">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.831614" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:29.831368" elapsed="0.000404"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:29.822439" elapsed="0.009398">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.832333" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:29.832612" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:29.832558" elapsed="0.000150"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:29.832539" elapsed="0.000232"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.832915" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:29.833160" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:29.809259" elapsed="0.024014">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:29.833346" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:29.806731" elapsed="0.026713">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:29.833656" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:29.780985" elapsed="0.052785">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.352537" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:30.349396" elapsed="0.003242"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.354151" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:30.353515" elapsed="0.000686"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:30.353065" elapsed="0.001187"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.355492" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:30.354875" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:30.354417" elapsed="0.001191"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:30.352806" elapsed="0.002882"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.356387" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:30.355763" elapsed="0.000771"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.358207" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:30.357213" elapsed="0.001088"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:30.356615" elapsed="0.001763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.358922" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:30.358445" elapsed="0.000628"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:30.355742" elapsed="0.003392"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:30.359174" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:30.359336" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:30.348421" elapsed="0.010942"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:30.359422" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:30.359566" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:30.347457" elapsed="0.012154"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.374151" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:30.373563" elapsed="0.000678"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.374927" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:30.374458" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:30.380393" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:30.377413" elapsed="0.005841">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:30.375154" elapsed="0.008251">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.383722" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:30.383492" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:30.375134" elapsed="0.008804">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.384420" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:30.384730" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:30.384692" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:30.384672" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.385028" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:30.385269" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:30.362385" elapsed="0.022996">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:30.385455" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:30.359833" elapsed="0.025723">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.385778" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:30.335192" elapsed="0.050703">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.904766" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:30.901625" elapsed="0.003222"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.906386" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:30.905747" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:30.905278" elapsed="0.001206"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.907764" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:30.907124" elapsed="0.000690"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:30.906671" elapsed="0.001192"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:30.905019" elapsed="0.002926"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.908668" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:30.908018" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.910488" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:30.909488" elapsed="0.001109"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:30.908882" elapsed="0.001794"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.911350" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:30.910742" elapsed="0.000760"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:30.907998" elapsed="0.003565"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:30.911622" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:30.911786" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:30.900736" elapsed="0.011076"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:30.911859" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:30.912002" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:30.899748" elapsed="0.012280"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.926844" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:30.926362" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:30.927852" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:30.927147" elapsed="0.000793"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:30.933310" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:30.930437" elapsed="0.005846">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:30.928078" elapsed="0.008334">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.936730" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:30.936498" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:30.928057" elapsed="0.008894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.937431" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:30.937710" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:30.937672" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:30.937652" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.938011" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:30.938258" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:30.914874" elapsed="0.023497">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:30.938444" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:30.912247" elapsed="0.026297">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:30.938726" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:30.887473" elapsed="0.051365">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:31.458264" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:31.455032" elapsed="0.003341"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:31.460457" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:31.459657" elapsed="0.000849"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:31.459001" elapsed="0.001556"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:31.461857" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:31.461238" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:31.460796" elapsed="0.001158"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:31.458614" elapsed="0.003419"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:31.462730" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:31.462106" elapsed="0.000773"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:31.464538" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:31.463547" elapsed="0.001101"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:31.462953" elapsed="0.001772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:31.465258" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:31.464791" elapsed="0.000613"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:31.462086" elapsed="0.003378"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:31.465503" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:18:31.465676" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:31.454137" elapsed="0.011565"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:31.465750" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:31.465895" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:31.453204" elapsed="0.012717"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:31.480792" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:31.480312" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:31.481547" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:31.481100" elapsed="0.000550"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:31.486878" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:31.484195" elapsed="0.005576">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:31.481788" elapsed="0.008110">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:31.490200" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:31.489982" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:31.481768" elapsed="0.008647">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:31.490909" elapsed="0.000053"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:31.491202" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:31.491164" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:31.491145" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:31.491499" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:31.491793" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:31.468895" elapsed="0.023048">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:31.492018" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:31.466143" elapsed="0.025976">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:31.492286" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:31.439502" elapsed="0.052897">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.011878" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:32.008343" elapsed="0.003617"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.013507" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:32.012865" elapsed="0.000691"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:32.012396" elapsed="0.001227"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.014875" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:32.014239" elapsed="0.000685"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:32.013792" elapsed="0.001180"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:32.012136" elapsed="0.002917"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.015772" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:32.015127" elapsed="0.000793"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.017600" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:32.016613" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:32.015985" elapsed="0.001788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.018300" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:32.017839" elapsed="0.000606"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:32.015106" elapsed="0.003529"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:32.018682" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:18:32.018876" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:32.007398" elapsed="0.011505"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:32.018950" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:32.019092" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:32.006337" elapsed="0.012781"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.033846" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:32.033361" elapsed="0.000576"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.034627" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:32.034157" elapsed="0.000627"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:32.040621" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:32.037411" elapsed="0.006067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:32.034928" elapsed="0.008772">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.044011" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:32.043790" elapsed="0.000377"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:32.034907" elapsed="0.009324">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.044747" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:32.045011" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:32.044972" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:32.044953" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.045310" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:32.045556" elapsed="0.000032"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:32.021890" elapsed="0.023798">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:32.045761" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:32.019345" elapsed="0.026514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.046025" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:31.993182" elapsed="0.052956">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.562880" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:32.560474" elapsed="0.002487"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.564464" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:32.563855" elapsed="0.000658"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:32.563386" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.565797" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:32.565180" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:32.564744" elapsed="0.001151"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:32.563127" elapsed="0.002849"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.566725" elapsed="0.000129"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:32.566050" elapsed="0.000885"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.568606" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:32.567618" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:32.566999" elapsed="0.001778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.569300" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:32.568844" elapsed="0.000602"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:32.566029" elapsed="0.003476"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:32.569546" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:18:32.569726" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:32.559848" elapsed="0.009905"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:32.569801" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:32.569944" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:32.559135" elapsed="0.010834"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.584464" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:32.583992" elapsed="0.000561"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:32.585232" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:32.584787" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:32.591015" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:32.587753" elapsed="0.006806">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:32.585454" elapsed="0.009294">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.595148" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:32.594856" elapsed="0.000451"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:32.585434" elapsed="0.009938">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.595974" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:32.596238" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:32.596199" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:32.596179" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.596538" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:32.596802" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:32.572731" elapsed="0.024194">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:32.597058" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:32.570194" elapsed="0.026972">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:32.597358" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:32.546980" elapsed="0.050518">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.116281" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:33.113370" elapsed="0.002992"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.117879" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:33.117253" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:33.116800" elapsed="0.001177"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.119214" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:33.118614" elapsed="0.000650"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:33.118145" elapsed="0.001167"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:33.116526" elapsed="0.002866"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.120110" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:33.119466" elapsed="0.000793"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.121977" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:33.120979" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:33.120324" elapsed="0.001823"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.122697" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:33.122213" elapsed="0.000631"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:33.119445" elapsed="0.003460"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:33.122945" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:33.123107" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:33.112421" elapsed="0.010712"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:33.123180" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:33.123322" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:33.111398" elapsed="0.011950"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.138132" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:33.137654" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.138935" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:33.138459" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:33.144741" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:33.141685" elapsed="0.006214">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:33.139167" elapsed="0.008922">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.148408" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:33.148179" elapsed="0.000404"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:33.139146" elapsed="0.009506">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.149185" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:33.149454" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:33.149415" elapsed="0.000140"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:33.149395" elapsed="0.000240"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.149782" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:33.150034" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:33.126135" elapsed="0.024018">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:33.150229" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:33.123585" elapsed="0.026764">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.150521" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:33.098233" elapsed="0.052421">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.670648" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:33.667151" elapsed="0.003616"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.672384" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:33.671773" elapsed="0.000660"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:33.671302" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.673730" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:33.673110" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:33.672666" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:33.671010" elapsed="0.002897"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.674640" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:33.673982" elapsed="0.000809"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.676440" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:33.675452" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:33.674856" elapsed="0.001770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.677154" elapsed="0.000131"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:33.676694" elapsed="0.000670"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:33.673961" elapsed="0.003463"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:33.677465" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:33.677642" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:33.666203" elapsed="0.011466"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:33.677716" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:33.677858" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:33.665169" elapsed="0.012715"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.694108" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:33.693598" elapsed="0.000609"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:33.694900" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:33.694428" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:33.700464" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:33.697546" elapsed="0.005781">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:33.695126" elapsed="0.008330">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.703839" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:33.703541" elapsed="0.000451"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:33.695105" elapsed="0.008951">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.704554" elapsed="0.000041"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:33.704832" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:33.704792" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:33.704773" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.705128" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:33.705370" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:33.682364" elapsed="0.023119">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:33.705555" elapsed="0.000030"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:33.678122" elapsed="0.027550">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:33.705840" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:33.651409" elapsed="0.054595">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.226169" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:34.222368" elapsed="0.003881"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.227811" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:34.227180" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:34.226726" elapsed="0.001185"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.229176" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:34.228524" elapsed="0.000702"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:34.228077" elapsed="0.001199"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:34.226442" elapsed="0.002914"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.230099" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:34.229431" elapsed="0.000821"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.231927" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:34.230937" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:34.230316" elapsed="0.001784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.232646" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:34.232166" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:34.229410" elapsed="0.003447"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:34.232897" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:34.233059" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:34.221412" elapsed="0.011674"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:34.233134" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:34.233276" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:34.220410" elapsed="0.012892"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.248149" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:34.247678" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.248937" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:34.248459" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:34.254512" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:34.251639" elapsed="0.005805">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:34.249162" elapsed="0.008426">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.257921" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:34.257675" elapsed="0.000401"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:34.249142" elapsed="0.009049">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.258763" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:34.259025" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:34.258987" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:34.258968" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.259329" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:34.259588" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:34.236152" elapsed="0.023552">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:34.259777" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:34.233525" elapsed="0.026352">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.260045" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:34.206828" elapsed="0.053329">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.778684" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:34.775491" elapsed="0.003271"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.780220" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:34.779622" elapsed="0.000647"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:34.779160" elapsed="0.001157"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.781519" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:34.780929" elapsed="0.000653"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:34.780478" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:34.778914" elapsed="0.002805"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.782386" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:34.781787" elapsed="0.000759"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.784329" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:34.783341" elapsed="0.001080"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:34.782623" elapsed="0.001873"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.785036" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:34.784561" elapsed="0.000620"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:34.781769" elapsed="0.003471"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:34.785277" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:18:34.785428" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:34.774656" elapsed="0.010799"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:34.785536" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:34.785707" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:34.773693" elapsed="0.012042"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.800202" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:34.799748" elapsed="0.000541"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:34.800967" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:34.800505" elapsed="0.000546"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:34.806229" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:34.803426" elapsed="0.005610">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:34.801187" elapsed="0.007974">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.809455" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:34.809244" elapsed="0.000402"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:34.801167" elapsed="0.008544">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.810188" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:34.810445" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:34.810408" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:34.810389" elapsed="0.000226"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.810795" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:34.811036" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:34.788469" elapsed="0.022679">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:34.811220" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:34.785951" elapsed="0.025367">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:34.811483" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:34.760803" elapsed="0.050850">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.328624" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:35.325298" elapsed="0.003437"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.330714" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:35.329994" elapsed="0.000770"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:35.329316" elapsed="0.001498"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.332059" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:35.331424" elapsed="0.000684"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:35.330981" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:35.328960" elapsed="0.003276"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.332954" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:35.332311" elapsed="0.000792"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.334781" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:35.333792" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:35.333169" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.335479" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:35.335017" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:35.332291" elapsed="0.003415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:35.335747" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:35.335910" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:35.324321" elapsed="0.011616"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:35.335984" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:35.336143" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:35.323356" elapsed="0.012814"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.351075" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:35.350601" elapsed="0.000565"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.351992" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:35.351385" elapsed="0.000695"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:35.357466" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:35.354451" elapsed="0.005915">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:35.352215" elapsed="0.008279">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.360809" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:35.360594" elapsed="0.000377"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:35.352194" elapsed="0.008841">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.361540" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:35.361855" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:35.361817" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:35.361797" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.362159" elapsed="0.000025"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:35.362407" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:35.338913" elapsed="0.023606">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:35.362609" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:35.336391" elapsed="0.026321">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.362881" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:35.312304" elapsed="0.050689">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.881038" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:35.877545" elapsed="0.003609"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.883075" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:35.882446" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:35.881844" elapsed="0.001332"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.884407" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:35.883807" elapsed="0.000650"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:35.883351" elapsed="0.001155"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:35.881438" elapsed="0.003163"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.885322" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:35.884676" elapsed="0.000793"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.887149" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:35.886159" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:35.885536" elapsed="0.001786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.887870" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:35.887387" elapsed="0.000628"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:35.884655" elapsed="0.003421"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:35.888116" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:35.888279" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:35.876615" elapsed="0.011691"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:35.888353" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:35.888497" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:35.875565" elapsed="0.012959"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.903128" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:35.902660" elapsed="0.000557"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:35.904047" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:35.903436" elapsed="0.000697"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:35.909704" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:35.906529" elapsed="0.006064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:35.904270" elapsed="0.008453">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.913023" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:35.912809" elapsed="0.000398"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:35.904249" elapsed="0.009022">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.913790" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:35.914049" elapsed="0.000217"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:35.914011" elapsed="0.000339"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:35.913991" elapsed="0.000421"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.914557" elapsed="0.000037"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:35.914819" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:35.891395" elapsed="0.023541">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:35.915009" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:35.888761" elapsed="0.026348">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:35.915277" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:35.863742" elapsed="0.051647">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.434236" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:36.431140" elapsed="0.003177"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.435886" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:36.435225" elapsed="0.000709"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:36.434771" elapsed="0.001213"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.437308" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:36.436687" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:36.436224" elapsed="0.001184"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:36.434482" elapsed="0.003005"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:36.438208" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:36.437562" elapsed="0.000795"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.440029" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:36.439034" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:36.438421" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:36.440744" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:36.440267" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:36.437541" elapsed="0.003433"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:36.441017" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:36.441182" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:36.430193" elapsed="0.011016"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:36.441257" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:36.441403" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:36.429151" elapsed="0.012278"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.456610" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:36.456113" elapsed="0.000591"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.457398" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:36.456927" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:36.462995" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:36.460020" elapsed="0.005944">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:36.457643" elapsed="0.008451">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:36.466394" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:36.466179" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:36.457621" elapsed="0.009012">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:36.467143" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:36.467410" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:36.467372" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:36.467353" elapsed="0.000265"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:36.467765" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:36.468005" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:36.444199" elapsed="0.023975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:36.468248" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:36.441678" elapsed="0.026671">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:36.468517" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:36.416201" elapsed="0.052448">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.988976" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:36.985211" elapsed="0.003884"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.990730" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:36.990108" elapsed="0.000672"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:36.989662" elapsed="0.001167"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.992058" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:36.991438" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:36.990995" elapsed="0.001161"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:36.989347" elapsed="0.002889"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:36.992975" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:36.992314" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:36.994790" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:36.993808" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:36.993188" elapsed="0.001772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:36.995491" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:36.995029" elapsed="0.000657"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:36.992290" elapsed="0.003458"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:36.995791" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:36.995954" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:36.984230" elapsed="0.011751"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:36.996028" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:36.996168" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:36.983188" elapsed="0.013006"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:37.010616" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:37.010111" elapsed="0.000599"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:37.011378" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:37.010927" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:37.017251" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:37.014069" elapsed="0.006077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:37.011765" elapsed="0.008513">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.020596" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:37.020365" elapsed="0.000412"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:37.011743" elapsed="0.009099">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.021341" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:37.021618" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:37.021562" elapsed="0.000151"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:37.021542" elapsed="0.000234"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.021921" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:37.022164" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:36.998915" elapsed="0.023364">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:37.022351" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:36.996419" elapsed="0.026031">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.022631" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:36.969407" elapsed="0.053339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:37.541551" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:37.538313" elapsed="0.003332"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:37.543136" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:37.542510" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:37.542067" elapsed="0.001166"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:37.544449" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:37.543846" elapsed="0.000652"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:37.543396" elapsed="0.001169"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:37.541811" elapsed="0.002849"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.545356" elapsed="0.000127"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:37.544733" elapsed="0.000829"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:37.547238" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:37.546244" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:37.545645" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.547957" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:37.547472" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:37.544713" elapsed="0.003452"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:37.548206" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:37.548369" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:37.537426" elapsed="0.010969"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:37.548443" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:37.548613" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:37.536451" elapsed="0.012189"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:37.563602" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:37.563111" elapsed="0.000583"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:37.564373" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:37.563912" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:37.570116" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:37.566988" elapsed="0.006072">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:37.564627" elapsed="0.008558">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.573482" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:37.573269" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:37.564606" elapsed="0.009111">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.574195" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:37.574451" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:37.574414" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:37.574395" elapsed="0.000264"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.574803" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:37.575044" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:37.551396" elapsed="0.023760">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:37.575261" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:37.548861" elapsed="0.026501">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:37.575529" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:37.523556" elapsed="0.052102">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.093616" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:38.090503" elapsed="0.003190"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.095148" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:38.094527" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:38.094091" elapsed="0.001156"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.096468" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:38.095860" elapsed="0.000657"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:38.095409" elapsed="0.001157"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:38.093849" elapsed="0.002819"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.097340" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:38.096736" elapsed="0.000749"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.099129" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:38.098151" elapsed="0.001070"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:38.097547" elapsed="0.001750"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.099834" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:38.099360" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:38.096718" elapsed="0.003318"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:38.100074" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:18:38.100225" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:38.089671" elapsed="0.010580"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:38.100309" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:38.100450" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:38.088756" elapsed="0.011719"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.114932" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:38.114457" elapsed="0.000563"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.115704" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:38.115236" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:38.121010" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:38.118443" elapsed="0.005639">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:38.115927" elapsed="0.008316">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.124588" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:38.124357" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:38.115907" elapsed="0.008900">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.125280" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:38.125535" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:38.125498" elapsed="0.000145"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:38.125480" elapsed="0.000226"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.125848" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:38.126090" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:38.103229" elapsed="0.022970">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:38.126271" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:38.100707" elapsed="0.025661">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.126532" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:38.076279" elapsed="0.050404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.644481" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:38.641312" elapsed="0.003245"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.646045" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:38.645416" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:38.644975" elapsed="0.001169"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.647359" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:38.646761" elapsed="0.000648"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:38.646306" elapsed="0.001151"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:38.644727" elapsed="0.002809"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.648232" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:38.647618" elapsed="0.000767"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.650043" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:38.649057" elapsed="0.001080"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:38.648448" elapsed="0.001764"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.650771" elapsed="0.000104"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:38.650279" elapsed="0.000675"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:38.647599" elapsed="0.003414"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:38.651052" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:38.651206" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:38.640443" elapsed="0.010789"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:38.651279" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:38.651420" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:38.639520" elapsed="0.011925"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.666498" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:38.666035" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:38.667279" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:38.666825" elapsed="0.000542"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:38.672714" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:38.669804" elapsed="0.005661">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:38.667505" elapsed="0.008098">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.675900" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:38.675688" elapsed="0.000390"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:38.667485" elapsed="0.008659">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.676703" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:38.676959" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:38.676922" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:38.676903" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.677256" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:38.677495" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:38.654489" elapsed="0.023131">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:38.677693" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:38.651744" elapsed="0.026046">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:38.677953" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:38.627288" elapsed="0.050808">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.197858" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:39.195145" elapsed="0.002793"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.199425" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:39.198816" elapsed="0.000659"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:39.198347" elapsed="0.001176"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.200778" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:39.200161" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:39.199712" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:39.198097" elapsed="0.002855"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.201651" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:39.201024" elapsed="0.000773"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.203428" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:39.202449" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:39.201860" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.204160" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:39.203691" elapsed="0.000614"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:39.201005" elapsed="0.003359"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:39.204406" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:18:39.204561" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:39.194259" elapsed="0.010344"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:39.204651" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:39.204792" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:39.193319" elapsed="0.011498"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.219301" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:39.218842" elapsed="0.000546"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.220092" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:39.219618" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:39.225414" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:39.222517" elapsed="0.005757">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:39.220311" elapsed="0.008089">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.228714" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:39.228484" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:39.220291" elapsed="0.008683">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.229449" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:39.229720" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:39.229684" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:39.229664" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.230014" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:39.230255" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:39.207491" elapsed="0.022877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:39.230440" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:39.205035" elapsed="0.025502">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.230756" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:39.178765" elapsed="0.052102">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.748011" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:39.745643" elapsed="0.002448"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.749587" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:39.748968" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:39.748513" elapsed="0.001174"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.750913" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:39.750287" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:39.749849" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:39.748254" elapsed="0.002835"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.751819" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:39.751163" elapsed="0.000805"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.753635" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:39.752650" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:39.752032" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.754341" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:39.753874" elapsed="0.000612"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:39.751142" elapsed="0.003402"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:39.754608" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:39.754768" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:39.744978" elapsed="0.009818"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:39.754896" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:39.755042" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:39.744269" elapsed="0.010799"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.769697" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:39.769212" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:39.770468" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:39.770007" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:39.776092" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:39.773124" elapsed="0.005883">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:39.770709" elapsed="0.008427">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.779442" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:39.779221" elapsed="0.000401"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:39.770688" elapsed="0.009001">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.780180" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:39.780441" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:39.780404" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:39.780385" elapsed="0.000291"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.780824" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:39.781068" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:39.757802" elapsed="0.023378">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:39.781253" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:39.755286" elapsed="0.026066">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:39.781518" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:39.731698" elapsed="0.049946">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.293734" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:40.291377" elapsed="0.002438"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.295319" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:40.294709" elapsed="0.000659"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:40.294239" elapsed="0.001194"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.296688" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:40.296067" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:40.295622" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:40.293976" elapsed="0.002891"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.297564" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:40.296940" elapsed="0.000790"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.299387" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:40.298400" elapsed="0.001112"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:40.297794" elapsed="0.001829"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.300155" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:40.299689" elapsed="0.000613"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:40.296919" elapsed="0.003443"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:40.300403" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:18:40.300561" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:40.290703" elapsed="0.009900"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:40.300651" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:40.300794" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:40.290007" elapsed="0.010812"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.315458" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:40.314976" elapsed="0.000573"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.316376" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:40.315919" elapsed="0.000544"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:40.321796" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:40.318858" elapsed="0.005864">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:40.316616" elapsed="0.008232">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.325163" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:40.324941" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:40.316595" elapsed="0.008788">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.325876" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:40.326171" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:40.326133" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:40.326114" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.326466" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:40.326723" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:40.303533" elapsed="0.023304">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:40.326910" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:40.301036" elapsed="0.025971">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.327173" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:40.282210" elapsed="0.045073">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.839787" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:40.837404" elapsed="0.002467"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.841385" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:40.840767" elapsed="0.000670"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:40.840302" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.842744" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:40.842114" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:40.841668" elapsed="0.001173"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:40.840040" elapsed="0.002880"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.843667" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:40.842994" elapsed="0.000821"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.845470" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:40.844479" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:40.843879" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.846182" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:40.845720" elapsed="0.000609"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:40.842973" elapsed="0.003417"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:40.846429" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:18:40.846622" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:40.836774" elapsed="0.009876"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:40.846697" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:18:40.846843" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:40.836072" elapsed="0.010798"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.861422" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:40.860954" elapsed="0.000557"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:40.862205" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:40.861753" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:40.868003" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:40.864820" elapsed="0.006084">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:40.862428" elapsed="0.008603">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.871344" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:40.871116" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:40.862408" elapsed="0.009153">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.872057" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:40.872316" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:40.872278" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:40.872259" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.872629" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:40.872871" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:40.849680" elapsed="0.023304">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:40.873058" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:40.847090" elapsed="0.026067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:40.873323" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:40.828009" elapsed="0.045426">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.385955" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:41.383622" elapsed="0.002412"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.387528" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:41.386911" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:41.386446" elapsed="0.001200"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.388939" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:41.388309" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:41.387867" elapsed="0.001170"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:41.386193" elapsed="0.002923"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.389823" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:41.389190" elapsed="0.000780"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.391647" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:41.390642" elapsed="0.001098"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:41.390033" elapsed="0.001783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.392340" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:41.391880" elapsed="0.000603"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:41.389170" elapsed="0.003374"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:41.392609" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:18:41.392769" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:41.382965" elapsed="0.009830"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:41.392842" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:41.392983" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:41.382268" elapsed="0.010741"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.407380" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:41.406907" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.408154" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:41.407699" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:41.413824" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:41.410758" elapsed="0.005954">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:41.408375" elapsed="0.008467">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.417145" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:41.416931" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:41.408355" elapsed="0.009005">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.417853" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:41.418110" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:41.418073" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:41.418053" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.418408" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:41.418664" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:41.395734" elapsed="0.023079">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:41.418886" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:41.393227" elapsed="0.025773">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.419170" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:41.374025" elapsed="0.045258">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.938877" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:41.935590" elapsed="0.003401"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.940620" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:41.939992" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:41.939529" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.941947" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:41.941330" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:41.940884" elapsed="0.001160"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:41.939215" elapsed="0.002909"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.942854" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:41.942196" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.944673" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:41.943695" elapsed="0.001072"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:41.943068" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.945375" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:41.944910" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:41.942175" elapsed="0.003422"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:41.945639" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:18:41.945800" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:41.934694" elapsed="0.011133"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:41.945874" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:41.946016" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:41.933731" elapsed="0.012312"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.960557" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:41.960093" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:41.961328" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:41.960878" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:41.966847" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:41.964020" elapsed="0.005750">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:41.961549" elapsed="0.008349">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.970198" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:41.969983" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:41.961529" elapsed="0.008885">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.970930" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:41.971189" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:41.971151" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:41.971132" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.971492" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:41.971785" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:41.948829" elapsed="0.023070">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:41.971971" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:41.946263" elapsed="0.025808">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:41.972238" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:41.920031" elapsed="0.052320">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:42.491595" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:42.488213" elapsed="0.003468"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:42.493201" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:42.492565" elapsed="0.000686"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:42.492110" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:42.494557" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:42.493936" elapsed="0.000690"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:42.493468" elapsed="0.001209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:42.491851" elapsed="0.002906"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:42.495464" elapsed="0.000145"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:42.494832" elapsed="0.000857"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:42.497381" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:42.496375" elapsed="0.001101"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:42.495764" elapsed="0.001790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:42.498106" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:42.497638" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:42.494811" elapsed="0.003505"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:42.498356" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:42.498518" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:42.487330" elapsed="0.011228"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:42.498622" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:42.498768" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:42.486376" elapsed="0.012417"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:42.513529" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:42.513055" elapsed="0.000579"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:42.514311" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:42.513855" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:42.519941" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:42.517081" elapsed="0.005811">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:42.514556" elapsed="0.008465">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:42.523321" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:42.523106" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:42.514514" elapsed="0.009027">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:42.524045" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:42.524300" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:42.524263" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:42.524243" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:42.524645" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:42.524887" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:42.501550" elapsed="0.023451">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:42.525107" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:42.499014" elapsed="0.026195">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:42.525376" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:42.473752" elapsed="0.051736">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.043707" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:43.040413" elapsed="0.003372"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.045258" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:43.044650" elapsed="0.000657"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:43.044192" elapsed="0.001164"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.046674" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:43.046007" elapsed="0.000719"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:43.045526" elapsed="0.001250"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:43.043941" elapsed="0.002916"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.047544" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:43.046928" elapsed="0.000780"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.049370" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:43.048372" elapsed="0.001095"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:43.047774" elapsed="0.001775"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.050113" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:43.049644" elapsed="0.000618"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:43.046909" elapsed="0.003432"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:43.050382" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:18:43.050543" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:43.039536" elapsed="0.011052"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:43.050637" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:43.050800" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:43.038637" elapsed="0.012191"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.065536" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:43.065072" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.066335" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:43.065861" elapsed="0.000572"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:43.072189" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:43.068934" elapsed="0.006135">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:43.066703" elapsed="0.008536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.075541" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:43.075325" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:43.066550" elapsed="0.009226">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.076250" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:43.076508" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:43.076470" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:43.076451" elapsed="0.000228"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.076823" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:43.077066" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:43.053793" elapsed="0.023385">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:43.077252" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:43.051051" elapsed="0.026301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.077518" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:43.026100" elapsed="0.051544">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.595804" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:43.592534" elapsed="0.003353"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.597404" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:43.596789" elapsed="0.000665"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:43.596313" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.598791" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:43.598164" elapsed="0.000678"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:43.597698" elapsed="0.001193"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:43.596052" elapsed="0.002918"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.599689" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:43.599044" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.601524" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:43.600518" elapsed="0.001118"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:43.599907" elapsed="0.001807"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.602267" elapsed="0.000142"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:43.601782" elapsed="0.000709"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:43.599024" elapsed="0.003529"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:43.602646" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:43.602813" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:43.591631" elapsed="0.011208"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:43.602886" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:43.603028" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:43.590640" elapsed="0.012414"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.617663" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:43.617180" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:43.618457" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:43.617973" elapsed="0.000573"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:43.624099" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:43.621074" elapsed="0.005972">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:43.618850" elapsed="0.008323">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.627480" elapsed="0.000137"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:43.627258" elapsed="0.000453"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:43.618829" elapsed="0.008946">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.628251" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:43.628518" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:43.628473" elapsed="0.000176"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:43.628453" elapsed="0.000260"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.628858" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:43.629103" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:43.605773" elapsed="0.023442">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:43.629287" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:43.603276" elapsed="0.026109">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:43.629592" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:43.578330" elapsed="0.051420">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.149272" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:44.146065" elapsed="0.003315"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.151218" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:44.150614" elapsed="0.000653"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:44.150011" elapsed="0.001305"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.152540" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:44.151941" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:44.151480" elapsed="0.001173"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:44.149621" elapsed="0.003112"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.153416" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:44.152803" elapsed="0.000762"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.155247" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:44.154260" elapsed="0.001080"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:44.153646" elapsed="0.001770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.155961" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:44.155481" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:44.152784" elapsed="0.003382"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:44.156205" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:18:44.156362" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:44.145173" elapsed="0.011216"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:44.156436" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:44.156594" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:44.144241" elapsed="0.012380"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.171149" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:44.170687" elapsed="0.000551"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.171935" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:44.171453" elapsed="0.000567"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:44.177245" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:44.174547" elapsed="0.005592">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:44.172156" elapsed="0.008110">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.180582" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:44.180349" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:44.172136" elapsed="0.008706">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.181323" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:44.181594" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:44.181541" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:44.181522" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.181919" elapsed="0.000032"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:44.182173" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:44.159393" elapsed="0.022892">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:44.182358" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:44.156842" elapsed="0.025614">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.182659" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:44.130629" elapsed="0.052144">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.703067" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:44.700727" elapsed="0.002418"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.704819" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:44.704149" elapsed="0.000719"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:44.703702" elapsed="0.001215"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.706159" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:44.705517" elapsed="0.000692"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:44.705080" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:44.703424" elapsed="0.002912"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.707041" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:44.706407" elapsed="0.000781"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.708842" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:44.707863" elapsed="0.001073"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:44.707252" elapsed="0.001759"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.709537" elapsed="0.000093"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:44.709074" elapsed="0.000661"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:44.706388" elapsed="0.003455"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:44.709890" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:44.710053" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:44.700090" elapsed="0.009990"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:44.710171" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:44.710316" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:44.699416" elapsed="0.010926"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.724909" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:44.724432" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:44.725818" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:44.725216" elapsed="0.000688"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:44.732738" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:44.729951" elapsed="0.005586">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:44.726041" elapsed="0.009650">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.735991" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:44.735775" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:44.726021" elapsed="0.010186">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.736726" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:44.736983" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:44.736946" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:44.736926" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.737281" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:44.737523" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:44.713060" elapsed="0.024606">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:44.737740" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:44.710562" elapsed="0.027278">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:44.738005" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:44.683400" elapsed="0.054715">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.259079" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:45.255808" elapsed="0.003381"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.261295" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:45.260413" elapsed="0.000952"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:45.259796" elapsed="0.001638"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.263001" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:45.262334" elapsed="0.000717"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:45.261716" elapsed="0.001386"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:45.259410" elapsed="0.003772"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.263904" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:45.263257" elapsed="0.000803"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.265744" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:45.264748" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:45.264123" elapsed="0.001794"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.266443" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:45.265983" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:45.263236" elapsed="0.003429"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:45.266705" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:18:45.266865" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:45.254854" elapsed="0.012038"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:45.266939" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:45.267086" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:45.253908" elapsed="0.013204"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.281887" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:45.281378" elapsed="0.000599"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.282663" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:45.282196" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:45.288140" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:45.285284" elapsed="0.005786">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:45.282886" elapsed="0.008309">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.291494" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:45.291280" elapsed="0.000385"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:45.282865" elapsed="0.008867">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.292218" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:45.292512" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:45.292474" elapsed="0.000211"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:45.292455" elapsed="0.000294"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.292894" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:45.293136" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:45.270092" elapsed="0.023157">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:45.293323" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:45.267331" elapsed="0.026093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.293650" elapsed="0.000031"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:45.238834" elapsed="0.054940">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.813309" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:45.809987" elapsed="0.003410"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.814982" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:45.814343" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:45.813880" elapsed="0.001200"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.816328" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:45.815724" elapsed="0.000654"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:45.815254" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:45.813597" elapsed="0.002910"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.817388" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:45.816607" elapsed="0.000941"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.819280" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:45.818250" elapsed="0.001126"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:45.817636" elapsed="0.001816"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.820004" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:45.819519" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:45.816581" elapsed="0.003635"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:45.820260" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:18:45.820430" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:45.809058" elapsed="0.011399"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:45.820505" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:18:45.820669" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:45.808031" elapsed="0.012664"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.835525" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:45.835058" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:45.836297" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:45.835847" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:45.841977" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:45.838831" elapsed="0.006092">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:45.836520" elapsed="0.008532">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.845377" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:45.845136" elapsed="0.000396"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:45.836500" elapsed="0.009114">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.846134" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:45.846392" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:45.846354" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:45.846334" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.846756" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:45.846997" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:45.823592" elapsed="0.023519">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:45.847184" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:45.820916" elapsed="0.026366">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:45.847448" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:45.794638" elapsed="0.052920">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.366480" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:46.363299" elapsed="0.003263"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.368126" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:46.367472" elapsed="0.000706"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:46.367015" elapsed="0.001215"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.369559" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:46.368930" elapsed="0.000696"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:46.368453" elapsed="0.001222"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:46.366740" elapsed="0.003014"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.370461" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:46.369830" elapsed="0.000796"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.372331" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:46.371320" elapsed="0.001105"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:46.370692" elapsed="0.001809"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.373081" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:46.372566" elapsed="0.000666"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:46.369809" elapsed="0.003484"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:46.373335" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:18:46.373497" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:46.362200" elapsed="0.011324"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:46.373586" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:18:46.373738" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:46.361138" elapsed="0.012626"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.388536" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:46.388065" elapsed="0.000584"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.389364" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:46.388868" elapsed="0.000583"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:46.394865" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:46.392025" elapsed="0.005801">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:46.389606" elapsed="0.008349">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.398256" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:46.398039" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:46.389584" elapsed="0.008888">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.399005" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:46.399266" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:46.399229" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:46.399209" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.399622" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:46.399882" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:46.376609" elapsed="0.023425">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:46.400110" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:46.373999" elapsed="0.026214">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.400385" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:46.348152" elapsed="0.052348">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.921204" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:46.917668" elapsed="0.003655"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.922928" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:46.922302" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:46.921848" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.924328" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:46.923727" elapsed="0.000650"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:46.923195" elapsed="0.001231"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:46.921562" elapsed="0.002945"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.925248" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:46.924597" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.927077" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:46.926092" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:46.925462" elapsed="0.001783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.927821" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:46.927310" elapsed="0.000655"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:46.924561" elapsed="0.003464"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:46.928066" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:46.928228" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:46.916708" elapsed="0.011547"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:46.928301" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:46.928441" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:46.915676" elapsed="0.012791"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.943023" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:46.942542" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:46.943826" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:46.943328" elapsed="0.000584"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:46.949328" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:46.946350" elapsed="0.005891">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:46.944049" elapsed="0.008318">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.952684" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:46.952452" elapsed="0.000415"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:46.944029" elapsed="0.008901">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.953409" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:46.953684" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:46.953646" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:46.953626" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.953981" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:46.954223" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:46.931317" elapsed="0.023020">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:46.954408" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:46.928704" elapsed="0.025803">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:46.954687" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:46.901248" elapsed="0.053551">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:47.474463" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:47.471348" elapsed="0.003197"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:47.476059" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:47.475436" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:47.474989" elapsed="0.001169"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:47.477386" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:47.476785" elapsed="0.000650"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:47.476324" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:47.474730" elapsed="0.002832"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:47.478292" elapsed="0.000128"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:47.477665" elapsed="0.000835"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:47.480165" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:47.479181" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:47.478565" elapsed="0.001770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:47.480892" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:47.480402" elapsed="0.000635"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:47.477644" elapsed="0.003453"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:47.481138" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:47.481301" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:47.470390" elapsed="0.010938"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:47.481376" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:47.481519" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:47.469369" elapsed="0.012176"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:47.496029" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:47.495540" elapsed="0.000579"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:47.496816" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:47.496337" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:47.504495" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:47.499551" elapsed="0.011623">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:47.497040" elapsed="0.014435">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:47.512284" elapsed="0.000158"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:47.511708" elapsed="0.000983"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:47.497019" elapsed="0.015824">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:47.514040" elapsed="0.000064"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:47.514662" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:47.514543" elapsed="0.000331"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:47.514496" elapsed="0.000512"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:47.515327" elapsed="0.000048"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:47.515896" elapsed="0.000039"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:47.484289" elapsed="0.031871">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:47.516427" elapsed="0.000038"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:47.481797" elapsed="0.035150">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:47.517357" elapsed="0.000051"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:47.456137" elapsed="0.061486">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.037203" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:48.033992" elapsed="0.003294"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.038829" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:48.038187" elapsed="0.000691"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:48.037734" elapsed="0.001194"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.040161" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:48.039538" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:48.039092" elapsed="0.001168"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:48.037456" elapsed="0.002885"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.041083" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:48.040428" elapsed="0.000805"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.042928" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:48.041926" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:48.041298" elapsed="0.001803"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.043659" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:48.043168" elapsed="0.000639"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:48.040407" elapsed="0.003462"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:48.043910" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:48.044073" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:48.033050" elapsed="0.011050"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:48.044146" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:48.044286" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:48.032004" elapsed="0.012308"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.059156" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:48.058555" elapsed="0.000694"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.059937" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:48.059468" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:48.065433" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:48.062427" elapsed="0.005898">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:48.060160" elapsed="0.008387">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.068874" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:48.068655" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:48.060139" elapsed="0.008950">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.069596" elapsed="0.000032"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:48.069861" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:48.069822" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:48.069803" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.070156" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:48.070395" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:48.047368" elapsed="0.023140">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:48.070636" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:48.044554" elapsed="0.026183">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.070905" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:48.018396" elapsed="0.052620">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.589845" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:48.586560" elapsed="0.003365"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.591424" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:48.590819" elapsed="0.000656"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:48.590352" elapsed="0.001172"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.592790" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:48.592167" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:48.591708" elapsed="0.001180"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:48.590092" elapsed="0.002874"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.593683" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:48.593041" elapsed="0.000789"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.595483" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:48.594495" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:48.593894" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.596221" elapsed="0.000134"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:48.595737" elapsed="0.000696"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:48.593019" elapsed="0.003475"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:48.596536" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:18:48.596725" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:48.585656" elapsed="0.011095"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:48.596797" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:48.596937" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:48.584628" elapsed="0.012334"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.611469" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:48.611002" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:48.612271" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:48.611801" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:48.617771" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:48.614893" elapsed="0.005830">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:48.612495" elapsed="0.008355">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.621151" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:48.620935" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:48.612474" elapsed="0.008894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.621876" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:48.622139" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:48.622100" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:48.622080" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.622436" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:48.622728" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:48.599730" elapsed="0.023112">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:48.622914" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:48.597185" elapsed="0.025827">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:48.623181" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:48.571840" elapsed="0.051503">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.140779" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:49.138332" elapsed="0.002541"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.142459" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:49.141818" elapsed="0.000693"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:49.141319" elapsed="0.001244"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.143912" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:49.143250" elapsed="0.000732"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:49.142759" elapsed="0.001277"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:49.141050" elapsed="0.003068"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.144881" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:49.144196" elapsed="0.000842"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.146810" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:49.145753" elapsed="0.001156"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:49.145107" elapsed="0.001883"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.147549" elapsed="0.000088"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:49.147057" elapsed="0.000662"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:49.144174" elapsed="0.003612"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:49.147835" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:49.148031" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:49.137666" elapsed="0.010393"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:49.148108" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:49.148257" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:49.136937" elapsed="0.011347"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.163123" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:49.162662" elapsed="0.000551"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.163889" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:49.163427" elapsed="0.000562"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:49.169344" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:49.166521" elapsed="0.005790">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:49.164124" elapsed="0.008315">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.172761" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:49.172523" elapsed="0.000392"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:49.164104" elapsed="0.008924">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.173513" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:49.173790" elapsed="0.000167"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:49.173753" elapsed="0.000286"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:49.173733" elapsed="0.000369"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.174248" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:49.174492" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:49.151281" elapsed="0.023342">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:49.174697" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:49.148510" elapsed="0.026287">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.174964" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:49.124207" elapsed="0.050869">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.693610" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:49.690538" elapsed="0.003153"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.695370" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:49.694758" elapsed="0.000661"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:49.694291" elapsed="0.001176"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.696722" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:49.696106" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:49.695650" elapsed="0.001171"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:49.694025" elapsed="0.002873"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.697619" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:49.696973" elapsed="0.000795"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.699424" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:49.698433" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:49.697833" elapsed="0.001775"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.700144" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:49.699675" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:49.696952" elapsed="0.003398"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:49.700390" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:49.700551" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:49.689619" elapsed="0.010975"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:49.700707" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:18:49.700856" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:49.688596" elapsed="0.012286"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.715527" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:49.715062" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:49.716321" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:49.715874" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:49.721875" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:49.718979" elapsed="0.005800">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:49.716544" elapsed="0.008362">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.725205" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:49.724990" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:49.716524" elapsed="0.008897">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.725929" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:49.726188" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:49.726151" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:49.726131" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.726488" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:49.726783" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:49.703643" elapsed="0.023254">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:49.726970" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:49.701106" elapsed="0.025962">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:49.727235" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:49.675898" elapsed="0.051448">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.246132" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:50.241856" elapsed="0.004360"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.247957" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:50.247292" elapsed="0.000715"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:50.246684" elapsed="0.001373"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.249308" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:50.248697" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:50.248225" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:50.246389" elapsed="0.003099"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.250224" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:50.249564" elapsed="0.000811"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.252097" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:50.251081" elapsed="0.001112"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:50.250442" elapsed="0.001827"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.252813" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:50.252335" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:50.249543" elapsed="0.003479"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:50.253062" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:50.253223" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:50.241058" elapsed="0.012191"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:50.253296" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:50.253438" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:50.240331" elapsed="0.013133"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.268126" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:50.267623" elapsed="0.000598"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.268914" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:50.268442" elapsed="0.000568"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:50.274474" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:50.271604" elapsed="0.005816">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:50.269153" elapsed="0.008394">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.277868" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:50.277648" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:50.269131" elapsed="0.008955">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.278700" elapsed="0.000030"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:50.279028" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:50.278988" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:50.278967" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.279330" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:50.279620" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:50.256260" elapsed="0.023477">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:50.279811" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:50.253708" elapsed="0.026210">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.280084" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:50.228176" elapsed="0.052021">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.859898" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:50.857504" elapsed="0.002476"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.861502" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:50.860885" elapsed="0.000667"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:50.860414" elapsed="0.001204"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.862863" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:50.862233" elapsed="0.000680"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:50.861790" elapsed="0.001171"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:50.860150" elapsed="0.002892"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.863782" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:50.863116" elapsed="0.000815"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.865617" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:50.864611" elapsed="0.001101"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:50.863997" elapsed="0.001791"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.866354" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:50.865853" elapsed="0.000646"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:50.863096" elapsed="0.003465"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:50.866632" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:18:50.866795" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:50.856875" elapsed="0.009946"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:50.866868" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:50.867011" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:50.856006" elapsed="0.011030"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.881705" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:50.881226" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:50.882457" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:50.882010" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:50.888406" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:50.885181" elapsed="0.006112">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:50.882818" elapsed="0.008605">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.891763" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:50.891508" elapsed="0.000410"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:50.882797" elapsed="0.009184">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.892453" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:50.892738" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:50.892701" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:50.892682" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.893036" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:50.893277" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:50.869878" elapsed="0.023511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:50.893461" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:50.867315" elapsed="0.026247">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:50.893744" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:50.781035" elapsed="0.112826">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.412142" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:51.408791" elapsed="0.003432"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.413750" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:51.413106" elapsed="0.000694"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:51.412660" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.415155" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:51.414523" elapsed="0.000682"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:51.414083" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:51.412387" elapsed="0.002947"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:51.416048" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:51.415407" elapsed="0.000789"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.417873" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:51.416874" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:51.416261" elapsed="0.001783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:51.418596" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:51.418110" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:51.415387" elapsed="0.003420"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:51.418847" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:51.419009" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:51.407909" elapsed="0.011127"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:51.419104" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:51.419249" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:51.406952" elapsed="0.012323"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.433888" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:51.433287" elapsed="0.000690"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.434703" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:51.434195" elapsed="0.000598"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:51.441102" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:51.438162" elapsed="0.005958">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:51.434960" elapsed="0.009295">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:51.444585" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:51.444342" elapsed="0.000399"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:51.434933" elapsed="0.009872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:51.445319" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:51.445633" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:51.445544" elapsed="0.000187"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:51.445523" elapsed="0.000275"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:51.445943" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:51.446184" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:51.422069" elapsed="0.024291">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:51.446434" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:51.419497" elapsed="0.027038">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:51.446723" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:51.394547" elapsed="0.052293">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.964334" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:51.960733" elapsed="0.003718"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.966665" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:51.965773" elapsed="0.000966"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:51.965091" elapsed="0.001722"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.968633" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:51.967729" elapsed="0.000975"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:51.967076" elapsed="0.001698"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:51.964714" elapsed="0.004180"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:51.969881" elapsed="0.000096"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:51.969002" elapsed="0.001084"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.972226" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:51.971020" elapsed="0.001330"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:51.970176" elapsed="0.002272"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:51.973202" elapsed="0.000093"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:51.972535" elapsed="0.000860"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:51.968972" elapsed="0.004504"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:51.973534" elapsed="0.000065"/>
</return>
<msg time="2026-04-11T23:18:51.973773" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:51.959815" elapsed="0.013995"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:51.973875" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:51.974074" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:51.958748" elapsed="0.015365"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.998707" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:51.998153" elapsed="0.000652"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:51.999503" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:51.999049" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:52.005390" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:52.002115" elapsed="0.006285">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:51.999756" elapsed="0.008775">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.008863" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:52.008635" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:51.999730" elapsed="0.009349">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.009620" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:52.009896" elapsed="0.000237"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:52.009855" elapsed="0.000362"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:52.009836" elapsed="0.000443"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.010427" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:52.010710" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:51.980439" elapsed="0.030407">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:52.010921" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:51.974430" elapsed="0.036593">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.011193" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:51.947479" elapsed="0.063830">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:52.530797" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:52.527384" elapsed="0.003525"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:52.532700" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:52.532071" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:52.531498" elapsed="0.001301"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:52.534039" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:52.533415" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:52.532970" elapsed="0.001169"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:52.531138" elapsed="0.003081"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.534961" elapsed="0.000141"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:52.534294" elapsed="0.000887"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:52.536862" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:52.535872" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:52.535246" elapsed="0.001786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.537563" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:52.537098" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:52.534273" elapsed="0.003512"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:52.537825" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:18:52.537988" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:52.526466" elapsed="0.011548"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:52.538062" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:52.538205" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:52.525505" elapsed="0.012726"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:52.552967" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:52.552473" elapsed="0.000582"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:52.553748" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:52.553275" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:52.559292" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:52.556382" elapsed="0.005844">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:52.553973" elapsed="0.008381">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.562730" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:52.562441" elapsed="0.000451"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:52.553953" elapsed="0.009005">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.563453" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:52.563737" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:52.563698" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:52.563679" elapsed="0.000240"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.564063" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:52.564308" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:52.541015" elapsed="0.023407">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:52.564539" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:52.538452" elapsed="0.026210">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:52.564831" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:52.512116" elapsed="0.052835">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.083338" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:53.079990" elapsed="0.003428"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.084948" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:53.084303" elapsed="0.000694"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:53.083852" elapsed="0.001196"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.086299" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:53.085682" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:53.085216" elapsed="0.001194"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:53.083592" elapsed="0.002900"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.087198" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:53.086564" elapsed="0.000785"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.089031" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:53.088032" elapsed="0.001095"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:53.087414" elapsed="0.001791"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.089754" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:53.089272" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:53.086544" elapsed="0.003418"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:53.090000" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:18:53.090155" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:53.079116" elapsed="0.011067"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:53.090229" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:53.090372" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:53.078174" elapsed="0.012236"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.105155" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:53.104560" elapsed="0.000687"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.105947" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:53.105466" elapsed="0.000567"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:53.111463" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:53.108433" elapsed="0.005926">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:53.106171" elapsed="0.008386">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.114879" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:53.114663" elapsed="0.000373"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:53.106151" elapsed="0.008949">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.115595" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:53.115858" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:53.115820" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:53.115801" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.116161" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:53.116407" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:53.093210" elapsed="0.023309">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:53.116646" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:53.090644" elapsed="0.026106">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.116919" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:53.065605" elapsed="0.051427">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.635219" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:53.632107" elapsed="0.003190"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.636787" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:53.636161" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:53.635720" elapsed="0.001169"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.638106" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:53.637494" elapsed="0.000660"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:53.637051" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:53.635453" elapsed="0.002844"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.638989" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:53.638367" elapsed="0.000769"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.640789" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:53.639804" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:53.639199" elapsed="0.001758"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.641485" elapsed="0.000126"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:53.641025" elapsed="0.000667"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:53.638348" elapsed="0.003404"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:53.641792" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:18:53.641949" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:53.631235" elapsed="0.010741"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:53.642024" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:53.642168" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:53.630308" elapsed="0.011899"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.656761" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:53.656163" elapsed="0.000689"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:53.657521" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:53.657070" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:53.662998" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:53.660019" elapsed="0.005865">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:53.657761" elapsed="0.008252">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.666346" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:53.666100" elapsed="0.000404"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:53.657741" elapsed="0.008841">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.667066" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:53.667327" elapsed="0.000182"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:53.667289" elapsed="0.000319"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:53.667270" elapsed="0.000403"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.667822" elapsed="0.000025"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:53.668075" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:53.645001" elapsed="0.023187">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:53.668261" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:53.642430" elapsed="0.025931">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:53.668528" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:53.617683" elapsed="0.051045">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.185982" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:54.183523" elapsed="0.002538"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.187545" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:54.186934" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:54.186468" elapsed="0.001196"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.188919" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:54.188283" elapsed="0.000685"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:54.187831" elapsed="0.001187"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:54.186218" elapsed="0.002880"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.189802" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:54.189168" elapsed="0.000784"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.191643" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:54.190647" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:54.190029" elapsed="0.001788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.192353" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:54.191883" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:54.189149" elapsed="0.003413"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:54.192626" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:54.192781" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:54.182915" elapsed="0.009893"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:54.192856" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:54.192999" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:54.182010" elapsed="0.011016"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.207965" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:54.207361" elapsed="0.000694"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.208746" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:54.208274" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:54.214109" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:54.211219" elapsed="0.005670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:54.208970" elapsed="0.008045">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.217315" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:54.217100" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:54.208950" elapsed="0.008687">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.218159" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:54.218421" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:54.218382" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:54.218362" elapsed="0.000231"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.218741" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:54.218984" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:54.195866" elapsed="0.023236">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:54.219179" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:54.193246" elapsed="0.026032">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.219445" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:54.169348" elapsed="0.050210">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.731705" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:54.729189" elapsed="0.002595"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.733425" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:54.732822" elapsed="0.000652"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:54.732367" elapsed="0.001156"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.734777" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:54.734162" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:54.733709" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:54.731952" elapsed="0.003002"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.735654" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:54.735025" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.737476" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:54.736463" elapsed="0.001137"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:54.735865" elapsed="0.001814"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.738230" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:54.737745" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:54.735005" elapsed="0.003430"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:54.738473" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:54.738646" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:54.728560" elapsed="0.010114"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:54.738766" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:18:54.738915" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:54.727907" elapsed="0.011034"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.753480" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:54.753021" elapsed="0.000693"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:54.754395" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:54.753948" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:54.759952" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:54.756873" elapsed="0.005940">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:54.754639" elapsed="0.008301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.763238" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:54.763024" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:54.754618" elapsed="0.008834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.763958" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:54.764216" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:54.764178" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:54.764159" elapsed="0.000243"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.764546" elapsed="0.000038"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:54.764806" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:54.741764" elapsed="0.023154">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:54.764996" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:54.739163" elapsed="0.025931">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:54.765261" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:54.719987" elapsed="0.045385">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.283004" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:55.280156" elapsed="0.002924"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.284540" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:55.283937" elapsed="0.000677"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:55.283480" elapsed="0.001185"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.285891" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:55.285270" elapsed="0.000848"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:55.284829" elapsed="0.001345"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:55.283234" elapsed="0.003021"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.286957" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:55.286327" elapsed="0.000778"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.288783" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:55.287786" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:55.287170" elapsed="0.001786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.289493" elapsed="0.000111"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:55.289023" elapsed="0.000661"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:55.286307" elapsed="0.003439"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:55.289785" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:18:55.289940" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:55.279234" elapsed="0.010732"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:55.290013" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:55.290156" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:55.278323" elapsed="0.011859"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.304979" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:55.304377" elapsed="0.000694"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.305773" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:55.305289" elapsed="0.000572"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:55.311159" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:55.308234" elapsed="0.005808">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:55.305998" elapsed="0.008175">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.314472" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:55.314258" elapsed="0.000399"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:55.305978" elapsed="0.008744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.315205" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:55.315498" elapsed="0.001845"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:55.315460" elapsed="0.001974"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:55.315441" elapsed="0.002057"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.317680" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:55.317929" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:55.292977" elapsed="0.025070">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:55.318121" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:55.290402" elapsed="0.027820">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.318396" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:55.266042" elapsed="0.052469">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.839029" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:55.835726" elapsed="0.003413"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.841257" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:55.840371" elapsed="0.000966"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:55.839742" elapsed="0.001667"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.843151" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:55.842286" elapsed="0.000935"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:55.841668" elapsed="0.001624"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:55.839364" elapsed="0.004040"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.844458" elapsed="0.000108"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:55.843504" elapsed="0.001215"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.847298" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:55.846244" elapsed="0.001165"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:55.844812" elapsed="0.002676"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.848134" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:55.847601" elapsed="0.000700"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:55.843477" elapsed="0.004903"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:55.848427" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:18:55.848703" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:55.834837" elapsed="0.013903"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:55.848793" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:55.848954" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:55.833863" elapsed="0.015121"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.864263" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:55.863798" elapsed="0.000555"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:55.865035" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:55.864585" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:55.870792" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:55.867760" elapsed="0.005896">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:55.865257" elapsed="0.008527">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.874083" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:55.873868" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:55.865236" elapsed="0.009064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.874886" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:55.875145" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:55.875108" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:55.875088" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.875445" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:55.875704" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:55.852405" elapsed="0.023414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:55.875893" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:55.849242" elapsed="0.026751">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:55.876161" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:55.819197" elapsed="0.057076">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.394468" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:56.391215" elapsed="0.003332"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.396085" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:56.395453" elapsed="0.000682"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:56.395002" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.397518" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:56.396888" elapsed="0.000695"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:56.396421" elapsed="0.001215"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:56.394739" elapsed="0.002977"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.398415" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:56.397789" elapsed="0.000774"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.400255" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:56.399260" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:56.398653" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.400980" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:56.400495" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:56.397769" elapsed="0.003434"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:56.401244" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:18:56.401402" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:56.390327" elapsed="0.011101"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:56.401584" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:18:56.401734" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:56.389387" elapsed="0.012373"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.416799" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:56.416319" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.417602" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:56.417133" elapsed="0.000558"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:56.423234" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:56.420162" elapsed="0.006050">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:56.417828" elapsed="0.008512">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.426655" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:56.426424" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:56.417809" elapsed="0.009065">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.427370" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:56.427697" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:56.427658" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:56.427637" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.428000" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:56.428242" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:56.404880" elapsed="0.023514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:56.428468" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:56.401980" elapsed="0.026602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.428754" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:56.376947" elapsed="0.051920">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.948450" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:56.944952" elapsed="0.003608"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.950482" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:56.949843" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:56.949187" elapsed="0.001410"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.951812" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:56.951200" elapsed="0.000661"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:56.950764" elapsed="0.001146"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:56.948799" elapsed="0.003190"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.952680" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:56.952058" elapsed="0.000770"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.954487" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:56.953495" elapsed="0.001102"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:56.952891" elapsed="0.001784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.955202" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:56.954741" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:56.952040" elapsed="0.003365"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:56.955443" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:18:56.955615" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:56.944077" elapsed="0.011565"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:56.955689" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:56.955833" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:56.943161" elapsed="0.012698"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.970407" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:56.969947" elapsed="0.000549"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:56.971180" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:56.970731" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:56.976553" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:56.973866" elapsed="0.005590">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:56.971402" elapsed="0.008194">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.979898" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:56.979683" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:56.971381" elapsed="0.008733">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.980612" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:56.980872" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:56.980834" elapsed="0.000143"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:56.980814" elapsed="0.000226"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.981185" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:56.981427" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:56.958647" elapsed="0.022894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:56.981665" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:56.956081" elapsed="0.025686">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:56.981934" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:56.929464" elapsed="0.052582">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:57.500804" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:57.497538" elapsed="0.003375"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:57.502541" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:57.501924" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:57.501346" elapsed="0.001312"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:57.503890" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:57.503264" elapsed="0.000676"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:57.502821" elapsed="0.001167"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:57.501098" elapsed="0.002969"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:57.504772" elapsed="0.000116"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:57.504136" elapsed="0.000841"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:57.506667" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:57.505682" elapsed="0.001080"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:57.505046" elapsed="0.001792"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:57.507370" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:57.506904" elapsed="0.000613"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:57.504117" elapsed="0.003476"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:57.507634" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:18:57.507787" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:57.496685" elapsed="0.011128"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:57.507860" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:57.508001" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:57.495752" elapsed="0.012275"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:57.522974" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:57.522352" elapsed="0.000709"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:57.523744" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:57.523278" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:57.528914" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:57.526214" elapsed="0.005479">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:57.523967" elapsed="0.007849">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:57.532112" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:57.531900" elapsed="0.000362"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:57.523947" elapsed="0.008377">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:57.532841" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:57.533093" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:57.533057" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:57.533038" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:57.533387" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:57.533641" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:57.510897" elapsed="0.022856">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:57.533856" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:57.508244" elapsed="0.025715">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:57.534124" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:57.482689" elapsed="0.051545">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.052866" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:58.049644" elapsed="0.003328"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.054460" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:58.053863" elapsed="0.000646"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:58.053407" elapsed="0.001151"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.055780" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:58.055170" elapsed="0.000659"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:58.054737" elapsed="0.001140"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:58.053161" elapsed="0.002793"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.056650" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:58.056022" elapsed="0.000775"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.058438" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:58.057457" elapsed="0.001073"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:58.056862" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.059147" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:58.058690" elapsed="0.000600"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:58.056004" elapsed="0.003345"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:58.059387" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:58.059540" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:58.048786" elapsed="0.010794"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:58.059629" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:58.059773" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:58.047846" elapsed="0.011952"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.074223" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:58.073772" elapsed="0.000539"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.074985" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:58.074528" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:58.080328" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:58.077741" elapsed="0.005447">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:58.075205" elapsed="0.008144">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.083669" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:58.083436" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:58.075185" elapsed="0.008701">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.084358" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:58.084663" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:58.084625" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:58.084605" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.084962" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:58.085204" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:58.062530" elapsed="0.022785">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:58.085388" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:58.060013" elapsed="0.025472">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.085700" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:58.034869" elapsed="0.050943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.603445" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:58.601150" elapsed="0.002372"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.605053" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:58.604421" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:58.603946" elapsed="0.001205"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.606396" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:58.605786" elapsed="0.000659"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:58.605316" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:58.603696" elapsed="0.002895"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.607274" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:58.606661" elapsed="0.000761"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.609107" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:58.608106" elapsed="0.001095"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:58.607488" elapsed="0.001791"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.609914" elapsed="0.000107"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:58.609345" elapsed="0.000756"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:58.606642" elapsed="0.003522"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:58.610203" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:58.610360" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:58.600253" elapsed="0.010134"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:58.610434" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:18:58.610592" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:58.599340" elapsed="0.011279"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.625541" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:58.625081" elapsed="0.000567"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:58.626321" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:58.625868" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:58.631672" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:58.628892" elapsed="0.005563">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:58.626547" elapsed="0.008127">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.634977" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:58.634762" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:58.626526" elapsed="0.008666">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.635685" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:58.635943" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:58.635905" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:58.635886" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.636238" elapsed="0.000038"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:58.636497" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:58.613557" elapsed="0.023065">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:58.636696" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:58.610839" elapsed="0.025956">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:58.636962" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:58.586421" elapsed="0.050687">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.156145" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:59.152675" elapsed="0.003577"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.157948" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:59.157332" elapsed="0.000665"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:59.156838" elapsed="0.001208"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.159254" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:59.158658" elapsed="0.000644"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:59.158207" elapsed="0.001144"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:59.156468" elapsed="0.002960"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.160128" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:59.159498" elapsed="0.000774"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.161923" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:59.160954" elapsed="0.001060"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:59.160335" elapsed="0.001756"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.162626" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:59.162156" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:59.159479" elapsed="0.003351"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:59.162869" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:18:59.163024" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:59.151798" elapsed="0.011252"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:59.163096" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:18:59.163238" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:59.150872" elapsed="0.012391"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.177759" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:59.177283" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.178513" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:59.178064" elapsed="0.000594"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:59.183834" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:59.181100" elapsed="0.005648">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:59.178796" elapsed="0.008078">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.187172" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:59.186958" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:59.178776" elapsed="0.008649">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.187923" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:59.188198" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:59.188160" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:59.188141" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.188496" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:59.188755" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:59.166030" elapsed="0.022837">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:59.188940" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:59.163479" elapsed="0.025560">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.189206" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:59.137765" elapsed="0.051553">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.707977" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:59.704926" elapsed="0.003132"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.709613" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:59.708961" elapsed="0.000703"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:18:59.708486" elapsed="0.001226"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.710953" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:59.710326" elapsed="0.000678"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:18:59.709879" elapsed="0.001174"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:18:59.708227" elapsed="0.002905"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.711898" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:59.711205" elapsed="0.000854"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.713733" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:18:59.712741" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:18:59.712124" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.714432" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:59.713971" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:18:59.711185" elapsed="0.003469"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:59.714695" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:18:59.714856" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:18:59.704028" elapsed="0.010856"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:18:59.714994" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:18:59.715144" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:18:59.703055" elapsed="0.012115"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.730132" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:59.729666" elapsed="0.000556"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:18:59.731053" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:18:59.730437" elapsed="0.000701"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:18:59.736680" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:18:59.733567" elapsed="0.005985">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:18:59.731283" elapsed="0.008412">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.740022" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:18:59.739780" elapsed="0.000398"/>
</branch>
<status status="FAIL" start="2026-04-11T23:18:59.731263" elapsed="0.008978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.740744" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:59.741001" elapsed="0.000174"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:18:59.740964" elapsed="0.000295"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:18:59.740944" elapsed="0.000379"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.741469" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:18:59.741730" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:18:59.718128" elapsed="0.023716">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:18:59.741917" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:18:59.715392" elapsed="0.026625">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:18:59.742185" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:18:59.690037" elapsed="0.052259">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.260287" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:00.257061" elapsed="0.003303"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.261870" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:00.261237" elapsed="0.000682"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:00.260788" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.263190" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:00.262587" elapsed="0.000653"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:00.262134" elapsed="0.001155"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:00.260522" elapsed="0.002847"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.264076" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:00.263439" elapsed="0.000787"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.265888" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:00.264900" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:00.264289" elapsed="0.001770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.266601" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:00.266125" elapsed="0.000624"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:00.263420" elapsed="0.003390"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:00.266848" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:00.267003" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:00.256132" elapsed="0.010897"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:00.267077" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:00.267219" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:00.255204" elapsed="0.012041"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.281987" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:00.281382" elapsed="0.000695"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.282763" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:00.282295" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:00.288191" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:00.285243" elapsed="0.005790">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:00.282985" elapsed="0.008175">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.291457" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:00.291243" elapsed="0.000413"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:00.282964" elapsed="0.008757">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.292199" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:00.292496" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:00.292458" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:00.292438" elapsed="0.000230"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.292812" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:00.293053" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:00.270052" elapsed="0.023114">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:00.293238" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:00.267466" elapsed="0.025871">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.293501" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:00.242951" elapsed="0.050713">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.814310" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:00.809054" elapsed="0.005335"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.815921" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:00.815279" elapsed="0.000691"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:00.814829" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.817250" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:00.816653" elapsed="0.000646"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:00.816188" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:00.814558" elapsed="0.002869"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.818137" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:00.817497" elapsed="0.000790"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.819980" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:00.818966" elapsed="0.001110"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:00.818353" elapsed="0.001799"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.820702" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:00.820218" elapsed="0.000631"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:00.817478" elapsed="0.003431"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:00.820949" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:19:00.821104" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:00.808124" elapsed="0.013006"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:00.821176" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:00.821315" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:00.806803" elapsed="0.014537"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.836321" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:00.835818" elapsed="0.000595"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:00.837122" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:00.836652" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:00.842768" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:00.839774" elapsed="0.005914">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:00.837354" elapsed="0.008462">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.846114" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:00.845900" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:00.837332" elapsed="0.008999">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.846822" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:00.847078" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:00.847041" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:00.847022" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.847376" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:00.847646" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:00.824137" elapsed="0.023622">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:00.847834" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:00.821555" elapsed="0.026378">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:00.848098" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:00.794280" elapsed="0.053930">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.367173" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:01.363987" elapsed="0.003324"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.369020" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:01.368397" elapsed="0.000672"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:01.367890" elapsed="0.001228"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.370372" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:01.369772" elapsed="0.000648"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:01.369320" elapsed="0.001149"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:01.367526" elapsed="0.003022"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.371249" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:01.370632" elapsed="0.000763"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.373038" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:01.372061" elapsed="0.001070"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:01.371458" elapsed="0.001749"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.373746" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:01.373270" elapsed="0.000622"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:01.370613" elapsed="0.003338"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:01.373990" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:19:01.374143" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:01.363108" elapsed="0.011061"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:01.374216" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:01.374356" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:01.362199" elapsed="0.012183"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.388988" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:01.388393" elapsed="0.000684"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.389773" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:01.389300" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:01.395299" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:01.392270" elapsed="0.005813">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:01.389997" elapsed="0.008212">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.398505" elapsed="0.000131"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:01.398292" elapsed="0.000429"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:01.389977" elapsed="0.008808">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.399282" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:01.399539" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:01.399501" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:01.399482" elapsed="0.000229"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.399855" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:01.400094" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:01.377165" elapsed="0.023076">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:01.400315" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:01.374613" elapsed="0.025803">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.400600" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:01.348839" elapsed="0.051875">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.919078" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:01.916690" elapsed="0.002472"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.920714" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:01.920077" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:01.919612" elapsed="0.001204"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.922157" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:01.921447" elapsed="0.000765"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:01.920993" elapsed="0.001269"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:01.919334" elapsed="0.003010"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.923099" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:01.922420" elapsed="0.000831"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.924957" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:01.923943" elapsed="0.001112"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:01.923318" elapsed="0.001815"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.925696" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:01.925198" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:01.922399" elapsed="0.003506"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:01.925946" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:01.926107" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:01.916039" elapsed="0.010095"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:01.926186" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:01.926328" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:01.915327" elapsed="0.011028"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.941366" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:01.940894" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:01.942298" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:01.941842" elapsed="0.000542"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:01.947886" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:01.944870" elapsed="0.005845">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:01.942521" elapsed="0.008322">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.951178" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:01.950928" elapsed="0.000404"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:01.942501" elapsed="0.008894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.951938" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:01.952197" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:01.952160" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:01.952140" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.952496" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:01.952752" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:01.929222" elapsed="0.023645">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:01.952940" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:01.926595" elapsed="0.026446">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:01.953216" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:01.901486" elapsed="0.051844">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:02.471604" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:02.468428" elapsed="0.003256"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:02.473165" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:02.472538" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:02.472094" elapsed="0.001169"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:02.474483" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:02.473881" elapsed="0.000652"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:02.473426" elapsed="0.001172"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:02.471843" elapsed="0.002836"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:02.475377" elapsed="0.000120"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:02.474749" elapsed="0.000840"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:02.477229" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:02.476248" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:02.475655" elapsed="0.001745"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:02.477937" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:02.477463" elapsed="0.000619"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:02.474729" elapsed="0.003414"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:02.478182" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:19:02.478339" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:02.467553" elapsed="0.010812"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:02.478412" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:02.478553" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:02.466629" elapsed="0.011964"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:02.493113" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:02.492534" elapsed="0.000668"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:02.493885" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:02.493420" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:02.499248" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:02.496361" elapsed="0.005743">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:02.494104" elapsed="0.008130">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:02.502533" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:02.502320" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:02.494083" elapsed="0.008706">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:02.503276" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:02.503534" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:02.503496" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:02.503477" elapsed="0.000228"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:02.503848" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:02.504089" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:02.481396" elapsed="0.022805">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:02.504308" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:02.478824" elapsed="0.025586">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:02.504632" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:02.453991" elapsed="0.050757">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.024843" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:03.022095" elapsed="0.002833"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.026454" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:03.025833" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:03.025365" elapsed="0.001188"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.027834" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:03.027206" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:03.026760" elapsed="0.001174"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:03.025099" elapsed="0.002917"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.028749" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:03.028090" elapsed="0.000810"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.030683" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:03.029665" elapsed="0.001114"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:03.028964" elapsed="0.001892"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.031392" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:03.030922" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:03.028069" elapsed="0.003549"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:03.031661" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:03.031824" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:03.021197" elapsed="0.010653"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:03.031897" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:03.032039" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:03.020229" elapsed="0.011836"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.046995" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:03.046367" elapsed="0.000721"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.047782" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:03.047308" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:03.053440" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:03.050268" elapsed="0.006081">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:03.048008" elapsed="0.008521">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.056852" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:03.056632" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:03.047987" elapsed="0.009082">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.057600" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:03.057861" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:03.057823" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:03.057803" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.058161" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:03.058405" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:03.034896" elapsed="0.023622">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:03.058656" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:03.032284" elapsed="0.026475">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.058928" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:03.006299" elapsed="0.052742">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.578762" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:03.575448" elapsed="0.003425"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.580483" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:03.579873" elapsed="0.000661"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:03.579405" elapsed="0.001193"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.581830" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:03.581210" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:03.580767" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:03.579097" elapsed="0.002912"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.582737" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:03.582083" elapsed="0.000804"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.584550" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:03.583552" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:03.582951" elapsed="0.001784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.585268" elapsed="0.000132"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:03.584802" elapsed="0.000675"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:03.582062" elapsed="0.003477"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:03.585596" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:03.585761" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:03.574558" elapsed="0.011230"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:03.585835" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:03.585979" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:03.573593" elapsed="0.012412"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.600591" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:03.600111" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:03.601357" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:03.600904" elapsed="0.000544"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:03.607078" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:03.604163" elapsed="0.005736">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:03.601750" elapsed="0.008277">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.610327" elapsed="0.000099"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:03.610111" elapsed="0.000400"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:03.601563" elapsed="0.009028">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.611078" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:03.611337" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:03.611299" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:03.611280" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.611668" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:03.611910" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:03.588782" elapsed="0.023241">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:03.612096" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:03.586229" elapsed="0.025965">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:03.612367" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:03.560435" elapsed="0.052080">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.131096" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:04.127807" elapsed="0.003442"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.132891" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:04.132240" elapsed="0.000702"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:04.131775" elapsed="0.001219"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.134256" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:04.133635" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:04.133163" elapsed="0.001193"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:04.131454" elapsed="0.002984"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.135177" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:04.134515" elapsed="0.000811"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.137090" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:04.136017" elapsed="0.001169"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:04.135392" elapsed="0.001872"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.137823" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:04.137331" elapsed="0.000640"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:04.134494" elapsed="0.003540"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:04.138075" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:04.138267" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:04.126906" elapsed="0.011388"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:04.138342" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:04.138484" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:04.125942" elapsed="0.012569"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.153596" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:04.153114" elapsed="0.000573"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.154371" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:04.153905" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:04.160034" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:04.156988" elapsed="0.005946">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:04.154757" elapsed="0.008304">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.163363" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:04.163144" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:04.154736" elapsed="0.008907">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.164133" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:04.164395" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:04.164358" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:04.164339" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.164708" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:04.164950" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:04.141552" elapsed="0.023511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:04.165136" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:04.138819" elapsed="0.026416">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.165401" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:04.113206" elapsed="0.052306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.685815" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:04.681894" elapsed="0.004036"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.687678" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:04.687049" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:04.686547" elapsed="0.001231"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.689051" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:04.688409" elapsed="0.000692"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:04.687943" elapsed="0.001207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:04.686248" elapsed="0.002979"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.689982" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:04.689313" elapsed="0.000818"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.691802" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:04.690821" elapsed="0.001079"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:04.690197" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.692511" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:04.692044" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:04.689290" elapsed="0.003443"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:04.692776" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:19:04.692947" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:04.680986" elapsed="0.011989"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:04.693092" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:04.693241" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:04.679993" elapsed="0.013274"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.707809" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:04.707328" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:04.708562" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:04.708116" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:04.714297" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:04.711236" elapsed="0.005979">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:04.708801" elapsed="0.008548">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.717664" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:04.717433" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:04.708780" elapsed="0.009099">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.718388" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:04.718715" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:04.718677" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:04.718657" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.719011" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:04.719251" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:04.696058" elapsed="0.023308">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:04.719437" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:04.693490" elapsed="0.026045">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:04.719717" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:04.666403" elapsed="0.053426">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.238599" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:05.235392" elapsed="0.003288"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.240187" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:05.239560" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:05.239111" elapsed="0.001174"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.241519" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:05.240913" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:05.240448" elapsed="0.001185"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:05.238846" elapsed="0.002866"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.242422" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:05.241799" elapsed="0.000785"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.244349" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:05.243258" elapsed="0.001188"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:05.242651" elapsed="0.001873"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.245077" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:05.244608" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:05.241780" elapsed="0.003507"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:05.245329" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:19:05.245490" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:05.234452" elapsed="0.011064"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:05.245564" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:19:05.245746" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:05.233515" elapsed="0.012259"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.260615" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:05.260127" elapsed="0.000581"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.261378" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:05.260926" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:05.266961" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:05.264022" elapsed="0.005816">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:05.261781" elapsed="0.008185">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.270264" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:05.270050" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:05.261758" elapsed="0.008725">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.270983" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:05.271293" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:05.271255" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:05.271235" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.271629" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:05.271874" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:05.248595" elapsed="0.023394">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:05.272062" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:05.245997" elapsed="0.026163">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.272326" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:05.220475" elapsed="0.051962">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.789670" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:05.786329" elapsed="0.003461"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.791445" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:05.790837" elapsed="0.000658"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:05.790368" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.792791" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:05.792176" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:05.791727" elapsed="0.001163"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:05.790036" elapsed="0.002933"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.793714" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:05.793049" elapsed="0.000811"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.795524" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:05.794529" elapsed="0.001103"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:05.793927" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.796230" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:05.795772" elapsed="0.000600"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:05.793027" elapsed="0.003407"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:05.796476" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:05.796659" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:05.785412" elapsed="0.011273"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:05.796733" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:05.796877" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:05.784413" elapsed="0.012490"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.811448" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:05.810985" elapsed="0.000551"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:05.812220" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:05.811770" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:05.818150" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:05.815053" elapsed="0.005988">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:05.812439" elapsed="0.008729">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.821465" elapsed="0.000098"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:05.821252" elapsed="0.000412"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:05.812419" elapsed="0.009310">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.822205" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:05.822463" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:05.822426" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:05.822406" elapsed="0.000262"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.822812" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:05.823052" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:05.799747" elapsed="0.023419">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:05.823238" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:05.797120" elapsed="0.026216">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:05.823500" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:05.773063" elapsed="0.050564">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.342205" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:06.338918" elapsed="0.003402"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.343911" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:06.343277" elapsed="0.000682"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:06.342825" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.345292" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:06.344697" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:06.344239" elapsed="0.001182"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:06.342552" elapsed="0.002949"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.346216" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:06.345592" elapsed="0.000769"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.348042" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:06.347058" elapsed="0.001077"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:06.346425" elapsed="0.001787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.348751" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:06.348275" elapsed="0.000622"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:06.345557" elapsed="0.003402"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:06.349000" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:06.349160" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:06.338038" elapsed="0.011149"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:06.349235" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:06.349390" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:06.337056" elapsed="0.012360"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.366564" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:06.366090" elapsed="0.000581"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.367345" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:06.366891" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:06.373020" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:06.369928" elapsed="0.006019">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:06.367663" elapsed="0.008413">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.376375" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:06.376160" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:06.367549" elapsed="0.009060">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.377094" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:06.377388" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:06.377345" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:06.377320" elapsed="0.000226"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.377703" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:06.377949" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:06.354372" elapsed="0.023731">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:06.378176" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:06.349650" elapsed="0.028625">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.378440" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:06.324295" elapsed="0.054256">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.897887" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:06.894272" elapsed="0.003702"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.899528" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:06.898904" elapsed="0.000690"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:06.898423" elapsed="0.001224"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.900898" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:06.900268" elapsed="0.000680"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:06.899814" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:06.898149" elapsed="0.002927"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.901842" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:06.901171" elapsed="0.000825"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.903705" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:06.902708" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:06.902064" elapsed="0.001814"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.904422" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:06.903944" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:06.901148" elapsed="0.003500"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:06.904693" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:19:06.904866" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:06.893353" elapsed="0.011540"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:06.904940" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:06.905084" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:06.892342" elapsed="0.012779"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.919712" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:06.919231" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:06.920472" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:06.920020" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:06.926215" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:06.923179" elapsed="0.006079">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:06.920710" elapsed="0.008678">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.929702" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:06.929473" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:06.920689" elapsed="0.009228">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.930398" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:06.930673" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:06.930635" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:06.930615" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.930973" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:06.931215" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:06.907942" elapsed="0.023389">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:06.931403" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:06.905350" elapsed="0.026152">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:06.931708" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:06.879399" elapsed="0.052424">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:07.449907" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:07.446767" elapsed="0.003216"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:07.451431" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:07.450833" elapsed="0.000646"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:07.450379" elapsed="0.001148"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:07.452769" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:07.452152" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:07.451718" elapsed="0.001148"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:07.450135" elapsed="0.002821"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:07.453642" elapsed="0.000111"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:07.453025" elapsed="0.000806"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:07.455479" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:07.454482" elapsed="0.001113"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:07.453894" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:07.456196" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:07.455737" elapsed="0.000601"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:07.453006" elapsed="0.003393"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:07.456439" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:07.456610" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:07.445901" elapsed="0.010737"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:07.456686" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:07.456828" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:07.444990" elapsed="0.011863"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:07.471746" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:07.471036" elapsed="0.000802"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:07.472511" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:07.472060" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:07.478074" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:07.475024" elapsed="0.005894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:07.472751" elapsed="0.008291">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:07.481341" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:07.481127" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:07.472730" elapsed="0.008826">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:07.482050" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:07.482308" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:07.482271" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:07.482251" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:07.482624" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:07.482869" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:07.459669" elapsed="0.023314">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:07.483089" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:07.457085" elapsed="0.026107">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:07.483358" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:07.432434" elapsed="0.051037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.003417" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:08.000130" elapsed="0.003393"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.005665" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:08.004792" elapsed="0.000923"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:08.004108" elapsed="0.001656"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.006981" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:08.006367" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:08.005928" elapsed="0.001151"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:08.003762" elapsed="0.003395"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.007854" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:08.007226" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.009679" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:08.008699" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:08.008066" elapsed="0.001787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.010383" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:08.009918" elapsed="0.000610"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:08.007207" elapsed="0.003397"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:08.010644" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:19:08.010797" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:07.999260" elapsed="0.011562"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:08.010869" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:08.011011" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:07.998338" elapsed="0.012698"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.025517" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:08.025063" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.026286" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:08.025839" elapsed="0.000531"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:08.031672" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:08.028929" elapsed="0.005587">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:08.026505" elapsed="0.008185">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.034990" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:08.034776" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:08.026485" elapsed="0.008719">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.035693" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:08.035949" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:08.035912" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:08.035892" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.036244" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:08.036491" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:08.013827" elapsed="0.022836">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:08.036740" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:08.011253" elapsed="0.025587">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.037006" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:07.984079" elapsed="0.053037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.556439" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:08.553220" elapsed="0.003376"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.558373" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:08.557774" elapsed="0.000647"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:08.557156" elapsed="0.001314"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.559698" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:08.559083" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:08.558648" elapsed="0.001147"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:08.556814" elapsed="0.003058"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.560554" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:08.559941" elapsed="0.000775"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.562347" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:08.561367" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:08.560779" elapsed="0.001753"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.563084" elapsed="0.000126"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:08.562615" elapsed="0.000674"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:08.559922" elapsed="0.003427"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:08.563389" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:08.563544" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:08.552328" elapsed="0.011257"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:08.563634" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:08.563777" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:08.551412" elapsed="0.012390"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.578658" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:08.578031" elapsed="0.000718"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:08.579421" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:08.578968" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:08.584664" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:08.582115" elapsed="0.005353">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:08.579663" elapsed="0.007944">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.587908" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:08.587693" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:08.579642" elapsed="0.008482">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.588668" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:08.588929" elapsed="0.000184"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:08.588891" elapsed="0.000305"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:08.588872" elapsed="0.000386"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.589404" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:08.589705" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:08.566601" elapsed="0.023217">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:08.589891" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:08.564020" elapsed="0.025969">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:08.590156" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:08.537745" elapsed="0.052559">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.108819" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:09.105534" elapsed="0.003394"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.110625" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:09.109996" elapsed="0.000680"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:09.109512" elapsed="0.001215"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.111966" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:09.111337" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:09.110891" elapsed="0.001175"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:09.109147" elapsed="0.002999"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.112858" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:09.112215" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.114698" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:09.113707" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:09.113073" elapsed="0.001796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.115394" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:09.114934" elapsed="0.000606"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:09.112196" elapsed="0.003421"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:09.115657" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:19:09.115809" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:09.104690" elapsed="0.011146"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:09.115883" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:09.116025" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:09.103743" elapsed="0.012307"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.130780" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:09.130297" elapsed="0.000573"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.131548" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:09.131094" elapsed="0.000700"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:09.136916" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:09.134200" elapsed="0.005560">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:09.131933" elapsed="0.007953">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.140186" elapsed="0.000099"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:09.139970" elapsed="0.000403"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:09.131913" elapsed="0.008559">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.140976" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:09.141234" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:09.141196" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:09.141177" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.141532" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:09.141789" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:09.118818" elapsed="0.023085">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:09.141976" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:09.116282" elapsed="0.025794">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.142242" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:09.090942" elapsed="0.051412">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.660603" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:09.657117" elapsed="0.003582"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.662154" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:09.661530" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:09.661095" elapsed="0.001156"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.663456" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:09.662862" elapsed="0.000643"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:09.662411" elapsed="0.001146"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:09.660850" elapsed="0.002802"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.664337" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:09.663722" elapsed="0.000758"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.666134" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:09.665151" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:09.664543" elapsed="0.001760"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.666842" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:09.666368" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:09.663703" elapsed="0.003341"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:09.667082" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:09.667236" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:09.656248" elapsed="0.011015"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:09.667345" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:09.667492" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:09.655325" elapsed="0.012193"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.682308" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:09.681847" elapsed="0.000548"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:09.683085" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:09.682628" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:09.688553" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:09.685674" elapsed="0.005736">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:09.683308" elapsed="0.008227">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.691849" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:09.691635" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:09.683287" elapsed="0.008802">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.692656" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:09.692918" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:09.692881" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:09.692862" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.693213" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:09.693455" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:09.670330" elapsed="0.023236">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:09.693655" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:09.667750" elapsed="0.026004">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:09.693918" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:09.642978" elapsed="0.051049">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.212697" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:10.209366" elapsed="0.003410"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.214238" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:10.213635" elapsed="0.000652"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:10.213177" elapsed="0.001158"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.215559" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:10.214962" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:10.214498" elapsed="0.001193"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:10.212932" elapsed="0.002837"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.216460" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:10.215851" elapsed="0.000773"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.218256" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:10.217283" elapsed="0.001065"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:10.216688" elapsed="0.001734"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.218957" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:10.218486" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:10.215820" elapsed="0.003339"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:10.219196" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:19:10.219350" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:10.208444" elapsed="0.010932"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:10.219422" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:19:10.219562" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:10.207511" elapsed="0.012097"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.233960" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:10.233481" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.234729" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:10.234263" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:10.239982" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:10.237314" elapsed="0.005384">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:10.234948" elapsed="0.007873">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.243112" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:10.242903" elapsed="0.000360"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:10.234927" elapsed="0.008398">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.243887" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:10.244175" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:10.244138" elapsed="0.000126"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:10.244117" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.244466" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:10.244721" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:10.222326" elapsed="0.022509">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:10.244908" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:10.219838" elapsed="0.025168">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.245171" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:10.194678" elapsed="0.050605">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.764222" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:10.760926" elapsed="0.003405"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.765901" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:10.765291" elapsed="0.000658"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:10.764857" elapsed="0.001140"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.767208" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:10.766618" elapsed="0.000638"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:10.766159" elapsed="0.001144"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:10.764593" elapsed="0.002789"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.768117" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:10.767456" elapsed="0.000806"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.769899" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:10.768932" elapsed="0.001060"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:10.768325" elapsed="0.001742"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.770608" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:10.770133" elapsed="0.000619"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:10.767436" elapsed="0.003376"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:10.770850" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:10.771010" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:10.760046" elapsed="0.010990"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:10.771082" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:10.771224" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:10.759099" elapsed="0.012151"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.785829" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:10.785350" elapsed="0.000569"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:10.786604" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:10.786134" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:10.792268" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:10.789318" elapsed="0.005846">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:10.786828" elapsed="0.008463">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.795603" elapsed="0.000097"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:10.795375" elapsed="0.000410"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:10.786808" elapsed="0.009041">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.796326" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:10.796601" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:10.796547" elapsed="0.000148"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:10.796528" elapsed="0.000229"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.796899" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:10.797144" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:10.774016" elapsed="0.023239">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:10.797327" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:10.771466" elapsed="0.025958">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:10.797602" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:10.745989" elapsed="0.051725">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.316740" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:11.313393" elapsed="0.003435"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.318383" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:11.317766" elapsed="0.000669"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:11.317284" elapsed="0.001202"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.319845" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:11.319192" elapsed="0.000704"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:11.318742" elapsed="0.001204"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:11.317008" elapsed="0.003023"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.320805" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:11.320118" elapsed="0.000841"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.322682" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:11.321684" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:11.321025" elapsed="0.001828"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.323388" elapsed="0.000081"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:11.322919" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:11.320094" elapsed="0.003530"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:11.323672" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:19:11.323846" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:11.312457" elapsed="0.011415"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:11.323920" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:11.324065" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:11.311482" elapsed="0.012609"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.339094" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:11.338613" elapsed="0.000571"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.340125" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:11.339403" elapsed="0.000809"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:11.345789" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:11.342608" elapsed="0.006162">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:11.340349" elapsed="0.008553">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.349201" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:11.348987" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:11.340328" elapsed="0.009089">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.349927" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:11.350187" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:11.350150" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:11.350130" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.350489" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:11.350765" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:11.327314" elapsed="0.023607">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:11.350996" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:11.324313" elapsed="0.026784">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.351266" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:11.298548" elapsed="0.052830">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.870818" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:11.868450" elapsed="0.002451"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.872427" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:11.871823" elapsed="0.000654"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:11.871353" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.873801" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:11.873152" elapsed="0.000721"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:11.872711" elapsed="0.001230"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:11.871070" elapsed="0.002986"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.874813" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:11.874152" elapsed="0.000810"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.876659" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:11.875676" elapsed="0.001079"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:11.875026" elapsed="0.001805"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.877361" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:11.876895" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:11.874127" elapsed="0.003436"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:11.877619" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:19:11.877786" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:11.867824" elapsed="0.009988"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:11.877858" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:11.877998" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:11.866924" elapsed="0.011100"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.896140" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:11.895377" elapsed="0.000896"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:11.897287" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:11.896619" elapsed="0.000794"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:11.905228" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:11.901347" elapsed="0.006907">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:11.897656" elapsed="0.010727">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.908716" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:11.908469" elapsed="0.000406"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:11.897618" elapsed="0.011322">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.909438" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:11.909739" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:11.909700" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:11.909679" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.910046" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:11.910294" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:11.880896" elapsed="0.029515">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:11.910484" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:11.878251" elapsed="0.032365">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:11.910789" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:11.852147" elapsed="0.058758">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.427716" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:12.424403" elapsed="0.003396"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.429303" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:12.428703" elapsed="0.000649"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:12.428235" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.430682" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:12.430063" elapsed="0.000668"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:12.429592" elapsed="0.001188"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:12.427969" elapsed="0.002889"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:12.431591" elapsed="0.000133"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:12.430934" elapsed="0.000868"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.433459" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:12.432465" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:12.431867" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:12.434170" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:12.433709" elapsed="0.000606"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:12.430912" elapsed="0.003465"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:12.434419" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:12.434605" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:12.423513" elapsed="0.011120"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:12.434681" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:12.434823" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:12.422532" elapsed="0.012316"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.449345" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:12.448888" elapsed="0.000544"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.450108" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:12.449663" elapsed="0.000529"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:12.455623" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:12.452728" elapsed="0.005834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:12.450325" elapsed="0.008378">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:12.459028" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:12.458788" elapsed="0.000395"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:12.450305" elapsed="0.008939">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:12.459746" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:12.460001" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:12.459965" elapsed="0.000126"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:12.459945" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:12.460295" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:12.460535" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:12.437655" elapsed="0.023044">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:12.460804" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:12.435084" elapsed="0.025823">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:12.461074" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:12.411640" elapsed="0.049545">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.979841" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:12.976560" elapsed="0.003391"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.982033" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:12.981170" elapsed="0.000931"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:12.980524" elapsed="0.001646"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.983838" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:12.983068" elapsed="0.000820"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:12.982400" elapsed="0.001537"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:12.980174" elapsed="0.003844"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:12.984742" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:12.984089" elapsed="0.000798"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:12.986520" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:12.985543" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:12.984952" elapsed="0.001759"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:12.987247" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:12.986775" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:12.984069" elapsed="0.003383"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:12.987492" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:12.987669" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:12.975700" elapsed="0.011996"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:12.987742" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:12.987883" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:12.974719" elapsed="0.013190"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:13.002752" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:13.002163" elapsed="0.000689"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:13.003514" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:13.003068" elapsed="0.000546"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:13.009017" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:13.006102" elapsed="0.005874">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:13.003750" elapsed="0.008403">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.012452" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:13.012239" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:13.003730" elapsed="0.008957">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.013167" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:13.013426" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:13.013388" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:13.013369" elapsed="0.000226"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.013739" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:13.013985" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:12.990681" elapsed="0.023415">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:13.014169" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:12.988127" elapsed="0.026140">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.014433" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:12.961860" elapsed="0.052684">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:13.531047" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:13.527755" elapsed="0.003400"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:13.532775" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:13.532145" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:13.531704" elapsed="0.001169"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:13.534086" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:13.533474" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:13.533035" elapsed="0.001149"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:13.531372" elapsed="0.002890"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.534969" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:13.534333" elapsed="0.000783"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:13.536771" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:13.535791" elapsed="0.001073"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:13.535178" elapsed="0.001761"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.537462" elapsed="0.000123"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:13.537004" elapsed="0.000662"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:13.534314" elapsed="0.003413"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:13.537767" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:19:13.537925" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:13.526876" elapsed="0.011075"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:13.537998" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:13.538170" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:13.525945" elapsed="0.012253"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:13.552653" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:13.552179" elapsed="0.000565"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:13.553413" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:13.552962" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:13.558938" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:13.556137" elapsed="0.005589">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:13.553666" elapsed="0.008187">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.562150" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:13.561937" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:13.553645" elapsed="0.008718">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.562925" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:13.563183" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:13.563146" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:13.563127" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.563477" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:13.563766" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:13.541011" elapsed="0.022868">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:13.563951" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:13.538422" elapsed="0.025626">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:13.564214" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:13.515112" elapsed="0.049256">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.080908" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:14.077660" elapsed="0.003355"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.082976" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:14.082217" elapsed="0.000808"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:14.081599" elapsed="0.001474"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.084292" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:14.083695" elapsed="0.000645"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:14.083239" elapsed="0.001149"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:14.081231" elapsed="0.003237"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.085168" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:14.084538" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.086980" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:14.085998" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:14.085378" elapsed="0.001772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.087695" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:14.087215" elapsed="0.000624"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:14.084519" elapsed="0.003380"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:14.087938" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:19:14.088096" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:14.076789" elapsed="0.011334"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:14.088170" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:14.088311" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:14.075855" elapsed="0.012482"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.102943" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:14.102460" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.103719" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:14.103253" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:14.109092" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:14.106394" elapsed="0.005624">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:14.103942" elapsed="0.008202">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.112439" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:14.112228" elapsed="0.000380"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:14.103921" elapsed="0.008799">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.113200" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:14.113458" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:14.113421" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:14.113402" elapsed="0.000285"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.113833" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:14.114075" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:14.091111" elapsed="0.023077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:14.114260" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:14.088554" elapsed="0.025803">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.114554" elapsed="0.000036"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:14.064896" elapsed="0.049787">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.632371" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:14.629742" elapsed="0.002711"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.633979" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:14.633346" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:14.632904" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.635318" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:14.634722" elapsed="0.000646"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:14.634257" elapsed="0.001159"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:14.632638" elapsed="0.002858"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.636220" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:14.635589" elapsed="0.000775"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.638040" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:14.637051" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:14.636430" elapsed="0.001790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.638775" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:14.638284" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:14.635552" elapsed="0.003429"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:14.639022" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:14.639187" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:14.628840" elapsed="0.010374"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:14.639317" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:14.639464" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:14.627847" elapsed="0.011643"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.654226" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:14.653737" elapsed="0.000579"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:14.655002" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:14.654533" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:14.660542" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:14.657512" elapsed="0.005994">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:14.655226" elapsed="0.008425">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.663955" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:14.663735" elapsed="0.000373"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:14.655206" elapsed="0.008964">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.664679" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:14.664938" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:14.664900" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:14.664881" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.665234" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:14.665473" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:14.642330" elapsed="0.023289">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:14.665693" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:14.639724" elapsed="0.026068">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:14.665956" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:14.615414" elapsed="0.050652">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.184821" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:15.182472" elapsed="0.002429"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.186380" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:15.185770" elapsed="0.000659"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:15.185310" elapsed="0.001168"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.187721" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:15.187095" elapsed="0.000676"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:15.186657" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:15.185057" elapsed="0.002840"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.188590" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:15.187970" elapsed="0.000769"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.190390" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:15.189392" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:15.188802" elapsed="0.001756"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.191104" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:15.190638" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:15.187950" elapsed="0.003355"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:15.191343" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:19:15.191500" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:15.181795" elapsed="0.009732"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:15.191599" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:15.191745" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:15.181123" elapsed="0.010647"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.206224" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:15.205750" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.207124" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:15.206536" elapsed="0.000674"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:15.212759" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:15.209744" elapsed="0.005939">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:15.207345" elapsed="0.008465">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.216108" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:15.215894" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:15.207324" elapsed="0.009002">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.216829" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:15.217134" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:15.217096" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:15.217075" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.217434" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:15.217694" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:15.194506" elapsed="0.023302">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:15.217881" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:15.191988" elapsed="0.026006">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.218161" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:15.167259" elapsed="0.051014">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.738884" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:15.735422" elapsed="0.003546"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.740491" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:15.739876" elapsed="0.000665"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:15.739405" elapsed="0.001202"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.741868" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:15.741219" elapsed="0.000702"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:15.740775" elapsed="0.001195"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:15.739139" elapsed="0.002911"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.742778" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:15.742128" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.744598" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:15.743619" elapsed="0.001074"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:15.742992" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.745296" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:15.744833" elapsed="0.000609"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:15.742107" elapsed="0.003397"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:15.745545" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:19:15.745726" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:15.734465" elapsed="0.011310"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:15.745827" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:15.745972" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:15.733366" elapsed="0.012631"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.761001" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:15.760508" elapsed="0.000584"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:15.761857" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:15.761310" elapsed="0.000644"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:15.767412" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:15.764510" elapsed="0.005845">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:15.762099" elapsed="0.008386">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.770809" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:15.770587" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:15.762077" elapsed="0.008950">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.771524" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:15.771867" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:15.771828" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:15.771807" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.772168" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:15.772409" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:15.749107" elapsed="0.023417">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:15.772613" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:15.746223" elapsed="0.026492">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:15.772884" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:15.719038" elapsed="0.053959">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.293775" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:16.289954" elapsed="0.003939"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.295662" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:16.295038" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:16.294513" elapsed="0.001249"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.297069" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:16.296444" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:16.295996" elapsed="0.001171"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:16.294134" elapsed="0.003113"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.297977" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:16.297321" elapsed="0.000804"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.299809" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:16.298816" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:16.298190" elapsed="0.001790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.300509" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:16.300045" elapsed="0.000629"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:16.297300" elapsed="0.003436"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:16.300777" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:16.300941" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:16.288991" elapsed="0.011977"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:16.301016" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:16.301159" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:16.287970" elapsed="0.013215"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.316215" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:16.315723" elapsed="0.000589"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.317017" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:16.316534" elapsed="0.000570"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:16.322714" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:16.319801" elapsed="0.005829">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:16.317244" elapsed="0.008515">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.326061" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:16.325844" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:16.317223" elapsed="0.009053">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.326859" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:16.327117" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:16.327079" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:16.327060" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.327415" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:16.327698" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:16.303956" elapsed="0.023904">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:16.327933" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:16.301406" elapsed="0.026628">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.328204" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:16.273829" elapsed="0.054488">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.847258" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:16.844504" elapsed="0.002837"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.848866" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:16.848230" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:16.847782" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.850220" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:16.849611" elapsed="0.000658"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:16.849134" elapsed="0.001184"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:16.847506" elapsed="0.002893"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.851266" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:16.850473" elapsed="0.000942"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.853087" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:16.852096" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:16.851480" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.853818" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:16.853323" elapsed="0.000639"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:16.850451" elapsed="0.003571"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:16.854062" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:16.854225" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:16.843553" elapsed="0.010698"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:16.854298" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:16.854440" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:16.842517" elapsed="0.011950"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.870144" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:16.869634" elapsed="0.000611"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:16.871097" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:16.870468" elapsed="0.000715"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:16.876707" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:16.873685" elapsed="0.005999">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:16.871328" elapsed="0.008483">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.880111" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:16.879896" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:16.871306" elapsed="0.009023">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.880848" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:16.881110" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:16.881072" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:16.881052" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.881424" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:16.881683" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:16.857259" elapsed="0.024541">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:16.881873" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:16.854708" elapsed="0.027267">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:16.882143" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:16.829121" elapsed="0.053135">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.401489" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:17.398213" elapsed="0.003406"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.403158" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:17.402527" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:17.402078" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.404486" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:17.403885" elapsed="0.000650"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:17.403421" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:17.401822" elapsed="0.002859"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.405390" elapsed="0.000134"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:17.404754" elapsed="0.000864"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.407292" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:17.406292" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:17.405684" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.408002" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:17.407526" elapsed="0.000624"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:17.404734" elapsed="0.003477"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:17.408252" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:19:17.408411" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:17.397321" elapsed="0.011117"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:17.408486" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:17.408644" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:17.396344" elapsed="0.012327"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.423220" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:17.422748" elapsed="0.000561"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.424007" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:17.423526" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:17.431411" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:17.428473" elapsed="0.005788">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:17.424227" elapsed="0.010161">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.434735" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:17.434472" elapsed="0.000415"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:17.424207" elapsed="0.010743">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.435428" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:17.435702" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:17.435664" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:17.435644" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.436002" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:17.436242" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:17.411438" elapsed="0.024916">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:17.436460" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:17.408890" elapsed="0.027670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.436743" elapsed="0.000025"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:17.383033" elapsed="0.053825">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.956094" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:17.952863" elapsed="0.003338"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.958166" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:17.957444" elapsed="0.000771"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:17.956786" elapsed="0.001479"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.959487" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:17.958889" elapsed="0.000647"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:17.958427" elapsed="0.001173"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:17.956417" elapsed="0.003264"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.960358" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:17.959750" elapsed="0.000755"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.962190" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:17.961198" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:17.960581" elapsed="0.001780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.962907" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:17.962427" elapsed="0.000625"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:17.959731" elapsed="0.003381"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:17.963150" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:17.963303" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:17.951993" elapsed="0.011336"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:17.963374" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:17.963513" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:17.951088" elapsed="0.012450"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.978399" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:17.977939" elapsed="0.000550"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:17.979179" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:17.978728" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:17.984480" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:17.981831" elapsed="0.005547">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:17.979406" elapsed="0.008130">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.987857" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:17.987641" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:17.979385" elapsed="0.008685">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.988542" elapsed="0.000042"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:17.988817" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:17.988780" elapsed="0.000142"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:17.988761" elapsed="0.000224"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.989129" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:17.989371" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:17.966491" elapsed="0.022992">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:17.989555" elapsed="0.000056"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:17.963769" elapsed="0.025929">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:17.989867" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:17.937440" elapsed="0.052536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:18.510096" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:18.506346" elapsed="0.003834"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:18.511749" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:18.511115" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:18.510661" elapsed="0.001189"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:18.513097" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:18.512463" elapsed="0.000684"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:18.512015" elapsed="0.001180"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:18.510349" elapsed="0.002926"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:18.514004" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:18.513350" elapsed="0.000803"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:18.515834" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:18.514847" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:18.514218" elapsed="0.001787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:18.516535" elapsed="0.000145"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:18.516071" elapsed="0.000697"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:18.513329" elapsed="0.003508"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:18.516878" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:18.517042" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:18.505397" elapsed="0.011673"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:18.517118" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:18.517261" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:18.504352" elapsed="0.012935"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:18.532087" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:18.531606" elapsed="0.000572"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:18.532898" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:18.532398" elapsed="0.000588"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:18.538406" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:18.535501" elapsed="0.005810">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:18.533125" elapsed="0.008315">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:18.541758" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:18.541525" elapsed="0.000386"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:18.533104" elapsed="0.008870">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:18.542479" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:18.542828" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:18.542789" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:18.542769" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:18.543130" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:18.543371" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:18.520046" elapsed="0.023439">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:18.543558" elapsed="0.000030"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:18.517513" elapsed="0.026162">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:18.543844" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:18.490768" elapsed="0.053245">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.065499" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:19.063141" elapsed="0.002454"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.067098" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:19.066469" elapsed="0.000679"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:19.066026" elapsed="0.001172"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.068434" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:19.067831" elapsed="0.000653"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:19.067365" elapsed="0.001181"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:19.065762" elapsed="0.002880"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.069347" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:19.068718" elapsed="0.000777"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.071154" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:19.070174" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:19.069561" elapsed="0.001765"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.071885" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:19.071391" elapsed="0.000639"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:19.068697" elapsed="0.003396"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:19.072134" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:19.072296" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:19.062480" elapsed="0.009842"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:19.072370" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:19.072542" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:19.061767" elapsed="0.010815"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.087056" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:19.086586" elapsed="0.000559"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.087967" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:19.087364" elapsed="0.000689"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:19.093489" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:19.090448" elapsed="0.005913">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:19.088189" elapsed="0.008314">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.096819" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:19.096604" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:19.088169" elapsed="0.008919">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.097598" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:19.097858" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:19.097819" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:19.097800" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.098156" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:19.098398" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:19.075314" elapsed="0.023198">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:19.098600" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:19.072808" elapsed="0.025895">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.098872" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:19.044880" elapsed="0.054105">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.617165" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:19.614042" elapsed="0.003200"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.618736" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:19.618103" elapsed="0.000682"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:19.617665" elapsed="0.001168"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.620045" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:19.619431" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:19.618994" elapsed="0.001149"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:19.617397" elapsed="0.002824"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.620934" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:19.620305" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.622746" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:19.621755" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:19.621145" elapsed="0.001772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.623443" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:19.622981" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:19.620272" elapsed="0.003394"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:19.623705" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:19.623861" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:19.613171" elapsed="0.010718"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:19.623977" elapsed="0.000190"/>
</return>
<msg time="2026-04-11T23:19:19.624287" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:19.612236" elapsed="0.012092"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.638999" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:19.638405" elapsed="0.000685"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:19.639781" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:19.639307" elapsed="0.000567"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:19.645387" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:19.642273" elapsed="0.005972">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:19.640013" elapsed="0.008383">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.648718" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:19.648484" elapsed="0.000396"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:19.639992" elapsed="0.008954">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.649428" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:19.649708" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:19.649670" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:19.649651" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.650007" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:19.650252" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:19.627157" elapsed="0.023207">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:19.650437" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:19.624549" elapsed="0.025986">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:19.650719" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:19.599637" elapsed="0.051195">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.163006" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:20.160707" elapsed="0.002378"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.164583" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:20.163950" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:20.163490" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.165930" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:20.165294" elapsed="0.000685"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:20.164852" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:20.163240" elapsed="0.002867"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.166806" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:20.166178" elapsed="0.000776"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.168642" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:20.167629" elapsed="0.001109"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:20.167018" elapsed="0.001797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.169343" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:20.168879" elapsed="0.000610"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:20.166159" elapsed="0.003391"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:20.169612" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:19:20.169767" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:20.160020" elapsed="0.009773"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:20.169840" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:20.169980" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:20.159349" elapsed="0.010657"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.184544" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:20.184072" elapsed="0.000582"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.185330" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:20.184877" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:20.190851" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:20.188038" elapsed="0.005650">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:20.185552" elapsed="0.008262">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.194147" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:20.193902" elapsed="0.000400"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:20.185532" elapsed="0.008833">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.194873" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:20.195165" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:20.195127" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:20.195107" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.195463" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:20.195727" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:20.172726" elapsed="0.023115">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:20.195913" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:20.170226" elapsed="0.025787">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.196194" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:20.151771" elapsed="0.044535">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.713847" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:20.710892" elapsed="0.003038"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.715443" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:20.714822" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:20.714349" elapsed="0.001210"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.716868" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:20.716226" elapsed="0.000693"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:20.715761" elapsed="0.001208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:20.714090" elapsed="0.002964"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.717778" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:20.717127" elapsed="0.000801"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.719650" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:20.718625" elapsed="0.001122"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:20.717994" elapsed="0.001830"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.720374" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:20.719903" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:20.717107" elapsed="0.003504"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:20.720655" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:20.720818" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:20.709988" elapsed="0.010857"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:20.720898" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:19:20.721047" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:20.709033" elapsed="0.012040"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.736193" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:20.735539" elapsed="0.000745"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:20.737018" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:20.736507" elapsed="0.000598"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:20.742474" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:20.739486" elapsed="0.006030">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:20.737245" elapsed="0.008418">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.745979" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:20.745751" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:20.737224" elapsed="0.008980">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.746714" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:20.746991" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:20.746943" elapsed="0.000145"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:20.746920" elapsed="0.000231"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.747297" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:20.747540" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:20.724228" elapsed="0.023483">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:20.747785" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:20.721297" elapsed="0.026626">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:20.748135" elapsed="0.000025"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:20.696970" elapsed="0.051294">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.266942" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:21.263842" elapsed="0.003185"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.268613" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:21.267971" elapsed="0.000693"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:21.267475" elapsed="0.001238"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.270031" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:21.269402" elapsed="0.000679"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:21.268949" elapsed="0.001181"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:21.267201" elapsed="0.003010"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.270952" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:21.270293" elapsed="0.000810"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.272802" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:21.271806" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:21.271169" elapsed="0.001805"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.273509" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:21.273039" elapsed="0.000635"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:21.270270" elapsed="0.003466"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:21.273780" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:19:21.273950" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:21.262915" elapsed="0.011061"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:21.274023" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:21.274164" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:21.261942" elapsed="0.012247"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.288867" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:21.288258" elapsed="0.000698"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.289638" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:21.289171" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:21.295378" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:21.292089" elapsed="0.006280">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:21.289861" elapsed="0.008635">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.298813" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:21.298601" elapsed="0.000361"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:21.289842" elapsed="0.009180">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.299497" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:21.299792" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:21.299756" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:21.299736" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.300086" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:21.300323" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:21.277014" elapsed="0.023453">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:21.300540" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:21.274410" elapsed="0.026247">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.300822" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:21.249116" elapsed="0.051815">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.813181" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:21.810816" elapsed="0.002447"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.814771" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:21.814153" elapsed="0.000667"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:21.813713" elapsed="0.001155"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.816146" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:21.815518" elapsed="0.000678"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:21.815032" elapsed="0.001212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:21.813434" elapsed="0.002887"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.817038" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:21.816397" elapsed="0.000787"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.818831" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:21.817855" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:21.817248" elapsed="0.001755"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.819552" elapsed="0.000093"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:21.819067" elapsed="0.000652"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:21.816376" elapsed="0.003402"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:21.819821" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:21.819985" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:21.810163" elapsed="0.009848"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:21.820057" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:21.820198" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:21.809446" elapsed="0.010779"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.834613" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:21.834136" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:21.835362" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:21.834917" elapsed="0.000528"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:21.841293" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:21.838009" elapsed="0.006163">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:21.835734" elapsed="0.008565">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.844640" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:21.844382" elapsed="0.000412"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:21.835712" elapsed="0.009143">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.845331" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:21.845603" elapsed="0.000162"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:21.845550" elapsed="0.000306"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:21.845531" elapsed="0.000400"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.846091" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:21.846331" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:21.822940" elapsed="0.023506">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:21.846518" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:21.820444" elapsed="0.026188">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:21.846800" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:21.801494" elapsed="0.045417">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.358844" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:22.356490" elapsed="0.002434"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.360456" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:22.359850" elapsed="0.000656"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:22.359382" elapsed="0.001173"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.361805" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:22.361178" elapsed="0.000676"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:22.360737" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:22.359090" elapsed="0.002891"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.362826" elapsed="0.000131"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:22.362058" elapsed="0.000980"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.364728" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:22.363744" elapsed="0.001079"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:22.363104" elapsed="0.001795"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.365429" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:22.364962" elapsed="0.000635"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:22.362037" elapsed="0.003622"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:22.365703" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:22.365868" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:22.355881" elapsed="0.010013"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:22.365941" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:22.366080" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:22.355194" elapsed="0.010911"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.381073" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:22.380608" elapsed="0.000553"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.381846" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:22.381378" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:22.387301" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:22.384389" elapsed="0.005835">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:22.382068" elapsed="0.008283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.390667" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:22.390437" elapsed="0.000384"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:22.382048" elapsed="0.008837">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.391380" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:22.391713" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:22.391676" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:22.391655" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.392008" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:22.392252" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:22.368849" elapsed="0.023517">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:22.392469" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:22.366324" elapsed="0.026260">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.392751" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:22.347529" elapsed="0.045332">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.907386" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:22.902812" elapsed="0.004660"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.909022" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:22.908395" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:22.907937" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.910353" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:22.909748" elapsed="0.000654"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:22.909288" elapsed="0.001161"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:22.907670" elapsed="0.002859"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.911267" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:22.910622" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.913082" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:22.912098" elapsed="0.001078"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:22.911479" elapsed="0.001771"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.913801" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:22.913314" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:22.910599" elapsed="0.003406"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:22.914047" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:22.914214" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:22.902157" elapsed="0.012083"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:22.914285" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:22.914425" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:22.901441" elapsed="0.013009"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.928889" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:22.928411" elapsed="0.000567"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:22.929653" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:22.929192" elapsed="0.000546"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:22.935129" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:22.932256" elapsed="0.005783">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:22.929873" elapsed="0.008341">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.938511" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:22.938300" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:22.929852" elapsed="0.008891">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.939241" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:22.939494" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:22.939457" elapsed="0.000202"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:22.939438" elapsed="0.000284"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.939867" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:22.940106" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:22.917212" elapsed="0.023007">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:22.940291" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:22.914684" elapsed="0.025704">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:22.940553" elapsed="0.000036"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:22.893603" elapsed="0.047077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:23.459921" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:23.456610" elapsed="0.003412"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:23.461527" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:23.460916" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:23.460453" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:23.462875" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:23.462251" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:23.461807" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:23.460192" elapsed="0.002862"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:23.463774" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:23.463129" elapsed="0.000791"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:23.465633" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:23.464621" elapsed="0.001110"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:23.463986" elapsed="0.001821"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:23.466347" elapsed="0.000184"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:23.465874" elapsed="0.000818"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:23.463108" elapsed="0.003664"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:23.466826" elapsed="0.000074"/>
</return>
<msg time="2026-04-11T23:19:23.467070" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:23.455733" elapsed="0.011374"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:23.467165" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:23.467311" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:23.454744" elapsed="0.012592"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:23.482137" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:23.481665" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:23.483077" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:23.482448" elapsed="0.000716"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:23.488641" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:23.485540" elapsed="0.005996">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:23.483302" elapsed="0.008378">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:23.491980" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:23.491765" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:23.483283" elapsed="0.008920">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:23.492700" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:23.492960" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:23.492922" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:23.492903" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:23.493260" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:23.493504" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:23.470197" elapsed="0.023437">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:23.493711" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:23.467583" elapsed="0.026225">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:23.493974" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:23.441468" elapsed="0.052660">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.006825" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:24.004435" elapsed="0.002470"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.008394" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:24.007786" elapsed="0.000657"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:24.007327" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.009746" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:24.009120" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:24.008677" elapsed="0.001166"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:24.007075" elapsed="0.002845"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.010643" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:24.010000" elapsed="0.000805"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.012454" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:24.011471" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:24.010868" elapsed="0.001770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.013176" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:24.012705" elapsed="0.000618"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:24.009979" elapsed="0.003407"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:24.013426" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:24.013610" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:24.003808" elapsed="0.009830"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:24.013686" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:24.013829" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:24.003087" elapsed="0.010767"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.028535" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:24.028064" elapsed="0.000579"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.029319" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:24.028861" elapsed="0.000544"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:24.035150" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:24.031945" elapsed="0.006063">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:24.029543" elapsed="0.008593">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.038437" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:24.038221" elapsed="0.000416"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:24.029523" elapsed="0.009272">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.039306" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:24.039566" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:24.039527" elapsed="0.000149"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:24.039507" elapsed="0.000231"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.039882" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:24.040123" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:24.016624" elapsed="0.023614">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:24.040311" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:24.014076" elapsed="0.026334">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.040591" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:23.995092" elapsed="0.045614">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.560025" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:24.556976" elapsed="0.003130"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.561630" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:24.560990" elapsed="0.000689"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:24.560527" elapsed="0.001201"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.563020" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:24.562372" elapsed="0.000697"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:24.561893" elapsed="0.001226"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:24.560271" elapsed="0.002928"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.563930" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:24.563273" elapsed="0.000805"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.565753" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:24.564762" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:24.564142" elapsed="0.001785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.566471" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:24.565996" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:24.563252" elapsed="0.003442"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:24.566735" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:24.566896" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:24.556031" elapsed="0.010893"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:24.567033" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:24.567179" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:24.555008" elapsed="0.012198"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.582089" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:24.581607" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:24.582898" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:24.582403" elapsed="0.000582"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:24.588452" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:24.585502" elapsed="0.005819">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:24.583129" elapsed="0.008321">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.591838" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:24.591537" elapsed="0.000457"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:24.583108" elapsed="0.008950">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.592562" elapsed="0.000042"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:24.592844" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:24.592804" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:24.592784" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.593148" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:24.593392" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:24.570021" elapsed="0.023486">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:24.593594" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:24.567431" elapsed="0.026265">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:24.593863" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:24.541484" elapsed="0.052491">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.112836" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:25.110203" elapsed="0.002714"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.114442" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:25.113815" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:25.113349" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.115785" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:25.115170" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:25.114729" elapsed="0.001155"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:25.113088" elapsed="0.002876"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.116687" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:25.116039" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.118498" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:25.117502" elapsed="0.001118"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:25.116903" elapsed="0.001796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.119229" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:25.118764" elapsed="0.000609"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:25.116018" elapsed="0.003418"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:25.119476" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:25.119654" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:25.109156" elapsed="0.010525"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:25.119729" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:25.119871" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:25.108135" elapsed="0.011761"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.134509" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:25.134014" elapsed="0.000602"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.135288" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:25.134834" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:25.140744" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:25.137905" elapsed="0.005793">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:25.135508" elapsed="0.008316">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.144120" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:25.143908" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:25.135489" elapsed="0.008847">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.144837" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:25.145133" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:25.145095" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:25.145075" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.145434" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:25.145691" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:25.122728" elapsed="0.023077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:25.145878" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:25.120116" elapsed="0.025861">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.146142" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:25.095807" elapsed="0.050460">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.665066" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:25.662755" elapsed="0.002390"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.666646" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:25.666009" elapsed="0.000687"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:25.665553" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.667975" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:25.667351" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:25.666910" elapsed="0.001162"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:25.665302" elapsed="0.002851"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.668850" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:25.668224" elapsed="0.000773"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.670672" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:25.669672" elapsed="0.001094"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:25.669061" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.671366" elapsed="0.000068"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:25.670906" elapsed="0.000604"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:25.668205" elapsed="0.003388"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:25.671635" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:19:25.671790" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:25.662122" elapsed="0.009695"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:25.671863" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:25.672006" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:25.661432" elapsed="0.010600"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.687125" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:25.686655" elapsed="0.000560"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:25.688031" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:25.687432" elapsed="0.000686"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:25.693548" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:25.690657" elapsed="0.005787">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:25.688256" elapsed="0.008328">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.696887" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:25.696673" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:25.688236" elapsed="0.008872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.697605" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:25.697868" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:25.697830" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:25.697810" elapsed="0.000227"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.698179" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:25.698426" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:25.674810" elapsed="0.023728">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:25.698627" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:25.672250" elapsed="0.026477">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:25.698892" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:25.647693" elapsed="0.051311">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.219329" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:26.216939" elapsed="0.002472"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.220932" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:26.220300" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:26.219851" elapsed="0.001183"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.222361" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:26.221743" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:26.221270" elapsed="0.001191"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:26.219589" elapsed="0.002952"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.223263" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:26.222633" elapsed="0.000775"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.225062" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:26.224085" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:26.223472" elapsed="0.001759"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.225785" elapsed="0.000083"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:26.225296" elapsed="0.000649"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:26.222612" elapsed="0.003394"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:26.226060" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:26.226223" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:26.216284" elapsed="0.009966"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:26.226298" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:26.226442" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:26.215566" elapsed="0.010902"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.241316" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:26.240849" elapsed="0.000557"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.242276" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:26.241790" elapsed="0.000573"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:26.247666" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:26.244763" elapsed="0.005746">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:26.242500" elapsed="0.008152">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.250952" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:26.250738" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:26.242480" elapsed="0.008687">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.251700" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:26.251957" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:26.251920" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:26.251901" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.252255" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:26.252495" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:26.229530" elapsed="0.023129">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:26.252734" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:26.226714" elapsed="0.026121">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.253003" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:26.199814" elapsed="0.053303">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.770837" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:26.767591" elapsed="0.003327"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.772416" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:26.771797" elapsed="0.000668"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:26.771333" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.773766" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:26.773140" elapsed="0.000675"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:26.772698" elapsed="0.001168"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:26.771078" elapsed="0.002867"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.774651" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:26.774016" elapsed="0.000784"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.776453" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:26.775466" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:26.774864" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.777170" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:26.776707" elapsed="0.000607"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:26.773997" elapsed="0.003379"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:26.777415" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:19:26.777585" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:26.766730" elapsed="0.010883"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:26.777670" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:26.777814" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:26.765797" elapsed="0.012043"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.792431" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:26.791956" elapsed="0.000564"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:26.793310" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:26.792856" elapsed="0.000541"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:26.798891" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:26.796031" elapsed="0.005800">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:26.793535" elapsed="0.008424">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.802263" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:26.802046" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:26.793515" elapsed="0.008966">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.803012" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:26.803278" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:26.803241" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:26.803221" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.803593" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:26.803840" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:26.780631" elapsed="0.023323">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:26.804027" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:26.778059" elapsed="0.026067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:26.804298" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:26.753838" elapsed="0.050571">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.316683" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:27.314333" elapsed="0.002432"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.318277" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:27.317665" elapsed="0.000662"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:27.317197" elapsed="0.001179"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.319618" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:27.319005" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:27.318540" elapsed="0.001178"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:27.316932" elapsed="0.002867"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.320494" elapsed="0.000136"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:27.319873" elapsed="0.000836"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.322383" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:27.321381" elapsed="0.001098"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:27.320774" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.323107" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:27.322649" elapsed="0.000602"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:27.319852" elapsed="0.003461"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:27.323354" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:27.323515" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:27.313706" elapsed="0.009835"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:27.323606" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:27.323751" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:27.312983" elapsed="0.010794"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.338362" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:27.337898" elapsed="0.000552"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.339132" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:27.338684" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:27.344591" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:27.341761" elapsed="0.005647">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:27.339354" elapsed="0.008179">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.347918" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:27.347703" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:27.339334" elapsed="0.008800">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.348630" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:27.348886" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:27.348849" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:27.348830" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.349180" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:27.349434" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:27.326479" elapsed="0.023069">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:27.349667" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:27.323997" elapsed="0.025773">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.349938" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:27.305069" elapsed="0.044980">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.868698" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:27.866157" elapsed="0.002621"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.870261" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:27.869663" elapsed="0.000647"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:27.869194" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.871585" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:27.870977" elapsed="0.000659"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:27.870520" elapsed="0.001164"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:27.868940" elapsed="0.002824"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.872457" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:27.871837" elapsed="0.000781"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.874288" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:27.873310" elapsed="0.001073"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:27.872682" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.875044" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:27.874523" elapsed="0.000672"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:27.871817" elapsed="0.003438"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:27.875295" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:27.875453" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:27.865386" elapsed="0.010093"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:27.875525" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:27.875683" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:27.864696" elapsed="0.011013"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.890125" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:27.889660" elapsed="0.000553"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:27.891066" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:27.890459" elapsed="0.000691"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:27.896835" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:27.893819" elapsed="0.005926">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:27.891286" elapsed="0.008644">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.900240" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:27.900018" elapsed="0.000376"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:27.891266" elapsed="0.009193">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.900956" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:27.901226" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:27.901177" elapsed="0.000144"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:27.901158" elapsed="0.000225"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.901525" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:27.901789" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:27.878401" elapsed="0.023500">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:27.901974" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:27.875926" elapsed="0.026146">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:27.902237" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:27.850757" elapsed="0.051591">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.421147" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:28.417919" elapsed="0.003333"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.422988" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:28.422361" elapsed="0.000676"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:28.421826" elapsed="0.001259"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.424293" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:28.423696" elapsed="0.000645"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:28.423245" elapsed="0.001144"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:28.421465" elapsed="0.003001"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:28.425166" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:28.424533" elapsed="0.000779"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.426957" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:28.425975" elapsed="0.001075"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:28.425375" elapsed="0.001748"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:28.427660" elapsed="0.000103"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:28.427187" elapsed="0.000652"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:28.424515" elapsed="0.003384"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:28.427938" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:19:28.428090" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:28.417052" elapsed="0.011064"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:28.428162" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:19:28.428300" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:28.416139" elapsed="0.012186"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.444595" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:28.444120" elapsed="0.000569"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.445399" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:28.444906" elapsed="0.000581"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:28.450920" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:28.448036" elapsed="0.005671">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:28.445643" elapsed="0.008190">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:28.454136" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:28.453922" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:28.445622" elapsed="0.008731">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:28.454919" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:28.455176" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:28.455138" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:28.455119" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:28.455474" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:28.455730" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:28.432842" elapsed="0.023001">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:28.455915" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:28.428541" elapsed="0.027472">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:28.456178" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:28.402992" elapsed="0.053334">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.976177" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:28.972634" elapsed="0.003656"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.978430" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:28.977564" elapsed="0.000935"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:28.976926" elapsed="0.001681"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.980317" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:28.979460" elapsed="0.000925"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:28.978847" elapsed="0.001608"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:28.976520" elapsed="0.004042"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:28.981482" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:28.980708" elapsed="0.000940"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.983294" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:28.982312" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:28.981714" elapsed="0.001750"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:28.984007" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:28.983528" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:28.980679" elapsed="0.003533"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:28.984259" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:19:28.984427" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:28.971753" elapsed="0.012700"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:28.984501" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:28.984689" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:28.970762" elapsed="0.013952"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.999194" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:28.998725" elapsed="0.000557"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:28.999978" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:28.999501" elapsed="0.000562"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:29.005561" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:29.002599" elapsed="0.005821">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:29.000201" elapsed="0.008348">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.008884" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:29.008649" elapsed="0.000391"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:29.000181" elapsed="0.008976">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.009731" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:29.009991" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:29.009953" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:29.009934" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.010294" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:29.010535" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:28.987473" elapsed="0.023193">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:29.010741" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:28.984949" elapsed="0.025893">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.011012" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:28.957211" elapsed="0.053915">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:29.527821" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:29.524598" elapsed="0.003329"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:29.529787" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:29.529149" elapsed="0.000687"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:29.528484" elapsed="0.001400"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:29.531102" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:29.530490" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:29.530047" elapsed="0.001154"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:29.528137" elapsed="0.003143"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.531982" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:29.531349" elapsed="0.000779"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:29.533798" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:29.532810" elapsed="0.001082"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:29.532191" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.534495" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:29.534032" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:29.531330" elapsed="0.003385"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:29.534754" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:29.534908" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:29.523744" elapsed="0.011192"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:29.535019" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:29.535167" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:29.522810" elapsed="0.012384"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:29.549680" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:29.549207" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:29.550442" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:29.549990" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:29.556066" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:29.553067" elapsed="0.005838">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:29.550688" elapsed="0.008342">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.559327" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:29.559113" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:29.550667" elapsed="0.008877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.560038" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:29.560296" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:29.560259" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:29.560239" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.560617" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:29.560861" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:29.537953" elapsed="0.023019">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:29.561044" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:29.535414" elapsed="0.025728">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:29.561309" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:29.511680" elapsed="0.049742">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.081227" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:30.077921" elapsed="0.003387"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.082838" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:30.082207" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:30.081756" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.084162" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:30.083543" elapsed="0.000667"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:30.083103" elapsed="0.001156"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:30.081476" elapsed="0.002864"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.085083" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:30.084430" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.086932" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:30.085927" elapsed="0.001100"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:30.085303" elapsed="0.001801"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.087653" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:30.087169" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:30.084408" elapsed="0.003453"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:30.087903" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:30.088066" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:30.076942" elapsed="0.011151"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:30.088141" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:30.088286" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:30.075947" elapsed="0.012364"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.102991" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:30.102389" elapsed="0.000692"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.103768" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:30.103303" elapsed="0.000550"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:30.109381" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:30.106255" elapsed="0.006093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:30.103988" elapsed="0.008524">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.112842" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:30.112621" elapsed="0.000380"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:30.103968" elapsed="0.009098">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.113587" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:30.113901" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:30.113861" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:30.113840" elapsed="0.000224"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.114214" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:30.114463" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:30.091164" elapsed="0.023471">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:30.114713" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:30.088553" elapsed="0.026266">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.114992" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:30.062170" elapsed="0.052939">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.627783" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:30.625389" elapsed="0.002476"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.629402" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:30.628781" elapsed="0.000671"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:30.628312" elapsed="0.001189"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.630773" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:30.630144" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:30.629694" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:30.628034" elapsed="0.002920"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.631679" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:30.631027" elapsed="0.000802"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.633530" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:30.632526" elapsed="0.001133"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:30.631894" elapsed="0.001841"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.634269" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:30.633801" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:30.631006" elapsed="0.003473"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:30.634519" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:30.634699" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:30.624672" elapsed="0.010054"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:30.634773" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:30.634918" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:30.623919" elapsed="0.011026"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.649851" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:30.649354" elapsed="0.000588"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:30.650636" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:30.650163" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:30.656427" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:30.653262" elapsed="0.006015">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:30.650860" elapsed="0.008544">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.659723" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:30.659489" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:30.650839" elapsed="0.009100">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.660451" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:30.660731" elapsed="0.000221"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:30.660691" elapsed="0.000346"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:30.660671" elapsed="0.000429"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.661246" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:30.661490" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:30.637862" elapsed="0.023760">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:30.661697" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:30.635167" elapsed="0.026630">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:30.661967" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:30.615865" elapsed="0.046216">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.181358" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:31.178290" elapsed="0.003152"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.183033" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:31.182367" elapsed="0.000716"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:31.181906" elapsed="0.001229"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.184524" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:31.183888" elapsed="0.000702"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:31.183390" elapsed="0.001254"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:31.181628" elapsed="0.003100"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.185457" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:31.184808" elapsed="0.000819"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.187369" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:31.186316" elapsed="0.001153"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:31.185695" elapsed="0.001853"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.188165" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:31.187665" elapsed="0.000651"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:31.184784" elapsed="0.003595"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:31.188421" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:31.188603" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:31.177295" elapsed="0.011337"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:31.188681" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:31.188828" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:31.176199" elapsed="0.012655"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.204376" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:31.203829" elapsed="0.000643"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.205189" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:31.204711" elapsed="0.000571"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:31.210850" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:31.207859" elapsed="0.006006">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:31.205428" elapsed="0.008569">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.214324" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:31.214085" elapsed="0.000397"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:31.205406" elapsed="0.009142">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.215080" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:31.215355" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:31.215315" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:31.215295" elapsed="0.000223"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.215687" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:31.215937" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:31.191741" elapsed="0.024386">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:31.216204" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:31.189095" elapsed="0.027218">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.216486" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:31.162867" elapsed="0.053753">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.728628" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:31.726034" elapsed="0.002680"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.730237" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:31.729621" elapsed="0.000666"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:31.729150" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.731637" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:31.730990" elapsed="0.000698"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:31.730508" elapsed="0.001230"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:31.728886" elapsed="0.002958"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.732554" elapsed="0.000088"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:31.731920" elapsed="0.000803"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.734505" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:31.733504" elapsed="0.001126"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:31.732887" elapsed="0.001823"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.735247" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:31.734777" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:31.731899" elapsed="0.003555"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:31.735494" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:31.735726" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:31.725386" elapsed="0.010367"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:31.735816" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:31.735960" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:31.724678" elapsed="0.011308"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.750751" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:31.750232" elapsed="0.000613"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:31.751520" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:31.751065" elapsed="0.000668"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:31.758255" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:31.754212" elapsed="0.010695">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:31.751908" elapsed="0.013305">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.766025" elapsed="0.000162"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:31.765423" elapsed="0.000953"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:31.751886" elapsed="0.014636">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.767825" elapsed="0.000063"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:31.768406" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:31.768361" elapsed="0.000146"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:31.768333" elapsed="0.000250"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.768736" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:31.768983" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:31.738727" elapsed="0.030385">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:31.769188" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:31.736214" elapsed="0.033077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:31.769462" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:31.717139" elapsed="0.052455">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.288344" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:32.285082" elapsed="0.003340"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.289937" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:32.289305" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:32.288859" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.291260" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:32.290667" elapsed="0.000646"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:32.290198" elapsed="0.001164"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:32.288598" elapsed="0.002841"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.292153" elapsed="0.000106"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:32.291511" elapsed="0.000827"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.294002" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:32.293010" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:32.292401" elapsed="0.001770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.294741" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:32.294234" elapsed="0.000650"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:32.291492" elapsed="0.003452"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:32.294982" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:19:32.295138" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:32.284211" elapsed="0.010953"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:32.295211" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:19:32.295351" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:32.283279" elapsed="0.012097"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.309847" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:32.309358" elapsed="0.000579"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.310652" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:32.310151" elapsed="0.000587"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:32.316121" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:32.313190" elapsed="0.005778">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:32.310872" elapsed="0.008220">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.319393" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:32.319177" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:32.310852" elapsed="0.008799">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.320132" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:32.320397" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:32.320360" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:32.320342" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.320708" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:32.320953" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:32.298098" elapsed="0.022966">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:32.321166" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:32.295621" elapsed="0.025647">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.321434" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:32.270429" elapsed="0.051115">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.840526" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:32.837188" elapsed="0.003437"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.842130" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:32.841496" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:32.841041" elapsed="0.001188"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.843480" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:32.842867" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:32.842394" elapsed="0.001199"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:32.840786" elapsed="0.002888"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.844363" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:32.843745" elapsed="0.000765"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.846180" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:32.845187" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:32.844588" elapsed="0.001761"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.846925" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:32.846412" elapsed="0.000658"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:32.843725" elapsed="0.003406"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:32.847170" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:19:32.847330" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:32.836320" elapsed="0.011036"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:32.847416" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:32.847558" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:32.835399" elapsed="0.012199"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.862509" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:32.862038" elapsed="0.000677"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:32.863407" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:32.862936" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:32.869188" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:32.866016" elapsed="0.006075">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:32.863658" elapsed="0.008617">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.872596" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:32.872364" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:32.863637" elapsed="0.009180">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.873289" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:32.873548" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:32.873512" elapsed="0.000158"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:32.873493" elapsed="0.000239"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.873874" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:32.874120" elapsed="0.000026"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:32.850324" elapsed="0.023915">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:32.874310" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:32.847814" elapsed="0.026594">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:32.874609" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:32.822196" elapsed="0.052525">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.394188" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:33.390950" elapsed="0.003348"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.396421" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:33.395539" elapsed="0.000947"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:33.394894" elapsed="0.001652"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.397803" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:33.397179" elapsed="0.000672"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:33.396739" elapsed="0.001160"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:33.394519" elapsed="0.003458"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.398675" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:33.398050" elapsed="0.000772"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.400461" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:33.399491" elapsed="0.001063"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:33.398884" elapsed="0.001776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.401182" elapsed="0.000123"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:33.400725" elapsed="0.000657"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:33.398030" elapsed="0.003411"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:33.401480" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:33.401713" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:33.390059" elapsed="0.011680"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:33.401786" elapsed="0.000025"/>
</return>
<msg time="2026-04-11T23:19:33.401925" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:33.389140" elapsed="0.012810"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.416600" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:33.416116" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.417370" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:33.416911" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:33.422819" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:33.419971" elapsed="0.005734">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:33.417722" elapsed="0.008112">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.426130" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:33.425917" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:33.417700" elapsed="0.008647">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.426837" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:33.427093" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:33.427057" elapsed="0.000157"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:33.427038" elapsed="0.000239"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.427425" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:33.427686" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:33.404862" elapsed="0.022937">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:33.427871" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:33.402167" elapsed="0.025801">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.428133" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:33.375406" elapsed="0.052869">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.948280" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:33.945779" elapsed="0.002586"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.949930" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:33.949289" elapsed="0.000692"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:33.948830" elapsed="0.001200"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.951294" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:33.950677" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:33.950198" elapsed="0.001195"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:33.948542" elapsed="0.002930"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.952208" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:33.951552" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.954038" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:33.953046" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:33.952425" elapsed="0.001788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.954768" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:33.954277" elapsed="0.000638"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:33.951529" elapsed="0.003457"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:33.955029" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:19:33.955197" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:33.945114" elapsed="0.010110"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:33.955271" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:33.955410" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:33.944359" elapsed="0.011077"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.970087" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:33.969556" elapsed="0.000623"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:33.970917" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:33.970396" elapsed="0.000627"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:33.976498" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:33.973478" elapsed="0.006009">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:33.971159" elapsed="0.008474">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.979935" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:33.979719" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:33.971139" elapsed="0.009063">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.980702" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:33.980957" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:33.980921" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:33.980902" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.981254" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:33.981494" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:33.958152" elapsed="0.023471">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:33.981700" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:33.955674" elapsed="0.026123">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:33.981961" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:33.929144" elapsed="0.052928">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:34.500324" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:34.497330" elapsed="0.003079"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:34.501962" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:34.501322" elapsed="0.000689"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:34.500873" elapsed="0.001186"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:34.503299" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:34.502683" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:34.502224" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:34.500592" elapsed="0.002891"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:34.504214" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:34.503562" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:34.506050" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:34.505056" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:34.504425" elapsed="0.001796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:34.506783" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:34.506284" elapsed="0.000647"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:34.503540" elapsed="0.003452"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:34.507039" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:34.507209" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:34.496421" elapsed="0.010817"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:34.507346" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:34.507502" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:34.495420" elapsed="0.012107"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:34.522320" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:34.521847" elapsed="0.000563"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:34.523160" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:34.522658" elapsed="0.000590"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:34.528846" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:34.525875" elapsed="0.005906">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:34.523388" elapsed="0.008543">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:34.532234" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:34.532017" elapsed="0.000371"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:34.523367" elapsed="0.009084">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:34.532961" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:34.533219" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:34.533183" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:34.533163" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:34.533520" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:34.533782" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:34.510374" elapsed="0.023526">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:34.533972" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:34.507768" elapsed="0.026303">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:34.534238" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:34.482826" elapsed="0.051524">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.052524" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:35.049600" elapsed="0.003021"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.054139" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:35.053515" elapsed="0.000672"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:35.053068" elapsed="0.001168"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.055567" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:35.054866" elapsed="0.000768"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:35.054403" elapsed="0.001281"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:35.052804" elapsed="0.002959"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.056481" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:35.055843" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.058349" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:35.057343" elapsed="0.001104"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:35.056727" elapsed="0.001797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.059115" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:35.058634" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:35.055820" elapsed="0.003502"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:35.059363" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:35.059528" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:35.048627" elapsed="0.010927"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:35.059627" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:35.059770" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:35.047643" elapsed="0.012152"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.074488" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:35.074018" elapsed="0.000584"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.075271" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:35.074822" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:35.080859" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:35.077899" elapsed="0.005920">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:35.075498" elapsed="0.008449">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.084244" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:35.084031" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:35.075478" elapsed="0.008979">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.084957" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:35.085246" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:35.085209" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:35.085189" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.085539" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:35.085828" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:35.062605" elapsed="0.023338">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:35.086015" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:35.060015" elapsed="0.026098">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.086277" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:35.035190" elapsed="0.051197">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.606322" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:35.603058" elapsed="0.003415"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.608263" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:35.607657" elapsed="0.000655"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:35.607086" elapsed="0.001275"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.609602" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:35.608986" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:35.608527" elapsed="0.001175"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:35.606729" elapsed="0.003052"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.610500" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:35.609857" elapsed="0.000810"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.612337" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:35.611345" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:35.610740" elapsed="0.001767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.613057" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:35.612587" elapsed="0.000620"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:35.609836" elapsed="0.003432"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:35.613308" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:35.613470" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:35.602149" elapsed="0.011352"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:35.613548" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:19:35.613709" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:35.601177" elapsed="0.012559"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.628383" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:35.627915" elapsed="0.000560"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:35.629163" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:35.628711" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:35.634876" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:35.631833" elapsed="0.005878">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:35.629387" elapsed="0.008451">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.638137" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:35.637925" elapsed="0.000364"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:35.629366" elapsed="0.009018">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.638931" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:35.639189" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:35.639152" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:35.639133" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.639487" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:35.639746" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:35.616586" elapsed="0.023274">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:35.639933" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:35.613959" elapsed="0.026072">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:35.640197" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:35.587186" elapsed="0.053122">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.159180" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:36.156088" elapsed="0.003178"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.160815" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:36.160172" elapsed="0.000692"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:36.159715" elapsed="0.001198"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.162271" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:36.161659" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:36.161187" elapsed="0.001182"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:36.159437" elapsed="0.003012"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.163191" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:36.162528" elapsed="0.000814"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.165032" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:36.164040" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:36.163408" elapsed="0.001799"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.165754" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:36.165272" elapsed="0.000627"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:36.162506" elapsed="0.003453"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:36.166002" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:36.166180" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:36.155141" elapsed="0.011066"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:36.166253" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:36.166400" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:36.154113" elapsed="0.012312"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.181149" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:36.180551" elapsed="0.000688"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.181925" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:36.181453" elapsed="0.000558"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:36.187666" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:36.184414" elapsed="0.006212">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:36.182169" elapsed="0.008587">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.191051" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:36.190840" elapsed="0.000362"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:36.182126" elapsed="0.009138">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.191765" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:36.192020" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:36.191983" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:36.191963" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.192316" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:36.192555" elapsed="0.000068"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:36.169217" elapsed="0.023538">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:36.192828" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:36.166658" elapsed="0.026268">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.193096" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:36.141131" elapsed="0.052077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.711644" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:36.708691" elapsed="0.003040"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.713247" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:36.712632" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:36.712168" elapsed="0.001177"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.714607" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:36.713987" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:36.713511" elapsed="0.001194"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:36.711901" elapsed="0.002883"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.715496" elapsed="0.000086"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:36.714863" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.717316" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:36.716327" elapsed="0.001083"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:36.715728" elapsed="0.001757"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.718035" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:36.717549" elapsed="0.000631"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:36.714840" elapsed="0.003398"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:36.718281" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:36.718446" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:36.707806" elapsed="0.010666"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:36.718519" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:36.718678" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:36.706828" elapsed="0.011876"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.733215" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:36.732745" elapsed="0.000557"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:36.734004" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:36.733518" elapsed="0.000571"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:36.739914" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:36.736771" elapsed="0.005996">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:36.734224" elapsed="0.008678">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.743200" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:36.742986" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:36.734204" elapsed="0.009213">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.743979" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:36.744237" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:36.744200" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:36.744181" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.744532" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:36.744788" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:36.721490" elapsed="0.023414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:36.744977" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:36.718933" elapsed="0.026143">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:36.745241" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:36.694095" elapsed="0.051259">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.263648" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:37.260647" elapsed="0.003084"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.265244" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:37.264635" elapsed="0.000659"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:37.264163" elapsed="0.001179"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.266604" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:37.265980" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:37.265510" elapsed="0.001193"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:37.263902" elapsed="0.002883"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.267503" elapsed="0.000160"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:37.266862" elapsed="0.000902"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.269559" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:37.268554" elapsed="0.001119"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:37.267831" elapsed="0.001939"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.270308" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:37.269838" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:37.266840" elapsed="0.003673"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:37.270556" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:19:37.270741" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:37.259761" elapsed="0.011006"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:37.270815" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:37.270958" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:37.258781" elapsed="0.012203"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.285726" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:37.285239" elapsed="0.000587"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.286493" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:37.286042" elapsed="0.000550"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:37.292417" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:37.289278" elapsed="0.006022">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:37.286731" elapsed="0.008697">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.295743" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:37.295513" elapsed="0.000381"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:37.286710" elapsed="0.009248">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.296434" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:37.296760" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:37.296723" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:37.296702" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.297054" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:37.297292" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:37.273825" elapsed="0.023581">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:37.297512" elapsed="0.000018"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:37.271212" elapsed="0.026420">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.297812" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:37.246818" elapsed="0.051107">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.817896" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:37.814516" elapsed="0.003495"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.819752" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:37.819123" elapsed="0.000685"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:37.818637" elapsed="0.001221"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.821083" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:37.820465" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:37.820022" elapsed="0.001161"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:37.818243" elapsed="0.003020"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.822001" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:37.821341" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.823813" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:37.822835" elapsed="0.001081"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:37.822212" elapsed="0.001780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.824514" elapsed="0.000088"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:37.824057" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:37.821319" elapsed="0.003419"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:37.824780" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:37.824944" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:37.813655" elapsed="0.011315"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:37.825017" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:37.825158" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:37.812671" elapsed="0.012512"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.840077" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:37.839552" elapsed="0.000615"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:37.840864" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:37.840392" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:37.846502" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:37.843361" elapsed="0.006132">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:37.841090" elapsed="0.008630">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.850027" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:37.849810" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:37.841069" elapsed="0.009177">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.850750" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:37.851011" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:37.850973" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:37.850954" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.851311" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:37.851560" elapsed="0.000059"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:37.828193" elapsed="0.023522">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:37.851789" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:37.825404" elapsed="0.026484">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:37.852054" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:37.798749" elapsed="0.053416">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.370893" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:38.367346" elapsed="0.003628"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.372504" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:38.371890" elapsed="0.000664"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:38.371408" elapsed="0.001211"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.373874" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:38.373237" elapsed="0.000686"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:38.372786" elapsed="0.001185"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:38.371146" elapsed="0.002905"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.374783" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:38.374128" elapsed="0.000805"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.376689" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:38.375653" elapsed="0.001131"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:38.374999" elapsed="0.001861"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.377406" elapsed="0.000179"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:38.376927" elapsed="0.000738"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:38.374107" elapsed="0.003618"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:38.377767" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:38.377931" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:38.366453" elapsed="0.011504"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:38.378004" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:38.378145" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:38.365488" elapsed="0.012682"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.392831" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:38.392345" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.393634" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:38.393141" elapsed="0.000580"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:38.399121" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:38.396214" elapsed="0.005768">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:38.393858" elapsed="0.008252">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.402407" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:38.402193" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:38.393838" elapsed="0.008877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.403193" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:38.403451" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:38.403414" elapsed="0.000127"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:38.403395" elapsed="0.000222"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.403761" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:38.404001" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:38.380904" elapsed="0.023209">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:38.404184" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:38.378392" elapsed="0.025888">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.404445" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:38.352935" elapsed="0.051674">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.922647" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:38.919735" elapsed="0.002993"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.924227" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:38.923620" elapsed="0.000656"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:38.923156" elapsed="0.001171"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.925557" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:38.924943" elapsed="0.000680"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:38.924490" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:38.922897" elapsed="0.002855"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.926456" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:38.925830" elapsed="0.000792"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.928280" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:38.927284" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:38.926688" elapsed="0.001759"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.928993" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:38.928512" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:38.925809" elapsed="0.003401"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:38.929251" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:38.929415" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:38.918849" elapsed="0.010592"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:38.929488" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:38.929645" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:38.917835" elapsed="0.011835"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.944146" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:38.943557" elapsed="0.000677"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:38.944910" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:38.944449" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:38.950453" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:38.947381" elapsed="0.006049">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:38.945151" elapsed="0.008409">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.953878" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:38.953662" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:38.945108" elapsed="0.009037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.954647" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:38.954908" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:38.954870" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:38.954851" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.955205" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:38.955446" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:38.932426" elapsed="0.023134">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:38.955685" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:38.929893" elapsed="0.025891">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:38.955949" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:38.905389" elapsed="0.050672">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:39.474469" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:39.471431" elapsed="0.003122"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:39.476135" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:39.475499" elapsed="0.000686"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:39.475043" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:39.477497" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:39.476876" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:39.476400" elapsed="0.001210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:39.474774" elapsed="0.002917"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:39.478427" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:39.477771" elapsed="0.000838"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:39.480278" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:39.479283" elapsed="0.001092"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:39.478679" elapsed="0.001773"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:39.481010" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:39.480516" elapsed="0.000642"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:39.477749" elapsed="0.003470"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:39.481261" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:39.481424" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:39.470525" elapsed="0.010928"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:39.481602" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:19:39.481751" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:39.469551" elapsed="0.012225"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:39.496662" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:39.496179" elapsed="0.000573"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:39.497426" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:39.496979" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:39.504664" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:39.501753" elapsed="0.005787">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:39.497662" elapsed="0.010051">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:39.508014" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:39.507798" elapsed="0.000369"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:39.497641" elapsed="0.010589">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:39.508743" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:39.509021" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:39.508982" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:39.508962" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:39.509320" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:39.509563" elapsed="0.000031"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:39.484542" elapsed="0.025149">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:39.509762" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:39.481995" elapsed="0.027864">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:39.510023" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:39.456882" elapsed="0.053250">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.029186" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:40.025865" elapsed="0.003433"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.030919" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:40.030281" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:40.029834" elapsed="0.001184"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.032262" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:40.031650" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:40.031186" elapsed="0.001177"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:40.029526" elapsed="0.002917"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.033183" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:40.032520" elapsed="0.000812"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.035001" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:40.034011" elapsed="0.001085"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:40.033395" elapsed="0.001777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.035713" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:40.035237" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:40.032499" elapsed="0.003421"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:40.035961" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:40.036123" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:40.024890" elapsed="0.011260"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:40.036197" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:40.036339" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:40.023901" elapsed="0.012464"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.051226" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:40.050754" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.052046" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:40.051534" elapsed="0.000597"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:40.057727" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:40.054539" elapsed="0.006062">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:40.052269" elapsed="0.008496">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.061073" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:40.060854" elapsed="0.000375"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:40.052248" elapsed="0.009045">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.061881" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:40.062203" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:40.062164" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:40.062144" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.062499" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:40.062761" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:40.039421" elapsed="0.023455">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:40.062949" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:40.036605" elapsed="0.026445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.063218" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:40.010856" elapsed="0.052474">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.582814" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:40.579188" elapsed="0.003709"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.584612" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:40.583899" elapsed="0.000767"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:40.583341" elapsed="0.001374"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.586016" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:40.585342" elapsed="0.000726"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:40.584888" elapsed="0.001230"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:40.583069" elapsed="0.003131"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.587158" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:40.586472" elapsed="0.000835"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.589063" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:40.588016" elapsed="0.001143"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:40.587375" elapsed="0.001862"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.589858" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:40.589305" elapsed="0.000708"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:40.586258" elapsed="0.003816"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:40.590117" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:40.590284" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:40.578091" elapsed="0.012219"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:40.590356" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:19:40.590501" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:40.577031" elapsed="0.013496"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.605624" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:40.605142" elapsed="0.000577"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:40.606423" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:40.605965" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:40.613260" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:40.609711" elapsed="0.006660">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:40.606667" elapsed="0.009893">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.617000" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:40.616682" elapsed="0.000481"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:40.606645" elapsed="0.010581">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.617833" elapsed="0.000030"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:40.618115" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:40.618072" elapsed="0.000143"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:40.618048" elapsed="0.000229"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.618431" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:40.618696" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:40.593486" elapsed="0.025339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:40.618901" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:40.590788" elapsed="0.028217">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:40.619176" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:40.564097" elapsed="0.055192">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.138284" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:41.135483" elapsed="0.002884"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.139928" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:41.139281" elapsed="0.000699"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:41.138818" elapsed="0.001212"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.141387" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:41.140759" elapsed="0.000681"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:41.140276" elapsed="0.001214"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:41.138538" elapsed="0.003049"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.142312" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:41.141666" elapsed="0.000796"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.144185" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:41.143168" elapsed="0.001114"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:41.142527" elapsed="0.001849"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.144924" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:41.144442" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:41.141644" elapsed="0.003490"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:41.145185" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:41.145350" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:41.134507" elapsed="0.010870"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:41.145427" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:41.145587" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:41.133461" elapsed="0.012154"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.160479" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:41.159963" elapsed="0.000622"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.161270" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:41.160810" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:41.166942" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:41.163959" elapsed="0.005942">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:41.161509" elapsed="0.008526">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.170340" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:41.170122" elapsed="0.000376"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:41.161488" elapsed="0.009098">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.171101" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:41.171366" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:41.171327" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:41.171307" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.171721" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:41.171971" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:41.148483" elapsed="0.023661">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:41.172219" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:41.145845" elapsed="0.026492">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.172510" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:41.120083" elapsed="0.052567">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.690924" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:41.688446" elapsed="0.002563"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.692625" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:41.691952" elapsed="0.000727"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:41.691464" elapsed="0.001272"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.694006" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:41.693366" elapsed="0.000689"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:41.692910" elapsed="0.001195"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:41.691181" elapsed="0.003007"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.694935" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:41.694264" elapsed="0.000828"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.696842" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:41.695797" elapsed="0.001141"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:41.695158" elapsed="0.001859"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.697680" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:41.697084" elapsed="0.000762"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:41.694242" elapsed="0.003668"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:41.697953" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:41.698120" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:41.687411" elapsed="0.010737"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:41.698196" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:41.698342" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:41.686344" elapsed="0.012026"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.713403" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:41.712900" elapsed="0.000596"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:41.714211" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:41.713734" elapsed="0.000566"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:41.720094" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:41.717015" elapsed="0.006019">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:41.714443" elapsed="0.008721">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.723479" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:41.723259" elapsed="0.000392"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:41.714422" elapsed="0.009294">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.724249" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:41.724520" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:41.724480" elapsed="0.000159"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:41.724460" elapsed="0.000243"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.724852" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:41.725097" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:41.701232" elapsed="0.023991">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:41.725309" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:41.698614" elapsed="0.026801">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:41.725607" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:41.673441" elapsed="0.052286">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.245398" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:42.242157" elapsed="0.003323"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.247068" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:42.246422" elapsed="0.000697"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:42.245962" elapsed="0.001207"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.248482" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:42.247803" elapsed="0.000729"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:42.247338" elapsed="0.001261"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:42.245668" elapsed="0.003019"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.249406" elapsed="0.000134"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:42.248763" elapsed="0.000875"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.251325" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:42.250317" elapsed="0.001104"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:42.249704" elapsed="0.001794"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.252066" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:42.251563" elapsed="0.000656"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:42.248742" elapsed="0.003538"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:42.252322" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:42.252485" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:42.241205" elapsed="0.011307"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:42.252559" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:19:42.252719" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:42.240159" elapsed="0.012586"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.267335" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:42.266834" elapsed="0.000593"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.268147" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:42.267665" elapsed="0.000568"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:42.273952" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:42.270940" elapsed="0.006010">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:42.268373" elapsed="0.008710">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.277399" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:42.277172" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:42.268352" elapsed="0.009284">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.278156" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:42.278422" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:42.278382" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:42.278363" elapsed="0.000269"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.278778" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:42.279022" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:42.255532" elapsed="0.023607">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:42.279265" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:42.252973" elapsed="0.026395">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.279538" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:42.227061" elapsed="0.052611">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.797985" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:42.795054" elapsed="0.003014"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.799640" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:42.798981" elapsed="0.000716"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:42.798506" elapsed="0.001253"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.801018" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:42.800395" elapsed="0.000674"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:42.799926" elapsed="0.001191"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:42.798240" elapsed="0.002956"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.801917" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:42.801271" elapsed="0.000796"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.803750" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:42.802754" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:42.802132" elapsed="0.001789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.804446" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:42.803985" elapsed="0.000619"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:42.801250" elapsed="0.003413"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:42.804704" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:42.804868" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:42.794106" elapsed="0.010788"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:42.804939" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:42.805079" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:42.793073" elapsed="0.012031"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.820598" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:42.820108" elapsed="0.000583"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:42.821363" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:42.820912" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:42.826904" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:42.823992" elapsed="0.006251">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:42.821601" elapsed="0.008834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.830850" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:42.830524" elapsed="0.000484"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:42.821565" elapsed="0.009506">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.831655" elapsed="0.000039"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:42.832035" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:42.831982" elapsed="0.000177"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:42.831953" elapsed="0.000281"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.832435" elapsed="0.000032"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:42.832758" elapsed="0.000025"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:42.808272" elapsed="0.024646">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:42.833024" elapsed="0.000022"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:42.805326" elapsed="0.027831">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:42.833397" elapsed="0.000032"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:42.780404" elapsed="0.053155">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.353213" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:43.349650" elapsed="0.003644"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.354829" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:43.354198" elapsed="0.000681"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:43.353746" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.356175" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:43.355555" elapsed="0.000669"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:43.355096" elapsed="0.001176"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:43.353463" elapsed="0.002888"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.357076" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:43.356426" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.358948" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:43.357967" elapsed="0.001074"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:43.357289" elapsed="0.001828"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.359672" elapsed="0.000131"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:43.359183" elapsed="0.000697"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:43.356405" elapsed="0.003535"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:43.359981" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:43.360146" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:43.348715" elapsed="0.011458"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:43.360220" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:43.360362" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:43.347673" elapsed="0.012715"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.374976" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:43.374469" elapsed="0.000599"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.375793" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:43.375287" elapsed="0.000594"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:43.381687" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:43.378404" elapsed="0.006154">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:43.376020" elapsed="0.008685">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.385014" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:43.384791" elapsed="0.000380"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:43.375999" elapsed="0.009237">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.385793" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:43.386058" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:43.386019" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:43.385999" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.386359" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:43.386634" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:43.363153" elapsed="0.023602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:43.386827" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:43.360630" elapsed="0.026297">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.387096" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:43.334374" elapsed="0.052885">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.906846" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:43.903563" elapsed="0.003393"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.908731" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:43.908103" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:43.907633" elapsed="0.001196"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.910062" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:43.909434" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:43.908994" elapsed="0.001165"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:43.907190" elapsed="0.003049"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.910965" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:43.910315" elapsed="0.000796"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.912999" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:43.911803" elapsed="0.001295"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:43.911176" elapsed="0.002000"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.913728" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:43.913241" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:43.910294" elapsed="0.003645"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:43.913979" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:43.914148" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:43.902679" elapsed="0.011495"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:43.914221" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:43.914363" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:43.901700" elapsed="0.012688"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.929109" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:43.928644" elapsed="0.000552"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:43.929872" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:43.929410" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:43.935367" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:43.932469" elapsed="0.005798">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:43.930091" elapsed="0.008303">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.938710" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:43.938477" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:43.930071" elapsed="0.008908">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.939481" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:43.939754" elapsed="0.000163"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:43.939716" elapsed="0.000283"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:43.939697" elapsed="0.000364"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.940207" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:43.940449" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:43.917150" elapsed="0.023414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:43.940659" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:43.914640" elapsed="0.026118">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:43.940923" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:43.888087" elapsed="0.052947">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:44.459730" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:44.456404" elapsed="0.003440"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:44.461365" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:44.460757" elapsed="0.000658"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:44.460292" elapsed="0.001172"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:44.462708" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:44.462092" elapsed="0.000666"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:44.461648" elapsed="0.001158"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:44.460035" elapsed="0.002850"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:44.463612" elapsed="0.000077"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:44.462959" elapsed="0.000807"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:44.465423" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:44.464429" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:44.463831" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:44.466141" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:44.465676" elapsed="0.000611"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:44.462939" elapsed="0.003409"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:44.466388" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:44.466548" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:44.455505" elapsed="0.011085"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:44.466697" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:44.466847" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:44.454536" elapsed="0.012337"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:44.481676" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:44.481199" elapsed="0.000566"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:44.482455" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:44.482012" elapsed="0.000527"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:44.488286" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:44.485078" elapsed="0.006153">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:44.482692" elapsed="0.008668">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:44.491678" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:44.491445" elapsed="0.000389"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:44.482672" elapsed="0.009227">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:44.492380" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:44.492701" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:44.492658" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:44.492637" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:44.492998" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:44.493238" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:44.469653" elapsed="0.023699">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:44.493425" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:44.467094" elapsed="0.026430">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:44.493710" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:44.441858" elapsed="0.051964">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.012932" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:45.008557" elapsed="0.004459"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.014542" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:45.013916" elapsed="0.000692"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:45.013439" elapsed="0.001220"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.015920" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:45.015298" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:45.014826" elapsed="0.001191"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:45.013181" elapsed="0.002916"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.016820" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:45.016171" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.018649" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:45.017660" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:45.017034" elapsed="0.001788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.019372" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:45.018886" elapsed="0.000704"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:45.016149" elapsed="0.003507"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:45.019698" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:45.019860" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:45.007861" elapsed="0.012026"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:45.019935" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:45.020083" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:45.007121" elapsed="0.012988"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.035133" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:45.034619" elapsed="0.000606"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.035924" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:45.035446" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:45.041485" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:45.038410" elapsed="0.006109">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:45.036152" elapsed="0.008514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.044973" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:45.044754" elapsed="0.000373"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:45.036130" elapsed="0.009061">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.045714" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:45.046034" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:45.045994" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:45.045973" elapsed="0.000223"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.046343" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:45.046609" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:45.022884" elapsed="0.023843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:45.046808" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:45.020330" elapsed="0.026599">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.047101" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:44.994655" elapsed="0.052561">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.567105" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:45.564720" elapsed="0.002467"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.568693" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:45.568071" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:45.567625" elapsed="0.001167"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.570123" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:45.569399" elapsed="0.000795"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:45.568955" elapsed="0.001316"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:45.567355" elapsed="0.003004"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.571121" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:45.570442" elapsed="0.000826"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.572942" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:45.571953" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:45.571332" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.573666" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:45.573178" elapsed="0.000636"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:45.570418" elapsed="0.003456"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:45.573915" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:19:45.574079" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:45.564074" elapsed="0.010031"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:45.574152" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:45.574295" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:45.563216" elapsed="0.011104"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.589398" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:45.588889" elapsed="0.000599"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:45.590266" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:45.589763" elapsed="0.000591"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:45.596221" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:45.592966" elapsed="0.006358">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:45.590493" elapsed="0.008966">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.599813" elapsed="0.000077"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:45.599547" elapsed="0.000432"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:45.590471" elapsed="0.009575">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.600602" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:45.600900" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:45.600861" elapsed="0.000138"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:45.600838" elapsed="0.000225"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.601231" elapsed="0.000026"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:45.601491" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:45.577202" elapsed="0.024435">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:45.601715" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:45.574553" elapsed="0.027283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:45.602016" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:45.547982" elapsed="0.054171">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.120081" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:46.117149" elapsed="0.003016"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.121755" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:46.121091" elapsed="0.000716"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:46.120638" elapsed="0.001220"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.123223" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:46.122599" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:46.122110" elapsed="0.001217"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:46.120333" elapsed="0.003077"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.124167" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:46.123486" elapsed="0.000834"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.126050" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:46.125024" elapsed="0.001137"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:46.124387" elapsed="0.001861"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.126888" elapsed="0.000084"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:46.126320" elapsed="0.000736"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:46.123465" elapsed="0.003653"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:46.127160" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:46.127326" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:46.116252" elapsed="0.011101"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:46.127402" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:46.127548" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:46.115285" elapsed="0.012347"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.142473" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:46.141992" elapsed="0.000638"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.143322" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:46.142857" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:46.149197" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:46.145977" elapsed="0.006287">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:46.143551" elapsed="0.008847">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.152723" elapsed="0.000078"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:46.152484" elapsed="0.000400"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:46.143530" elapsed="0.009419">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.153452" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:46.153734" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:46.153696" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:46.153675" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.154040" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:46.154287" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:46.130386" elapsed="0.024064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:46.154545" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:46.127868" elapsed="0.026825">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.154867" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:46.103005" elapsed="0.051977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.671953" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:46.668635" elapsed="0.003432"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.674148" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:46.673276" elapsed="0.000942"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:46.672661" elapsed="0.001627"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.676052" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:46.675180" elapsed="0.000942"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:46.674558" elapsed="0.001637"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:46.672287" elapsed="0.004020"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.677281" elapsed="0.000095"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:46.676410" elapsed="0.001070"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.679729" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:46.678424" elapsed="0.001432"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:46.677595" elapsed="0.002368"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.680750" elapsed="0.000093"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:46.680058" elapsed="0.000881"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:46.676383" elapsed="0.004636"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:46.681077" elapsed="0.000046"/>
</return>
<msg time="2026-04-11T23:19:46.681291" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:46.667759" elapsed="0.013568"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:46.681388" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:46.681611" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:46.666794" elapsed="0.014857"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.706050" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:46.705458" elapsed="0.000686"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:46.708224" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:46.706733" elapsed="0.001719"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:46.720096" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:46.714822" elapsed="0.008181">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:46.708848" elapsed="0.014286">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.723451" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:46.723235" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:46.708789" elapsed="0.014898">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.724223" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:46.724488" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:46.724445" elapsed="0.000155"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:46.724426" elapsed="0.000237"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.724810" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:46.725051" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:46.685671" elapsed="0.039504">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:46.725249" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:46.681963" elapsed="0.043388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:46.725521" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:46.655564" elapsed="0.070104">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.244789" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:47.242316" elapsed="0.002550"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.246371" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:47.245747" elapsed="0.000674"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:47.245282" elapsed="0.001188"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.247718" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:47.247102" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:47.246660" elapsed="0.001156"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:47.245027" elapsed="0.002868"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.248586" elapsed="0.000107"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:47.247965" elapsed="0.000807"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.250432" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:47.249437" elapsed="0.001091"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:47.248836" elapsed="0.001796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.251168" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:47.250698" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:47.247946" elapsed="0.003429"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:47.251414" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:19:47.251584" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:47.241295" elapsed="0.010317"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:47.251660" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:47.251803" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:47.240378" elapsed="0.011455"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.266389" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:47.265902" elapsed="0.000574"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.267283" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:47.266837" elapsed="0.000530"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:47.272638" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:47.269858" elapsed="0.005555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:47.267501" elapsed="0.008034">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.275849" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:47.275636" elapsed="0.000362"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:47.267481" elapsed="0.008579">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.276531" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:47.276801" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:47.276764" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:47.276744" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.277101" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:47.277340" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:47.254553" elapsed="0.022899">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:47.277557" elapsed="0.000031"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:47.252053" elapsed="0.025623">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.277842" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:47.226918" elapsed="0.051036">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.797380" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:47.794180" elapsed="0.003305"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.799371" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:47.798742" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:47.798098" elapsed="0.001372"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.800692" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:47.800082" elapsed="0.000659"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:47.799646" elapsed="0.001144"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:47.797721" elapsed="0.003147"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.801535" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:47.800936" elapsed="0.000761"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.803345" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:47.802363" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:47.801760" elapsed="0.001754"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.804063" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:47.803594" elapsed="0.000616"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:47.800917" elapsed="0.003354"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:47.804309" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:47.804461" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:47.793298" elapsed="0.011189"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:47.804533" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:47.804693" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:47.792385" elapsed="0.012333"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.819492" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:47.819039" elapsed="0.000555"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:47.820254" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:47.819811" elapsed="0.000527"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:47.825755" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:47.823012" elapsed="0.005491">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:47.820473" elapsed="0.008202">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.828973" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:47.828761" elapsed="0.000362"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:47.820453" elapsed="0.008732">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.829674" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:47.829945" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:47.829909" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:47.829889" elapsed="0.000208"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.830238" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:47.830477" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:47.807489" elapsed="0.023113">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:47.830676" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:47.804934" elapsed="0.025839">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:47.830935" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:47.779184" elapsed="0.051860">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.349936" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:48.346609" elapsed="0.003404"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.351483" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:48.350879" elapsed="0.000653"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:48.350414" elapsed="0.001182"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.352817" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:48.352203" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:48.351763" elapsed="0.001152"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:48.350167" elapsed="0.002827"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.353724" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:48.353062" elapsed="0.000813"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.355529" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:48.354534" elapsed="0.001110"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:48.353938" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.356249" elapsed="0.000106"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:48.355786" elapsed="0.000647"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:48.353043" elapsed="0.003450"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:48.356531" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:48.356700" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:48.345744" elapsed="0.010982"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:48.356772" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:48.356911" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:48.344798" elapsed="0.012138"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.371728" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:48.371261" elapsed="0.000554"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.372474" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:48.372031" elapsed="0.000527"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:48.377790" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:48.375102" elapsed="0.005517">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:48.372710" elapsed="0.008034">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.381039" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:48.380827" elapsed="0.000362"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:48.372690" elapsed="0.008561">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.381748" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:48.382004" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:48.381967" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:48.381948" elapsed="0.000207"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.382297" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:48.382537" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:48.359895" elapsed="0.022819">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:48.382788" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:48.357153" elapsed="0.025732">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.383056" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:48.331685" elapsed="0.051516">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.902771" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:48.899447" elapsed="0.003400"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.904324" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:48.903721" elapsed="0.000651"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:48.903258" elapsed="0.001163"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.905656" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:48.905034" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:48.904598" elapsed="0.001156"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:48.903009" elapsed="0.002823"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.906513" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:48.905906" elapsed="0.000774"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.908310" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:48.907340" elapsed="0.001063"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:48.906743" elapsed="0.001737"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.909025" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:48.908544" elapsed="0.000631"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:48.905888" elapsed="0.003346"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:48.909273" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:19:48.909430" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:48.897355" elapsed="0.012101"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:48.909515" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:48.909671" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:48.896447" elapsed="0.013250"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.924311" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:48.923851" elapsed="0.000549"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:48.925213" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:48.924768" elapsed="0.000529"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:48.930349" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:48.927739" elapsed="0.005460">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:48.925431" elapsed="0.007893">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.933664" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:48.933407" elapsed="0.000410"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:48.925411" elapsed="0.008520">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.934409" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:48.934678" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:48.934641" elapsed="0.000128"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:48.934621" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.934972" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:48.935212" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:48.912438" elapsed="0.022884">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:48.935394" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:48.909914" elapsed="0.025578">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:48.935705" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:48.883841" elapsed="0.051977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:49.453012" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:49.450720" elapsed="0.002370"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:49.454597" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:49.453969" elapsed="0.000678"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:49.453506" elapsed="0.001190"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:49.455944" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:49.455307" elapsed="0.000686"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:49.454862" elapsed="0.001179"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:49.453245" elapsed="0.002876"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:49.456813" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:49.456189" elapsed="0.000855"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:49.458753" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:49.457750" elapsed="0.001098"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:49.457109" elapsed="0.001817"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:49.459458" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:49.458992" elapsed="0.000637"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:49.456170" elapsed="0.003521"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:49.459729" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:49.459881" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:49.450099" elapsed="0.009810"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:49.459986" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:49.460132" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:49.449207" elapsed="0.010952"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:49.474673" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:49.474204" elapsed="0.000557"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:49.475427" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:49.474977" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:49.480978" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:49.478013" elapsed="0.005784">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:49.475790" elapsed="0.008131">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:49.484220" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:49.484004" elapsed="0.000367"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:49.475769" elapsed="0.008664">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:49.484917" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:49.485172" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:49.485135" elapsed="0.000142"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:49.485116" elapsed="0.000224"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:49.485483" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:49.485738" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:49.462884" elapsed="0.022965">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:49.485921" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:49.460376" elapsed="0.025641">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:49.486180" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:49.436419" elapsed="0.049870">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.006045" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:50.002751" elapsed="0.003379"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.007675" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:50.007041" elapsed="0.000684"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:50.006586" elapsed="0.001191"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.009025" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:50.008400" elapsed="0.000686"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:50.007948" elapsed="0.001189"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:50.006302" elapsed="0.002917"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.009952" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:50.009298" elapsed="0.000806"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.011781" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:50.010806" elapsed="0.001070"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:50.010170" elapsed="0.001782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.012476" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:50.012017" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:50.009276" elapsed="0.003422"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:50.012738" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:50.012904" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:50.001758" elapsed="0.011172"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:50.012979" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:50.013149" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:50.000741" elapsed="0.012435"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.027973" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:50.027485" elapsed="0.000578"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.028744" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:50.028279" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:50.034479" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:50.031530" elapsed="0.005932">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:50.028969" elapsed="0.008637">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.037906" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:50.037693" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:50.028948" elapsed="0.009174">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.038675" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:50.038985" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:50.038948" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:50.038927" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.039283" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:50.039528" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:50.015954" elapsed="0.023702">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:50.039729" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:50.013399" elapsed="0.026428">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.039991" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:49.987201" elapsed="0.052902">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.557327" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:50.554891" elapsed="0.002518"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.558943" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:50.558317" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:50.557860" elapsed="0.001180"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.560284" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:50.559692" elapsed="0.000642"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:50.559225" elapsed="0.001156"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:50.557595" elapsed="0.002865"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.561190" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:50.560534" elapsed="0.000802"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.563016" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:50.562012" elapsed="0.001098"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:50.561400" elapsed="0.001784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.563718" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:50.563248" elapsed="0.000615"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:50.560515" elapsed="0.003407"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:50.563963" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:50.564127" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:50.554245" elapsed="0.009908"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:50.564199" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:50.564405" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:50.553556" elapsed="0.010874"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.581305" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:50.580832" elapsed="0.000561"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:50.582075" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:50.581623" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:50.587993" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:50.584700" elapsed="0.006335">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:50.582296" elapsed="0.008886">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.591480" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:50.591266" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:50.582275" elapsed="0.009437">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.592230" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:50.592486" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:50.592449" elapsed="0.000142"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:50.592430" elapsed="0.000225"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.592799" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:50.593059" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:50.569660" elapsed="0.023513">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:50.593245" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:50.564670" elapsed="0.028673">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:50.593508" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:50.540844" elapsed="0.052789">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.113141" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:51.109476" elapsed="0.003747"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.114765" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:51.114141" elapsed="0.000673"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:51.113697" elapsed="0.001166"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.116155" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:51.115540" elapsed="0.000665"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:51.115096" elapsed="0.001158"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:51.113401" elapsed="0.002931"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.117080" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:51.116416" elapsed="0.000809"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.118917" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:51.117916" elapsed="0.001097"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:51.117291" elapsed="0.001801"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.119639" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:51.119157" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:51.116393" elapsed="0.003456"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:51.119893" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:19:51.120062" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:51.108549" elapsed="0.011539"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:51.120137" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:51.120278" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:51.107563" elapsed="0.012741"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.135072" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:51.134603" elapsed="0.000559"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.135960" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:51.135380" elapsed="0.000667"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:51.141469" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:51.138449" elapsed="0.005985">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:51.136184" elapsed="0.008380">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.144917" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:51.144691" elapsed="0.000378"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:51.136163" elapsed="0.008969">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.145633" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:51.145893" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:51.145856" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:51.145837" elapsed="0.000212"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.146194" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:51.146436" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:51.123093" elapsed="0.023507">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:51.146674" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:51.120527" elapsed="0.026247">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.146950" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:51.094471" elapsed="0.052590">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.665993" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:51.663402" elapsed="0.002676"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.667662" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:51.667023" elapsed="0.000689"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:51.666522" elapsed="0.001240"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.669006" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:51.668378" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:51.667929" elapsed="0.001174"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:51.666255" elapsed="0.002926"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.669903" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:51.669258" elapsed="0.000793"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.671714" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:51.670730" elapsed="0.001167"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:51.670117" elapsed="0.001859"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.672528" elapsed="0.000089"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:51.672042" elapsed="0.000651"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:51.669236" elapsed="0.003520"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:51.672799" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:51.672966" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:51.662333" elapsed="0.010660"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:51.673040" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:51.673183" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:51.661290" elapsed="0.011920"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.688081" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:51.687463" elapsed="0.000708"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:51.688879" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:51.688392" elapsed="0.000574"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:51.694587" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:51.691431" elapsed="0.006078">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:51.689107" elapsed="0.008547">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.697956" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:51.697741" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:51.689086" elapsed="0.009084">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.698737" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:51.699001" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:51.698961" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:51.698941" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.699307" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:51.699549" elapsed="0.000032"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:51.676039" elapsed="0.023645">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:51.699757" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:51.673436" elapsed="0.026422">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:51.700030" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:51.647929" elapsed="0.052215">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.217456" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:52.214089" elapsed="0.003476"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.219695" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:52.218845" elapsed="0.000918"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:52.218184" elapsed="0.001647"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.221546" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:52.220705" elapsed="0.000932"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:52.220060" elapsed="0.001647"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:52.217811" elapsed="0.004005"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.222783" elapsed="0.000191"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:52.221917" elapsed="0.001164"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.225260" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:52.223975" elapsed="0.001419"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:52.223172" elapsed="0.002329"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.226286" elapsed="0.000098"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:52.225614" elapsed="0.000875"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:52.221889" elapsed="0.004786"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:52.226740" elapsed="0.000049"/>
</return>
<msg time="2026-04-11T23:19:52.226968" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:52.213208" elapsed="0.013797"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:52.227073" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:52.227273" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:52.212233" elapsed="0.015075"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.252317" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:52.250949" elapsed="0.001583"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.254101" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:52.253060" elapsed="0.001234"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:52.265364" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:52.260069" elapsed="0.010210">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:52.254748" elapsed="0.015662">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.270739" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:52.270502" elapsed="0.000395"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:52.254564" elapsed="0.016399">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.271502" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:52.271799" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:52.271756" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:52.271735" elapsed="0.000221"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.272109" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:52.272367" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:52.230857" elapsed="0.041630">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:52.272636" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:52.227641" elapsed="0.045100">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.272912" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:52.200855" elapsed="0.072170">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.791849" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:52.789473" elapsed="0.002458"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.793452" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:52.792848" elapsed="0.000654"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:52.792376" elapsed="0.001175"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.794807" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:52.794188" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:52.793739" elapsed="0.001167"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:52.792114" elapsed="0.002873"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.795714" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:52.795063" elapsed="0.000799"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.797508" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:52.796531" elapsed="0.001106"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:52.795926" elapsed="0.001787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.798237" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:52.797777" elapsed="0.000605"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:52.795042" elapsed="0.003399"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:52.798482" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:52.798661" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:52.788740" elapsed="0.009948"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:52.798735" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:52.798878" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:52.787656" elapsed="0.011248"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.813376" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:52.812904" elapsed="0.000561"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:52.814281" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:52.813830" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:52.819863" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:52.816764" elapsed="0.006007">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:52.814502" elapsed="0.008461">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.823301" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:52.823049" elapsed="0.000408"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:52.814481" elapsed="0.009040">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.824038" elapsed="0.000042"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:52.824312" elapsed="0.000225"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:52.824274" elapsed="0.000364"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:52.824253" elapsed="0.000450"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.824853" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:52.825097" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:52.801754" elapsed="0.023458">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:52.825286" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:52.799127" elapsed="0.026258">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:52.825554" elapsed="0.000070"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:52.773844" elapsed="0.051874">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.346520" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:53.341854" elapsed="0.004920"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.350488" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:53.349063" elapsed="0.001587"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:53.347950" elapsed="0.002812"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.353666" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:53.352190" elapsed="0.001586"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:53.351129" elapsed="0.002755"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:53.347153" elapsed="0.006910"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.355687" elapsed="0.000162"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:53.354224" elapsed="0.001816"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.359920" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:53.357549" elapsed="0.002590"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:53.356183" elapsed="0.004125"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.361260" elapsed="0.000148"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:53.360455" elapsed="0.001034"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:53.354180" elapsed="0.007370"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:53.361608" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:53.361782" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:53.340908" elapsed="0.020901"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:53.361861" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:53.362009" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:53.339887" elapsed="0.022148"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.377061" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:53.376590" elapsed="0.000561"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.377840" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:53.377370" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:53.383558" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:53.380436" elapsed="0.005961">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:53.378065" elapsed="0.008459">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.386914" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:53.386699" elapsed="0.000372"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:53.378045" elapsed="0.009091">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.387636" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:53.387906" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:53.387868" elapsed="0.000131"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:53.387838" elapsed="0.000225"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.388208" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:53.388451" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:53.364926" elapsed="0.023637">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:53.388651" elapsed="0.000015"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:53.362288" elapsed="0.026462">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.388917" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:53.326491" elapsed="0.062574">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.907705" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:53.904269" elapsed="0.003545"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.909362" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:53.908760" elapsed="0.000651"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:53.908295" elapsed="0.001165"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.910692" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:53.910078" elapsed="0.000663"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:53.909640" elapsed="0.001151"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:53.908030" elapsed="0.002839"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.911548" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:53.910938" elapsed="0.000782"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.913373" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:53.912381" elapsed="0.001088"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:53.911785" elapsed="0.001761"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.914087" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:53.913626" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:53.910919" elapsed="0.003375"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:53.914332" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:19:53.914484" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:53.903387" elapsed="0.011123"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:53.914557" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:19:53.914716" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:53.902474" elapsed="0.012269"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.929155" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:53.928702" elapsed="0.000540"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:53.929921" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:53.929458" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:53.935371" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:53.932434" elapsed="0.005703">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:53.930146" elapsed="0.008116">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.938558" elapsed="0.000162"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:53.938344" elapsed="0.000459"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:53.930127" elapsed="0.008772">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.939371" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:53.939651" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:53.939604" elapsed="0.000141"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:53.939584" elapsed="0.000222"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.939948" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:53.940188" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:53.917500" elapsed="0.022800">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:53.940373" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:53.914961" elapsed="0.025514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:53.940660" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:53.889715" elapsed="0.051064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:54.459949" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:54.456676" elapsed="0.003383"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:54.461556" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:54.460949" elapsed="0.000672"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:54.460484" elapsed="0.001187"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:54.462894" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:54.462280" elapsed="0.000664"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:54.461836" elapsed="0.001156"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:54.460232" elapsed="0.002839"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:54.463790" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:54.463146" elapsed="0.000793"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:54.465619" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:54.464643" elapsed="0.001071"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:54.464003" elapsed="0.001790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:54.466319" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:54.465857" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:54.463123" elapsed="0.003402"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:54.466564" elapsed="0.000047"/>
</return>
<msg time="2026-04-11T23:19:54.466736" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:54.455802" elapsed="0.010961"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:54.466859" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:54.467005" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:54.454651" elapsed="0.012379"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:54.481622" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:54.481151" elapsed="0.000559"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:54.482375" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:54.481926" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:54.487775" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:54.485002" elapsed="0.005668">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:54.482611" elapsed="0.008186">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:54.491097" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:54.490882" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:54.482590" elapsed="0.008726">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:54.491835" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:54.492097" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:54.492059" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:54.492040" elapsed="0.000219"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:54.492401" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:54.492702" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:54.469775" elapsed="0.023039">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:54.492886" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:54.467246" elapsed="0.025739">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:54.493150" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:54.441414" elapsed="0.051846">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.012837" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:55.009683" elapsed="0.003238"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.014447" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:55.013827" elapsed="0.000669"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:55.013350" elapsed="0.001195"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.015816" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:55.015183" elapsed="0.000683"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:55.014732" elapsed="0.001183"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:55.013089" elapsed="0.002907"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.016722" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:55.016071" elapsed="0.000801"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.018556" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:55.017550" elapsed="0.001119"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:55.016937" elapsed="0.001812"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.019293" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:55.018814" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:55.016051" elapsed="0.003456"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:55.019547" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:19:55.019726" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:55.008654" elapsed="0.011098"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:55.019800" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:55.019942" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:55.007618" elapsed="0.012350"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.034728" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:55.034232" elapsed="0.000589"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.035529" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:55.035041" elapsed="0.000743"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:55.041151" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:55.038296" elapsed="0.005715">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:55.035925" elapsed="0.008213">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.044439" elapsed="0.000069"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:55.044223" elapsed="0.000385"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:55.035904" elapsed="0.008769">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.045169" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:55.045479" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:55.045441" elapsed="0.000171"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:55.045421" elapsed="0.000255"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.045823" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:55.046065" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:55.022739" elapsed="0.023441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:55.046253" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:55.020198" elapsed="0.026154">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.046518" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:54.994092" elapsed="0.052554">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.563328" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:55.559932" elapsed="0.003504"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.565472" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:55.564695" elapsed="0.000839"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:55.564035" elapsed="0.001580"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.567160" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:55.566379" elapsed="0.000841"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:55.565827" elapsed="0.001454"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:55.563685" elapsed="0.003698"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.568292" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:55.567489" elapsed="0.000983"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.570322" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:55.569245" elapsed="0.001185"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:55.568540" elapsed="0.001970"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.571073" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:55.570591" elapsed="0.000632"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:55.567460" elapsed="0.003823"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:55.571327" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:19:55.571503" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:55.559093" elapsed="0.012436"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:55.571593" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:55.571740" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:55.557893" elapsed="0.013872"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.587084" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:55.586456" elapsed="0.000761"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:55.588285" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:55.587492" elapsed="0.000895"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:55.593849" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:55.590902" elapsed="0.005915">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:55.588551" elapsed="0.008396">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.597251" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:55.597034" elapsed="0.000373"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:55.588526" elapsed="0.008945">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.597986" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:55.598249" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:55.598210" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:55.598191" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.598550" elapsed="0.000036"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:55.598813" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:55.574958" elapsed="0.023969">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:55.599000" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:55.572018" elapsed="0.027093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:55.599278" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:55.547306" elapsed="0.052084">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.119735" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:56.117313" elapsed="0.002506"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.121331" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:56.120721" elapsed="0.000659"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:56.120256" elapsed="0.001174"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.122761" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:56.122139" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:56.121698" elapsed="0.001191"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:56.119990" elapsed="0.002981"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.123714" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:56.123049" elapsed="0.000810"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.125496" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:56.124514" elapsed="0.001090"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:56.123922" elapsed="0.001762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.126212" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:56.125749" elapsed="0.000608"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:56.123028" elapsed="0.003388"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:56.126459" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:19:56.126642" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:56.116659" elapsed="0.010010"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:56.126717" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:56.126871" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:56.115594" elapsed="0.011304"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.141344" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:56.140883" elapsed="0.000549"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.142109" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:56.141663" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:56.147772" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:56.144695" elapsed="0.005900">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:56.142331" elapsed="0.008393">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.151034" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:56.150808" elapsed="0.000379"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:56.142311" elapsed="0.008938">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.151830" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:56.152087" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:56.152050" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:56.152031" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.152385" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:56.152641" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:56.129717" elapsed="0.023070">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:56.152860" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:56.127131" elapsed="0.025829">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.153128" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:56.100175" elapsed="0.053071">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.672448" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:56.669384" elapsed="0.003148"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.674084" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:56.673442" elapsed="0.000692"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:56.672985" elapsed="0.001199"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.675455" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:56.674843" elapsed="0.000662"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:56.674357" elapsed="0.001197"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:56.672721" elapsed="0.002931"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.676375" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:56.675730" elapsed="0.000797"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.678233" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:56.677220" elapsed="0.001108"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:56.676607" elapsed="0.001801"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.678985" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:56.678473" elapsed="0.000661"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:56.675709" elapsed="0.003486"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:56.679237" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:19:56.679402" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:56.668428" elapsed="0.011000"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:56.679474" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:56.679633" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:56.667398" elapsed="0.012262"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.694435" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:56.693957" elapsed="0.000568"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:56.695234" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:56.694778" elapsed="0.000543"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:56.700947" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:56.697963" elapsed="0.005897">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:56.695460" elapsed="0.008531">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.704298" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:56.704078" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:56.695439" elapsed="0.009077">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.705041" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:56.705304" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:56.705265" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:56.705246" elapsed="0.000217"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.705642" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:56.705887" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:56.682452" elapsed="0.023552">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:56.706077" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:56.679887" elapsed="0.026291">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:56.706347" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:56.654101" elapsed="0.052359">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.227650" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:57.224082" elapsed="0.003690"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.230081" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:57.229122" elapsed="0.001032"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:57.228403" elapsed="0.001825"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.231838" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:57.231206" elapsed="0.000682"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:57.230522" elapsed="0.001417"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:57.228018" elapsed="0.004002"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.232769" elapsed="0.000165"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:57.232097" elapsed="0.000918"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.234751" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:57.233731" elapsed="0.001116"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:57.233082" elapsed="0.001847"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.235469" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:57.234995" elapsed="0.000638"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:57.232076" elapsed="0.003619"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:57.235736" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:57.235900" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:57.223119" elapsed="0.012808"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:57.235974" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:57.236118" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:57.221974" elapsed="0.014169"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.251032" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:57.250538" elapsed="0.000585"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.251811" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:57.251343" elapsed="0.000554"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:57.257267" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:57.254428" elapsed="0.005793">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:57.252037" elapsed="0.008311">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.260673" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:57.260434" elapsed="0.000393"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:57.252015" elapsed="0.008876">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.261395" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:57.261670" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:57.261630" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:57.261610" elapsed="0.000215"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.261969" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:57.262214" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:57.238992" elapsed="0.023339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:57.262478" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:57.236373" elapsed="0.026234">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.262780" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:57.207225" elapsed="0.055669">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.782151" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:57.779760" elapsed="0.002474"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.783805" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:57.783169" elapsed="0.000686"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:57.782709" elapsed="0.001197"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.785168" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:57.784533" elapsed="0.000686"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:57.784076" elapsed="0.001192"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:57.782422" elapsed="0.002928"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.786088" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:57.785425" elapsed="0.000811"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.787933" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:57.786941" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:57.786317" elapsed="0.001787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.788670" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:57.788172" elapsed="0.000645"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:57.785404" elapsed="0.003474"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:57.788918" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:19:57.789081" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:57.779058" elapsed="0.010050"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:57.789154" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:57.789294" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:57.777829" elapsed="0.011491"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.804163" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:57.803696" elapsed="0.000558"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:57.804957" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:57.804473" elapsed="0.000571"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:57.810491" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:57.807548" elapsed="0.005776">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:57.805182" elapsed="0.008325">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.813881" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:57.813641" elapsed="0.000394"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:57.805162" elapsed="0.008937">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.814637" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:57.814900" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:57.814863" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:57.814844" elapsed="0.000210"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.815198" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:57.815442" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:57.792141" elapsed="0.023414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:57.815644" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:57.789538" elapsed="0.026206">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:57.815911" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:57.763733" elapsed="0.052289">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.336161" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:58.333061" elapsed="0.003181"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.337762" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:58.337137" elapsed="0.000675"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:58.336682" elapsed="0.001178"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.339134" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:58.338496" elapsed="0.000687"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:58.338029" elapsed="0.001202"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:58.336407" elapsed="0.002904"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.340030" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:58.339385" elapsed="0.000794"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.341850" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:58.340859" elapsed="0.001084"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:58.340244" elapsed="0.001774"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.342585" elapsed="0.000133"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:58.342103" elapsed="0.000695"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:58.339363" elapsed="0.003495"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:58.342899" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:58.343063" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:58.332122" elapsed="0.010967"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:58.343136" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:58.343279" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:58.331098" elapsed="0.012207"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.357836" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:58.357345" elapsed="0.000583"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.358745" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:58.358177" elapsed="0.000656"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:58.364313" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:58.361231" elapsed="0.006015">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:58.358971" elapsed="0.008404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.367693" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:58.367460" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:58.358949" elapsed="0.008962">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.368408" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:58.368684" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:58.368646" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:58.368626" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.368984" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:58.369226" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:58.346034" elapsed="0.023306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:58.369413" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:58.343530" elapsed="0.025982">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.369696" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:58.316835" elapsed="0.053033">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.888804" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:58.886313" elapsed="0.002577"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.890444" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:58.889808" elapsed="0.000686"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:58.889327" elapsed="0.001217"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.891877" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:58.891182" elapsed="0.000745"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:58.890733" elapsed="0.001244"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:58.889060" elapsed="0.002997"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.892810" elapsed="0.000080"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:58.892134" elapsed="0.000834"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.894675" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:58.893652" elapsed="0.001118"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:58.893033" elapsed="0.001817"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.895432" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:58.894916" elapsed="0.000685"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:58.892112" elapsed="0.003553"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:58.895706" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:58.895869" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:58.885662" elapsed="0.010234"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:58.895943" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:19:58.896085" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:58.884931" elapsed="0.011180"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.910841" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:58.910350" elapsed="0.000580"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:58.911619" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:58.911149" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:58.917188" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:58.914316" elapsed="0.005762">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:58.911845" elapsed="0.008361">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.920505" elapsed="0.000087"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:58.920291" elapsed="0.000388"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:58.911825" elapsed="0.008971">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.921290" elapsed="0.000031"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:58.921555" elapsed="0.000067"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:58.921518" elapsed="0.000186"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:58.921499" elapsed="0.000267"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.921924" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:58.922171" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:58.898876" elapsed="0.023409">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:58.922358" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:58.896337" elapsed="0.026121">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:58.922640" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:58.870673" elapsed="0.052081">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.435016" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:59.432554" elapsed="0.002546"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.436644" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:59.436006" elapsed="0.000688"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:59.435534" elapsed="0.001210"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.438014" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:59.437362" elapsed="0.000703"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:59.436913" elapsed="0.001201"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:59.435269" elapsed="0.002927"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:59.438922" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:59.438270" elapsed="0.000801"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.440759" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:59.439761" elapsed="0.001093"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:59.439138" elapsed="0.001793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:59.441470" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:59.440997" elapsed="0.000662"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:59.438248" elapsed="0.003474"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:59.441763" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:19:59.441926" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:59.431923" elapsed="0.010031"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:59.442057" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:19:59.442204" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:59.431228" elapsed="0.011002"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.456817" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:59.456335" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.457721" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:19:59.457121" elapsed="0.000691"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:19:59.463598" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:19:59.460312" elapsed="0.006290">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:19:59.457948" elapsed="0.008805">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:59.467095" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:59.466844" elapsed="0.000419"/>
</branch>
<status status="FAIL" start="2026-04-11T23:19:59.457928" elapsed="0.009401">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:59.467919" elapsed="0.000031"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:59.468235" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:19:59.468194" elapsed="0.000161"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:19:59.468167" elapsed="0.000254"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:59.468602" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:19:59.468893" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:59.444984" elapsed="0.024037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:19:59.469111" elapsed="0.000026"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:59.442450" elapsed="0.026779">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:59.469429" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:59.423629" elapsed="0.045983">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.987308" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:59.984363" elapsed="0.003026"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.988926" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:59.988277" elapsed="0.000699"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:19:59.987834" elapsed="0.001192"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.990269" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:59.989664" elapsed="0.000656"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:19:59.989193" elapsed="0.001181"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:19:59.987557" elapsed="0.002896"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:59.991182" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:59.990530" elapsed="0.000802"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:19:59.993007" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:19:59.992012" elapsed="0.001089"/>
</kw>
<status status="PASS" start="2026-04-11T23:19:59.991397" elapsed="0.001781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:19:59.993760" elapsed="0.000198"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:19:59.993243" elapsed="0.000799"/>
</branch>
<status status="PASS" start="2026-04-11T23:19:59.990509" elapsed="0.003595"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:59.994146" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:19:59.994313" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:19:59.983377" elapsed="0.010963"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:19:59.994388" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:19:59.994531" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:19:59.982413" elapsed="0.012144"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:00.009468" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:00.008990" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:00.010248" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:00.009795" elapsed="0.000539"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:00.016034" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:00.013078" elapsed="0.005855">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:00.010820" elapsed="0.008241">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.019360" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:00.019146" elapsed="0.000368"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:00.010798" elapsed="0.008799">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.020077" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:00.020386" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:00.020349" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:00.020328" elapsed="0.000216"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.020721" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:00.020968" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:19:59.997644" elapsed="0.023439">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:00.021156" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:19:59.994799" elapsed="0.026458">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.021423" elapsed="0.000039"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:19:59.970415" elapsed="0.051139">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:00.547710" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:00.541775" elapsed="0.006120"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:00.551598" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:00.550076" elapsed="0.001648"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:20:00.548925" elapsed="0.002914"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:00.554584" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:00.553390" elapsed="0.001248"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:20:00.552227" elapsed="0.002460"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:20:00.548289" elapsed="0.006482"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.555516" elapsed="0.000091"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:00.554849" elapsed="0.000840"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:00.557453" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:00.556393" elapsed="0.001158"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:00.555756" elapsed="0.001892"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.558205" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:00.557715" elapsed="0.000642"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:00.554826" elapsed="0.003601"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:00.558472" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:00.558657" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:00.540613" elapsed="0.018072"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:00.558733" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:20:00.558885" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:00.539636" elapsed="0.019275"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:00.573977" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:00.573462" elapsed="0.000607"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:00.574789" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:00.574293" elapsed="0.000585"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:00.580558" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:00.577495" elapsed="0.006193">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:00.575018" elapsed="0.008813">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.584144" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:00.583922" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:00.574997" elapsed="0.009373">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.584956" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:00.585227" elapsed="0.000038"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:00.585187" elapsed="0.000162"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:00.585166" elapsed="0.000249"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.585564" elapsed="0.000038"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:00.585842" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:00.561873" elapsed="0.024090">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:00.586040" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:00.559141" elapsed="0.027002">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:00.586313" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:20:00.522301" elapsed="0.064133">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.105130" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:01.102714" elapsed="0.002502"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.106780" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:01.106147" elapsed="0.000683"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:20:01.105699" elapsed="0.001181"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.108193" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:01.107556" elapsed="0.000687"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:20:01.107107" elapsed="0.001186"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:20:01.105392" elapsed="0.002984"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.109113" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:01.108451" elapsed="0.000808"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.110928" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:01.109947" elapsed="0.001076"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:01.109324" elapsed="0.001775"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.111658" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:01.111165" elapsed="0.000639"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:01.108429" elapsed="0.003438"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:01.111909" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:20:01.112071" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:01.101942" elapsed="0.010155"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:01.112145" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:20:01.112288" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:01.100741" elapsed="0.011573"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.127510" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:01.127041" elapsed="0.000618"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.128367" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:01.127906" elapsed="0.000549"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:01.134237" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:01.131163" elapsed="0.006032">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:01.128719" elapsed="0.008606">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.137641" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:01.137410" elapsed="0.000383"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:01.128697" elapsed="0.009160">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.138336" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:01.138608" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:01.138556" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:01.138537" elapsed="0.000228"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.138908" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:01.139152" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:01.115176" elapsed="0.024151">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:01.139400" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:01.112542" elapsed="0.026957">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.139692" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:20:01.087345" elapsed="0.052461">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.657180" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:01.654779" elapsed="0.002495"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.658847" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:01.658198" elapsed="0.000700"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:20:01.657739" elapsed="0.001209"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.660238" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:01.659621" elapsed="0.000670"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:20:01.659119" elapsed="0.001230"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:20:01.657452" elapsed="0.002980"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.661198" elapsed="0.000075"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:01.660510" elapsed="0.000850"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.663086" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:01.662063" elapsed="0.001120"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:01.661426" elapsed="0.001836"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.663834" elapsed="0.000074"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:01.663331" elapsed="0.000655"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:01.660488" elapsed="0.003560"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:01.664089" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:01.664252" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:01.654109" elapsed="0.010171"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:01.664328" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:20:01.664482" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:01.653403" elapsed="0.011106"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.679168" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:01.678697" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:01.680084" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:01.679481" elapsed="0.000690"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:01.687708" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:01.684496" elapsed="0.006104">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:01.680310" elapsed="0.010424">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.691045" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:01.690826" elapsed="0.000374"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:01.680288" elapsed="0.010977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.691816" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:01.692083" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:01.692045" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:01.692026" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.692385" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:01.692652" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:01.667270" elapsed="0.025500">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:01.692864" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:01.664748" elapsed="0.028219">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:01.693135" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:20:01.640652" elapsed="0.052597">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.212017" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:02.209413" elapsed="0.002688"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.213703" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:02.213058" elapsed="0.000696"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:20:02.212548" elapsed="0.001256"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.215152" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:02.214524" elapsed="0.000677"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:20:02.213976" elapsed="0.001277"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:20:02.212277" elapsed="0.003056"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.216080" elapsed="0.000138"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:02.215411" elapsed="0.000885"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.218007" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:02.217006" elapsed="0.001096"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:02.216362" elapsed="0.001817"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.218739" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:02.218250" elapsed="0.000641"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:02.215390" elapsed="0.003561"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:02.218994" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:02.219159" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:02.208407" elapsed="0.010779"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:02.219233" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:20:02.219377" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:02.207439" elapsed="0.011964"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.234322" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:02.233852" elapsed="0.000559"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.235105" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:02.234645" elapsed="0.000546"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:02.240772" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:02.237732" elapsed="0.005928">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:02.235328" elapsed="0.008461">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.244091" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:02.243876" elapsed="0.000370"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:02.235309" elapsed="0.009003">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.244854" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:02.245116" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:02.245078" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:02.245059" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.245416" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:02.245681" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:02.222435" elapsed="0.023361">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:02.245904" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:02.219668" elapsed="0.026339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.246176" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:20:02.194105" elapsed="0.052184">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.765464" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:02.761875" elapsed="0.003671"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.767079" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:02.766441" elapsed="0.000689"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:20:02.765992" elapsed="0.001187"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.768421" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:02.767812" elapsed="0.000673"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:20:02.767345" elapsed="0.001190"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:20:02.765727" elapsed="0.002911"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.769347" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:02.768714" elapsed="0.000782"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.771169" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:02.770176" elapsed="0.001087"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:02.769560" elapsed="0.001779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.771886" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:02.771408" elapsed="0.000626"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:02.768693" elapsed="0.003401"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:02.772134" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:02.772298" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:02.760980" elapsed="0.011345"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:02.772371" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:20:02.772528" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:02.759998" elapsed="0.012556"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.787170" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:02.786704" elapsed="0.000555"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:02.787947" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:02.787477" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:02.793553" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:02.790445" elapsed="0.006044">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:02.788172" elapsed="0.008512">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.796984" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:02.796771" elapsed="0.000366"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:02.788151" elapsed="0.009049">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.797710" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:02.797968" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:02.797930" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:02.797911" elapsed="0.000213"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.798268" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:02.798515" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:02.775368" elapsed="0.023312">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:02.798755" elapsed="0.000017"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:02.772798" elapsed="0.026057">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:02.799025" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:20:02.747137" elapsed="0.051999">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.317491" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:03.314536" elapsed="0.003049"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.319115" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:03.318464" elapsed="0.000702"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:20:03.318014" elapsed="0.001202"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.320479" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:03.319857" elapsed="0.000671"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:20:03.319382" elapsed="0.001225"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:20:03.317756" elapsed="0.002937"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.321394" elapsed="0.000073"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:03.320765" elapsed="0.000939"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.323400" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:03.322385" elapsed="0.001111"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:03.321772" elapsed="0.001816"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.324135" elapsed="0.000188"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:03.323658" elapsed="0.000746"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:03.320745" elapsed="0.003720"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:03.324506" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:20:03.324684" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:03.313684" elapsed="0.011027"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:03.324759" elapsed="0.000026"/>
</return>
<msg time="2026-04-11T23:20:03.324902" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:03.312717" elapsed="0.012211"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.339911" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:03.339418" elapsed="0.000585"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.340711" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:03.340223" elapsed="0.000577"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:03.346161" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:03.343302" elapsed="0.005721">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:03.340940" elapsed="0.008212">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.349454" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:03.349238" elapsed="0.000462"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:03.340919" elapsed="0.008848">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.350257" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:03.350523" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:03.350485" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:03.350465" elapsed="0.000232"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.350841" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:03.351089" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:03.327798" elapsed="0.023402">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:03.351272" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:03.325151" elapsed="0.026219">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.351545" elapsed="0.000035"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:20:03.299825" elapsed="0.051887">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.869689" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:03.866772" elapsed="0.002999"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.871275" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:03.870664" elapsed="0.000660"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:20:03.870198" elapsed="0.001176"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.872643" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:03.872012" elapsed="0.000681"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:20:03.871545" elapsed="0.001198"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:20:03.869939" elapsed="0.002881"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.873522" elapsed="0.000085"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:03.872895" elapsed="0.000792"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.875357" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:03.874355" elapsed="0.001096"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:03.873753" elapsed="0.001774"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.876093" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:03.875618" elapsed="0.000622"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:03.872874" elapsed="0.003427"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:03.876342" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:03.876503" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:03.865882" elapsed="0.010648"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:03.876593" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:20:03.876738" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:03.864922" elapsed="0.011842"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.891244" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:03.890779" elapsed="0.000557"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:03.892207" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:03.891552" elapsed="0.000742"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:03.897633" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:03.894697" elapsed="0.005819">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:03.892432" elapsed="0.008226">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.900955" elapsed="0.000070"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:03.900742" elapsed="0.000365"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:03.892411" elapsed="0.008816">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.901731" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:03.901989" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:03.901951" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:03.901932" elapsed="0.000209"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.902285" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:03.902529" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:03.879489" elapsed="0.023167">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:03.902737" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:03.876987" elapsed="0.025848">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:03.903001" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:20:03.852503" elapsed="0.050610">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Connected" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.421152" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:04.418115" elapsed="0.003115"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.422747" level="INFO">${node_value_path} = /topology=topology-netconf</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:04.422115" elapsed="0.000682"/>
</kw>
<var name="${nv}">topology=topology-netconf</var>
<status status="PASS" start="2026-04-11T23:20:04.421660" elapsed="0.001186"/>
</iter>
<iter>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.424224" level="INFO">${node_value_path} = /topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:04.423453" elapsed="0.000821"/>
</kw>
<var name="${nv}">node=netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:20:04.423012" elapsed="0.001312"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="PASS" start="2026-04-11T23:20:04.421388" elapsed="0.003018"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.425123" elapsed="0.000072"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:04.424478" elapsed="0.000796"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.426961" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:04.425960" elapsed="0.001098"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:04.425340" elapsed="0.001797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.427692" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:04.427203" elapsed="0.000649"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:04.424458" elapsed="0.003458"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:04.427957" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:20:04.428118" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:04.417220" elapsed="0.010926"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:04.428252" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:04.428411" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:04.416286" elapsed="0.012151"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.443365" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:04.442897" elapsed="0.000557"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.444193" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:04.443720" elapsed="0.000558"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:04.450036" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.446918" elapsed="0.006117">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:04.444415" elapsed="0.008749">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.453463" elapsed="0.000071"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:04.453249" elapsed="0.000387"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:04.444394" elapsed="0.009306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.454193" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:04.454455" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:04.454417" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:04.454398" elapsed="0.000236"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.454779" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:04.455025" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.431244" elapsed="0.023893">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:04.455209" elapsed="0.000016"/>
</return>
<var>${device_status}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.428678" elapsed="0.026630">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Contain" owner="BuiltIn">
<arg>${device_status}</arg>
<arg>connection-status": "connected"</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.455475" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device is accessible from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.404303" elapsed="0.051315">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<msg time="2026-04-11T23:20:04.455722" level="FAIL">Keyword 'Check_Device_Connected' failed after retrying for 5 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<arg>${timeout}</arg>
<arg>${period}</arg>
<arg>Check_Device_Connected</arg>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.437443" elapsed="300.018428">Keyword 'Check_Device_Connected' failed after retrying for 5 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${current_name}</arg>
<arg>period=0.5s</arg>
<arg>timeout=300s</arg>
<arg>log_response=${log_response}</arg>
<doc>Wait for the device to become connected.
It is more readable to use this keyword in a test case than to put the whole WUKS below into it.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.436911" elapsed="300.019081">Keyword 'Check_Device_Connected' failed after retrying for 5 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Device ${current_name} connected</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="NOT RUN" start="2026-04-11T23:20:04.460449" elapsed="0.000027"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Operation for waiting until the device is connected.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.381166" elapsed="300.079419">Keyword 'Check_Device_Connected' failed after retrying for 5 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.380676" elapsed="300.079967">Keyword 'Check_Device_Connected' failed after retrying for 5 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.460811" elapsed="0.000022"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.460992" elapsed="0.000021"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="FAIL" start="2026-04-11T23:15:04.377475" elapsed="300.083628">Keyword 'Check_Device_Connected' failed after retrying for 5 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.376992" elapsed="300.084185">Keyword 'Check_Device_Connected' failed after retrying for 5 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>NetconfKeywords.Wait_Connected</arg>
<arg>timeout=${timeout}</arg>
<status status="FAIL" start="2026-04-11T23:15:04.375026" elapsed="300.086252">Keyword 'Check_Device_Connected' failed after retrying for 5 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<doc>Wait for the devices to become connected.</doc>
<status status="FAIL" start="2026-04-11T23:15:04.317132" elapsed="300.144299">Keyword 'Check_Device_Connected' failed after retrying for 5 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</test>
<test id="s1-s4-t4" name="Issue_Requests_On_Devices" line="60">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:20:04.464688" elapsed="0.000214"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:20:04.464412" elapsed="0.000545"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:20:04.465945" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:04.465835" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:04.465816" elapsed="0.000198"/>
</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-11T23:20:04.471012" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:04.470905" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:04.470886" elapsed="0.000194"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.472130" level="INFO">${return_list_reference} = [1]</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-11T23:20:04.471728" elapsed="0.000429"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.472623" level="INFO">${return_list_copy} = [1]</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-11T23:20:04.472313" elapsed="0.000336"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:20:04.472694" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:20:04.472850" level="INFO">${index_list} = [1]</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-11T23:20:04.471303" elapsed="0.001572"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:20:04.478191" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:04.478083" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:04.478063" elapsed="0.000197"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:20:04.479388" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:04.479282" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:04.479264" elapsed="0.000193"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:04.479935" level="INFO">${karaf_connection_index} = 62</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="PASS" start="2026-04-11T23:20:04.479625" elapsed="0.000337"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:04.480332" level="INFO">${current_connection_index} = 56</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:04.480117" elapsed="0.000241"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:04.481111" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.480864" elapsed="0.000872">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:04.481913" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:20:04.481958" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:04.480514" elapsed="0.001468"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:20:04.482735" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.482477" elapsed="0.000872">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:04.483523" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:20:04.483582" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:04.482145" elapsed="0.001463"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.484659" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Issue_Requests_On_Devices"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.483915" elapsed="0.000806">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Issue_Requests_On_Devices"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:04.483685" elapsed="0.001102">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Issue_Requests_On_Devices"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:20:04.483665" elapsed="0.001154">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Issue_Requests_On_Devices"</status>
</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-04-11T23:20:04.484973" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.485198" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:04.485059" elapsed="0.000191"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:04.485041" elapsed="0.000232"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:20:04.485306" elapsed="0.000015"/>
</return>
<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">
<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-11T23:20:04.487636" elapsed="0.000143"/>
</kw>
<msg time="2026-04-11T23:20:04.487864" 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-11T23:20:04.486697" elapsed="0.001292"/>
</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-11T23:20:04.488244" elapsed="0.000070"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.488552" elapsed="0.000137"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:20:04.486102" elapsed="0.002694"/>
</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="PASS" start="2026-04-11T23:20:04.485561" elapsed="0.003298"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.478982" elapsed="0.009957">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Issue_Requests_On_Devices"</status>
</kw>
<msg time="2026-04-11T23:20:04.489040" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:04.489084" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Issue_Requests_On_Devices"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:20:04.478406" elapsed="0.010702"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:04.489294" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:04.489186" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:04.489166" elapsed="0.000195"/>
</if>
<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-11T23:20:04.490166" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:04.490061" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:04.490043" elapsed="0.000190"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:04.490503" level="INFO">index=56
host=10.30.171.36
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-11T23:20:04.490622" level="INFO">${current_ssh_connection_object} = index=56
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:04.490381" elapsed="0.000270"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.491052" level="INFO">{1: 62}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:04.490799" elapsed="0.000297"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:04.491483" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:04.491244" elapsed="0.000282"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:20:04.492060" elapsed="0.000249"/>
</kw>
<msg time="2026-04-11T23:20:04.492406" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:20:04.492452" level="INFO">${old_connection_index} = 62</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-11T23:20:04.491695" elapsed="0.000780"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:04.493316" elapsed="0.000187"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:04.494502" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.494134" elapsed="0.001173">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:04.493682" elapsed="0.001719"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:20:04.496050" elapsed="0.000257"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:04.495590" elapsed="0.000796"/>
</kw>
<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="PASS" start="2026-04-11T23:20:04.492812" elapsed="0.003620"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:04.492556" elapsed="0.003926"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:04.492537" elapsed="0.003970"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:04.497399" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:20:04.497101" elapsed="0.000325"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:20:04.497475" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:20:04.497641" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:20:04.496784" elapsed="0.000882"/>
</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="PASS" start="2026-04-11T23:20:04.497815" elapsed="0.000602"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:04.498735" level="INFO">index=63
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:20:04.498835" level="INFO">${karaf_connection_object} = index=63
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:04.498620" elapsed="0.000279"/>
</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="PASS" start="2026-04-11T23:20:04.499049" elapsed="0.002233"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:20:04.501725" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:20:04.502751" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:20:04.501441" elapsed="0.001692">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:20:04.515343" elapsed="0.000462"/>
</kw>
<msg time="2026-04-11T23:20:04.515900" 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-11T23:20:04.514187" elapsed="0.001853"/>
</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-11T23:20:04.516196" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.516356" elapsed="0.000020"/>
</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-11T23:20:04.503959" elapsed="0.012478"/>
</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-11T23:20:04.503409" elapsed="0.013074"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.489771" elapsed="0.026791">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:04.516916" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:04.516990" elapsed="0.000018"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.477744" elapsed="0.039350">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:20:04.517197" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:04.517243" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:20:04.473237" elapsed="0.044029"/>
</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-11T23:20:04.517612" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:04.517344" elapsed="0.000322"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:04.517324" elapsed="0.000366"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:20:04.473099" elapsed="0.044615"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:20:04.472927" elapsed="0.044817"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:20:04.470532" elapsed="0.047268"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:20:04.465532" elapsed="0.052323"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:04.465104" elapsed="0.052795"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:20:04.462203" elapsed="0.055750"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:04.518227" level="INFO">index=56
host=10.30.171.36
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-11T23:20:04.518328" level="INFO">${current_ssh_connection} = index=56
host=10.30.171.36
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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:04.518114" elapsed="0.000240"/>
</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-11T23:20:04.518502" elapsed="0.000194"/>
</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-11T23:20:04.520557" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:20:04.520651" 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-11T23:20:04.520291" elapsed="0.000384"/>
</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-11T23:20:04.520866" elapsed="0.000321"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:20:04.522036" level="INFO">Logging into '10.30.171.36:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:20:05.152507" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-153-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:20:04 UTC 2026

  System load:  0.0                Processes:             120
  Usage of /:   19.8% of 38.58GB   Users logged in:       1
  Memory usage: 6%                 IPv4 address for ens3: 10.30.171.36
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

9 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:14:03 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</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="PASS" start="2026-04-11T23:20:04.521719" elapsed="0.630991"/>
</kw>
<msg time="2026-04-11T23:20:05.152802" 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="PASS" start="2026-04-11T23:20:04.521353" elapsed="0.631539"/>
</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="PASS" start="2026-04-11T23:20:04.519783" elapsed="0.633233"/>
</kw>
<msg time="2026-04-11T23:20:05.153072" 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="PASS" start="2026-04-11T23:20:04.519267" elapsed="0.633852"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="PASS" start="2026-04-11T23:20:04.518891" elapsed="0.634306"/>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.155708" level="INFO">python getter.py --odladdress=10.30.171.250 --count=500 --name=netconf-scaling-device --workers=10</msg>
<arg>python getter.py --odladdress=${ODL_SYSTEM_IP} --count=${DEVICE_COUNT} --name=${device_name_base} --workers=${WORKER_COUNT}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="PASS" start="2026-04-11T23:20:05.153442" elapsed="0.002323"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="Read_Python_Tool_Operation_Result">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.261912" level="INFO">[?2004lException in thread Thread-2 (queued_send):</msg>
<msg time="2026-04-11T23:20:05.262023" level="INFO">${test} = [?2004lException in thread Thread-2 (queued_send):
</msg>
<var>${test}</var>
<arg>\\n</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="PASS" start="2026-04-11T23:20:05.156827" elapsed="0.105223"/>
</kw>
<kw name="Split String" owner="String">
<msg time="2026-04-11T23:20:05.262457" level="INFO">${test} = ['\x1b[?2004l\rException in thread Thread-2 (queued_send):\r\n']</msg>
<var>${test}</var>
<arg>${test}</arg>
<arg>|</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-11T23:20:05.262220" elapsed="0.000265"/>
</kw>
<kw name="Get From List" owner="Collections">
<msg time="2026-04-11T23:20:05.262858" level="INFO">${response} = [?2004lException in thread Thread-2 (queued_send):
</msg>
<var>${response}</var>
<arg>${test}</arg>
<arg>0</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="PASS" start="2026-04-11T23:20:05.262658" elapsed="0.000227"/>
</kw>
<kw name="Remove String Using Regexp" owner="String">
<msg time="2026-04-11T23:20:05.263326" level="INFO">${response} = Exception in thread Thread-2 (queued_send):
</msg>
<var>${response}</var>
<arg>${response}</arg>
<arg>^.*2004l\\r</arg>
<doc>Removes ``patterns`` from the given ``string``.</doc>
<status status="PASS" start="2026-04-11T23:20:05.263037" elapsed="0.000315"/>
</kw>
<kw name="Get From List" owner="Collections">
<msg time="2026-04-11T23:20:05.263750" level="FAIL">IndexError: Given index 1 is out of the range 0-0.</msg>
<var>${message}</var>
<arg>${test}</arg>
<arg>1</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.263507" elapsed="0.000364">IndexError: Given index 1 is out of the range 0-0.</status>
</kw>
<if>
<branch type="IF" condition="'${response}' == 'ERROR'">
<kw name="Fail" owner="BuiltIn">
<arg>Error getting data: ${message}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.264192" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.263973" elapsed="0.000271"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:05.263947" elapsed="0.000327"/>
</if>
<kw name="Get From List" owner="Collections">
<var>${start}</var>
<arg>${test}</arg>
<arg>1</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.264409" elapsed="0.000020"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${stop}</var>
<arg>${test}</arg>
<arg>2</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.264620" elapsed="0.000022"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${ellapsed}</var>
<arg>${test}</arg>
<arg>3</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.264787" elapsed="0.000033"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>DATA REQUEST RESULT: Device=${number} StartTime=${start} StopTime=${stop} EllapsedTime=${ellapsed}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.264973" elapsed="0.000021"/>
</kw>
<kw name="Get From List" owner="Collections">
<var>${data}</var>
<arg>${test}</arg>
<arg>4</arg>
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.265130" elapsed="0.000046"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'True'">
<kw name="Set Variable" owner="BuiltIn">
<var>${expected}</var>
<arg>'&lt;data xmlns="${ODL_NETCONF_NAMESPACE}"&gt;&lt;/data&gt;'</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.265397" elapsed="0.000019"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.265254" elapsed="0.000198"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${expected}</var>
<arg>'&lt;data xmlns="${ODL_NETCONF_NAMESPACE}"/&gt;'</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.265702" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.265476" elapsed="0.001436"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:05.265234" elapsed="0.001704"/>
</if>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${data}</arg>
<arg>${expected}</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.267084" elapsed="0.000022"/>
</kw>
<arg>${number}</arg>
<doc>Read and process a report line emitted from the Python tool that corresponds to the device with the given number.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.156442" elapsed="0.110771">IndexError: Given index 1 is out of the range 0-0.</status>
</kw>
<var name="${number}">1</var>
<status status="FAIL" start="2026-04-11T23:20:05.156113" elapsed="0.111157">IndexError: Given index 1 is out of the range 0-0.</status>
</iter>
<var>${number}</var>
<value>1</value>
<value>${DEVICE_COUNT}+1</value>
<status status="FAIL" start="2026-04-11T23:20:05.155839" elapsed="0.111488">IndexError: Given index 1 is out of the range 0-0.</status>
</for>
<kw name="Read Until Prompt" owner="SSHLibrary">
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.267487" elapsed="0.000021"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.267687" elapsed="0.000021"/>
</kw>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords">
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.267940" elapsed="0.000024"/>
</kw>
<doc>Spawn the specified count of worker threads to issue a GET request to each of the devices.</doc>
<status status="FAIL" start="2026-04-11T23:20:04.461673" elapsed="0.806441">IndexError: Given index 1 is out of the range 0-0.</status>
</test>
<test id="s1-s4-t5" name="Deconfigure_Devices" line="75">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:20:05.271659" elapsed="0.000269"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:20:05.271373" elapsed="0.000609"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:20:05.273044" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.272917" elapsed="0.000180"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.272898" elapsed="0.000221"/>
</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-11T23:20:05.278032" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.277924" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.277906" elapsed="0.000194"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.279288" level="INFO">${return_list_reference} = [1]</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-11T23:20:05.278707" elapsed="0.000608"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.279814" level="INFO">${return_list_copy} = [1]</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-11T23:20:05.279474" elapsed="0.000365"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:20:05.279884" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:20:05.280040" level="INFO">${index_list} = [1]</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-11T23:20:05.278320" elapsed="0.001744"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:20:05.285724" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.285611" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.285566" elapsed="0.000226"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:20:05.286966" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.286860" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.286841" elapsed="0.000193"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:05.287475" level="INFO">${karaf_connection_index} = 63</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="PASS" start="2026-04-11T23:20:05.287173" elapsed="0.000328"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.287915" level="INFO">${current_connection_index} = 64</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:05.287689" elapsed="0.000252"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.291220" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.288418" elapsed="0.004235">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:05.292847" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:20:05.292894" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.288094" elapsed="0.004823"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.293700" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.293423" elapsed="0.000936">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:05.294612" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:20:05.294658" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.293085" elapsed="0.001596"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.295613" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Deconfigure_Devices"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.294979" elapsed="0.000697">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Deconfigure_Devices"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:05.294760" elapsed="0.000982">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Deconfigure_Devices"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:20:05.294740" elapsed="0.001035">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Deconfigure_Devices"</status>
</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-04-11T23:20:05.295930" elapsed="0.000023"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.296153" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.296016" elapsed="0.000188"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:05.295999" elapsed="0.000228"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.296260" elapsed="0.000015"/>
</return>
<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">
<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-11T23:20:05.298717" elapsed="0.000145"/>
</kw>
<msg time="2026-04-11T23:20:05.298925" 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-11T23:20:05.297692" elapsed="0.001362"/>
</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-11T23:20:05.299321" elapsed="0.000074"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.299684" elapsed="0.000075"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:20:05.297055" elapsed="0.002811"/>
</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="PASS" start="2026-04-11T23:20:05.296514" elapsed="0.003416"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.286536" elapsed="0.013475">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Deconfigure_Devices"</status>
</kw>
<msg time="2026-04-11T23:20:05.300111" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:05.300154" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Deconfigure_Devices"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:20:05.285939" elapsed="0.014239"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.300362" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.300254" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.300235" elapsed="0.000193"/>
</if>
<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-11T23:20:05.301261" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.301157" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.301139" elapsed="0.000189"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.301618" level="INFO">index=64
host=10.30.171.36
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-11T23:20:05.301722" level="INFO">${current_ssh_connection_object} = index=64
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.301476" elapsed="0.000272"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.302151" level="INFO">{1: 63}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.301894" elapsed="0.000301"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.302594" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.302340" elapsed="0.000298"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:20:05.303140" elapsed="0.000252"/>
</kw>
<msg time="2026-04-11T23:20:05.303489" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:20:05.303558" level="INFO">${old_connection_index} = 63</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-11T23:20:05.302791" elapsed="0.000807"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:05.304555" elapsed="0.000316"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.305911" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.305495" elapsed="0.001451">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.305034" elapsed="0.002011"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.307702" elapsed="0.000276"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.307212" elapsed="0.000847"/>
</kw>
<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="PASS" start="2026-04-11T23:20:05.304005" elapsed="0.004101"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:05.303785" elapsed="0.004370"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.303765" elapsed="0.004415"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:05.309026" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:20:05.308726" elapsed="0.000326"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:20:05.309100" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:20:05.309251" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:20:05.308383" elapsed="0.000891"/>
</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="PASS" start="2026-04-11T23:20:05.309424" elapsed="0.000439"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.310135" level="INFO">index=65
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:20:05.310231" level="INFO">${karaf_connection_object} = index=65
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.310028" elapsed="0.000228"/>
</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="PASS" start="2026-04-11T23:20:05.310400" elapsed="0.002496"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.313319" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:20:05.314694" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:20:05.313057" elapsed="0.002085">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:20:05.329605" elapsed="0.000381"/>
</kw>
<msg time="2026-04-11T23:20:05.330073" 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-11T23:20:05.328069" elapsed="0.002164"/>
</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-11T23:20:05.330390" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.330545" elapsed="0.000020"/>
</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-11T23:20:05.316046" elapsed="0.014631"/>
</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-11T23:20:05.315454" elapsed="0.015270"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.300867" elapsed="0.029936">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.331132" elapsed="0.000026"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.331204" elapsed="0.000018"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.285237" elapsed="0.046069">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:20:05.331409" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:05.331453" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:20:05.280420" elapsed="0.051129"/>
</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-11T23:20:05.332030" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.331781" elapsed="0.000303"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.331760" elapsed="0.000347"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:20:05.280284" elapsed="0.051847"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:20:05.280116" elapsed="0.052046"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:20:05.277555" elapsed="0.054662"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:20:05.272606" elapsed="0.059666"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.272134" elapsed="0.060183"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:20:05.268856" elapsed="0.063512"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.332902" level="INFO">${timeout} = 5000</msg>
<var>${timeout}</var>
<arg>${DEVICE_COUNT}*${TIMEOUT_FACTOR}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:20:05.332525" elapsed="0.000404"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:20:05.333771" level="INFO">${current_Date} = 2026-04-11 23:20:05.334</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:20:05.333600" elapsed="0.000197"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:20:05.334256" level="INFO">${deadline_Date} = 2026-04-12 00:43:25.334</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:20:05.333943" elapsed="0.000339"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.334806" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:20:05.334441" elapsed="0.000409"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.335304" level="INFO">Repeating keyword, round 1/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:20:05.338853" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.336587" elapsed="0.002312"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.336361" elapsed="0.002560"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:20:05.339218" level="INFO">${current_Date} = 2026-04-11 23:20:05.339</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:20:05.339066" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:20:05.339776" level="INFO">${ellapsed_seconds} = 4999.995</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:20:05.339391" elapsed="0.000412"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.340106" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.339876" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.339857" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:20:05.336143" elapsed="0.004087"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.340761" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:20:05.340374" elapsed="0.000414"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="Deconfigure_Device" owner="NetconfKeywords">
<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-11T23:20:05.350738" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.350627" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.350606" elapsed="0.000200"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.352056" level="INFO">${return_list_reference} = [1]</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-11T23:20:05.351670" elapsed="0.000413"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.352528" level="INFO">${return_list_copy} = [1]</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-11T23:20:05.352238" elapsed="0.000315"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:20:05.352615" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:20:05.352772" level="INFO">${index_list} = [1]</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-11T23:20:05.351029" elapsed="0.001767"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:20:05.359245" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.359134" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.359114" elapsed="0.000202"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:20:05.361005" elapsed="0.000038"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.360805" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.360745" elapsed="0.000378"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:05.362523" level="INFO">${karaf_connection_index} = 65</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="PASS" start="2026-04-11T23:20:05.362030" elapsed="0.000568"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.365121" level="INFO">${current_connection_index} = 64</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:05.363479" elapsed="0.001696"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.367071" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.366876" elapsed="0.000837">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:05.367995" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:20:05.368098" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.366235" elapsed="0.001911"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.369840" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.369648" elapsed="0.000679">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:05.370706" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:20:05.370809" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.369067" elapsed="0.001789"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.371785" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.371366" elapsed="0.000481">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:05.371002" elapsed="0.000936">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:20:05.370940" elapsed="0.001045">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</status>
</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-04-11T23:20:05.372916" elapsed="0.000056"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.373368" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.373105" elapsed="0.000338"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:05.373046" elapsed="0.000435"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.373562" elapsed="0.000067"/>
</return>
<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">
<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-11T23:20:05.376257" elapsed="0.000142"/>
</kw>
<msg time="2026-04-11T23:20:05.376440" 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-11T23:20:05.375809" elapsed="0.000696"/>
</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-11T23:20:05.376677" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.376836" 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-11T23:20:05.375422" elapsed="0.001494"/>
</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="PASS" start="2026-04-11T23:20:05.374283" elapsed="0.002725"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.360104" elapsed="0.017029">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</status>
</kw>
<msg time="2026-04-11T23:20:05.377411" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:05.377455" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:20:05.359466" elapsed="0.018012"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.377693" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.377555" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.377536" elapsed="0.000269"/>
</if>
<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-11T23:20:05.378890" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.378708" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.378564" elapsed="0.000452"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.379282" level="INFO">index=64
host=10.30.171.36
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-11T23:20:05.379420" level="INFO">${current_ssh_connection_object} = index=64
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.379166" elapsed="0.000295"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.380147" level="INFO">{1: 65}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.379693" elapsed="0.000562"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.380914" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.380458" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:20:05.382143" elapsed="0.000409"/>
</kw>
<msg time="2026-04-11T23:20:05.382774" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:20:05.382846" level="INFO">${old_connection_index} = 65</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-11T23:20:05.381229" elapsed="0.001751"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:05.384529" elapsed="0.000159"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.385378" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.385226" elapsed="0.000769">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.384903" elapsed="0.001154"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.386832" elapsed="0.000100"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.386279" elapsed="0.000699"/>
</kw>
<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="PASS" start="2026-04-11T23:20:05.383534" elapsed="0.003500"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:05.383158" elapsed="0.004010"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.383137" elapsed="0.004058"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:05.388910" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:20:05.388398" elapsed="0.000619"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:20:05.389111" elapsed="0.000045"/>
</return>
<msg time="2026-04-11T23:20:05.389452" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:20:05.387396" elapsed="0.002095"/>
</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="PASS" start="2026-04-11T23:20:05.389740" elapsed="0.001028"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.391329" level="INFO">index=66
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:20:05.391462" level="INFO">${karaf_connection_object} = index=66
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.391213" elapsed="0.000307"/>
</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="PASS" start="2026-04-11T23:20:05.391739" elapsed="0.002465"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.395185" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:20:05.399665" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:20:05.394437" elapsed="0.005658">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:20:05.405143" elapsed="0.000147"/>
</kw>
<msg time="2026-04-11T23:20:05.405332" 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-11T23:20:05.404696" elapsed="0.000746"/>
</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-11T23:20:05.405660" elapsed="0.000024"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.405862" elapsed="0.000022"/>
</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-11T23:20:05.401984" elapsed="0.004023"/>
</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-11T23:20:05.400457" elapsed="0.005642"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.378252" elapsed="0.027965">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.406641" elapsed="0.000027"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.406717" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.358743" elapsed="0.048078">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:20:05.406924" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:05.406967" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:20:05.353159" elapsed="0.053832"/>
</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-11T23:20:05.407317" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.407068" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.407050" elapsed="0.000343"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:20:05.353018" elapsed="0.054398"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:20:05.352848" elapsed="0.054597"/>
</for>
<arg>Deconfiguring device ${current_name}</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-11T23:20:05.348565" elapsed="0.058960"/>
</kw>
<kw name="Remove_Device_From_Netconf" owner="NetconfKeywords">
<kw name="Pop From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:05.408343" level="FAIL">Dictionary does not contain key 'netconf-scaling-device-1'.</msg>
<var>${device_type}</var>
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${device_name}</arg>
<doc>Pops the given ``key`` from the ``dictionary`` and returns its value.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.408104" elapsed="0.000299">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<var>${mapping}</var>
<arg>DEVICE_NAME=${device_name}</arg>
<arg>RESTCONF_ROOT=${RESTCONF_ROOT}</arg>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.408680" elapsed="0.000024"/>
</kw>
<kw name="Set_Variable_If_At_Least_Scandium" owner="CompareStream">
<var>${version}</var>
<arg>scandium</arg>
<arg>calcium</arg>
<doc>Compare scandium to titanium and return ${value_if_true} if titanium is at least scandium, return ${value_if_false} otherwise.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.420038" elapsed="0.000030"/>
</kw>
<kw name="Delete_Templated" owner="TemplatedRequests">
<arg>${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${version}${/}${device_type}</arg>
<arg>${mapping}</arg>
<arg>session=${session}</arg>
<arg>location=${location}</arg>
<doc>Resolve URI from folder, issue DELETE request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.420292" elapsed="0.000024"/>
</kw>
<arg>${current_name}</arg>
<doc>Tell Netconf to deconfigure the specified device</doc>
<status status="FAIL" start="2026-04-11T23:20:05.407744" elapsed="0.012700">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Device ${current_name} deconfigured</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="NOT RUN" start="2026-04-11T23:20:05.425169" elapsed="0.000030"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Operation for deconfiguring the device.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.341440" elapsed="0.083855">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.340940" elapsed="0.084406">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.425508" elapsed="0.000022"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.425715" elapsed="0.000021"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="FAIL" start="2026-04-11T23:20:05.335496" elapsed="0.090329">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.335005" elapsed="0.090890">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<arg>NetconfKeywords.Deconfigure_Device</arg>
<arg>timeout=${timeout}</arg>
<status status="FAIL" start="2026-04-11T23:20:05.333141" elapsed="0.092896">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<kw name="Report Failure Due To Bug" owner="Utils" type="TEARDOWN">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.427202" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:20:05.426795" elapsed="0.000434"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:20:05.427446" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.427304" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.427285" elapsed="0.000253"/>
</if>
<kw name="Comment" owner="BuiltIn">
<arg>Jira tickets are {PROJECT}-{NUMBER} while Bugzilla tickets are {NUMBER}</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-11T23:20:05.427712" elapsed="0.000211"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="Should Contain" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.428834" level="FAIL">'4547' does not contain '-'</msg>
<arg>${number}</arg>
<arg>-</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.428431" elapsed="0.000465">'4547' does not contain '-'</status>
</kw>
<msg time="2026-04-11T23:20:05.428988" level="INFO">${match} = False</msg>
<var>${match}</var>
<arg>Should Contain</arg>
<arg>${number}</arg>
<arg>-</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:20:05.428081" elapsed="0.000932"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.429501" level="INFO">${bug_url} = https://bugs.opendaylight.org/show_bug.cgi?id=4547</msg>
<var>${bug_url}</var>
<arg>${match}</arg>
<arg>https://jira.opendaylight.org/browse/${number}</arg>
<arg>https://bugs.opendaylight.org/show_bug.cgi?id=${number}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:20:05.429173" elapsed="0.000354"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.429982" level="INFO">${msg} = This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=4547</msg>
<var>${msg}</var>
<arg>This test fails due to ${bug_url}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:05.429698" elapsed="0.000309"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.430441" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:20:05.430156" elapsed="0.000311"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.430985" level="INFO">Set test message to:
This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=4547

Dictionary does not contain key 'netconf-scaling-device-1'.</msg>
<arg>${msg}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:20:05.430629" elapsed="0.000401"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.431408" level="INFO">This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=4547</msg>
<arg>${msg}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.431177" elapsed="0.000275"/>
</kw>
<if>
<branch type="IF" condition="&quot;${include_bug_in_tags}&quot;==&quot;True&quot;">
<kw name="Set Tags" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.432118" level="INFO">Set tag 'https://bugs.opendaylight.org/show_bug.cgi?id=4547'.</msg>
<arg>${bug_url}</arg>
<doc>Adds given ``tags`` for the current test or all tests in a suite.</doc>
<status status="PASS" start="2026-04-11T23:20:05.431781" elapsed="0.000383"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:05.431532" elapsed="0.000665"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.431513" elapsed="0.000709"/>
</if>
<arg>4547</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:20:05.426429" elapsed="0.005838"/>
</kw>
<doc>Make requests to deconfigure the testtool devices.</doc>
<tag>https://bugs.opendaylight.org/show_bug.cgi?id=4547</tag>
<status status="FAIL" start="2026-04-11T23:20:05.268353" elapsed="0.163959">This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=4547

Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</test>
<test id="s1-s4-t6" name="Check_Devices_Are_Deconfigured" line="81">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:20:05.435501" elapsed="0.000222"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:20:05.435229" elapsed="0.000548"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:20:05.436739" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.436631" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.436612" elapsed="0.000194"/>
</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-11T23:20:05.442153" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.442046" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.442027" elapsed="0.000193"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.445790" level="INFO">${return_list_reference} = [1]</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-11T23:20:05.442825" elapsed="0.002993"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.446268" level="INFO">${return_list_copy} = [1]</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-11T23:20:05.445974" elapsed="0.000319"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:20:05.446339" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:20:05.446493" level="INFO">${index_list} = [1]</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-11T23:20:05.442438" elapsed="0.004082"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:20:05.453096" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.452986" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.452966" elapsed="0.000198"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:20:05.454292" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.454185" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.454166" elapsed="0.000193"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:05.454819" level="INFO">${karaf_connection_index} = 66</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="PASS" start="2026-04-11T23:20:05.454498" elapsed="0.000347"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.455208" level="INFO">${current_connection_index} = 64</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:05.454995" elapsed="0.000238"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.455983" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.455745" elapsed="0.000853">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:05.456780" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:20:05.456824" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.455386" elapsed="0.001461"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.457586" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.457339" elapsed="0.003805">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:05.461329" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:20:05.461374" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.457009" elapsed="0.004388"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.462299" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Check_Devices_Are_Deconfigured"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.461713" elapsed="0.000798">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Check_Devices_Are_Deconfigured"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:05.461473" elapsed="0.001122">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Check_Devices_Are_Deconfigured"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:20:05.461454" elapsed="0.001175">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Check_Devices_Are_Deconfigured"</status>
</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-04-11T23:20:05.462786" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.463006" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.462871" elapsed="0.000186"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:05.462854" elapsed="0.000226"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.463112" elapsed="0.000015"/>
</return>
<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">
<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-11T23:20:05.465487" elapsed="0.000199"/>
</kw>
<msg time="2026-04-11T23:20:05.465746" 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-11T23:20:05.464503" elapsed="0.001393"/>
</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-11T23:20:05.466167" elapsed="0.000072"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.466482" elapsed="0.000071"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:20:05.463907" elapsed="0.002771"/>
</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="PASS" start="2026-04-11T23:20:05.463359" elapsed="0.003381"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.453885" elapsed="0.012936">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Check_Devices_Are_Deconfigured"</status>
</kw>
<msg time="2026-04-11T23:20:05.466920" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:05.466963" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getmulti.Check_Devices_Are_Deconfigured"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:20:05.453310" elapsed="0.013676"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.467206" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.467097" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.467077" elapsed="0.000195"/>
</if>
<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-11T23:20:05.468083" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.467978" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.467960" elapsed="0.000190"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.468409" level="INFO">index=64
host=10.30.171.36
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-11T23:20:05.468509" level="INFO">${current_ssh_connection_object} = index=64
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.468296" elapsed="0.000239"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.468963" level="INFO">{1: 66}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.468709" elapsed="0.000298"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.469391" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.469152" elapsed="0.000282"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:20:05.470003" elapsed="0.000252"/>
</kw>
<msg time="2026-04-11T23:20:05.470350" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:20:05.470396" level="INFO">${old_connection_index} = 66</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-11T23:20:05.469650" elapsed="0.000768"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:05.471214" elapsed="0.000192"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.472457" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.472074" elapsed="0.001217">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.471614" elapsed="0.001773"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.474078" elapsed="0.000262"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.473551" elapsed="0.000869"/>
</kw>
<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="PASS" start="2026-04-11T23:20:05.470724" elapsed="0.003740"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:05.470493" elapsed="0.004019"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.470474" elapsed="0.004062"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:05.475363" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:20:05.475065" elapsed="0.000324"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:20:05.475436" elapsed="0.000045"/>
</return>
<msg time="2026-04-11T23:20:05.475619" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:20:05.474751" elapsed="0.000893"/>
</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="PASS" start="2026-04-11T23:20:05.475793" elapsed="0.000388"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.476451" level="INFO">index=67
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:20:05.476549" level="INFO">${karaf_connection_object} = index=67
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.476343" elapsed="0.000257"/>
</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="PASS" start="2026-04-11T23:20:05.476745" elapsed="0.002367"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.479537" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:20:05.480293" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:20:05.479267" elapsed="0.001418">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:20:05.493802" elapsed="0.000376"/>
</kw>
<msg time="2026-04-11T23:20:05.494263" 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-11T23:20:05.492555" elapsed="0.001853"/>
</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-11T23:20:05.494561" elapsed="0.000234"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.494934" elapsed="0.000020"/>
</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-11T23:20:05.481481" elapsed="0.013532"/>
</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-11T23:20:05.480985" elapsed="0.014074"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.467690" elapsed="0.027447">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.495490" elapsed="0.000027"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.495565" elapsed="0.000032"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.452456" elapsed="0.043229">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:20:05.495787" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:05.495830" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:20:05.447941" elapsed="0.047911"/>
</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-11T23:20:05.496173" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.495928" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.495910" elapsed="0.000338"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:20:05.447802" elapsed="0.048469"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:20:05.447621" elapsed="0.048679"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:20:05.441684" elapsed="0.054669"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:20:05.436334" elapsed="0.060073"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.435923" elapsed="0.060528"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:20:05.433140" elapsed="0.063361"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.497041" level="INFO">${timeout} = 5000</msg>
<var>${timeout}</var>
<arg>${DEVICE_COUNT}*${TIMEOUT_FACTOR}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:20:05.496680" elapsed="0.000388"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:20:05.498105" level="INFO">${current_Date} = 2026-04-11 23:20:05.498</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:20:05.497953" elapsed="0.000178"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:20:05.498562" level="INFO">${deadline_Date} = 2026-04-12 00:43:25.498</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:20:05.498274" elapsed="0.000330"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.499102" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:20:05.498764" elapsed="0.000379"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.499619" level="INFO">Repeating keyword, round 1/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:20:05.500713" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.500604" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.500560" elapsed="0.000216"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:20:05.501062" level="INFO">${current_Date} = 2026-04-11 23:20:05.501</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:20:05.500915" elapsed="0.000173"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:20:05.501526" level="INFO">${ellapsed_seconds} = 4999.997</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:20:05.501231" elapsed="0.000453"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.501986" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.501760" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.501742" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:20:05.500340" elapsed="0.001767"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.502620" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:20:05.502248" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="Check_Device_Deconfigured" owner="NetconfKeywords">
<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-11T23:20:05.510286" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.510179" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.510161" elapsed="0.000193"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.511322" level="INFO">${return_list_reference} = [1]</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-11T23:20:05.510950" elapsed="0.000398"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.511834" level="INFO">${return_list_copy} = [1]</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-11T23:20:05.511514" elapsed="0.000346"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:20:05.511905" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:20:05.512057" level="INFO">${index_list} = [1]</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-11T23:20:05.510581" elapsed="0.001500"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:20:05.517502" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.517394" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.517376" elapsed="0.000219"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:20:05.519221" elapsed="0.000037"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.519025" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.518967" elapsed="0.000372"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:05.520760" level="INFO">${karaf_connection_index} = 67</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="PASS" start="2026-04-11T23:20:05.520259" elapsed="0.000551"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.522140" level="INFO">${current_connection_index} = 64</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:05.521689" elapsed="0.000500"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.523863" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.523672" elapsed="0.000612">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:05.524557" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:20:05.524677" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.523104" elapsed="0.001620"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.526349" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.526164" elapsed="0.000684">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:20:05.527123" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:20:05.527223" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.525630" elapsed="0.001639"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.528321" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to disappear"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.527814" elapsed="0.000568">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to disappear"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:05.527412" elapsed="0.001056">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to disappear"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:20:05.527351" elapsed="0.001165">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to disappear"</status>
</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-04-11T23:20:05.529472" elapsed="0.000056"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.530009" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.529746" elapsed="0.000342"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:05.529686" elapsed="0.000439"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.530200" elapsed="0.000040"/>
</return>
<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">
<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-11T23:20:05.532873" elapsed="0.000138"/>
</kw>
<msg time="2026-04-11T23:20:05.533053" 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-11T23:20:05.532416" elapsed="0.000698"/>
</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-11T23:20:05.533264" elapsed="0.000021"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.533419" 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-11T23:20:05.532066" elapsed="0.001432"/>
</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="PASS" start="2026-04-11T23:20:05.530910" elapsed="0.002698"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.518320" elapsed="0.015415">Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to disappear"</status>
</kw>
<msg time="2026-04-11T23:20:05.534013" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:05.534057" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Waiting for device netconf-scaling-device-1 to disappear"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:20:05.517744" elapsed="0.016337"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.534263" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.534157" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.534138" elapsed="0.000190"/>
</if>
<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-11T23:20:05.535292" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.535120" elapsed="0.000269"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.535102" elapsed="0.000313"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.535833" level="INFO">index=64
host=10.30.171.36
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-11T23:20:05.535970" level="INFO">${current_ssh_connection_object} = index=64
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.535719" elapsed="0.000292"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.536673" level="INFO">{1: 67}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.536210" elapsed="0.000570"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.537415" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.536982" elapsed="0.000539"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:20:05.538700" elapsed="0.000402"/>
</kw>
<msg time="2026-04-11T23:20:05.539230" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:20:05.539301" level="INFO">${old_connection_index} = 67</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-11T23:20:05.537747" elapsed="0.001591"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:20:05.540916" elapsed="0.000142"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.541755" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.541606" elapsed="0.000606">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.541271" elapsed="0.001002"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.542842" elapsed="0.000096"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:20:05.542491" elapsed="0.000492"/>
</kw>
<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="PASS" start="2026-04-11T23:20:05.539941" elapsed="0.003097"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:05.539524" elapsed="0.003647"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.539504" elapsed="0.003734"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:20:05.545075" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:20:05.544565" elapsed="0.000616"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:20:05.545273" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:20:05.545625" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:20:05.543473" elapsed="0.002192"/>
</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="PASS" start="2026-04-11T23:20:05.545879" elapsed="0.000933"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.547469" level="INFO">index=68
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:20:05.547711" level="INFO">${karaf_connection_object} = index=68
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:20:05.547181" elapsed="0.000573"/>
</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="PASS" start="2026-04-11T23:20:05.547956" elapsed="0.002407"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:20:05.551261" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:20:05.552519" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:20:05.550630" elapsed="0.002306">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:20:05.557994" elapsed="0.000146"/>
</kw>
<msg time="2026-04-11T23:20:05.558182" 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-11T23:20:05.557539" elapsed="0.000704"/>
</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-11T23:20:05.558438" elapsed="0.000023"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.558665" elapsed="0.000024"/>
</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-11T23:20:05.554821" elapsed="0.003990"/>
</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-11T23:20:05.553289" elapsed="0.005611"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.534793" elapsed="0.024221">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.559419" elapsed="0.000040"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.559507" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.517060" elapsed="0.042674">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:20:05.559838" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:20:05.559881" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:20:05.512429" elapsed="0.047475"/>
</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-11T23:20:05.560225" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.559980" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.559961" elapsed="0.000340"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:20:05.512293" elapsed="0.048031"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:20:05.512130" elapsed="0.048222"/>
</for>
<arg>Waiting for device ${current_name} to disappear</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-11T23:20:05.508150" elapsed="0.052256"/>
</kw>
<kw name="Wait_Device_Fully_Removed" owner="NetconfKeywords">
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.582755" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:05.580714" elapsed="0.002068"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.583114" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:05.582968" elapsed="0.000203"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.582853" elapsed="0.000344"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.583525" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.583276" elapsed="0.000549"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.584556" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:05.584083" elapsed="0.000515"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:05.583850" elapsed="0.000785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.584822" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.584659" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:05.583258" elapsed="0.001639"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:05.584951" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:20:05.585243" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:05.579943" elapsed="0.005344"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:05.585349" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:05.585667" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:05.578750" elapsed="0.006993"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.594397" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.594143" elapsed="0.000300"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:05.594884" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:05.594637" elapsed="0.000290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:05.599840" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.597097" elapsed="0.004315">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:05.595014" elapsed="0.006482">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.601696" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:05.601534" elapsed="0.000226"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:05.594994" elapsed="0.006789">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.602197" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.602349" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:05.602312" elapsed="0.000077"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:05.602294" elapsed="0.000117"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.602565" elapsed="0.000047"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.602679" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.589422" elapsed="0.013429">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.602975" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.586125" elapsed="0.017032">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.603528" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.603790" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:05.603967" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:05.562518" elapsed="0.041555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.604235" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.562079" elapsed="0.042267">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.611703" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:05.615233" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.561587" elapsed="0.053773">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:06.141583" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:06.139401" elapsed="0.002219"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.142004" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:06.141852" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.141711" elapsed="0.000382"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.142452" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:06.142187" elapsed="0.000321"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:06.143277" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:06.142776" elapsed="0.000529"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:06.142533" elapsed="0.000808"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.143527" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:06.143365" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:06.142164" elapsed="0.001456"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:06.143681" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:20:06.143991" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:06.138589" elapsed="0.005448"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:06.144100" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:06.144454" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:06.137458" elapsed="0.007075"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:06.153817" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:06.153432" elapsed="0.000432"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:06.154285" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:06.154037" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:06.159049" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.156537" elapsed="0.004194">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:06.154417" elapsed="0.006404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.161005" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:06.160855" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:06.154397" elapsed="0.006695">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.161514" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.161684" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:06.161646" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:06.161626" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.161903" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.161988" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.148446" elapsed="0.013733">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.162270" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.145170" elapsed="0.017281">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.162866" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.163110" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.163319" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:06.118516" elapsed="0.044912">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.163608" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.117465" elapsed="0.046257">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.170861" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.174491" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.116106" elapsed="0.058548">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:06.701677" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:06.699541" elapsed="0.002168"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.702076" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:06.701924" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.701795" elapsed="0.000366"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.702509" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:06.702249" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:06.703339" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:06.702833" elapsed="0.000533"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:06.702606" elapsed="0.000796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.703800" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:06.703427" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:06.702228" elapsed="0.001651"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:06.703936" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:06.704245" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:06.698742" elapsed="0.005549"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:06.704352" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:06.704670" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:06.697442" elapsed="0.007306"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:06.713520" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:06.713259" elapsed="0.000321"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:06.713998" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:06.713750" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:06.718763" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.716246" elapsed="0.004388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:06.714130" elapsed="0.006596">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.720914" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:06.720760" elapsed="0.000219"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:06.714110" elapsed="0.006892">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.721492" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.721662" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:06.721624" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:06.721605" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.721887" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.721972" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.708559" elapsed="0.013591">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.722241" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.705135" elapsed="0.017288">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.722805" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.723062" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:06.723243" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:06.677919" elapsed="0.045433">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.723515" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.676871" elapsed="0.046784">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.730970" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:06.734507" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:06.675471" elapsed="0.059178">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:07.260450" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:07.258325" elapsed="0.002153"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.260958" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:07.260692" elapsed="0.000327"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.260554" elapsed="0.000492"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.261375" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:07.261132" elapsed="0.000341"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:07.262239" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:07.261755" elapsed="0.000511"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:07.261499" elapsed="0.000802"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.262485" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:07.262325" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:07.261113" elapsed="0.001447"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:07.262631" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:20:07.262951" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:07.257548" elapsed="0.005448"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:07.263057" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:07.263355" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:07.256475" elapsed="0.006959"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:07.272639" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:07.272346" elapsed="0.000341"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:07.273109" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:07.272860" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:07.277954" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.275278" elapsed="0.004264">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:07.273241" elapsed="0.006425">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.279851" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:07.279701" elapsed="0.000220"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:07.273220" elapsed="0.006724">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.280349" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.280505" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:07.280468" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:07.280448" elapsed="0.000135"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.280747" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.280835" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.267360" elapsed="0.013649">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.281100" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.264113" elapsed="0.017170">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.281696" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.281943" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.282124" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:07.237491" elapsed="0.044741">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.282397" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.236465" elapsed="0.046047">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.289614" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.293205" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.235278" elapsed="0.058055">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:07.820952" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:07.818659" elapsed="0.002325"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.821345" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:07.821195" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.821066" elapsed="0.000365"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.821790" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:07.821519" elapsed="0.000328"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:07.822787" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:07.822098" elapsed="0.000720"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:07.821872" elapsed="0.000985"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.823045" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:07.822882" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:07.821498" elapsed="0.001623"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:07.823177" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:07.823479" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:07.817833" elapsed="0.005692"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:07.823604" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:07.823912" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:07.816721" elapsed="0.007268"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:07.832833" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:07.832553" elapsed="0.000328"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:07.833297" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:07.833050" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:07.838118" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.835532" elapsed="0.004267">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:07.833487" elapsed="0.006400">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.840072" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:07.839921" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:07.833466" elapsed="0.006693">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.840565" elapsed="0.000044"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.840739" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:07.840702" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:07.840683" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.840958" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.841044" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.827853" elapsed="0.013365">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.841307" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.824371" elapsed="0.017117">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.841875" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.842119" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:07.842294" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:07.796455" elapsed="0.045945">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.842561" elapsed="0.000037"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.795433" elapsed="0.047270">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.850104" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:07.853666" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:07.794070" elapsed="0.059755">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:08.380150" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:08.378031" elapsed="0.002150"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.380543" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:08.380394" elapsed="0.000225"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.380264" elapsed="0.000386"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.380995" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:08.380738" elapsed="0.000314"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:08.381792" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:08.381302" elapsed="0.000518"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:08.381077" elapsed="0.000778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.382040" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:08.381880" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:08.380718" elapsed="0.001398"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:08.382173" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:08.382494" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:08.377202" elapsed="0.005339"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:08.382836" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:20:08.383134" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:08.376089" elapsed="0.007122"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:08.392324" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:08.392063" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:08.392801" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:08.392538" elapsed="0.000307"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:08.397512" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.395022" elapsed="0.004245">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:08.392932" elapsed="0.006423">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.399539" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:08.399388" elapsed="0.000231"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:08.392911" elapsed="0.006732">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.400055" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.400208" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:08.400171" elapsed="0.000130"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:08.400152" elapsed="0.000174"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.400486" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.400587" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.387371" elapsed="0.013396">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.400858" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.383614" elapsed="0.017426">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.401398" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.401656" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.401836" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:08.356966" elapsed="0.044976">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.402103" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.355944" elapsed="0.046270">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.409255" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.412845" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.354636" elapsed="0.058336">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:08.942015" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:08.939928" elapsed="0.002116"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.942411" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:08.942262" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.942121" elapsed="0.000374"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.942847" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:08.942595" elapsed="0.000310"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:08.943644" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:08.943152" elapsed="0.000519"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:08.942928" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.943890" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:08.943732" elapsed="0.000261"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:08.942561" elapsed="0.001455"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:08.944071" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:20:08.944373" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:08.939139" elapsed="0.005279"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:08.944480" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:20:08.944996" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:08.938044" elapsed="0.007030"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:08.953794" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:08.953520" elapsed="0.000321"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:08.954267" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:08.954008" elapsed="0.000303"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:08.959513" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.956399" elapsed="0.004769">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:08.954397" elapsed="0.006859">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.961436" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:08.961289" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:08.954378" elapsed="0.007146">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.961944" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.962098" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:08.962060" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:08.962042" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.962332" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.962419" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.948732" elapsed="0.013878">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.962703" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.945457" elapsed="0.017430">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.963248" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.963489" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:08.963682" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:08.915892" elapsed="0.047898">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.963986" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.914874" elapsed="0.049226">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.971289" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:08.974992" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:08.913643" elapsed="0.061478">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:09.502170" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:09.500064" elapsed="0.002137"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.502560" elapsed="0.000150"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:09.502412" elapsed="0.000334"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:09.502285" elapsed="0.000489"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.503119" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:09.502863" elapsed="0.000313"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:09.503918" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:09.503425" elapsed="0.000520"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:09.503200" elapsed="0.000781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.504166" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:09.504006" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:09.502843" elapsed="0.001399"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:09.504299" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:20:09.504617" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:09.499269" elapsed="0.005394"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:09.504725" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:09.505018" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:09.498157" elapsed="0.006940"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:09.514173" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:09.513896" elapsed="0.000324"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:09.514724" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:09.514388" elapsed="0.000381"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:09.519601" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:09.516859" elapsed="0.004357">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:09.514857" elapsed="0.006501">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.521544" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:09.521393" elapsed="0.000233"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:09.514837" elapsed="0.006812">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.522078" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:09.522234" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:09.522197" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:09.522176" elapsed="0.000137"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.522513" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:09.522638" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:09.509143" elapsed="0.013677">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:09.522911" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:09.505480" elapsed="0.017612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.523449" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.523709" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:09.523889" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:09.478096" elapsed="0.045899">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.524157" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:09.477043" elapsed="0.047226">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.531309" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:09.534832" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:09.475812" elapsed="0.059146">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:10.061968" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:10.059766" elapsed="0.002236"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.062639" elapsed="0.000025"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:10.062446" elapsed="0.000259"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.062300" elapsed="0.000435"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.063104" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:10.062835" elapsed="0.000328"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:10.064600" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:10.063414" elapsed="0.001214"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:10.063188" elapsed="0.001477"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.064853" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:10.064690" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:10.062813" elapsed="0.002117"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:10.064990" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:20:10.065310" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:10.058907" elapsed="0.006450"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:10.065422" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:10.065743" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:10.057393" elapsed="0.008468"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:10.075350" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:10.074796" elapsed="0.000614"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:10.075994" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:10.075739" elapsed="0.000299"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:10.081088" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.078341" elapsed="0.004516">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:10.076146" elapsed="0.006823">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.083245" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:10.083013" elapsed="0.000300"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:10.076118" elapsed="0.007219">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.083907" elapsed="0.000030"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.084080" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:10.084038" elapsed="0.000089"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:10.084016" elapsed="0.000133"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.084308" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.084394" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.069920" elapsed="0.014681">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.084875" elapsed="0.000042"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.066290" elapsed="0.018774">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.085436" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.085699" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.085917" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:10.037143" elapsed="0.048886">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.086193" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.036483" elapsed="0.049824">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.209128" elapsed="0.000060"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.212829" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.035614" elapsed="0.177370">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:10.740413" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:10.738211" elapsed="0.002234"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.740827" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:10.740675" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.740530" elapsed="0.000386"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.741264" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:10.741005" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:10.742091" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:10.741609" elapsed="0.000510"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:10.741346" elapsed="0.000808"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.742340" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:10.742179" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:10.740984" elapsed="0.001433"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:10.742474" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:10.743042" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:10.737383" elapsed="0.005705"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:10.743149" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:10.743442" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:10.736263" elapsed="0.007257"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:10.752303" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:10.752040" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:10.752783" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:10.752518" elapsed="0.000309"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:10.757546" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.755061" elapsed="0.004189">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:10.752914" elapsed="0.006424">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.759522" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:10.759373" elapsed="0.000230"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:10.752894" elapsed="0.006734">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.760043" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.760199" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:10.760161" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:10.760142" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.760420" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.760505" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.747368" elapsed="0.013329">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.760794" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.743985" elapsed="0.016989">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.761328" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.761595" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:10.761776" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:10.716111" elapsed="0.045772">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.762044" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.715100" elapsed="0.047056">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.769229" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:10.772937" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:10.713827" elapsed="0.059237">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:11.302076" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:11.299964" elapsed="0.002144"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.302477" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:11.302326" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.302195" elapsed="0.000368"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.303040" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:11.302779" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:11.303851" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:11.303348" elapsed="0.000530"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:11.303121" elapsed="0.000793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.304101" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:11.303939" elapsed="0.000218"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:11.302757" elapsed="0.001420"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:11.304232" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:11.304535" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:11.299160" elapsed="0.005435"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:11.304657" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:11.304955" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:11.298036" elapsed="0.006996"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:11.314435" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:11.314172" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:11.314912" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:11.314665" elapsed="0.000290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:11.319770" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.317095" elapsed="0.004327">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:11.315043" elapsed="0.006467">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.321709" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:11.321544" elapsed="0.000230"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:11.315022" elapsed="0.006775">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.322269" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.322425" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:11.322387" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:11.322368" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.322661" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.322749" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.308945" elapsed="0.013985">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.323020" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.305448" elapsed="0.017754">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.323560" elapsed="0.000038"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.323820" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.323999" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:11.276348" elapsed="0.047756">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.324265" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.275149" elapsed="0.049227">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.331435" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.334998" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.273878" elapsed="0.061247">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:11.863156" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:11.861058" elapsed="0.002130"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.863553" elapsed="0.000142"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:11.863404" elapsed="0.000329"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.863275" elapsed="0.000486"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.864109" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:11.863850" elapsed="0.000377"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:11.864987" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:11.864482" elapsed="0.000533"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:11.864253" elapsed="0.000798"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.865273" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:11.865075" elapsed="0.000255"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:11.863829" elapsed="0.001522"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:11.865409" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:11.865728" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:11.860251" elapsed="0.005522"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:11.865836" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:11.866129" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:11.859104" elapsed="0.007102"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:11.875043" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:11.874781" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:11.875505" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:11.875257" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:11.880464" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.877762" elapsed="0.004387">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:11.875728" elapsed="0.006511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.882427" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:11.882273" elapsed="0.000219"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:11.875706" elapsed="0.006809">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.882965" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.883123" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:11.883084" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:11.883065" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.883342" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.883428" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.870084" elapsed="0.013553">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.883730" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.866607" elapsed="0.017305">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.884321" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.884564" elapsed="0.000038"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:11.884764" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:11.838262" elapsed="0.046613">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.885038" elapsed="0.000235"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.837245" elapsed="0.048129">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.892469" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:11.896040" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:11.835945" elapsed="0.060225">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:12.426005" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:12.423903" elapsed="0.002134"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.426404" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:12.426253" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:12.426124" elapsed="0.000366"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.427130" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:12.426714" elapsed="0.000476"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:12.427943" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:12.427443" elapsed="0.000527"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:12.427215" elapsed="0.000791"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.428190" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:12.428030" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:12.426558" elapsed="0.001708"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:12.428323" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:12.428643" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:12.423091" elapsed="0.005598"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:12.428751" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:12.429063" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:12.421953" elapsed="0.007188"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:12.438163" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:12.437898" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:12.438714" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:12.438377" elapsed="0.000381"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:12.443485" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:12.440918" elapsed="0.004271">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:12.438907" elapsed="0.006369">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.445459" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:12.445310" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:12.438886" elapsed="0.006660">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.445987" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:12.446142" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:12.446104" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:12.446085" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.446361" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:12.446448" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:12.433179" elapsed="0.013477">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:12.446748" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:12.429531" elapsed="0.017400">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.447286" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.447529" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:12.447721" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:12.399462" elapsed="0.048367">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.447992" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:12.398446" elapsed="0.049657">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.455181" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.458726" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:12.397003" elapsed="0.061892">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:12.989237" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:12.987124" elapsed="0.002144"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.989655" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:12.989483" elapsed="0.000231"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:12.989353" elapsed="0.000389"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.990095" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:12.989836" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:12.990894" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:12.990402" elapsed="0.000519"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:12.990177" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:12.991142" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:12.990982" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:12.989815" elapsed="0.001403"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:12.991274" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:12.991803" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:12.986323" elapsed="0.005528"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:12.991914" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:12.992207" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:12.985216" elapsed="0.007068"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:13.001021" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:13.000745" elapsed="0.000323"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:13.001484" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:13.001235" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:13.006221" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:13.003719" elapsed="0.004407">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:13.001631" elapsed="0.006581">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.008394" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:13.008246" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:13.001610" elapsed="0.006872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.008931" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:13.009085" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:13.009047" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:13.009029" elapsed="0.000175"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.009362" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:13.009448" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:12.996077" elapsed="0.013571">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:13.009740" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:12.992686" elapsed="0.017240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.010278" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.010520" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:13.010720" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:12.962027" elapsed="0.048802">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.010991" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:12.961013" elapsed="0.050090">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.018358" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.021954" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:12.959711" elapsed="0.062373">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:13.548882" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:13.546686" elapsed="0.002228"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.549280" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:13.549129" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:13.548999" elapsed="0.000368"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.549735" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:13.549457" elapsed="0.000337"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:13.550532" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:13.550052" elapsed="0.000507"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:13.549819" elapsed="0.000792"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.550800" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:13.550637" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:13.549435" elapsed="0.001506"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:13.550998" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:13.551303" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:13.545886" elapsed="0.005462"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:13.551410" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:13.551729" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:13.544786" elapsed="0.007020"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:13.560892" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:13.560527" elapsed="0.000414"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:13.561364" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:13.561112" elapsed="0.000297"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:13.566160" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:13.563503" elapsed="0.004319">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:13.561497" elapsed="0.006416">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.568097" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:13.567947" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:13.561477" elapsed="0.006708">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.568664" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:13.568823" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:13.568782" elapsed="0.000087"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:13.568763" elapsed="0.000127"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.569046" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:13.569132" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:13.555819" elapsed="0.013488">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:13.569398" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:13.552195" elapsed="0.017402">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.569956" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.570199" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:13.570375" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:13.525154" elapsed="0.045328">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.570709" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:13.524120" elapsed="0.046705">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.577949" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:13.581478" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:13.522841" elapsed="0.058780">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:14.108255" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:14.106140" elapsed="0.002148"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.108699" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:14.108532" elapsed="0.000227"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.108399" elapsed="0.000388"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.109142" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:14.108881" elapsed="0.000320"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:14.109954" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:14.109452" elapsed="0.000529"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:14.109225" elapsed="0.000792"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.110202" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:14.110042" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:14.108860" elapsed="0.001419"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:14.110335" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:14.110891" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:14.105330" elapsed="0.005607"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:14.110999" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:14.111288" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:14.104027" elapsed="0.007339"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:14.120064" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:14.119788" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:14.120564" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:14.120281" elapsed="0.000343"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:14.125193" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.122807" elapsed="0.004092">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:14.120716" elapsed="0.006332">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.127234" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:14.127084" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:14.120695" elapsed="0.006626">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.127795" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.127964" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:14.127923" elapsed="0.000087"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:14.127903" elapsed="0.000129"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.128194" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.128285" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.115121" elapsed="0.013391">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.128644" elapsed="0.000042"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.111768" elapsed="0.017067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.129198" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.129447" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.129662" elapsed="0.000020"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:14.084806" elapsed="0.044969">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.129946" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.083735" elapsed="0.046327">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.137435" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.141078" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.082381" elapsed="0.058829">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:14.670679" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:14.668471" elapsed="0.002241"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.671144" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:14.670993" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.670857" elapsed="0.000374"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.671793" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:14.671324" elapsed="0.000529"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:14.672624" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:14.672114" elapsed="0.000538"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:14.671879" elapsed="0.000809"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.672874" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:14.672713" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:14.671302" elapsed="0.001648"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:14.673008" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:14.673312" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:14.667624" elapsed="0.005734"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:14.673420" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:14.673730" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:14.666504" elapsed="0.007302"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:14.684178" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:14.683902" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:14.684657" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:14.684394" elapsed="0.000308"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:14.689362" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.686792" elapsed="0.004240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:14.684789" elapsed="0.006331">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.691302" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:14.691154" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:14.684769" elapsed="0.006620">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.691810" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.691962" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:14.691925" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:14.691906" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.692196" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.692284" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.679157" elapsed="0.013301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.692602" elapsed="0.000042"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.674189" elapsed="0.018599">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.693144" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.693384" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:14.693561" elapsed="0.000032"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:14.644375" elapsed="0.049309">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.693847" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.643292" elapsed="0.050667">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.700980" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:14.704532" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:14.641997" elapsed="0.062672">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:15.234307" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:15.232183" elapsed="0.002155"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.234717" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:15.234552" elapsed="0.000224"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.234420" elapsed="0.000384"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.235149" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:15.234891" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:15.235976" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:15.235458" elapsed="0.000546"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:15.235231" elapsed="0.000809"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.236225" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:15.236065" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:15.234871" elapsed="0.001431"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:15.236358" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:20:15.236675" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:15.231375" elapsed="0.005346"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:15.236782" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:20:15.237104" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:15.230257" elapsed="0.006928"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:15.246366" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:15.246104" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:15.246848" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:15.246596" elapsed="0.000298"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:15.251800" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.249024" elapsed="0.004421">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:15.246981" elapsed="0.006551">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.253749" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:15.253566" elapsed="0.000249"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:15.246961" elapsed="0.006877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.254251" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.254406" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:15.254369" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:15.254350" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.254641" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.254729" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.241158" elapsed="0.013747">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.254996" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.237909" elapsed="0.017270">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.255538" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.255797" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.255994" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:15.207893" elapsed="0.048208">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.256262" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.206545" elapsed="0.049829">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.264606" elapsed="0.000039"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.269621" elapsed="0.000035"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.205244" elapsed="0.064555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:15.795944" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:15.793752" elapsed="0.002229"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.796345" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:15.796195" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.796066" elapsed="0.000365"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.796794" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:15.796519" elapsed="0.000333"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:15.797592" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:15.797100" elapsed="0.000520"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:15.796875" elapsed="0.000781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.797842" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:15.797681" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:15.796498" elapsed="0.001420"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:15.797975" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:20:15.798286" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:15.792962" elapsed="0.005369"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:15.798393" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:15.798703" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:15.791868" elapsed="0.006912"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:15.807852" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:15.807497" elapsed="0.000410"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:15.808330" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:15.808082" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:15.813109" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.810461" elapsed="0.004304">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:15.808461" elapsed="0.006391">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.815038" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:15.814885" elapsed="0.000218"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:15.808441" elapsed="0.006685">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.815621" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.815792" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:15.815753" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:15.815721" elapsed="0.000136"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.816014" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.816100" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.802662" elapsed="0.013612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.816364" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.799165" elapsed="0.017380">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.816921" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.817164" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:15.817341" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:15.772204" elapsed="0.045244">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.817630" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.771532" elapsed="0.046212">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.824842" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:15.828402" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:15.770539" elapsed="0.057989">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:16.355516" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:16.352528" elapsed="0.003225"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.356201" elapsed="0.000032"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:16.356018" elapsed="0.000251"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.355871" elapsed="0.000429"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.356671" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:16.356394" elapsed="0.000420"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:16.357564" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:16.357073" elapsed="0.000534"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:16.356840" elapsed="0.000802"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.357950" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:16.357666" elapsed="0.000343"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:16.356374" elapsed="0.001656"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:16.358087" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:20:16.358401" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:16.351756" elapsed="0.006691"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:16.358509" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:16.358993" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:16.350626" elapsed="0.008445"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:16.367723" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:16.367417" elapsed="0.000354"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:16.368188" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:16.367941" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:16.372942" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.370422" elapsed="0.004206">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:16.368321" elapsed="0.006394">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.374897" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:16.374749" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:16.368300" elapsed="0.006684">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.375389" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.375584" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:16.375505" elapsed="0.000126"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:16.375486" elapsed="0.000166"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.375809" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.375895" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.362731" elapsed="0.013339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.376160" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.359457" elapsed="0.016884">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.376769" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.377017" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.377196" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:16.330469" elapsed="0.046834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.377463" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.329847" elapsed="0.047744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.385011" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.388544" elapsed="0.000038"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.329045" elapsed="0.059638">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:16.914951" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:16.912863" elapsed="0.002120"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.915336" elapsed="0.000045"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:16.915187" elapsed="0.000235"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.915063" elapsed="0.000386"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.915798" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:16.915537" elapsed="0.000323"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:16.916595" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:16.916109" elapsed="0.000514"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:16.915884" elapsed="0.000774"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.916840" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:16.916682" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:16.915517" elapsed="0.001398"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:16.916970" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:20:16.917265" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:16.912072" elapsed="0.005238"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:16.917372" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:16.917907" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:16.910960" elapsed="0.007026"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:16.926859" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:16.926594" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:16.927319" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:16.927074" elapsed="0.000321"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:16.932339" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.929669" elapsed="0.004354">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:16.927546" elapsed="0.006563">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.934291" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:16.934142" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:16.927524" elapsed="0.006853">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.934790" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.934944" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:16.934907" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:16.934889" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.935162" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.935249" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.921725" elapsed="0.013735">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.935553" elapsed="0.000056"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.918364" elapsed="0.017386">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.936105" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.936345" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:16.936519" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:16.891601" elapsed="0.045044">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.936808" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.890532" elapsed="0.046387">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.943954" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:16.947529" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:16.889308" elapsed="0.058398">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:17.475762" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:17.473664" elapsed="0.002128"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.476150" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:17.475995" elapsed="0.000213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:17.475869" elapsed="0.000365"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.476566" elapsed="0.000168"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:17.476320" elapsed="0.000450"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:17.477495" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:17.477021" elapsed="0.000501"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:17.476794" elapsed="0.000763"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.477757" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:17.477597" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:17.476301" elapsed="0.001531"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:17.477888" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:20:17.478186" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:17.472878" elapsed="0.005353"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:17.478291" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:17.478597" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:17.471773" elapsed="0.006904"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:17.487471" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:17.487210" elapsed="0.000308"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:17.487951" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:17.487702" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:17.492667" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:17.490151" elapsed="0.004130">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:17.488085" elapsed="0.006281">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.494549" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:17.494400" elapsed="0.000229"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:17.488065" elapsed="0.006587">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.495056" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:17.495238" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:17.495201" elapsed="0.000124"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:17.495181" elapsed="0.000168"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.495508" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:17.495609" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:17.482516" elapsed="0.013271">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:17.495877" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:17.479060" elapsed="0.017003">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.496421" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.496692" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:17.496873" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:17.450513" elapsed="0.046468">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.497142" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:17.449503" elapsed="0.047750">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.504480" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:17.508081" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:17.448310" elapsed="0.059898">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:18.036035" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:18.033842" elapsed="0.002223"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.036413" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:18.036263" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.036140" elapsed="0.000359"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.036855" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:18.036603" elapsed="0.000310"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:18.037667" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:18.037169" elapsed="0.000526"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:18.036937" elapsed="0.000794"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.037917" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:18.037756" elapsed="0.000265"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:18.036564" elapsed="0.001479"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:18.038099" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:20:18.038397" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:18.033054" elapsed="0.005388"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:18.038504" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:18.038813" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:18.031983" elapsed="0.006908"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:18.047988" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:18.047723" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:18.048458" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:18.048207" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:18.053206" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.050616" elapsed="0.004228">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:18.048605" elapsed="0.006326">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.055126" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:18.054976" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:18.048584" elapsed="0.006631">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.055649" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.055802" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:18.055765" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:18.055747" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.056023" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.056111" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.042762" elapsed="0.013523">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.056376" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.039299" elapsed="0.017258">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.056929" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.057170" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.057345" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:18.011117" elapsed="0.046335">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.057666" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.010074" elapsed="0.047709">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.065027" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.068610" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.008870" elapsed="0.059873">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:18.598381" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:18.596160" elapsed="0.002257"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.598851" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:18.598668" elapsed="0.000243"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.598511" elapsed="0.000429"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.599304" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:18.599037" elapsed="0.000324"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:18.600111" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:18.599628" elapsed="0.000510"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:18.599385" elapsed="0.000789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.600360" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:18.600199" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:18.599014" elapsed="0.001422"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:18.600495" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:20:18.600829" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:18.595332" elapsed="0.005543"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:18.600938" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:18.601232" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:18.593970" elapsed="0.007340"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:18.610211" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:18.609941" elapsed="0.000316"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:18.610687" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:18.610424" elapsed="0.000306"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:18.615750" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.612833" elapsed="0.004621">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:18.610829" elapsed="0.006797">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.617815" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:18.617664" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:18.610808" elapsed="0.007094">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.618322" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.618475" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:18.618438" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:18.618419" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.618711" elapsed="0.000046"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.618826" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.605236" elapsed="0.013766">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.619096" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.601976" elapsed="0.017301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.619644" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.619888" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:18.620061" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:18.572291" elapsed="0.047878">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.620330" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.571162" elapsed="0.049281">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.627676" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:18.631255" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:18.569670" elapsed="0.061713">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:19.159820" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:19.157717" elapsed="0.002136"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.160329" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:19.160170" elapsed="0.000218"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.160024" elapsed="0.000394"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.160920" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:19.160518" elapsed="0.000460"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:19.161727" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:19.161231" elapsed="0.000524"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:19.161004" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.161973" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:19.161816" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:19.160495" elapsed="0.001556"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:19.162111" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:20:19.162417" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:19.156916" elapsed="0.005547"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:19.162525" elapsed="0.000093"/>
</return>
<msg time="2026-04-11T23:20:19.162862" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:19.155793" elapsed="0.007144"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:19.177662" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:19.177026" elapsed="0.000746"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:19.178761" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:19.178150" elapsed="0.000711"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:19.186157" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.183465" elapsed="0.004416">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:19.179063" elapsed="0.008909">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.188162" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:19.188008" elapsed="0.000218"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:19.179017" elapsed="0.009232">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.188736" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.188903" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:19.188862" elapsed="0.000087"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:19.188843" elapsed="0.000128"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.189130" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.189218" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.168848" elapsed="0.020555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.189553" elapsed="0.000060"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.163324" elapsed="0.026440">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.190132" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.190382" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.190605" elapsed="0.000020"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:19.134628" elapsed="0.056090">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.190885" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.133546" elapsed="0.057455">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.198165" elapsed="0.000030"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.201713" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.132212" elapsed="0.069631">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:19.729111" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:19.726742" elapsed="0.002404"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.729527" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:19.729372" elapsed="0.000242"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.729235" elapsed="0.000410"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.729999" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:19.729737" elapsed="0.000320"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:19.730820" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:19.730310" elapsed="0.000537"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:19.730081" elapsed="0.000802"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.731071" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:19.730907" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:19.729715" elapsed="0.001435"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:19.731207" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:20:19.731513" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:19.725901" elapsed="0.005657"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:19.731636" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:19.731934" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:19.724798" elapsed="0.007222"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:19.741013" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:19.740750" elapsed="0.000316"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:19.741480" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:19.741233" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:19.746533" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.743748" elapsed="0.004472">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:19.741627" elapsed="0.006681">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.748492" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:19.748342" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:19.741606" elapsed="0.006989">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.749005" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.749158" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:19.749121" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:19.749103" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.749377" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.749464" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.736001" elapsed="0.013657">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.749750" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.732480" elapsed="0.017452">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.750290" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.750557" elapsed="0.000046"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:19.750758" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:19.705082" elapsed="0.045783">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.751027" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.704051" elapsed="0.047087">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.758401" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:19.761974" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:19.702693" elapsed="0.059408">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:20.290245" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:20.287961" elapsed="0.002316"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.290777" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:20.290502" elapsed="0.000335"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.290366" elapsed="0.000500"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.291239" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:20.290962" elapsed="0.000335"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:20.292042" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:20.291547" elapsed="0.000522"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:20.291321" elapsed="0.000783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.292286" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:20.292128" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:20.290937" elapsed="0.001424"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:20.292419" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:20.292741" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:20.287159" elapsed="0.005627"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:20.292848" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:20.293140" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:20.286045" elapsed="0.007172"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:20.302223" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:20.301946" elapsed="0.000324"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:20.302778" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:20.302439" elapsed="0.000385"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:20.307614" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.304928" elapsed="0.004343">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:20.302912" elapsed="0.006448">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.309559" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:20.309395" elapsed="0.000245"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:20.302891" elapsed="0.006772">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.310180" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.310337" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:20.310300" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:20.310281" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.310596" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.310686" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.297093" elapsed="0.013771">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.310955" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.293617" elapsed="0.017524">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.311501" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.311762" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.311942" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:20.265256" elapsed="0.046792">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.312212" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.264219" elapsed="0.048105">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.319416" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.322961" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.262906" elapsed="0.060182">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:20.851994" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:20.849815" elapsed="0.002211"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.852391" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:20.852241" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.852108" elapsed="0.000368"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.852838" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:20.852563" elapsed="0.000391"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:20.853706" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:20.853210" elapsed="0.000523"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:20.852979" elapsed="0.000790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.853978" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:20.853794" elapsed="0.000241"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:20.852542" elapsed="0.001514"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:20.854120" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:20.854424" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:20.849014" elapsed="0.005455"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:20.854531" elapsed="0.000066"/>
</return>
<msg time="2026-04-11T23:20:20.854844" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:20.847905" elapsed="0.007017"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:20.863904" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:20.863565" elapsed="0.000387"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:20.864367" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:20.864119" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:20.869560" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.866541" elapsed="0.004702">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:20.864499" elapsed="0.006830">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.871512" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:20.871363" elapsed="0.000241"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:20.864479" elapsed="0.007149">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.872037" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.872196" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:20.872158" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:20.872139" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.872414" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.872499" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.858800" elapsed="0.013899">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.872791" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.855309" elapsed="0.017664">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.873370" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.873628" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:20.873806" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:20.826237" elapsed="0.047678">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.874090" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.825182" elapsed="0.049021">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.881874" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:20.885451" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:20.823883" elapsed="0.061711">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:21.415479" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:21.412842" elapsed="0.002670"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.415893" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:21.415743" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.415611" elapsed="0.000371"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.416335" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:21.416075" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:21.417136" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:21.416658" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:21.416417" elapsed="0.000781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.417382" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:21.417223" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:21.416054" elapsed="0.001404"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:21.417516" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:21.417860" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:21.411726" elapsed="0.006180"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:21.417969" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:21.418259" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:21.410143" elapsed="0.008194"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:21.427537" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:21.427246" elapsed="0.000357"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:21.428040" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:21.427781" elapsed="0.000305"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:21.433322" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.430309" elapsed="0.004719">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:21.428237" elapsed="0.006877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.435296" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:21.435148" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:21.428216" elapsed="0.007168">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.435810" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.435964" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:21.435928" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:21.435909" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.436183" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.436270" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.422183" elapsed="0.014260">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.436532" elapsed="0.000056"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.418901" elapsed="0.017832">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.437085" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.437329" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.437504" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:21.388735" elapsed="0.048892">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.437803" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.387706" elapsed="0.050210">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.444930" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.448495" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.386383" elapsed="0.062284">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:21.974367" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:21.972238" elapsed="0.002160"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.974925" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:21.974773" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.974478" elapsed="0.000535"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.975357" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:21.975101" elapsed="0.000313"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:21.976161" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:21.975678" elapsed="0.000511"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:21.975437" elapsed="0.000787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.976409" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:21.976250" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:21.975081" elapsed="0.001405"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:21.976541" elapsed="0.000048"/>
</return>
<msg time="2026-04-11T23:20:21.976857" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:21.971440" elapsed="0.005462"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:21.976964" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:21.977255" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:21.970305" elapsed="0.007028"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:21.986206" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:21.985940" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:21.986759" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:21.986420" elapsed="0.000385"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:21.991623" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.988927" elapsed="0.004325">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:21.986898" elapsed="0.006440">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.993520" elapsed="0.000042"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:21.993372" elapsed="0.000269"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:21.986873" elapsed="0.006796">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.994108" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.994269" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:21.994232" elapsed="0.000187"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:21.994213" elapsed="0.000240"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.994647" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.994737" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.981142" elapsed="0.013772">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.995005" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.977774" elapsed="0.017414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.995547" elapsed="0.000037"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.995808" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:21.995990" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:21.951725" elapsed="0.044372">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:21.996265" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.950708" elapsed="0.045670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.003719" elapsed="0.000033"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.007361" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:21.949358" elapsed="0.058133">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:22.535176" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:22.532554" elapsed="0.002654"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.535591" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:22.535426" elapsed="0.000224"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:22.535294" elapsed="0.000384"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.536026" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:22.535767" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:22.536830" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:22.536333" elapsed="0.000524"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:22.536107" elapsed="0.000787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.537078" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:22.536918" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:22.535746" elapsed="0.001482"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:22.537285" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:22.537673" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:22.531447" elapsed="0.006272"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:22.537781" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:22.538075" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:22.529861" elapsed="0.008293"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:22.547068" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:22.546802" elapsed="0.000314"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:22.547536" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:22.547286" elapsed="0.000310"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:22.552563" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:22.549736" elapsed="0.004506">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:22.547686" elapsed="0.006644">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.554515" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:22.554364" elapsed="0.000240"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:22.547665" elapsed="0.006964">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.555048" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:22.555207" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:22.555164" elapsed="0.000086"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:22.555145" elapsed="0.000127"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.555428" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:22.555514" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:22.541924" elapsed="0.013783">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:22.555797" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:22.538547" elapsed="0.017431">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.556334" elapsed="0.000027"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.556595" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:22.556772" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:22.509651" elapsed="0.047228">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.557085" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:22.508967" elapsed="0.048232">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.564253" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:22.567833" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:22.508084" elapsed="0.059879">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:23.089094" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:23.086946" elapsed="0.002180"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.089501" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:23.089351" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.089221" elapsed="0.000381"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.089949" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:23.089690" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:23.090754" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:23.090262" elapsed="0.000519"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:23.090031" elapsed="0.000785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.091000" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:23.090841" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:23.089669" elapsed="0.001406"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:23.091131" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:23.091433" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:23.086151" elapsed="0.005327"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:23.091539" elapsed="0.000255"/>
</return>
<msg time="2026-04-11T23:20:23.092039" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:23.085041" elapsed="0.007075"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:23.100799" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:23.100523" elapsed="0.000324"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:23.101276" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:23.101014" elapsed="0.000307"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:23.106167" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.103559" elapsed="0.004325">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:23.101408" elapsed="0.006616">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.108211" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:23.108060" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:23.101388" elapsed="0.006910">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.108721" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.108875" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:23.108838" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:23.108819" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.109095" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.109198" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.095844" elapsed="0.013536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.109471" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.092497" elapsed="0.017173">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.110031" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.110274" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.110454" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:23.070062" elapsed="0.040499">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.110745" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.069605" elapsed="0.041253">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.118059" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.121632" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.068758" elapsed="0.053000">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:23.649298" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:23.647219" elapsed="0.002110"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.649756" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:23.649605" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.649462" elapsed="0.000379"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.650184" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:23.649928" elapsed="0.000313"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:23.651140" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:23.650495" elapsed="0.000672"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:23.650266" elapsed="0.000937"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.651389" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:23.651229" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:23.649908" elapsed="0.001558"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:23.651523" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:20:23.651841" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:23.646423" elapsed="0.005465"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:23.651950" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:23.652242" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:23.645333" elapsed="0.006986"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:23.662973" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:23.662711" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:23.663436" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:23.663188" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:23.668415" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.665606" elapsed="0.004459">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:23.663581" elapsed="0.006571">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.670334" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:23.670185" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:23.663548" elapsed="0.006874">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.670861" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.671021" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:23.670984" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:23.670965" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.671241" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.671327" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.657971" elapsed="0.013530">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.671650" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.652716" elapsed="0.019118">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.672189" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.672429" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:23.672654" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:23.624725" elapsed="0.048040">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.672942" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.623701" elapsed="0.049354">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.680093" elapsed="0.000026"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:23.683623" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:23.622405" elapsed="0.061343">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:24.211450" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:24.209135" elapsed="0.002348"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.211860" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:24.211711" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.211579" elapsed="0.000367"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.212303" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:24.212037" elapsed="0.000323"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:24.213277" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:24.212797" elapsed="0.000508"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:24.212384" elapsed="0.000956"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.213526" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:24.213365" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:24.212016" elapsed="0.001604"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:24.213678" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:24.213997" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:24.208309" elapsed="0.005733"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:24.214106" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:24.214402" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:24.207164" elapsed="0.007342"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:24.223423" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:24.223159" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:24.223903" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:24.223654" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:24.228908" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.226125" elapsed="0.004456">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:24.224035" elapsed="0.006635">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.230854" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:24.230705" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:24.224015" elapsed="0.006926">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.231359" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.231513" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:24.231476" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:24.231457" elapsed="0.000136"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.231750" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.231837" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.218487" elapsed="0.013525">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.232102" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.215026" elapsed="0.017257">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.232672" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.232929" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.233106" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:24.186856" elapsed="0.046357">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.233374" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.185844" elapsed="0.047643">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.240824" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.244337" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.184511" elapsed="0.059952">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:24.765415" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:24.763217" elapsed="0.002231"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.765832" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:24.765679" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.765532" elapsed="0.000386"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.766267" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:24.766007" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:24.767074" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:24.766590" elapsed="0.000512"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:24.766349" elapsed="0.000789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.767325" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:24.767163" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:24.765986" elapsed="0.001415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:24.767458" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:24.767990" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:24.762411" elapsed="0.005625"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:24.768098" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:24.768390" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:24.761217" elapsed="0.007251"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:24.777420" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:24.777154" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:24.777905" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:24.777654" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:24.782819" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.780132" elapsed="0.004368">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:24.778037" elapsed="0.006585">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.784806" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:24.784657" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:24.778017" elapsed="0.006877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.785375" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.785530" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:24.785492" elapsed="0.000097"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:24.785473" elapsed="0.000140"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.785771" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.785859" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.772261" elapsed="0.013777">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.786130" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.768891" elapsed="0.017420">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.786687" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.786933" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:24.787111" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:24.746323" elapsed="0.040894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.787381" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.745866" elapsed="0.041629">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.794565" elapsed="0.000039"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:24.798142" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:24.745159" elapsed="0.053112">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:25.327040" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:25.324893" elapsed="0.002180"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.327446" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:25.327294" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.327160" elapsed="0.000375"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.327917" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:25.327643" elapsed="0.000414"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:25.329137" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:25.328326" elapsed="0.000840"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:25.328085" elapsed="0.001118"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.329398" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:25.329229" elapsed="0.000227"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:25.327620" elapsed="0.001857"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:25.329536" elapsed="0.000057"/>
</return>
<msg time="2026-04-11T23:20:25.329887" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:25.324040" elapsed="0.005895"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:25.330000" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:20:25.330301" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:25.322914" elapsed="0.007466"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:25.339177" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:25.338906" elapsed="0.000321"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:25.339668" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:25.339398" elapsed="0.000317"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:25.344533" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.341919" elapsed="0.004357">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:25.339806" elapsed="0.006559">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.346549" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:25.346399" elapsed="0.000246"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:25.339785" elapsed="0.006883">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.347085" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.347242" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:25.347204" elapsed="0.000084"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:25.347185" elapsed="0.000128"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.347469" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.347557" elapsed="0.000032"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.334144" elapsed="0.013612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.347849" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.330784" elapsed="0.017255">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.348457" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.348738" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.348932" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:25.301526" elapsed="0.047518">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.349210" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.300457" elapsed="0.048869">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.356690" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.360258" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.299105" elapsed="0.061299">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:25.889213" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:25.887055" elapsed="0.002191"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.889744" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:25.889471" elapsed="0.000334"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.889338" elapsed="0.000496"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.890194" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:25.889928" elapsed="0.000324"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:25.891009" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:25.890509" elapsed="0.000528"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:25.890278" elapsed="0.000795"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.891259" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:25.891098" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:25.889906" elapsed="0.001430"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:25.891394" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:20:25.891715" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:25.886255" elapsed="0.005505"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:25.891822" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:25.892112" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:25.885122" elapsed="0.007095"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:25.902529" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:25.902220" elapsed="0.000410"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:25.903110" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:25.902829" elapsed="0.000331"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:25.909303" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.906022" elapsed="0.005189">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:25.903355" elapsed="0.007953">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.911490" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:25.911342" elapsed="0.000211"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:25.903329" elapsed="0.008263">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.912009" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.912181" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:25.912142" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:25.912107" elapsed="0.000138"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.912402" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.912489" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.896263" elapsed="0.016420">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.912774" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.892627" elapsed="0.020327">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.913307" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.913548" elapsed="0.000045"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:25.913748" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:25.863782" elapsed="0.050072">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.914016" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.862714" elapsed="0.051414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.921247" elapsed="0.000032"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:25.924972" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:25.861306" elapsed="0.063835">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:26.452347" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:26.450216" elapsed="0.002164"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.452859" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:26.452705" elapsed="0.000214"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:26.452464" elapsed="0.000482"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.453297" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:26.453036" elapsed="0.000319"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:26.454102" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:26.453621" elapsed="0.000508"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:26.453379" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.454354" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:26.454190" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:26.453015" elapsed="0.001415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:26.454488" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:26.454809" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:26.449402" elapsed="0.005454"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:26.454920" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:26.455215" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:26.448257" elapsed="0.007037"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:26.464180" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:26.463905" elapsed="0.000323"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:26.464736" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:26.464397" elapsed="0.000384"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:26.469460" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:26.466881" elapsed="0.004240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:26.464869" elapsed="0.006339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.471393" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:26.471242" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:26.464849" elapsed="0.006631">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.471910" elapsed="0.000044"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:26.472082" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:26.472045" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:26.472027" elapsed="0.000178"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.472370" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:26.472456" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:26.459218" elapsed="0.013447">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:26.472758" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:26.455703" elapsed="0.017240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.473304" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.473549" elapsed="0.000036"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:26.473747" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:26.427379" elapsed="0.046476">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.474019" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:26.426711" elapsed="0.047420">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.481442" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:26.485006" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:26.425810" elapsed="0.059327">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:27.013206" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:27.011110" elapsed="0.002128"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.013718" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:27.013455" elapsed="0.000324"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.013325" elapsed="0.000482"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.014155" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:27.013896" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:27.014957" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:27.014462" elapsed="0.000523"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:27.014236" elapsed="0.000785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.015205" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:27.015046" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:27.013875" elapsed="0.001484"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:27.015417" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:27.015761" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:27.010310" elapsed="0.005499"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:27.015871" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:27.016164" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:27.009193" elapsed="0.007049"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:27.025214" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:27.024950" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:27.025784" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:27.025430" elapsed="0.000399"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:27.030482" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:27.027952" elapsed="0.004221">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:27.025918" elapsed="0.006343">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.032444" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:27.032295" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:27.025898" elapsed="0.006635">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.032966" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.033121" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:27.033084" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:27.033065" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.033341" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.033427" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:27.020122" elapsed="0.013498">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.033713" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:27.016648" elapsed="0.017248">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.034256" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.034500" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.034698" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:26.988270" elapsed="0.046534">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.035026" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:26.987226" elapsed="0.047915">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.042301" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.045867" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:26.985950" elapsed="0.060046">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:27.572318" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:27.570224" elapsed="0.002129"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.572739" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:27.572582" elapsed="0.000216"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.572439" elapsed="0.000387"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.573175" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:27.572914" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:27.574127" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:27.573479" elapsed="0.000676"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:27.573256" elapsed="0.000934"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.574374" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:27.574215" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:27.572893" elapsed="0.001557"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:27.574506" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:27.574827" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:27.569347" elapsed="0.005526"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:27.574935" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:27.575229" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:27.568236" elapsed="0.007071"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:27.584078" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:27.583817" elapsed="0.000308"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:27.584538" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:27.584292" elapsed="0.000305"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:27.589358" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:27.586829" elapsed="0.004189">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:27.584686" elapsed="0.006473">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.591348" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:27.591195" elapsed="0.000220"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:27.584666" elapsed="0.006773">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.591890" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.592043" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:27.592006" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:27.591988" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.592262" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.592348" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:27.579118" elapsed="0.013403">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.592635" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:27.575717" elapsed="0.017101">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.593173" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.593415" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:27.593608" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:27.549226" elapsed="0.044490">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.593878" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:27.548200" elapsed="0.045789">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.601234" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:27.604777" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:27.546863" elapsed="0.058043">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:28.133084" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:28.130822" elapsed="0.002294"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.133594" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:28.133429" elapsed="0.000225"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.133297" elapsed="0.000384"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.134031" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:28.133772" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:28.134827" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:28.134336" elapsed="0.000518"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:28.134113" elapsed="0.000777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.135072" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:28.134914" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:28.133751" elapsed="0.001404"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:28.135212" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:28.135551" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:28.129968" elapsed="0.005643"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:28.135674" elapsed="0.000058"/>
</return>
<msg time="2026-04-11T23:20:28.135972" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:28.128873" elapsed="0.007174"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:28.147221" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:28.146958" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:28.147720" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:28.147450" elapsed="0.000313"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:28.152364" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.149919" elapsed="0.004143">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:28.147853" elapsed="0.006296">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.154331" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:28.154183" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:28.147832" elapsed="0.006586">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.154842" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.154995" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:28.154958" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:28.154940" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.155214" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.155299" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.141930" elapsed="0.013578">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.155664" elapsed="0.000043"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.136427" elapsed="0.019423">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.156208" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.156450" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.156660" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:28.108184" elapsed="0.048585">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.156930" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.107132" elapsed="0.049910">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.164139" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.167711" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.105803" elapsed="0.062035">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:28.695942" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:28.693725" elapsed="0.002249"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.696331" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:28.696181" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.696054" elapsed="0.000368"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.696779" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:28.696508" elapsed="0.000328"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:28.697562" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:28.697085" elapsed="0.000520"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:28.696860" elapsed="0.000781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.697826" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:28.697666" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:28.696488" elapsed="0.001415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:28.697959" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:28.698260" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:28.692930" elapsed="0.005374"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:28.698366" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:28.698853" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:28.691835" elapsed="0.007096"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:28.707686" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:28.707406" elapsed="0.000328"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:28.708156" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:28.707903" elapsed="0.000298"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:28.712987" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.710312" elapsed="0.004371">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:28.708288" elapsed="0.006483">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.714956" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:28.714806" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:28.708268" elapsed="0.006776">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.715473" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.715642" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:28.715605" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:28.715585" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.715862" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.715949" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.702700" elapsed="0.013422">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.716213" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.699408" elapsed="0.016987">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.716774" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.717016" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:28.717191" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:28.670843" elapsed="0.046454">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.717457" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.669822" elapsed="0.047761">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.724910" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:28.728504" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:28.668522" elapsed="0.060133">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:29.255665" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:29.253340" elapsed="0.002356"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.256054" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:29.255903" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.255776" elapsed="0.000363"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.256481" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:29.256226" elapsed="0.000315"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:29.257285" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:29.256808" elapsed="0.000504"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:29.256564" elapsed="0.000784"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.257534" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:29.257372" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:29.256206" elapsed="0.001419"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:29.257681" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:20:29.257982" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:29.252544" elapsed="0.005482"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:29.258087" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:29.258379" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:29.251437" elapsed="0.007019"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:29.267448" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:29.267184" elapsed="0.000311"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:29.267929" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:29.267681" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:29.273043" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.270139" elapsed="0.004568">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:29.268061" elapsed="0.006734">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.275007" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:29.274829" elapsed="0.000245"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:29.268041" elapsed="0.007056">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.275591" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.275748" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:29.275710" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:29.275691" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.275968" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.276054" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.262196" elapsed="0.014035">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.276322" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.258969" elapsed="0.017536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.276886" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.277129" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.277308" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:29.231675" elapsed="0.045740">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.277593" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.230614" elapsed="0.047094">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.284775" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.288363" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.229334" elapsed="0.059156">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:29.816027" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:29.813918" elapsed="0.002141"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.816420" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:29.816269" elapsed="0.000215"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.816141" elapsed="0.000369"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.816871" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:29.816613" elapsed="0.000372"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:29.817905" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:29.817242" elapsed="0.000690"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:29.817011" elapsed="0.000957"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.818155" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:29.817993" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:29.816591" elapsed="0.001640"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:29.818287" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:29.818610" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:29.813110" elapsed="0.005546"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:29.818718" elapsed="0.000080"/>
</return>
<msg time="2026-04-11T23:20:29.819041" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:29.812014" elapsed="0.007104"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:29.827937" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:29.827674" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:29.828400" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:29.828153" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:29.833180" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.830635" elapsed="0.004456">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:29.828538" elapsed="0.006640">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.835361" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:29.835212" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:29.828518" elapsed="0.006930">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.835879" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.836032" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:29.835995" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:29.835977" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.836250" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.836336" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.822977" elapsed="0.013538">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.836622" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.819506" elapsed="0.017298">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.837195" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.837442" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:29.837643" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:29.791485" elapsed="0.046267">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.837914" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.790439" elapsed="0.047589">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.845298" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:29.848888" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:29.789189" elapsed="0.059828">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:30.376274" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:30.374122" elapsed="0.002180"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.376759" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:30.376499" elapsed="0.000319"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.376377" elapsed="0.000468"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.377172" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:30.376929" elapsed="0.000300"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:30.377975" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:30.377481" elapsed="0.000521"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:30.377253" elapsed="0.000785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.378221" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:30.378063" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:30.376910" elapsed="0.001388"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:30.378354" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:20:30.378704" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:30.373344" elapsed="0.005406"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:30.378813" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:30.379109" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:30.372226" elapsed="0.006960"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:30.388191" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:30.387931" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:30.388745" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:30.388406" elapsed="0.000384"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:30.393355" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.390954" elapsed="0.004052">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:30.388920" elapsed="0.006173">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.395275" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:30.395127" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:30.388899" elapsed="0.006465">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.395788" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.395941" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:30.395904" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:30.395885" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.396166" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.396251" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.383032" elapsed="0.013391">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.396513" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.379585" elapsed="0.017128">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.397063" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.397304" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.397480" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:30.352083" elapsed="0.045518">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.397763" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.351059" elapsed="0.046817">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.404896" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.408444" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.349846" elapsed="0.058771">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:30.936614" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:30.934501" elapsed="0.002146"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.937012" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:30.936862" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.936731" elapsed="0.000368"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.937446" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:30.937187" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:30.938595" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:30.938066" elapsed="0.000558"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:30.937528" elapsed="0.001132"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.938846" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:30.938686" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:30.937166" elapsed="0.001756"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:30.938978" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:30.939280" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:30.933705" elapsed="0.005621"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:30.939389" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:30.939696" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:30.932561" elapsed="0.007213"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:30.948394" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:30.948133" elapsed="0.000308"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:30.948878" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:30.948629" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:30.953674" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.951130" elapsed="0.004229">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:30.949010" elapsed="0.006436">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.955646" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:30.955480" elapsed="0.000231"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:30.948990" elapsed="0.006744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.956152" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.956306" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:30.956268" elapsed="0.000134"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:30.956250" elapsed="0.000176"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.956599" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.956688" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.943459" elapsed="0.013447">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.956996" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.940163" elapsed="0.017015">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.957543" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.957814" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:30.957992" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:30.911739" elapsed="0.046362">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.958264" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.910705" elapsed="0.047688">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.965818" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:30.969367" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:30.909364" elapsed="0.060132">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:31.505375" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:31.503162" elapsed="0.002246"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.505784" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:31.505634" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:31.505490" elapsed="0.000379"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.506247" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:31.505959" elapsed="0.000347"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:31.507179" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:31.506556" elapsed="0.000650"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:31.506330" elapsed="0.000913"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.507429" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:31.507267" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:31.505938" elapsed="0.001651"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:31.507647" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:31.507951" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:31.502328" elapsed="0.005668"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:31.508058" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:31.508349" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:31.500707" elapsed="0.007720"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:31.517230" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:31.516968" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:31.517711" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:31.517446" elapsed="0.000310"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:31.522406" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:31.519951" elapsed="0.004165">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:31.517845" elapsed="0.006359">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.524384" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:31.524237" elapsed="0.000211"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:31.517824" elapsed="0.006648">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.524893" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:31.525046" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:31.525009" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:31.524990" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.525264" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:31.525349" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:31.512143" elapsed="0.013385">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:31.525635" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:31.508829" elapsed="0.016987">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.526188" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.526431" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:31.526639" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:31.472732" elapsed="0.054013">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.526946" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:31.471689" elapsed="0.055371">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.534136" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:31.537660" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:31.470308" elapsed="0.067479">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:32.066657" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:32.064442" elapsed="0.002247"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.067051" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:32.066903" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.066773" elapsed="0.000364"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.067482" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:32.067224" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:32.068283" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:32.067807" elapsed="0.000503"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:32.067564" elapsed="0.000782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.068534" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:32.068371" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:32.067204" elapsed="0.001423"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:32.068684" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:32.068990" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:32.063643" elapsed="0.005392"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:32.069096" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:32.069390" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:32.062511" elapsed="0.006957"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:32.078596" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:32.078320" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:32.079059" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:32.078813" elapsed="0.000290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:32.083885" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.081187" elapsed="0.004368">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:32.079189" elapsed="0.006528">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.085904" elapsed="0.000051"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:32.085754" elapsed="0.000244"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:32.079169" elapsed="0.006853">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.086434" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.086607" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:32.086552" elapsed="0.000099"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:32.086533" elapsed="0.000140"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.086828" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.086916" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.073555" elapsed="0.013536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.087180" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.070331" elapsed="0.017030">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.087739" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.087982" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.088158" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:32.041017" elapsed="0.047248">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.088426" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.039982" elapsed="0.048555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.095881" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.099466" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.038651" elapsed="0.060959">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:32.627358" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:32.625141" elapsed="0.002250"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.627861" elapsed="0.000027"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:32.627680" elapsed="0.000246"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.627530" elapsed="0.000423"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.628309" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:32.628044" elapsed="0.000324"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:32.629133" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:32.628639" elapsed="0.000521"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:32.628394" elapsed="0.000803"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.629384" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:32.629223" elapsed="0.000218"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:32.628023" elapsed="0.001440"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:32.629520" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:32.629884" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:32.624329" elapsed="0.005602"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:32.629995" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:20:32.630296" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:32.623244" elapsed="0.007130"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:32.641327" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:32.641058" elapsed="0.000316"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:32.641847" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:32.641545" elapsed="0.000348"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:32.646679" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.644061" elapsed="0.004289">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:32.641984" elapsed="0.006456">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.648649" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:32.648475" elapsed="0.000241"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:32.641963" elapsed="0.006777">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.649161" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.649318" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:32.649279" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:32.649260" elapsed="0.000125"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.649543" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.649648" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.636261" elapsed="0.013842">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.650400" elapsed="0.000092"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.630983" elapsed="0.019892">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.651701" elapsed="0.000052"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.652241" elapsed="0.000046"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:32.652668" elapsed="0.000039"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:32.602928" elapsed="0.049977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.653262" elapsed="0.000047"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.601762" elapsed="0.051745">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.667895" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:32.671400" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:32.600286" elapsed="0.071240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:33.199403" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:33.197202" elapsed="0.002233"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.199805" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:33.199657" elapsed="0.000205"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.199514" elapsed="0.000376"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.200232" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:33.199977" elapsed="0.000312"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:33.201189" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:33.200541" elapsed="0.000675"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:33.200312" elapsed="0.000940"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.201437" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:33.201277" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:33.199956" elapsed="0.001558"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:33.201596" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:20:33.201896" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:33.196403" elapsed="0.005538"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:33.202003" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:33.202309" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:33.195307" elapsed="0.007080"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:33.211329" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:33.211068" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:33.211807" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:33.211542" elapsed="0.000309"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:33.216636" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.213971" elapsed="0.004394">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:33.211939" elapsed="0.006518">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.218685" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:33.218493" elapsed="0.000262"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:33.211918" elapsed="0.006862">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.219198" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.219357" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:33.219318" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:33.219298" elapsed="0.000125"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.219598" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.219690" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.206337" elapsed="0.013532">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.219963" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.203043" elapsed="0.017107">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.220515" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.220781" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.220961" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:33.174685" elapsed="0.046385">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.221237" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.173564" elapsed="0.047790">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.228732" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.232302" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.172225" elapsed="0.060203">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:33.759502" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:33.757387" elapsed="0.002148"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.759917" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:33.759764" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.759634" elapsed="0.000370"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.760354" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:33.760094" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:33.761158" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:33.760679" elapsed="0.000506"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:33.760437" elapsed="0.000783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.761428" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:33.761245" elapsed="0.000240"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:33.760072" elapsed="0.001433"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:33.761563" elapsed="0.000252"/>
</return>
<msg time="2026-04-11T23:20:33.762087" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:33.756582" elapsed="0.005550"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:33.762194" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:33.762488" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:33.755468" elapsed="0.007098"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:33.771437" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:33.771173" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:33.771923" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:33.771672" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:33.776734" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.774187" elapsed="0.004233">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:33.772054" elapsed="0.006453">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.778708" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:33.778541" elapsed="0.000233"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:33.772033" elapsed="0.006764">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.779272" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.779428" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:33.779390" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:33.779370" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.779666" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.779754" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.766225" elapsed="0.013707">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.780023" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.762968" elapsed="0.017237">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.780566" elapsed="0.000038"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.780829" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:33.781018" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:33.735663" elapsed="0.045463">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.781290" elapsed="0.000050"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.734618" elapsed="0.046816">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.788611" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:33.792187" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:33.733244" elapsed="0.059069">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:34.318725" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:34.316587" elapsed="0.002170"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.319117" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:34.318966" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.318837" elapsed="0.000365"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.319544" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:34.319289" elapsed="0.000398"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:34.320428" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:34.319950" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:34.319715" elapsed="0.000776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.320881" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:34.320516" elapsed="0.000424"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:34.319268" elapsed="0.001693"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:34.321017" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:20:34.321337" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:34.315794" elapsed="0.005590"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:34.321445" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:34.321759" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:34.314691" elapsed="0.007146"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:34.330706" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:34.330428" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:34.331171" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:34.330922" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:34.335993" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.333402" elapsed="0.004338">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:34.331302" elapsed="0.006525">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.338010" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:34.337861" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:34.331282" elapsed="0.006816">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.338503" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.338671" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:34.338634" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:34.338614" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.338888" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.338974" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.325699" elapsed="0.013449">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.339239" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.322225" elapsed="0.017194">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.339834" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.340078" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.340255" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:34.295275" elapsed="0.045088">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.340526" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.294266" elapsed="0.046400">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.347952" elapsed="0.000037"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.351579" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.292990" elapsed="0.058723">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:34.878926" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:34.876762" elapsed="0.002196"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.879322" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:34.879174" elapsed="0.000205"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.879043" elapsed="0.000364"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.879770" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:34.879495" elapsed="0.000332"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:34.880552" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:34.880077" elapsed="0.000517"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:34.879851" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.880818" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:34.880658" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:34.879474" elapsed="0.001419"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:34.880971" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:20:34.881276" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:34.875964" elapsed="0.005357"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:34.881383" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:34.881689" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:34.874867" elapsed="0.006899"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:34.890993" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:34.890724" elapsed="0.000316"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:34.891458" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:34.891208" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:34.896415" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.893798" elapsed="0.004301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:34.891739" elapsed="0.006448">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.898371" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:34.898220" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:34.891717" elapsed="0.006741">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.898899" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.899054" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:34.899016" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:34.898998" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.899273" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.899360" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.885745" elapsed="0.013791">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.899645" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.882147" elapsed="0.017682">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.900210" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.900453" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:34.900647" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:34.855168" elapsed="0.045588">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.900932" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.854056" elapsed="0.046990">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.908206" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:34.911782" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:34.852620" elapsed="0.059328">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:35.439317" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:35.437048" elapsed="0.002300"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.439722" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:35.439557" elapsed="0.000224"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:35.439429" elapsed="0.000379"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.440150" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:35.439896" elapsed="0.000312"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:35.440983" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:35.440456" elapsed="0.000555"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:35.440232" elapsed="0.000815"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.441233" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:35.441073" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:35.439875" elapsed="0.001436"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:35.441368" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:35.441728" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:35.436220" elapsed="0.005564"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:35.441849" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:35.442140" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:35.435117" elapsed="0.007100"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:35.451087" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:35.450826" elapsed="0.000308"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:35.451551" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:35.451302" elapsed="0.000319"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:35.456231" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:35.453760" elapsed="0.004161">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:35.451711" elapsed="0.006298">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.458190" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:35.458042" elapsed="0.000211"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:35.451691" elapsed="0.006585">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.458718" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:35.458870" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:35.458834" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:35.458816" elapsed="0.000172"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.459153" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:35.459239" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:35.446067" elapsed="0.013345">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:35.459503" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:35.442814" elapsed="0.016889">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.460059" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.460301" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:35.460478" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:35.415076" elapsed="0.045524">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.460780" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:35.414050" elapsed="0.046846">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.468211" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.471807" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:35.412703" elapsed="0.059229">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:35.998352" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:35.996262" elapsed="0.002118"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.998736" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:35.998587" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:35.998454" elapsed="0.000366"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:35.999144" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:35.998905" elapsed="0.000296"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:36.000053" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:35.999446" elapsed="0.000634"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:35.999224" elapsed="0.000892"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.000298" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:36.000141" elapsed="0.000256"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:35.998886" elapsed="0.001533"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:36.000473" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:20:36.000843" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:35.995488" elapsed="0.005401"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:36.000950" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:36.001239" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:35.994416" elapsed="0.006902"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:36.010370" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:36.010113" elapsed="0.000304"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:36.010849" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:36.010599" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:36.015595" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:36.013181" elapsed="0.004109">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:36.010980" elapsed="0.006398">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.017561" elapsed="0.000039"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:36.017412" elapsed="0.000243"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:36.010960" elapsed="0.006725">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.018142" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:36.018303" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:36.018265" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:36.018246" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.018525" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:36.018629" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:36.005271" elapsed="0.013535">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:36.018897" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:36.001898" elapsed="0.017182">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.019472" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.019736" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:36.019912" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:35.974817" elapsed="0.045202">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.020225" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:35.973792" elapsed="0.046548">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.027474" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.031200" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:35.972566" elapsed="0.058763">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:36.561485" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:36.559358" elapsed="0.002160"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.561913" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:36.561762" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:36.561622" elapsed="0.000378"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.562354" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:36.562095" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:36.563153" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:36.562675" elapsed="0.000504"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:36.562435" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.563397" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:36.563239" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:36.562072" elapsed="0.001400"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:36.563530" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:36.563855" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:36.558560" elapsed="0.005340"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:36.563960" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:36.564252" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:36.557457" elapsed="0.006909"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:36.574154" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:36.573884" elapsed="0.000316"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:36.574630" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:36.574368" elapsed="0.000311"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:36.579481" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:36.576881" elapsed="0.004314">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:36.574767" elapsed="0.006577">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.581532" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:36.581380" elapsed="0.000234"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:36.574746" elapsed="0.006892">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.582059" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:36.582212" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:36.582175" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:36.582156" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.582431" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:36.582518" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:36.568409" elapsed="0.014301">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:36.582801" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:36.565047" elapsed="0.017934">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.583334" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.583588" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:36.583764" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:36.534596" elapsed="0.049275">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.584032" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:36.533519" elapsed="0.050623">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.591348" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:36.594972" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:36.532157" elapsed="0.062943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:37.122333" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:37.120193" elapsed="0.002172"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.122817" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:37.122666" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.122514" elapsed="0.000390"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.123255" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:37.122996" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:37.124058" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:37.123560" elapsed="0.000525"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:37.123337" elapsed="0.000797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.124319" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:37.124159" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:37.122975" elapsed="0.001421"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:37.124454" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:37.124966" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:37.119354" elapsed="0.005658"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:37.125074" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:37.125369" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:37.118150" elapsed="0.007296"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:37.136212" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:37.135936" elapsed="0.000324"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:37.136762" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:37.136427" elapsed="0.000380"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:37.141503" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.138889" elapsed="0.004257">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:37.136896" elapsed="0.006339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.143423" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:37.143268" elapsed="0.000219"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:37.136875" elapsed="0.006634">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.143933" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.144086" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:37.144050" elapsed="0.000094"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:37.144031" elapsed="0.000135"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.144322" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.144411" elapsed="0.000020"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.131153" elapsed="0.013469">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.144752" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.125850" elapsed="0.019088">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.145295" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.145538" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.145732" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:37.098401" elapsed="0.047439">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.146004" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.097368" elapsed="0.048748">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.153222" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.156790" elapsed="0.000030"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.095976" elapsed="0.060949">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:37.685162" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:37.683042" elapsed="0.002152"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.685556" elapsed="0.000136"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:37.685406" elapsed="0.000323"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.685276" elapsed="0.000482"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.686106" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:37.685846" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:37.686910" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:37.686414" elapsed="0.000523"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:37.686187" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.687158" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:37.686998" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:37.685825" elapsed="0.001410"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:37.687291" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:37.687609" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:37.682248" elapsed="0.005407"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:37.687717" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:37.688056" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:37.681124" elapsed="0.007022"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:37.697165" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:37.696896" elapsed="0.000316"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:37.697722" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:37.697381" elapsed="0.000386"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:37.702411" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.699872" elapsed="0.004263">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:37.697857" elapsed="0.006380">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.704423" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:37.704273" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:37.697836" elapsed="0.006675">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.704945" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.705099" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:37.705062" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:37.705043" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.705317" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.705403" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.692103" elapsed="0.013499">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.705695" elapsed="0.000038"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.688630" elapsed="0.017244">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.706230" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.706473" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:37.706666" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:37.660078" elapsed="0.046700">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.706938" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.658998" elapsed="0.048052">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.714644" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:37.718255" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:37.657691" elapsed="0.060691">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:38.244665" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:38.242527" elapsed="0.002169"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.245053" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:38.244900" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.244774" elapsed="0.000364"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.245476" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:38.245225" elapsed="0.000307"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:38.246284" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:38.245806" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:38.245556" elapsed="0.000790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.246530" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:38.246370" elapsed="0.000428"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:38.245205" elapsed="0.001615"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:38.246877" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:38.247183" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:38.241744" elapsed="0.005484"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:38.247288" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:38.247598" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:38.240551" elapsed="0.007126"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:38.256622" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:38.256341" elapsed="0.000329"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:38.257093" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:38.256842" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:38.261857" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.259316" elapsed="0.004219">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:38.257226" elapsed="0.006411">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.263846" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:38.263671" elapsed="0.000242"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:38.257206" elapsed="0.006730">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.264406" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.264563" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:38.264525" elapsed="0.000099"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:38.264506" elapsed="0.000140"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.264811" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.264898" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.251475" elapsed="0.013600">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.265167" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.248073" elapsed="0.017275">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.265723" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.265965" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.266141" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:38.221307" elapsed="0.044940">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.266409" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.220292" elapsed="0.046228">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.273601" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.277192" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.219055" elapsed="0.058263">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:38.805252" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:38.803054" elapsed="0.002236"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.805707" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:38.805539" elapsed="0.000228"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.805388" elapsed="0.000410"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.806178" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:38.805907" elapsed="0.000401"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:38.807226" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:38.806743" elapsed="0.000510"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:38.806336" elapsed="0.000953"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.807476" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:38.807314" elapsed="0.000243"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:38.805876" elapsed="0.001726"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:38.807665" elapsed="0.000049"/>
</return>
<msg time="2026-04-11T23:20:38.807987" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:38.802224" elapsed="0.005807"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:38.808095" elapsed="0.000077"/>
</return>
<msg time="2026-04-11T23:20:38.808426" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:38.801105" elapsed="0.007397"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:38.817282" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:38.817019" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:38.817762" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:38.817499" elapsed="0.000307"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:38.823137" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.820049" elapsed="0.004840">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:38.817894" elapsed="0.007087">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.825164" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:38.825014" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:38.817873" elapsed="0.007377">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.825683" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.825837" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:38.825801" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:38.825782" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.826059" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.826145" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.812334" elapsed="0.013984">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.826407" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.808902" elapsed="0.017710">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.827006" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.827250" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:38.827425" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:38.780732" elapsed="0.046821">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.827778" elapsed="0.000025"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.779680" elapsed="0.048222">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.835340" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:38.838886" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:38.778218" elapsed="0.060799">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:39.364556" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:39.362279" elapsed="0.002325"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.364995" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:39.364842" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.364696" elapsed="0.000387"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.365447" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:39.365181" elapsed="0.000322"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:39.366247" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:39.365772" elapsed="0.000502"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:39.365529" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.366491" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:39.366333" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:39.365158" elapsed="0.001408"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:39.366643" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:20:39.366954" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:39.361469" elapsed="0.005529"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:39.367061" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:39.367364" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:39.360362" elapsed="0.007079"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:39.376494" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:39.376229" elapsed="0.000311"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:39.376975" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:39.376725" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:39.381905" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.379213" elapsed="0.004450">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:39.377170" elapsed="0.006585">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.383938" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:39.383789" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:39.377149" elapsed="0.006875">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.384437" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.384607" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:39.384553" elapsed="0.000098"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:39.384534" elapsed="0.000138"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.384833" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.384919" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.371232" elapsed="0.013865">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.385192" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.368023" elapsed="0.017348">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.385744" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.385996" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.386170" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:39.342142" elapsed="0.044134">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.386438" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.341099" elapsed="0.045450">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.393646" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.397225" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.339795" elapsed="0.057589">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:39.925500" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:39.923319" elapsed="0.002216"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.925951" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:39.925796" elapsed="0.000214"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.925648" elapsed="0.000392"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.926416" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:39.926142" elapsed="0.000332"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:39.927391" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:39.926888" elapsed="0.000531"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:39.926500" elapsed="0.000954"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.927656" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:39.927479" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:39.926117" elapsed="0.001617"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:39.927795" elapsed="0.000047"/>
</return>
<msg time="2026-04-11T23:20:39.928112" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:39.922481" elapsed="0.005675"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:39.928219" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:39.928507" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:39.921366" elapsed="0.007444"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:39.937940" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:39.937672" elapsed="0.000314"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:39.938401" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:39.938154" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:39.943507" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.940690" elapsed="0.004525">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:39.938531" elapsed="0.006774">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.945487" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:39.945338" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:39.938511" elapsed="0.007079">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.946020" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.946175" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:39.946138" elapsed="0.000133"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:39.946119" elapsed="0.000176"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.946453" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.946540" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.932672" elapsed="0.014065">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.946828" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.929332" elapsed="0.017678">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.947382" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.947640" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:39.947820" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:39.900790" elapsed="0.047137">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.948089" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.899752" elapsed="0.048447">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.955646" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:39.959163" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:39.898303" elapsed="0.060986">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:40.487646" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:40.485481" elapsed="0.002196"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.488049" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:40.487898" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:40.487757" elapsed="0.000377"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.488480" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:40.488225" elapsed="0.000312"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:40.489278" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:40.488804" elapsed="0.000500"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:40.488560" elapsed="0.000781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.489524" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:40.489365" elapsed="0.000287"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:40.488205" elapsed="0.001470"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:40.489731" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:40.490045" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:40.484712" elapsed="0.005378"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:40.490151" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:40.490441" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:40.483562" elapsed="0.006954"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:40.499630" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:40.499350" elapsed="0.000327"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:40.500106" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:40.499853" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:40.505034" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:40.502257" elapsed="0.004448">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:40.500236" elapsed="0.006557">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.506993" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:40.506826" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:40.500216" elapsed="0.006866">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.507490" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:40.507658" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:40.507621" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:40.507601" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.507878" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:40.507963" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:40.494394" elapsed="0.013742">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:40.508225" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:40.491201" elapsed="0.017203">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.508776" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.509021" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:40.509195" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:40.462248" elapsed="0.047055">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.509499" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:40.461224" elapsed="0.048404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.516678" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:40.520234" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:40.459957" elapsed="0.060403">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:41.048082" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:41.045701" elapsed="0.002411"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.048613" elapsed="0.000025"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:41.048323" elapsed="0.000353"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.048192" elapsed="0.000511"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.049048" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:41.048793" elapsed="0.000312"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:41.049849" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:41.049356" elapsed="0.000520"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:41.049129" elapsed="0.000783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.050096" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:41.049936" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:41.048773" elapsed="0.001397"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:41.050227" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:41.050528" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:41.044919" elapsed="0.005668"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:41.050650" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:41.050958" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:41.043809" elapsed="0.007226"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:41.059845" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:41.059586" elapsed="0.000305"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:41.060305" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:41.060060" elapsed="0.000287"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:41.065126" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.062529" elapsed="0.004311">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:41.060434" elapsed="0.006541">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.067160" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:41.067011" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:41.060413" elapsed="0.006834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.067669" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.067823" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:41.067785" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:41.067767" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.068045" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.068131" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.054815" elapsed="0.013493">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.068398" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.051418" elapsed="0.017175">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.068951" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.069193" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.069369" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:41.023352" elapsed="0.046123">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.069661" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.022314" elapsed="0.047460">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.076927" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.080493" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.021072" elapsed="0.059560">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:41.608319" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:41.606165" elapsed="0.002190"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.608847" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:41.608692" elapsed="0.000215"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.608526" elapsed="0.000411"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.609307" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:41.609038" elapsed="0.000328"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:41.610114" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:41.609635" elapsed="0.000506"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:41.609392" elapsed="0.000785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.610362" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:41.610202" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:41.609013" elapsed="0.001424"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:41.610499" elapsed="0.000065"/>
</return>
<msg time="2026-04-11T23:20:41.610881" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:41.605048" elapsed="0.005878"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:41.610989" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:41.611276" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:41.603933" elapsed="0.007419"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:41.622414" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:41.622150" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:41.622920" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:41.622669" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:41.628099" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.625122" elapsed="0.005154">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:41.623052" elapsed="0.007319">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.630610" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:41.630407" elapsed="0.000270"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:41.623032" elapsed="0.007669">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.631161" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.631323" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:41.631285" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:41.631266" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.631545" elapsed="0.000039"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.631652" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.617397" elapsed="0.014446">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.631987" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.611765" elapsed="0.020407">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.632531" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.632805" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:41.632993" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:41.583970" elapsed="0.049132">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.633266" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.582890" elapsed="0.050489">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.640501" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:41.644166" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:41.581451" elapsed="0.062843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:42.172162" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:42.170015" elapsed="0.002181"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.172595" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:42.172428" elapsed="0.000226"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.172286" elapsed="0.000399"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.173045" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:42.172781" elapsed="0.000320"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:42.174007" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:42.173352" elapsed="0.000682"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:42.173126" elapsed="0.000943"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.174254" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:42.174094" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:42.172759" elapsed="0.001583"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:42.174408" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:20:42.174735" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:42.169126" elapsed="0.005653"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:42.174840" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:42.175133" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:42.168008" elapsed="0.007200"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:42.184052" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:42.183785" elapsed="0.000314"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:42.184513" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:42.184266" elapsed="0.000297"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:42.189362" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.186766" elapsed="0.004367">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:42.184665" elapsed="0.006560">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.191408" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:42.191259" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:42.184645" elapsed="0.006849">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.191930" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.192083" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:42.192047" elapsed="0.000077"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:42.192028" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.192302" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.192387" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.179076" elapsed="0.013488">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.192672" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.175663" elapsed="0.017195">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.193220" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.193462" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.193662" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:42.147785" elapsed="0.045984">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.193929" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.146282" elapsed="0.047758">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.201286" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.204873" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.145006" elapsed="0.059993">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:42.732033" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:42.729870" elapsed="0.002202"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.732456" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:42.732303" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.732165" elapsed="0.000378"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.733032" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:42.732772" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:42.733830" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:42.733339" elapsed="0.000518"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:42.733114" elapsed="0.000779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.734076" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:42.733917" elapsed="0.000237"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:42.732749" elapsed="0.001426"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:42.734233" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:42.734539" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:42.729041" elapsed="0.005557"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:42.734661" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:42.734970" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:42.727869" elapsed="0.007191"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:42.744170" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:42.743905" elapsed="0.000311"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:42.744721" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:42.744387" elapsed="0.000378"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:42.749507" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.746890" elapsed="0.004307">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:42.744854" elapsed="0.006431">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.751483" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:42.751319" elapsed="0.000231"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:42.744833" elapsed="0.006753">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.752065" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.752220" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:42.752183" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:42.752164" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.752439" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.752524" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.738988" elapsed="0.013753">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.752832" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.735442" elapsed="0.017571">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.753373" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.753631" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:42.753810" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:42.707262" elapsed="0.046654">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.754082" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.706587" elapsed="0.047620">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.761318" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:42.764861" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:42.705643" elapsed="0.059344">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:43.292393" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:43.290312" elapsed="0.002113"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.292891" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:43.292740" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.292507" elapsed="0.000469"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.293317" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:43.293064" elapsed="0.000377"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:43.294222" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:43.293715" elapsed="0.000534"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:43.293467" elapsed="0.000818"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.294470" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:43.294310" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:43.293043" elapsed="0.001502"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:43.294616" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:43.294923" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:43.289497" elapsed="0.005474"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:43.295035" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:43.295328" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:43.288346" elapsed="0.007059"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:43.304335" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:43.303954" elapsed="0.000428"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:43.304890" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:43.304550" elapsed="0.000385"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:43.309893" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.307059" elapsed="0.004504">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:43.305023" elapsed="0.006645">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.311851" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:43.311702" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:43.305003" elapsed="0.006935">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.312349" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.312502" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:43.312465" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:43.312447" elapsed="0.000117"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.312746" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.312832" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.299230" elapsed="0.013774">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.313094" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.295809" elapsed="0.017463">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.313679" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.313933" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.314114" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:43.267946" elapsed="0.046276">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.314385" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.266916" elapsed="0.047582">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.321800" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.325350" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.265670" elapsed="0.059807">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:43.851030" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:43.848706" elapsed="0.002361"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.851470" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:43.851314" elapsed="0.000214"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.851166" elapsed="0.000393"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.851958" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:43.851678" elapsed="0.000337"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:43.852768" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:43.852275" elapsed="0.000519"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:43.852042" elapsed="0.000788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.853015" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:43.852854" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:43.851654" elapsed="0.001436"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:43.853152" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:20:43.853467" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:43.847872" elapsed="0.005640"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:43.853589" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:20:43.853924" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:43.846540" elapsed="0.007460"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:43.863342" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:43.863072" elapsed="0.000317"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:43.863824" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:43.863560" elapsed="0.000308"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:43.868813" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.866086" elapsed="0.004427">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:43.864034" elapsed="0.006590">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.870809" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:43.870660" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:43.864011" elapsed="0.006885">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.871308" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.871462" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:43.871425" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:43.871406" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.871695" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.871783" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.857962" elapsed="0.013994">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.872045" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.854385" elapsed="0.017839">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.872593" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.872837" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:43.873010" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:43.828812" elapsed="0.044304">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.873279" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.827725" elapsed="0.045664">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.880488" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:43.884136" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:43.826293" elapsed="0.058004">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:44.411321" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:44.409195" elapsed="0.002158"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.411888" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:44.411727" elapsed="0.000220"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.411439" elapsed="0.000536"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.412325" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:44.412067" elapsed="0.000315"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:44.413140" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:44.412652" elapsed="0.000515"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:44.412406" elapsed="0.000796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.413386" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:44.413227" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:44.412046" elapsed="0.001415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:44.413518" elapsed="0.000073"/>
</return>
<msg time="2026-04-11T23:20:44.413861" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:44.408403" elapsed="0.005503"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:44.413967" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:44.414255" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:44.407297" elapsed="0.007034"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:44.423255" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:44.422984" elapsed="0.000318"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:44.423911" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:44.423476" elapsed="0.000491"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:44.428985" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.426152" elapsed="0.004598">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:44.424085" elapsed="0.006771">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.431053" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:44.430893" elapsed="0.000226"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:44.424057" elapsed="0.007086">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.431610" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.431769" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:44.431731" elapsed="0.000139"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:44.431712" elapsed="0.000184"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.432058" elapsed="0.000025"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.432146" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.418175" elapsed="0.014152">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.432417" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.414730" elapsed="0.017884">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.432974" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.433220" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.433397" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:44.387310" elapsed="0.046193">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.433702" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.386286" elapsed="0.047530">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.441315" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.444890" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.385025" elapsed="0.059996">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:44.971791" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:44.969600" elapsed="0.002223"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.972191" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:44.972038" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.971905" elapsed="0.000372"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.972640" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:44.972367" elapsed="0.000331"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:44.973462" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:44.972951" elapsed="0.000538"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:44.972723" elapsed="0.000803"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.973754" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:44.973551" elapsed="0.000324"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:44.972346" elapsed="0.001551"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:44.973955" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:20:44.974266" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:44.968779" elapsed="0.005533"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:44.974374" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:44.974714" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:44.967679" elapsed="0.007115"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:44.983882" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:44.983617" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:44.984348" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:44.984099" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:44.989199" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.986565" elapsed="0.004401">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:44.984479" elapsed="0.006577">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.991239" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:44.991090" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:44.984459" elapsed="0.006867">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.991755" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.991908" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:44.991871" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:44.991853" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.992131" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.992217" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.978770" elapsed="0.013621">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.992481" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.975189" elapsed="0.017492">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.993041" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.993285" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:44.993494" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:44.948106" elapsed="0.045521">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:44.993830" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.947068" elapsed="0.046877">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.000922" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.004465" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:44.945783" elapsed="0.058822">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:45.530579" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:45.528277" elapsed="0.002339"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.531005" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:45.530853" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:45.530710" elapsed="0.000384"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.531452" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:45.531188" elapsed="0.000322"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:45.532258" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:45.531778" elapsed="0.000507"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:45.531534" elapsed="0.000787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.532504" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:45.532345" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:45.531166" elapsed="0.001429"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:45.532654" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:20:45.532965" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:45.527451" elapsed="0.005567"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:45.533079" elapsed="0.000073"/>
</return>
<msg time="2026-04-11T23:20:45.533397" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:45.526334" elapsed="0.007140"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:45.542249" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:45.541986" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:45.542734" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:45.542463" elapsed="0.000314"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:45.547534" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:45.544950" elapsed="0.004306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:45.542864" elapsed="0.006537">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.549603" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:45.549438" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:45.542844" elapsed="0.006849">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.550100" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:45.550251" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:45.550214" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:45.550196" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.550468" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:45.550553" elapsed="0.000030"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:45.537305" elapsed="0.013444">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:45.550839" elapsed="0.000038"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:45.534090" elapsed="0.016929">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.551374" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.551639" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:45.551816" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:45.506859" elapsed="0.045064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.552085" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:45.506195" elapsed="0.046001">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.559362" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:45.562925" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:45.505257" elapsed="0.057795">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:46.090107" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:46.087961" elapsed="0.002182"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.090611" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:46.090442" elapsed="0.000229"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.090300" elapsed="0.000401"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.091059" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:46.090796" elapsed="0.000320"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:46.092029" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:46.091366" elapsed="0.000690"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:46.091142" elapsed="0.000951"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.092277" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:46.092118" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:46.090774" elapsed="0.001580"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:46.092412" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:20:46.092737" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:46.087133" elapsed="0.005651"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:46.092845" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:46.093150" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:46.086013" elapsed="0.007215"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:46.104306" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:46.104029" elapsed="0.000327"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:46.104786" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:46.104523" elapsed="0.000307"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:46.109603" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.106997" elapsed="0.004291">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:46.104931" elapsed="0.006446">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.111562" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:46.111412" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:46.104900" elapsed="0.006768">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.112098" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.112260" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:46.112221" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:46.112201" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.112480" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.112581" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.099287" elapsed="0.013475">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.112906" elapsed="0.000057"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.093636" elapsed="0.019475">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.113470" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.113732" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.113910" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:46.066316" elapsed="0.047702">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.114179" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.065270" elapsed="0.049021">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.121338" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.124897" elapsed="0.000040"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.063911" elapsed="0.061130">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:46.652545" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:46.650230" elapsed="0.002362"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.652985" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:46.652831" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.652682" elapsed="0.000390"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.653429" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:46.653167" elapsed="0.000319"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:46.654228" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:46.653752" elapsed="0.000503"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:46.653510" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.654472" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:46.654314" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:46.653143" elapsed="0.001405"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:46.654621" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:20:46.654927" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:46.649208" elapsed="0.005763"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:46.655033" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:46.655324" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:46.648084" elapsed="0.007316"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:46.664109" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:46.663847" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:46.664590" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:46.664327" elapsed="0.000309"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:46.669558" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.666756" elapsed="0.004528">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:46.664734" elapsed="0.006639">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.671557" elapsed="0.000042"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:46.671408" elapsed="0.000235"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:46.664703" elapsed="0.006963">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.672089" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.672244" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:46.672207" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:46.672188" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.672461" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.672547" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.659083" elapsed="0.013671">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.672847" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.655850" elapsed="0.017179">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.673392" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.673659" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:46.673836" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:46.628264" elapsed="0.045680">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.674103" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.627228" elapsed="0.046988">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.681554" elapsed="0.000085"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:46.685210" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:46.625877" elapsed="0.059460">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:47.218541" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:47.215168" elapsed="0.003437"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.219133" elapsed="0.000033"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:47.218909" elapsed="0.000309"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.218723" elapsed="0.000537"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.219912" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:47.219386" elapsed="0.000613"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:47.221124" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:47.220372" elapsed="0.000780"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:47.220034" elapsed="0.001153"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.221373" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:47.221212" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:47.219356" elapsed="0.002093"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:47.221506" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:47.221829" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:47.213977" elapsed="0.007898"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:47.221938" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:47.222235" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:47.212171" elapsed="0.010142"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:47.231173" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:47.230909" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:47.231727" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:47.231391" elapsed="0.000380"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:47.236658" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.233908" elapsed="0.004395">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:47.231860" elapsed="0.006531">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.238592" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:47.238425" elapsed="0.000234"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:47.231839" elapsed="0.006843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.239177" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.239334" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:47.239296" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:47.239277" elapsed="0.000123"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.239558" elapsed="0.000050"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.239675" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.226048" elapsed="0.013806">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.239945" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.222723" elapsed="0.017404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.240489" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.240761" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.240940" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:47.187540" elapsed="0.053506">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.241210" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.186862" elapsed="0.054461">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.248415" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.251971" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.185959" elapsed="0.066140">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:47.779782" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:47.777528" elapsed="0.002288"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.780192" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:47.780039" elapsed="0.000213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.779904" elapsed="0.000376"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.780682" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:47.780400" elapsed="0.000499"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:47.781680" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:47.781173" elapsed="0.000535"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:47.780928" elapsed="0.000817"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.781934" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:47.781770" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:47.780377" elapsed="0.001634"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:47.782070" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:47.782385" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:47.776724" elapsed="0.005707"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:47.782495" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:47.782839" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:47.775491" elapsed="0.007428"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:47.792116" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:47.791846" elapsed="0.000319"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:47.792640" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:47.792364" elapsed="0.000322"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:47.797433" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.794818" elapsed="0.004296">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:47.792779" elapsed="0.006425">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.799392" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:47.799240" elapsed="0.000217"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:47.792758" elapsed="0.006723">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.799940" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.800101" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:47.800062" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:47.800042" elapsed="0.000125"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.800357" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.800450" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.786905" elapsed="0.013745">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.800745" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.783319" elapsed="0.017612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.801355" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.801620" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:47.801806" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:47.755242" elapsed="0.046674">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.802082" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.754219" elapsed="0.047978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.809650" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:47.813301" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:47.752944" elapsed="0.060487">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:48.341868" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:48.339744" elapsed="0.002156"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.342268" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:48.342117" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.341987" elapsed="0.000367"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.342718" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:48.342444" elapsed="0.000332"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:48.343506" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:48.343027" elapsed="0.000506"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:48.342801" elapsed="0.000782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.343769" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:48.343610" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:48.342423" elapsed="0.001423"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:48.343903" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:48.344239" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:48.338928" elapsed="0.005358"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:48.344350" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:48.344956" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:48.337803" elapsed="0.007231"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:48.353878" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:48.353611" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:48.354344" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:48.354095" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:48.359285" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.356675" elapsed="0.004319">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:48.354541" elapsed="0.006541">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.361266" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:48.361116" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:48.354519" elapsed="0.006835">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.361788" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.361944" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:48.361907" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:48.361888" elapsed="0.000123"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.362166" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.362253" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.348758" elapsed="0.013671">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.362519" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.345421" elapsed="0.017299">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.363076" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.363319" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.363495" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:48.316544" elapsed="0.047073">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.363782" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.315493" elapsed="0.048402">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.370984" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.374588" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.314195" elapsed="0.060568">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:48.901696" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:48.899542" elapsed="0.002186"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.902099" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:48.901948" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.901816" elapsed="0.000370"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.902744" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:48.902276" elapsed="0.000535"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:48.903541" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:48.903063" elapsed="0.000546"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:48.902835" elapsed="0.000812"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.903834" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:48.903673" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:48.902253" elapsed="0.001657"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:48.903982" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:20:48.904293" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:48.898728" elapsed="0.005610"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:48.904401" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:48.904747" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:48.897540" elapsed="0.007286"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:48.913779" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:48.913500" elapsed="0.000327"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:48.914244" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:48.913996" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:48.919123" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.916539" elapsed="0.004339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:48.914376" elapsed="0.006591">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.921154" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:48.921002" elapsed="0.000217"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:48.914355" elapsed="0.006886">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.921682" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.921837" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:48.921799" elapsed="0.000135"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:48.921780" elapsed="0.000180"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.922118" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.922206" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.908821" elapsed="0.013563">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.922475" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.905220" elapsed="0.017457">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.923042" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.923288" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:48.923467" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:48.877880" elapsed="0.045719">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.923767" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.876871" elapsed="0.047010">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.931243" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:48.934788" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:48.875530" elapsed="0.059388">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:49.455893" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:49.453711" elapsed="0.002215"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.456294" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:49.456142" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:49.456011" elapsed="0.000369"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.456747" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:49.456470" elapsed="0.000334"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:49.457529" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:49.457053" elapsed="0.000503"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:49.456827" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.457793" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:49.457633" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:49.456449" elapsed="0.001489"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:49.457996" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:49.458303" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:49.452913" elapsed="0.005435"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:49.458410" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:49.458908" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:49.451810" elapsed="0.007181"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:49.467840" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:49.467549" elapsed="0.000339"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:49.468307" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:49.468059" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:49.473229" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:49.470443" elapsed="0.004485">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:49.468438" elapsed="0.006578">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.475199" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:49.475050" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:49.468418" elapsed="0.006869">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.475713" elapsed="0.000040"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:49.475882" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:49.475844" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:49.475826" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.476100" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:49.476188" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:49.462723" elapsed="0.013641">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:49.476453" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:49.459377" elapsed="0.017272">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.477004" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.477244" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:49.477419" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:49.436972" elapsed="0.040552">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.477739" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:49.436501" elapsed="0.041354">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.484880" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:49.488441" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:49.435606" elapsed="0.052975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:50.016059" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:50.013958" elapsed="0.002131"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.016443" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:50.016293" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.016167" elapsed="0.000364"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.016900" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:50.016651" elapsed="0.000314"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:50.017885" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:50.017219" elapsed="0.000693"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:50.016989" elapsed="0.000959"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.018135" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:50.017973" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:50.016625" elapsed="0.001596"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:50.018290" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:20:50.018617" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:50.013141" elapsed="0.005523"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:50.018727" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:20:50.019031" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:50.012016" elapsed="0.007094"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:50.028023" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:50.027759" elapsed="0.000311"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:50.028501" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:50.028247" elapsed="0.000298"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:50.033457" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:50.030763" elapsed="0.004374">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:50.028666" elapsed="0.006602">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.035460" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:50.035305" elapsed="0.000250"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:50.028642" elapsed="0.006956">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.036011" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.036171" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:50.036131" elapsed="0.000089"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:50.036112" elapsed="0.000133"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.036405" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.036496" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:50.022979" elapsed="0.013734">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.036811" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:50.019501" elapsed="0.017498">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.037367" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.037643" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.037824" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:49.991490" elapsed="0.046445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.038101" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:49.990432" elapsed="0.047786">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.045472" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.049122" elapsed="0.000029"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:49.989196" elapsed="0.060059">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:50.576739" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:50.574647" elapsed="0.002120"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.577171" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:50.577018" elapsed="0.000213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.576887" elapsed="0.000371"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.577608" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:50.577344" elapsed="0.000325"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:50.578410" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:50.577927" elapsed="0.000511"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:50.577694" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.578698" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:50.578506" elapsed="0.000254"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:50.577324" elapsed="0.001457"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:50.578837" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:20:50.579142" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:50.573830" elapsed="0.005358"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:50.579250" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:50.579829" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:50.572734" elapsed="0.007183"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:50.590724" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:50.590422" elapsed="0.000352"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:50.591207" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:50.590949" elapsed="0.000302"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:50.596052" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:50.593450" elapsed="0.004360">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:50.591363" elapsed="0.006536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.598087" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:50.597934" elapsed="0.000220"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:50.591320" elapsed="0.006858">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.598619" elapsed="0.000030"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.598783" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:50.598744" elapsed="0.000085"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:50.598725" elapsed="0.000127"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.599011" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.599100" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:50.585674" elapsed="0.013608">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.599464" elapsed="0.000045"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:50.580304" elapsed="0.019383">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.600057" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.600313" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:50.600496" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:50.552179" elapsed="0.048446">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.600792" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:50.551112" elapsed="0.049796">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.608119" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:50.611757" elapsed="0.000029"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:50.549924" elapsed="0.061965">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:51.140458" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:51.138323" elapsed="0.002167"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.140967" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:51.140813" elapsed="0.000216"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.140679" elapsed="0.000379"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.141413" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:51.141148" elapsed="0.000324"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:51.142248" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:51.141748" elapsed="0.000528"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:51.141497" elapsed="0.000816"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.142505" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:51.142339" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:51.141128" elapsed="0.001473"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:51.142659" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:51.142988" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:51.137490" elapsed="0.005546"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:51.143101" elapsed="0.000070"/>
</return>
<msg time="2026-04-11T23:20:51.143432" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:51.136310" elapsed="0.007202"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:51.152691" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:51.152410" elapsed="0.000329"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:51.153159" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:51.152909" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:51.158049" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.155337" elapsed="0.004377">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:51.153296" elapsed="0.006504">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.159984" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:51.159835" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:51.153276" elapsed="0.006795">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.160476" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.160646" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:51.160608" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:51.160588" elapsed="0.000123"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.160868" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.160957" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.147535" elapsed="0.013597">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.161222" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.143975" elapsed="0.017428">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.161780" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.162021" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.162205" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:51.114862" elapsed="0.047448">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.162470" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.113843" elapsed="0.048753">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.169898" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.173463" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.112535" elapsed="0.061067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:51.700215" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:51.698124" elapsed="0.002119"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.700607" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:51.700443" elapsed="0.000222"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.700317" elapsed="0.000377"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.701020" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:51.700778" elapsed="0.000300"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:51.701819" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:51.701326" elapsed="0.000520"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:51.701101" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.702063" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:51.701905" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:51.700759" elapsed="0.001378"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:51.702191" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:20:51.702492" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:51.697346" elapsed="0.005192"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:51.702871" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:20:51.703195" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:51.696266" elapsed="0.007006"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:51.712232" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:51.711973" elapsed="0.000305"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:51.712711" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:51.712446" elapsed="0.000310"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:51.717464" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.715066" elapsed="0.004091">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:51.712844" elapsed="0.006401">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.719428" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:51.719280" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:51.712824" elapsed="0.006692">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.720009" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.720161" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:51.720124" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:51.720106" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.720378" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.720464" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.707007" elapsed="0.013653">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.720759" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.703666" elapsed="0.017277">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.721305" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.721554" elapsed="0.000037"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:51.721751" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:51.676491" elapsed="0.045374">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.722029" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.675464" elapsed="0.046679">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.729348" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:51.732921" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:51.674223" elapsed="0.058826">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:52.261076" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:52.258989" elapsed="0.002116"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.261459" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:52.261310" elapsed="0.000206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.261185" elapsed="0.000358"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.261998" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:52.261746" elapsed="0.000356"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:52.262924" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:52.262382" elapsed="0.000569"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:52.262127" elapsed="0.000860"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.263181" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:52.263016" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:52.261726" elapsed="0.001531"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:52.263320" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:20:52.263641" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:52.258184" elapsed="0.005503"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:52.263750" elapsed="0.000060"/>
</return>
<msg time="2026-04-11T23:20:52.264066" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:52.257079" elapsed="0.007066"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:52.273228" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:52.272960" elapsed="0.000316"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:52.273863" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:52.273454" elapsed="0.000455"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:52.278611" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.276062" elapsed="0.004193">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:52.274000" elapsed="0.006342">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.280537" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:52.280380" elapsed="0.000237"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:52.273979" elapsed="0.006662">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.281048" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.281200" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:52.281164" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:52.281145" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.281420" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.281506" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.268136" elapsed="0.013558">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.281785" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.264534" elapsed="0.017431">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.282362" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.282623" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.282818" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:52.236256" elapsed="0.046672">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.283094" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.234920" elapsed="0.048288">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.290689" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.294352" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.233703" elapsed="0.060781">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:52.823022" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:52.820867" elapsed="0.002183"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.823392" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:52.823246" elapsed="0.000203"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.823125" elapsed="0.000350"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.823814" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:52.823559" elapsed="0.000312"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:52.824608" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:52.824118" elapsed="0.000518"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:52.823895" elapsed="0.000776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.824852" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:52.824695" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:52.823540" elapsed="0.001387"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:52.824981" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:20:52.825304" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:52.820089" elapsed="0.005265"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:52.825417" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:52.825727" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:52.819007" elapsed="0.006796"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:52.834987" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:52.834729" elapsed="0.000304"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:52.835447" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:52.835201" elapsed="0.000289"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:52.840222" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.837660" elapsed="0.004248">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:52.835630" elapsed="0.006364">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.842176" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:52.842027" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:52.835609" elapsed="0.006654">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.842692" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.842845" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:52.842808" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:52.842790" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.843067" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.843153" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.829666" elapsed="0.013660">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.843416" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.826184" elapsed="0.017429">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.843972" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.844214" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:52.844392" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:52.797310" elapsed="0.047189">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.844675" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.796279" elapsed="0.048515">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.851823" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:52.855373" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:52.795076" elapsed="0.060454">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:53.384244" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:53.381963" elapsed="0.002317"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.384688" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:53.384521" elapsed="0.000227"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.384375" elapsed="0.000404"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.385149" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:53.384880" elapsed="0.000326"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:53.385950" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:53.385458" elapsed="0.000519"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:53.385233" elapsed="0.000779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.386196" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:53.386037" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:53.384855" elapsed="0.001417"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:53.386334" elapsed="0.000073"/>
</return>
<msg time="2026-04-11T23:20:53.386878" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:53.381138" elapsed="0.005785"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:53.386986" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:53.387275" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:53.380012" elapsed="0.007339"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:53.396020" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:53.395754" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:53.396480" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:53.396234" elapsed="0.000290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:53.401410" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.398745" elapsed="0.004458">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:53.396626" elapsed="0.006669">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.403479" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:53.403329" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:53.396605" elapsed="0.006960">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.403994" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.404146" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:53.404110" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:53.404091" elapsed="0.000176"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.404426" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.404513" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.391069" elapsed="0.013638">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.404798" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.387751" elapsed="0.017227">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.405334" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.405589" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.405767" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:53.359031" elapsed="0.046845">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.406037" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.357943" elapsed="0.048205">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.413394" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.416939" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.356453" elapsed="0.060613">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:53.944674" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:53.942474" elapsed="0.002231"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.945063" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:53.944914" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.944784" elapsed="0.000363"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.945484" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:53.945233" elapsed="0.000309"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:53.946326" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:53.945810" elapsed="0.000545"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:53.945565" elapsed="0.000827"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.946593" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:53.946416" elapsed="0.000293"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:53.945214" elapsed="0.001517"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:53.946789" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:20:53.947094" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:53.941661" elapsed="0.005479"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:53.947201" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:53.947514" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:53.940505" elapsed="0.007105"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:53.956889" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:53.956537" elapsed="0.000400"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:53.957356" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:53.957107" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:53.961976" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.959546" elapsed="0.004109">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:53.957494" elapsed="0.006249">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.963926" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:53.963778" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:53.957470" elapsed="0.006544">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.964425" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.964613" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:53.964542" elapsed="0.000119"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:53.964523" elapsed="0.000160"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.964840" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.964927" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.951505" elapsed="0.013597">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.965193" elapsed="0.000038"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.947996" elapsed="0.017378">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.965756" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.965998" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:53.966207" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:53.920145" elapsed="0.046171">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.966520" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.919030" elapsed="0.047630">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.973768" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:53.977333" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:53.917727" elapsed="0.059735">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:54.504631" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:54.502418" elapsed="0.002248"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.505058" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:54.504904" elapsed="0.000213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:54.504761" elapsed="0.000387"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.505512" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:54.505243" elapsed="0.000341"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:54.506378" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:54.505837" elapsed="0.000568"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:54.505611" elapsed="0.000831"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.506843" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:54.506466" elapsed="0.000435"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:54.505221" elapsed="0.001701"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:54.506980" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:20:54.507286" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:54.501558" elapsed="0.005772"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:54.507391" elapsed="0.000049"/>
</return>
<msg time="2026-04-11T23:20:54.507700" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:54.500449" elapsed="0.007328"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:54.516673" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:54.516394" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:54.517137" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:54.516888" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:54.521948" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:54.519358" elapsed="0.004319">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:54.517266" elapsed="0.006559">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.524012" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:54.523861" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:54.517246" elapsed="0.006853">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.524506" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:54.524676" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:54.524638" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:54.524619" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.524894" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:54.524980" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:54.511691" elapsed="0.013463">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:54.525244" elapsed="0.000038"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:54.508176" elapsed="0.017249">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.525797" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.526052" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:54.526230" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:54.480833" elapsed="0.045504">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.526499" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:54.479776" elapsed="0.046863">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.534020" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:54.537533" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:54.478344" elapsed="0.059328">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:55.064285" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:55.062167" elapsed="0.002150"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.064789" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:55.064636" elapsed="0.000213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.064479" elapsed="0.000400"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.065238" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:55.064976" elapsed="0.000320"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:55.066047" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:55.065547" elapsed="0.000527"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:55.065321" elapsed="0.000793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.066299" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:55.066139" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:55.064953" elapsed="0.001422"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:55.066435" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:20:55.066790" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:55.061319" elapsed="0.005518"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:55.066899" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:55.067192" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:55.060210" elapsed="0.007060"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:55.078546" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:55.078277" elapsed="0.000372"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:55.079067" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:55.078818" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:55.084147" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.081221" elapsed="0.004629">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:55.079201" elapsed="0.006740">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.086124" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:55.085975" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:55.079180" elapsed="0.007031">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.086657" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.086810" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:55.086774" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:55.086756" elapsed="0.000117"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.087027" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.087112" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.073521" elapsed="0.013767">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.087425" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.067884" elapsed="0.019741">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.087986" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.088231" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.088409" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:55.040828" elapsed="0.047689">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.088693" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.039796" elapsed="0.049008">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.095880" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.099451" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.038415" elapsed="0.061178">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:55.629610" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:55.627451" elapsed="0.002196"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.630034" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:55.629881" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.629741" elapsed="0.000382"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.630485" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:55.630215" elapsed="0.000327"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:55.631420" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:55.630944" elapsed="0.000503"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:55.630566" elapsed="0.000916"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.631681" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:55.631506" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:55.630193" elapsed="0.001565"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:55.631816" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:20:55.632122" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:55.626666" elapsed="0.005502"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:55.632229" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:55.632520" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:55.625460" elapsed="0.007155"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:55.647759" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:55.647287" elapsed="0.000544"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:55.648458" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:55.648085" elapsed="0.000439"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:55.653972" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.651363" elapsed="0.004289">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:55.648676" elapsed="0.007066">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.655926" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:55.655776" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:55.648644" elapsed="0.007371">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.656431" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.656601" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:55.656548" elapsed="0.000097"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:55.656530" elapsed="0.000137"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.656822" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.656909" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.639782" elapsed="0.017303">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.657175" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.633071" elapsed="0.024287">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.657775" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.658019" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:55.658197" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:55.602913" elapsed="0.055390">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.658465" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.601869" elapsed="0.056723">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.665924" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:55.669497" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:55.600403" elapsed="0.069258">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:56.197333" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:56.195218" elapsed="0.002158"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.197764" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:56.197609" elapsed="0.000214"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.197464" elapsed="0.000387"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.198203" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:56.197943" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:56.199191" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:56.198513" elapsed="0.000706"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:56.198285" elapsed="0.000969"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.199439" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:56.199279" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:56.197922" elapsed="0.001592"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:56.199587" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:20:56.199895" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:56.194353" elapsed="0.005587"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:56.200000" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:56.200291" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:56.193232" elapsed="0.007136"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:56.209300" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:56.209036" elapsed="0.000338"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:56.209832" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:56.209562" elapsed="0.000314"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:56.214838" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.212057" elapsed="0.004447">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:56.209964" elapsed="0.006644">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.216793" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:56.216643" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:56.209943" elapsed="0.006938">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.217365" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.217523" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:56.217484" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:56.217465" elapsed="0.000137"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.217760" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.217847" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.204188" elapsed="0.013843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.218121" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.200765" elapsed="0.017535">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.218681" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.218924" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.219100" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:56.172914" elapsed="0.046291">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.219368" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.171871" elapsed="0.047609">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.226543" elapsed="0.000082"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.230120" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.170428" elapsed="0.059817">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:56.758718" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:56.756547" elapsed="0.002203"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.759117" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:56.758968" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.758834" elapsed="0.000370"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.759554" elapsed="0.000171"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:56.759293" elapsed="0.000532"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:56.760583" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:56.760088" elapsed="0.000523"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:56.759852" elapsed="0.000795"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.760854" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:56.760672" elapsed="0.000242"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:56.759272" elapsed="0.001662"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:56.760993" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:56.761333" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:56.755773" elapsed="0.005606"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:56.761442" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:56.761753" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:56.754620" elapsed="0.007211"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:56.770772" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:56.770483" elapsed="0.000337"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:56.771238" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:56.770989" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:56.779918" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.775025" elapsed="0.007493">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:56.771370" elapsed="0.011255">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.782818" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:56.782661" elapsed="0.000223"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:56.771349" elapsed="0.011560">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.783340" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.783503" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:56.783464" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:56.783444" elapsed="0.000140"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.783745" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.783836" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.765780" elapsed="0.018240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.784115" elapsed="0.000043"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.762216" elapsed="0.022098">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.784746" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.784998" elapsed="0.000024"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:56.785210" elapsed="0.000020"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:56.733461" elapsed="0.051863">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.785493" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.732325" elapsed="0.053308">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.793018" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:56.796658" elapsed="0.000029"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:56.730973" elapsed="0.065819">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:57.323337" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:57.321212" elapsed="0.002158"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.323753" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:57.323600" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.323455" elapsed="0.000386"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.324189" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:57.323930" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:57.325044" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:57.324499" elapsed="0.000572"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:57.324271" elapsed="0.000837"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.325292" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:57.325132" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:57.323909" elapsed="0.001459"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:57.325425" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:57.325949" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:57.320387" elapsed="0.005607"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:57.326058" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:57.326348" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:57.319296" elapsed="0.007128"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:57.335396" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:57.335129" elapsed="0.000314"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:57.335877" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:57.335627" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:57.340788" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.338152" elapsed="0.004304">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:57.336080" elapsed="0.006463">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.342764" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:57.342614" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:57.336054" elapsed="0.006800">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.343265" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.343417" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:57.343380" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:57.343362" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.343655" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.343744" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.330199" elapsed="0.013719">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.344008" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.326821" elapsed="0.017367">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.344543" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.344804" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.344991" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:57.299998" elapsed="0.045101">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.345263" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.298952" elapsed="0.046423">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.352516" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.356111" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.297651" elapsed="0.058620">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:57.894583" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:57.890936" elapsed="0.003681"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.894981" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:57.894831" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.894701" elapsed="0.000368"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.895419" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:57.895159" elapsed="0.000319"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:57.896227" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:57.895750" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:57.895502" elapsed="0.000788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.896475" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:57.896316" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:57.895137" elapsed="0.001420"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:57.896676" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:20:57.896996" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:57.889165" elapsed="0.007877"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:57.897106" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:20:57.897403" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:57.886250" elapsed="0.011232"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:57.906129" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:57.905866" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:57.906612" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:57.906343" elapsed="0.000314"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:57.911347" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.908845" elapsed="0.004263">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:57.906745" elapsed="0.006452">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.913380" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:57.913231" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:57.906724" elapsed="0.006743">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.913891" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.914045" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:57.914007" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:57.913988" elapsed="0.000173"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.914319" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.914406" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.901181" elapsed="0.013414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.914687" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.897888" elapsed="0.016980">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.915221" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.915462" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:57.915654" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:57.859422" elapsed="0.056346">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.915931" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.858390" elapsed="0.057652">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.923264" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:57.926834" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:57.857102" elapsed="0.069857">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:58.455980" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:58.453785" elapsed="0.002228"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.456378" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:58.456227" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:58.456097" elapsed="0.000365"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.456840" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:58.456564" elapsed="0.000333"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:58.457640" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:58.457145" elapsed="0.000522"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:58.456921" elapsed="0.000782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.457887" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:58.457728" elapsed="0.000344"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:58.456531" elapsed="0.001564"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:58.458155" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:20:58.458463" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:58.452972" elapsed="0.005538"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:58.458588" elapsed="0.000055"/>
</return>
<msg time="2026-04-11T23:20:58.458887" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:58.451864" elapsed="0.007101"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:58.468127" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:58.467863" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:58.468630" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:58.468344" elapsed="0.000331"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:58.473360" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:58.470762" elapsed="0.004256">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:58.468764" elapsed="0.006342">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.475290" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:58.475139" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:58.468744" elapsed="0.006633">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.475821" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:58.475976" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:58.475938" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:58.475920" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.476196" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:58.476282" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:58.462913" elapsed="0.013542">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:58.476590" elapsed="0.000043"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:58.459351" elapsed="0.017424">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.477130" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.477373" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:58.477549" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:58.430170" elapsed="0.047500">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.477869" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:58.429143" elapsed="0.048841">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.485057" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:58.488673" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:58.427811" elapsed="0.060989">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:59.014467" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:59.012395" elapsed="0.002103"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.014951" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:59.014801" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.014672" elapsed="0.000365"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.015377" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:59.015124" elapsed="0.000310"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:59.016176" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:59.015699" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:59.015458" elapsed="0.000781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.016449" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:59.016264" elapsed="0.000241"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:59.015104" elapsed="0.001422"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:59.016595" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:20:59.016899" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:59.011598" elapsed="0.005346"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:59.017005" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:20:59.017297" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:59.010451" elapsed="0.006923"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:59.026174" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:59.025914" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:59.026729" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:59.026388" elapsed="0.000386"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:59.031439" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:59.028934" elapsed="0.004168">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:59.026862" elapsed="0.006372">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.033420" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:59.033269" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:59.026841" elapsed="0.006666">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.033928" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.034082" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:59.034045" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:59.034026" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.034301" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.034387" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:59.021203" elapsed="0.013360">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.034673" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:59.017771" elapsed="0.017082">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.035206" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.035449" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.035639" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:58.990890" elapsed="0.044857">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.035908" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:58.990222" elapsed="0.045798">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.043245" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.046813" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:58.989371" elapsed="0.057568">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:59.572758" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:59.570660" elapsed="0.002128"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.573204" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:20:59.573054" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.572927" elapsed="0.000362"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.573649" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:59.573375" elapsed="0.000332"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:20:59.574436" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:20:59.573958" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:20:59.573731" elapsed="0.000768"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.574698" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:59.574524" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:20:59.573356" elapsed="0.001418"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:59.574831" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:20:59.575134" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:20:59.569786" elapsed="0.005395"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:20:59.575243" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:20:59.575536" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:20:59.568696" elapsed="0.007170"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:59.586626" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:59.586344" elapsed="0.000330"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:20:59.587086" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:20:59.586841" elapsed="0.000288"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:20:59.591956" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:20:59.589288" elapsed="0.004332">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:20:59.587217" elapsed="0.006490">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.593893" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:20:59.593742" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:20:59.587197" elapsed="0.006783">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.594395" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.594547" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:20:59.594510" elapsed="0.000100"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:20:59.594491" elapsed="0.000142"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.594788" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.594874" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:20:59.581587" elapsed="0.013463">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.595186" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:20:59.576274" elapsed="0.019096">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.595755" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.595998" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:20:59.596198" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:20:59.549884" elapsed="0.046420">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.596465" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:20:59.548877" elapsed="0.047714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.603669" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:20:59.607190" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:20:59.547622" elapsed="0.059694">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:00.173075" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:00.170786" elapsed="0.002321"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.173477" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:00.173325" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.173195" elapsed="0.000368"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.174068" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:00.173805" elapsed="0.000320"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:00.174877" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:00.174378" elapsed="0.000526"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:00.174149" elapsed="0.000790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.175128" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:00.174965" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:00.173782" elapsed="0.001423"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:00.175262" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:00.175585" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:00.169975" elapsed="0.005661"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:00.175699" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:00.176017" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:00.168623" elapsed="0.007473"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:00.185015" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:00.184751" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:00.185480" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:00.185231" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:00.190748" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.187788" elapsed="0.004620">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:00.185704" elapsed="0.006793">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.192707" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:00.192532" elapsed="0.000242"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:00.185683" elapsed="0.007114">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.193379" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.193540" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:00.193502" elapsed="0.000115"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:00.193482" elapsed="0.000158"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.193803" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.193891" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.180036" elapsed="0.014034">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.194161" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.176551" elapsed="0.017794">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.194730" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.194974" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.195154" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:00.110391" elapsed="0.084872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.195426" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.109382" elapsed="0.086158">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.202829" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.206382" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.108124" elapsed="0.098386">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:00.734277" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:00.731982" elapsed="0.002327"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.734698" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:00.734530" elapsed="0.000227"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.734396" elapsed="0.000391"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.735144" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:00.734878" elapsed="0.000325"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:00.735988" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:00.735457" elapsed="0.000559"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:00.735228" elapsed="0.000824"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.736238" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:00.736076" elapsed="0.000218"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:00.734857" elapsed="0.001458"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:00.736371" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:00.736834" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:00.731160" elapsed="0.005719"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:00.736941" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:00.737238" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:00.730041" elapsed="0.007276"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:00.746251" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:00.745984" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:00.746737" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:00.746469" elapsed="0.000313"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:00.751590" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.748998" elapsed="0.004306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:00.746870" elapsed="0.006523">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.753594" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:00.753427" elapsed="0.000239"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:00.746850" elapsed="0.006839">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.754173" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.754331" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:00.754293" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:00.754273" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.754554" elapsed="0.000037"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.754658" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.741232" elapsed="0.013604">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.754928" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.737725" elapsed="0.017387">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.755473" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.755745" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:00.755926" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:00.709551" elapsed="0.046488">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.756204" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.708511" elapsed="0.047807">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.763375" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:00.767127" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:00.707206" elapsed="0.060050">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:01.297154" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:01.293987" elapsed="0.003209"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.297710" elapsed="0.000032"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:01.297474" elapsed="0.000318"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.297307" elapsed="0.000524"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.298319" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:01.297951" elapsed="0.000540"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:01.299914" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:01.299211" elapsed="0.000740"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:01.298527" elapsed="0.001473"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.300245" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:01.300034" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:01.297922" elapsed="0.002415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:01.300409" elapsed="0.000047"/>
</return>
<msg time="2026-04-11T23:21:01.300804" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:01.292916" elapsed="0.007943"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:01.300934" elapsed="0.000060"/>
</return>
<msg time="2026-04-11T23:21:01.301294" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:01.291390" elapsed="0.010005"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:01.312982" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:01.312335" elapsed="0.000757"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:01.314059" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:01.313473" elapsed="0.000682"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:01.323717" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.319140" elapsed="0.007121">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:01.314352" elapsed="0.012047">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.326719" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:01.326454" elapsed="0.000382"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:01.314305" elapsed="0.012572">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.327559" elapsed="0.000064"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.327847" elapsed="0.000025"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:01.327771" elapsed="0.000147"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:01.327738" elapsed="0.000214"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.328192" elapsed="0.000034"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.328322" elapsed="0.000026"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.305703" elapsed="0.022921">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.328768" elapsed="0.000073"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.301934" elapsed="0.027134">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.329722" elapsed="0.000037"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.330118" elapsed="0.000035"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.330389" elapsed="0.000027"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:01.271150" elapsed="0.059407">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.330834" elapsed="0.000034"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.269845" elapsed="0.061167">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.341284" elapsed="0.000030"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.344869" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.268220" elapsed="0.076786">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:01.873360" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:01.871250" elapsed="0.002142"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.873785" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:01.873633" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.873476" elapsed="0.000395"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.874219" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:01.873959" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:01.875316" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:01.874540" elapsed="0.000827"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:01.874301" elapsed="0.001103"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.875605" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:01.875429" elapsed="0.000237"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:01.873938" elapsed="0.001751"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:01.875745" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:01.876050" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:01.870360" elapsed="0.005736"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:01.876159" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:01.876452" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:01.869187" elapsed="0.007342"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:01.885359" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:01.885081" elapsed="0.000329"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:01.885860" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:01.885606" elapsed="0.000299"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:01.890757" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.888282" elapsed="0.004140">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:01.886075" elapsed="0.006435">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.892710" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:01.892545" elapsed="0.000229"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:01.886051" elapsed="0.006747">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.893232" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.893389" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:01.893350" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:01.893331" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.893638" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.893729" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.880233" elapsed="0.013677">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.894001" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.876933" elapsed="0.017252">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.894554" elapsed="0.000040"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.894824" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:01.895008" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:01.848156" elapsed="0.046961">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.895280" elapsed="0.000248"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.847111" elapsed="0.048553">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.902954" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:01.906658" elapsed="0.000032"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:01.845832" elapsed="0.061009">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:02.433930" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:02.431795" elapsed="0.002168"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.434329" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:02.434179" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:02.434048" elapsed="0.000368"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.434785" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:02.434506" elapsed="0.000337"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:02.435625" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:02.435092" elapsed="0.000561"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:02.434868" elapsed="0.000821"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.435874" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:02.435715" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:02.434485" elapsed="0.001466"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:02.436009" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:02.436315" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:02.430972" elapsed="0.005389"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:02.436424" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:02.436996" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:02.429853" elapsed="0.007221"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:02.446156" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:02.445880" elapsed="0.000326"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:02.446652" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:02.446382" elapsed="0.000317"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:02.451690" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:02.448913" elapsed="0.004527">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:02.446798" elapsed="0.006733">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.453746" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:02.453583" elapsed="0.000230"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:02.446770" elapsed="0.007067">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.454271" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:02.454432" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:02.454392" elapsed="0.000140"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:02.454372" elapsed="0.000186"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.454742" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:02.454832" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:02.441090" elapsed="0.013926">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:02.455111" elapsed="0.000081"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:02.437463" elapsed="0.017885">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.455735" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.455999" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:02.456184" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:02.409999" elapsed="0.046297">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.456466" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:02.408973" elapsed="0.047637">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.463752" elapsed="0.000033"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.467398" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:02.407677" elapsed="0.059855">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:02.997028" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:02.994743" elapsed="0.002317"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.997425" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:02.997275" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:02.997146" elapsed="0.000365"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.997877" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:02.997616" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:02.998682" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:02.998184" elapsed="0.000525"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:02.997958" elapsed="0.000788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:02.998931" elapsed="0.000048"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:02.998771" elapsed="0.000305"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:02.997594" elapsed="0.001505"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:02.999156" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:02.999464" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:02.993794" elapsed="0.005716"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:02.999587" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:21:02.999886" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:02.992682" elapsed="0.007284"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:03.009009" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:03.008743" elapsed="0.000314"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:03.009479" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:03.009227" elapsed="0.000297"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:03.014129" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:03.011653" elapsed="0.004123">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:03.009629" elapsed="0.006234">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.016046" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:03.015898" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:03.009607" elapsed="0.006526">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.016545" elapsed="0.000053"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:03.016734" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:03.016696" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:03.016675" elapsed="0.000125"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.016954" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:03.017042" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:03.003868" elapsed="0.013350">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:03.017309" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:03.000359" elapsed="0.017132">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.017874" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.018117" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:03.018294" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:02.970649" elapsed="0.047750">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.018622" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:02.969627" elapsed="0.049112">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.026066" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.029642" elapsed="0.000055"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:02.968307" elapsed="0.061500">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:03.556421" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:03.554331" elapsed="0.002119"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.556813" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:03.556664" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:03.556526" elapsed="0.000373"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.557228" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:03.556982" elapsed="0.000304"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:03.558027" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:03.557535" elapsed="0.000519"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:03.557310" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.558273" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:03.558115" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:03.556963" elapsed="0.001386"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:03.558403" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:21:03.558944" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:03.553553" elapsed="0.005437"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:03.559053" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:03.559345" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:03.552483" elapsed="0.006940"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:03.568305" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:03.568045" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:03.568790" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:03.568521" elapsed="0.000313"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:03.573516" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:03.570996" elapsed="0.004226">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:03.568922" elapsed="0.006436">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.575544" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:03.575394" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:03.568901" elapsed="0.006749">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.576073" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:03.576226" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:03.576188" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:03.576169" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.576447" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:03.576534" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:03.563353" elapsed="0.013372">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:03.576816" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:03.559820" elapsed="0.017177">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.577351" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.577606" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:03.577784" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:03.532799" elapsed="0.045093">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.578053" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:03.531768" elapsed="0.046397">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.585260" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:03.588829" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:03.530432" elapsed="0.058524">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:04.121835" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:04.119693" elapsed="0.002172"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.122260" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:04.122111" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.121987" elapsed="0.000359"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.122706" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:04.122431" elapsed="0.000334"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:04.123495" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:04.123016" elapsed="0.000506"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:04.122789" elapsed="0.000770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.123761" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:04.123599" elapsed="0.000218"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:04.122411" elapsed="0.001427"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:04.123894" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:21:04.124198" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:04.118906" elapsed="0.005338"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:04.124306" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:04.124618" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:04.117765" elapsed="0.006933"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:04.133796" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:04.133516" elapsed="0.000326"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:04.134258" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:04.134011" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:04.138877" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.136438" elapsed="0.004078">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:04.134392" elapsed="0.006254">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.140829" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:04.140681" elapsed="0.000211"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:04.134372" elapsed="0.006543">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.141316" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.141467" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:04.141431" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:04.141412" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.141701" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.141789" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.128675" elapsed="0.013287">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.142088" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.125085" elapsed="0.017187">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.142662" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.142906" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.143082" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:04.091865" elapsed="0.051325">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.143352" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.090841" elapsed="0.052625">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.152521" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.156104" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.089627" elapsed="0.066607">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:04.684146" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:04.681731" elapsed="0.002452"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.684595" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:04.684427" elapsed="0.000228"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.684282" elapsed="0.000405"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.685059" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:04.684787" elapsed="0.000329"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:04.685881" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:04.685371" elapsed="0.000538"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:04.685143" elapsed="0.000803"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.686133" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:04.685970" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:04.684763" elapsed="0.001447"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:04.686272" elapsed="0.000045"/>
</return>
<msg time="2026-04-11T23:21:04.686655" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:04.680907" elapsed="0.005797"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:04.686769" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:04.687067" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:04.679787" elapsed="0.007357"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:04.696496" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:04.696231" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:04.696979" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:04.696729" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:04.701896" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.699161" elapsed="0.004510">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:04.697110" elapsed="0.006652">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.703945" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:04.703796" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:04.697090" elapsed="0.006943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.704453" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.704622" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:04.704583" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:04.704550" elapsed="0.000137"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.704850" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.704937" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.691109" elapsed="0.014006">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.705204" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.687862" elapsed="0.017523">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.705765" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.706011" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:04.706187" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:04.659543" elapsed="0.046750">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.706469" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.658487" elapsed="0.048108">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.713922" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:04.717500" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:04.657084" elapsed="0.060555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:05.245276" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:05.243135" elapsed="0.002176"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.245709" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:05.245539" elapsed="0.000234"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.245402" elapsed="0.000402"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.246194" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:05.245900" elapsed="0.000353"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:05.247178" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:05.246508" elapsed="0.000696"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:05.246277" elapsed="0.000963"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.247426" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:05.247264" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:05.245877" elapsed="0.001625"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:05.247561" elapsed="0.000056"/>
</return>
<msg time="2026-04-11T23:21:05.247888" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:05.242291" elapsed="0.005642"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:05.247995" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:05.248287" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:05.241044" elapsed="0.007321"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:05.257229" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:05.256965" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:05.257712" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:05.257445" elapsed="0.000311"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:05.262653" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.259963" elapsed="0.004366">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:05.257846" elapsed="0.006573">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.264620" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:05.264453" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:05.257826" elapsed="0.006882">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.265189" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.265342" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:05.265306" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:05.265287" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.265561" elapsed="0.000037"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.265664" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.252262" elapsed="0.013580">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.265932" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.248780" elapsed="0.017333">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.266504" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.266775" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.266954" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:05.221083" elapsed="0.045979">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.267227" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.219959" elapsed="0.047382">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.274673" elapsed="0.000030"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.278233" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.218503" elapsed="0.059863">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:05.805855" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:05.803743" elapsed="0.002145"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.806277" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:05.806125" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.805992" elapsed="0.000372"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.806731" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:05.806453" elapsed="0.000409"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:05.807748" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:05.807121" elapsed="0.000656"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:05.806888" elapsed="0.000925"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.808014" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:05.807838" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:05.806432" elapsed="0.001660"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:05.808151" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:05.808461" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:05.802833" elapsed="0.005674"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:05.808585" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:21:05.808886" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:05.801689" elapsed="0.007275"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:05.818180" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:05.817901" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:05.818658" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:05.818394" elapsed="0.000307"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:05.823558" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.820877" elapsed="0.004404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:05.818790" elapsed="0.006579">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.825553" elapsed="0.000039"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:05.825402" elapsed="0.000235"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:05.818769" elapsed="0.006891">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.826099" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.826254" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:05.826217" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:05.826198" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.826506" elapsed="0.000025"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.826613" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.812837" elapsed="0.013954">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.826882" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.809354" elapsed="0.017708">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.827469" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.827744" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:05.827923" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:05.781766" elapsed="0.046265">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.828195" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.780699" elapsed="0.047610">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.835463" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:05.839210" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:05.779215" elapsed="0.060123">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:06.366764" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:06.364559" elapsed="0.002238"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.367176" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:06.367024" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.366888" elapsed="0.000376"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.367629" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:06.367353" elapsed="0.000335"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:06.368417" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:06.367940" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:06.367713" elapsed="0.000767"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.368711" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:06.368505" elapsed="0.000265"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:06.367332" elapsed="0.001462"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:06.368852" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:06.369157" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:06.363763" elapsed="0.005439"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:06.369265" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:06.369558" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:06.362502" elapsed="0.007390"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:06.378772" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:06.378483" elapsed="0.000336"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:06.379233" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:06.378986" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:06.384074" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.381511" elapsed="0.004313">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:06.379437" elapsed="0.006476">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.386098" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:06.385948" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:06.379416" elapsed="0.006770">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.386617" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.386775" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:06.386736" elapsed="0.000087"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:06.386717" elapsed="0.000128"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.387000" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.387088" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.373732" elapsed="0.013530">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.387352" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.370287" elapsed="0.017245">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.387912" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.388156" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.388334" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:06.342467" elapsed="0.045978">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.388633" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.341390" elapsed="0.047358">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.396052" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.399999" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.340104" elapsed="0.060065">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:06.927194" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:06.924990" elapsed="0.002234"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.927602" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:06.927435" elapsed="0.000228"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.927304" elapsed="0.000388"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.928031" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:06.927780" elapsed="0.000309"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:06.929152" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:06.928341" elapsed="0.000839"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:06.928113" elapsed="0.001103"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.929405" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:06.929242" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:06.927760" elapsed="0.001722"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:06.929540" elapsed="0.000072"/>
</return>
<msg time="2026-04-11T23:21:06.929904" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:06.924187" elapsed="0.005763"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:06.930013" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:06.930307" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:06.922987" elapsed="0.007398"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:06.939429" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:06.939163" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:06.939964" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:06.939661" elapsed="0.000348"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:06.945367" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.942673" elapsed="0.004386">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:06.940099" elapsed="0.007050">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.947332" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:06.947182" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:06.940078" elapsed="0.007341">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.947847" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.948002" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:06.947965" elapsed="0.000169"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:06.947945" elapsed="0.000218"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.948328" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.948416" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.934254" elapsed="0.014363">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.948710" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.930789" elapsed="0.018106">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.949252" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.949495" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:06.949717" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:06.903178" elapsed="0.046651">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.949992" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.902129" elapsed="0.047976">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.957149" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:06.960702" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:06.900785" elapsed="0.060044">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:07.486802" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:07.484266" elapsed="0.002570"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.487216" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:07.487064" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:07.486931" elapsed="0.000372"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.487661" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:07.487392" elapsed="0.000328"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:07.488466" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:07.487984" elapsed="0.000509"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:07.487744" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.488730" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:07.488554" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:07.487371" elapsed="0.001502"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:07.488933" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:07.489241" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:07.483480" elapsed="0.005807"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:07.489362" elapsed="0.000060"/>
</return>
<msg time="2026-04-11T23:21:07.489922" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:07.482219" elapsed="0.007783"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:07.498775" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:07.498497" elapsed="0.000326"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:07.499238" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:07.498991" elapsed="0.000290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:07.504154" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:07.501392" elapsed="0.004450">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:07.499369" elapsed="0.006561">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.506114" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:07.505964" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:07.499348" elapsed="0.006854">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.506620" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:07.506774" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:07.506737" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:07.506718" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.506993" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:07.507079" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:07.493782" elapsed="0.013472">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:07.507344" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:07.490391" elapsed="0.017133">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.507897" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.508139" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:07.508314" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:07.463756" elapsed="0.044664">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.508635" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:07.462739" elapsed="0.046012">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.516035" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:07.519609" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:07.461484" elapsed="0.058253">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:08.045757" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:08.043599" elapsed="0.002188"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.046156" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:08.046006" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.045869" elapsed="0.000373"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.046597" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:08.046331" elapsed="0.000325"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:08.047622" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:08.046905" elapsed="0.000745"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:08.046680" elapsed="0.001005"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.047868" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:08.047710" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:08.046310" elapsed="0.001632"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:08.047999" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:21:08.048297" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:08.042808" elapsed="0.005533"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:08.048401" elapsed="0.000049"/>
</return>
<msg time="2026-04-11T23:21:08.048896" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:08.041708" elapsed="0.007265"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:08.057938" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:08.057675" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:08.058402" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:08.058155" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:08.063214" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.060555" elapsed="0.004366">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:08.058533" elapsed="0.006531">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.065268" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:08.065099" elapsed="0.000234"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:08.058513" elapsed="0.006844">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.065811" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.065967" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:08.065929" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:08.065910" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.066187" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.066272" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.052707" elapsed="0.013750">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.066547" elapsed="0.000064"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.049368" elapsed="0.017389">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.067115" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.067359" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.067536" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:08.022744" elapsed="0.044914">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.067821" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.021721" elapsed="0.046217">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.074994" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.078584" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.020403" elapsed="0.058309">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:08.606515" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:08.604427" elapsed="0.002117"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.606966" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:08.606812" elapsed="0.000213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.606682" elapsed="0.000370"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.607382" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:08.607138" elapsed="0.000301"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:08.608180" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:08.607703" elapsed="0.000504"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:08.607463" elapsed="0.000779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.608425" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:08.608267" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:08.607119" elapsed="0.001382"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:08.608556" elapsed="0.000236"/>
</return>
<msg time="2026-04-11T23:21:08.609091" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:08.603661" elapsed="0.005476"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:08.609199" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:08.609491" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:08.602566" elapsed="0.007015"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:08.618290" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:08.618031" elapsed="0.000306"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:08.618763" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:08.618501" elapsed="0.000306"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:08.623361" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.621008" elapsed="0.004066">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:08.618895" elapsed="0.006265">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.625343" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:08.625194" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:08.618874" elapsed="0.006555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.625848" elapsed="0.000034"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.626009" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:08.625972" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:08.625953" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.626226" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.626312" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.613360" elapsed="0.013124">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.626627" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.609968" elapsed="0.016843">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.627170" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.627411" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:08.627602" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:08.582410" elapsed="0.045302">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.627878" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.581365" elapsed="0.046652">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.637223" elapsed="0.000030"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:08.640923" elapsed="0.000049"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:08.580118" elapsed="0.060958">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:09.169996" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:09.167786" elapsed="0.002243"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.170398" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:09.170248" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.170116" elapsed="0.000370"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.170859" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:09.170593" elapsed="0.000322"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:09.171661" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:09.171167" elapsed="0.000521"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:09.170940" elapsed="0.000783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.171908" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:09.171748" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:09.170557" elapsed="0.001428"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:09.172044" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:09.172350" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:09.166980" elapsed="0.005415"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:09.172456" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:09.172793" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:09.165875" elapsed="0.006999"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:09.182047" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:09.181784" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:09.182510" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:09.182262" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:09.187392" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.184678" elapsed="0.004410">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:09.182658" elapsed="0.006521">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.189364" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:09.189213" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:09.182637" elapsed="0.006815">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.189887" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.190043" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:09.190006" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:09.189987" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.190262" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.190349" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.176808" elapsed="0.013715">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.190636" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.173328" elapsed="0.017490">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.191181" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.191424" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.191617" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:09.144308" elapsed="0.047415">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.191884" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.143277" elapsed="0.048719">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.199154" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.202697" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.141961" elapsed="0.060862">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:09.729377" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:09.727212" elapsed="0.002197"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.730016" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:09.729860" elapsed="0.000216"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.729497" elapsed="0.000608"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.730456" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:09.730195" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:09.731267" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:09.730783" elapsed="0.000511"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:09.730537" elapsed="0.000793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.731517" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:09.731356" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:09.730173" elapsed="0.001438"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:09.731668" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:09.731973" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:09.726411" elapsed="0.005608"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:09.732081" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:09.732373" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:09.725297" elapsed="0.007154"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:09.741245" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:09.740978" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:09.741809" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:09.741462" elapsed="0.000393"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:09.746788" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.743977" elapsed="0.004474">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:09.741944" elapsed="0.006596">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.748769" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:09.748615" elapsed="0.000220"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:09.741923" elapsed="0.006934">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.749342" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.749500" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:09.749461" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:09.749442" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.749754" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.749841" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.736242" elapsed="0.013778">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.750110" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.732868" elapsed="0.017426">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.750676" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.750924" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:09.751106" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:09.705945" elapsed="0.045270">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.751379" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.704927" elapsed="0.046566">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.758820" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:09.762484" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:09.703630" elapsed="0.058999">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:10.289665" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:10.287510" elapsed="0.002188"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.290067" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:10.289916" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.289786" elapsed="0.000367"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.290504" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:10.290244" elapsed="0.000565"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:10.291564" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:10.291079" elapsed="0.000528"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:10.290836" elapsed="0.000807"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.291831" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:10.291669" elapsed="0.000218"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:10.290223" elapsed="0.001685"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:10.291966" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:10.292275" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:10.286707" elapsed="0.005613"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:10.292414" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:10.292740" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:10.285477" elapsed="0.007341"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:10.301897" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:10.301622" elapsed="0.000324"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:10.302366" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:10.302117" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:10.307375" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.304638" elapsed="0.004422">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:10.302500" elapsed="0.006649">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.309336" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:10.309183" elapsed="0.000218"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:10.302480" elapsed="0.006944">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.309865" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.310023" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:10.309985" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:10.309966" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.310246" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.310332" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.296529" elapsed="0.013981">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.310629" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.293215" elapsed="0.017598">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.311225" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.311472" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.311668" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:10.265152" elapsed="0.046626">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.311944" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.264455" elapsed="0.047604">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.319208" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.322781" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.263348" elapsed="0.059564">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:10.849818" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:10.847679" elapsed="0.002172"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.850222" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:10.850070" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.849939" elapsed="0.000399"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.850840" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:10.850431" elapsed="0.000468"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:10.851653" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:10.851155" elapsed="0.000526"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:10.850924" elapsed="0.000792"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.851901" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:10.851742" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:10.850410" elapsed="0.001573"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:10.852041" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:10.852380" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:10.846856" elapsed="0.005569"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:10.852489" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:10.852803" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:10.845715" elapsed="0.007168"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:10.862123" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:10.861851" elapsed="0.000321"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:10.862608" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:10.862340" elapsed="0.000314"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:10.867610" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.864945" elapsed="0.004340">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:10.862815" elapsed="0.006559">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.869563" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:10.869409" elapsed="0.000234"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:10.862791" elapsed="0.006876">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.870093" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.870250" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:10.870211" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:10.870193" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.870473" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.870560" elapsed="0.000043"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.856894" elapsed="0.013874">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.870860" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.853274" elapsed="0.017771">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.871409" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.871670" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:10.871850" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:10.825324" elapsed="0.046636">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.872124" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.824652" elapsed="0.047617">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.879706" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:10.883275" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:10.823670" elapsed="0.059782">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:11.410956" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:11.408828" elapsed="0.002160"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.411354" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:11.411205" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.411074" elapsed="0.000367"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.411810" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:11.411531" elapsed="0.000338"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:11.412838" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:11.412151" elapsed="0.000716"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:11.411893" elapsed="0.001010"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.413257" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:11.412929" elapsed="0.000384"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:11.411509" elapsed="0.001825"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:11.413391" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:11.413710" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:11.407994" elapsed="0.005762"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:11.413820" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:11.414118" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:11.406832" elapsed="0.007364"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:11.423186" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:11.422918" elapsed="0.000316"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:11.423668" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:11.423402" elapsed="0.000311"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:11.428409" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.425922" elapsed="0.004206">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:11.423803" elapsed="0.006413">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.430403" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:11.430251" elapsed="0.000217"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:11.423782" elapsed="0.006710">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.430938" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.431095" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:11.431056" elapsed="0.000138"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:11.431037" elapsed="0.000182"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.431380" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.431467" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.418036" elapsed="0.013627">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.431755" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.414601" elapsed="0.017336">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.432314" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.432558" elapsed="0.000047"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.432763" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:11.386599" elapsed="0.046274">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.433037" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.385548" elapsed="0.047601">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.440221" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.443808" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.384257" elapsed="0.059680">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:11.972368" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:11.970234" elapsed="0.002166"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.972785" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:11.972634" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.972487" elapsed="0.000385"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.973223" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:11.972961" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:11.974138" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:11.973528" elapsed="0.000638"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:11.973303" elapsed="0.000901"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.974391" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:11.974229" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:11.972939" elapsed="0.001600"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:11.974831" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:11.975146" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:11.969427" elapsed="0.005765"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:11.975256" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:11.975554" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:11.968277" elapsed="0.007370"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:11.984475" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:11.984208" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:11.984961" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:11.984707" elapsed="0.000298"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:11.989862" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.987296" elapsed="0.004288">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:11.985093" elapsed="0.006581">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.991887" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:11.991709" elapsed="0.000244"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:11.985073" elapsed="0.006904">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.992403" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.992557" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:11.992520" elapsed="0.000097"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:11.992501" elapsed="0.000137"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.992797" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.992885" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.979476" elapsed="0.013593">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.993161" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.976064" elapsed="0.017283">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.993735" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.993981" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:11.994162" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:11.947136" elapsed="0.047135">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:11.994488" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.946119" elapsed="0.048514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.001953" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.005604" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:11.944734" elapsed="0.061003">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:12.531938" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:12.529815" elapsed="0.002156"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.532346" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:12.532195" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:12.532063" elapsed="0.000370"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.533084" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:12.532523" elapsed="0.000620"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:12.533887" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:12.533392" elapsed="0.000527"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:12.533167" elapsed="0.000790"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.534143" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:12.533982" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:12.532501" elapsed="0.001717"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:12.534275" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:12.534593" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:12.529018" elapsed="0.005621"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:12.534701" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:12.534994" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:12.527912" elapsed="0.007164"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:12.543886" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:12.543617" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:12.544349" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:12.544102" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:12.549351" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:12.546560" elapsed="0.004462">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:12.544479" elapsed="0.006690">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.551355" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:12.551204" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:12.544459" elapsed="0.006984">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.551904" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:12.552066" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:12.552028" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:12.552007" elapsed="0.000123"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.552286" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:12.552373" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:12.538768" elapsed="0.013779">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:12.552666" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:12.535457" elapsed="0.017393">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.553205" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.553447" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:12.553639" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:12.509004" elapsed="0.044744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.553912" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:12.507966" elapsed="0.046059">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.561076" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:12.564610" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:12.506552" elapsed="0.058184">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:13.091788" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:13.089618" elapsed="0.002202"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.092300" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:13.092147" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.092014" elapsed="0.000373"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.092746" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:13.092474" elapsed="0.000331"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:13.093536" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:13.093059" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:13.092829" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.093801" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:13.093640" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:13.092453" elapsed="0.001425"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:13.093935" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:13.094240" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:13.088803" elapsed="0.005484"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:13.094348" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:13.094658" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:13.087675" elapsed="0.007062"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:13.103660" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:13.103310" elapsed="0.000400"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:13.104124" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:13.103877" elapsed="0.000290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:13.108985" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.106263" elapsed="0.004400">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:13.104258" elapsed="0.006493">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.110934" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:13.110785" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:13.104237" elapsed="0.006782">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.111443" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.111626" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:13.111560" elapsed="0.000110"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:13.111541" elapsed="0.000152"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.111850" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.111935" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.098626" elapsed="0.013486">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.112242" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.095124" elapsed="0.017300">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.112798" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.113039" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.113252" elapsed="0.000021"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:13.067851" elapsed="0.045514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.113528" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.066798" elapsed="0.046859">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.122792" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.126346" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.065453" elapsed="0.061022">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:13.653315" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:13.651197" elapsed="0.002151"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.653876" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:13.653719" elapsed="0.000216"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.653438" elapsed="0.000527"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.654334" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:13.654060" elapsed="0.000330"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:13.655138" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:13.654657" elapsed="0.000509"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:13.654415" elapsed="0.000815"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.655421" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:13.655256" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:13.654037" elapsed="0.001463"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:13.655559" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:13.655885" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:13.650378" elapsed="0.005553"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:13.655993" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:13.656287" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:13.649268" elapsed="0.007097"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:13.665450" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:13.665182" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:13.666011" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:13.665756" elapsed="0.000301"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:13.670881" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.668210" elapsed="0.004349">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:13.666147" elapsed="0.006515">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.672847" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:13.672696" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:13.666127" elapsed="0.006808">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.673351" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.673506" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:13.673470" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:13.673451" elapsed="0.000145"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.673757" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.673845" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.660295" elapsed="0.013725">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.674115" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.656833" elapsed="0.017462">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.674670" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.674915" elapsed="0.000026"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:13.675097" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:13.629682" elapsed="0.045535">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.675379" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.628643" elapsed="0.046847">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.682719" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:13.686438" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:13.627272" elapsed="0.059294">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:14.214543" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:14.212437" elapsed="0.002148"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.214947" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:14.214795" elapsed="0.000237"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.214666" elapsed="0.000396"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.215411" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:14.215156" elapsed="0.000314"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:14.216361" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:14.215878" elapsed="0.000511"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:14.215493" elapsed="0.000931"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.216627" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:14.216449" elapsed="0.000235"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:14.215135" elapsed="0.001569"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:14.216760" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:21:14.217062" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:14.211664" elapsed="0.005444"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:14.217170" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:14.217463" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:14.210506" elapsed="0.007034"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:14.226361" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:14.226102" elapsed="0.000306"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:14.226839" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:14.226588" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:14.231656" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.229057" elapsed="0.004224">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:14.226992" elapsed="0.006378">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.233553" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:14.233403" elapsed="0.000230"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:14.226950" elapsed="0.006706">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.234116" elapsed="0.000030"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.234272" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:14.234236" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:14.234217" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.234489" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.234588" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.221409" elapsed="0.013356">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.234854" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.217941" elapsed="0.017120">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.235423" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.235690" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.235869" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:14.189524" elapsed="0.046452">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.236138" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.188502" elapsed="0.047749">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.243553" elapsed="0.000041"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.247109" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.187259" elapsed="0.059977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:14.775336" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:14.773208" elapsed="0.002161"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.775753" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:14.775600" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.775456" elapsed="0.000383"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.776192" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:14.775932" elapsed="0.000390"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:14.777226" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:14.776737" elapsed="0.000517"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:14.776347" elapsed="0.000943"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.777477" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:14.777315" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:14.775910" elapsed="0.001644"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:14.777626" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:14.777933" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:14.772398" elapsed="0.005580"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:14.778040" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:14.778333" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:14.771299" elapsed="0.007111"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:14.787447" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:14.787182" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:14.787928" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:14.787677" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:14.792905" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.790150" elapsed="0.004407">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:14.788061" elapsed="0.006599">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.794861" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:14.794694" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:14.788040" elapsed="0.006909">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.795367" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.795521" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:14.795484" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:14.795465" elapsed="0.000137"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.795760" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.795846" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.782263" elapsed="0.013756">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.796109" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.778832" elapsed="0.017606">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.796862" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.797108" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:14.797284" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:14.750482" elapsed="0.046910">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.797556" elapsed="0.000037"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.749443" elapsed="0.048243">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.804848" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:14.808471" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:14.748057" elapsed="0.060556">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:15.337479" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:15.334355" elapsed="0.003165"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.338019" elapsed="0.000029"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:15.337815" elapsed="0.000280"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.337645" elapsed="0.000488"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.338641" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:15.338251" elapsed="0.000469"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:15.339711" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:15.339077" elapsed="0.000670"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:15.338754" elapsed="0.001039"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.340040" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:15.339827" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:15.338225" elapsed="0.001914"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:15.340214" elapsed="0.000047"/>
</return>
<msg time="2026-04-11T23:21:15.340857" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:15.333318" elapsed="0.007599"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:15.340999" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:21:15.341373" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:15.331890" elapsed="0.009581"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:15.353268" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:15.352921" elapsed="0.000410"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:15.353900" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:15.353554" elapsed="0.000405"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:15.360203" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.356978" elapsed="0.005528">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:15.354149" elapsed="0.008608">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.363222" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:15.362870" elapsed="0.000496"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:15.354121" elapsed="0.009297">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.364379" elapsed="0.000058"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.364764" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:15.364680" elapsed="0.000181"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:15.364637" elapsed="0.000273"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.365252" elapsed="0.000047"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.365443" elapsed="0.000034"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.346367" elapsed="0.019491">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.366058" elapsed="0.000089"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.341990" elapsed="0.024470">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.367341" elapsed="0.000050"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.367907" elapsed="0.000047"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.368322" elapsed="0.000040"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:15.311816" elapsed="0.056745">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.368962" elapsed="0.000047"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.311199" elapsed="0.058011">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.382072" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.385641" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.309493" elapsed="0.076332">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:15.917933" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:15.915630" elapsed="0.002338"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.918344" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:15.918192" elapsed="0.000230"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.918058" elapsed="0.000393"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.918825" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:15.918545" elapsed="0.000339"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:15.919637" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:15.919136" elapsed="0.000529"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:15.918908" elapsed="0.000793"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.919887" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:15.919726" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:15.918523" elapsed="0.001441"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:15.920023" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:15.920334" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:15.914803" elapsed="0.005577"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:15.920443" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:15.920777" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:15.913370" elapsed="0.007488"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:15.930401" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:15.930112" elapsed="0.000339"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:15.930891" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:15.930637" elapsed="0.000299"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:15.936056" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.933104" elapsed="0.004645">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:15.931027" elapsed="0.006811">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.938025" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:15.937872" elapsed="0.000220"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:15.931006" elapsed="0.007109">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.938603" elapsed="0.000030"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.938765" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:15.938727" elapsed="0.000137"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:15.938707" elapsed="0.000183"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.939052" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.939141" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.924916" elapsed="0.014406">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.939413" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.921267" elapsed="0.018362">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.940001" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.940252" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:15.940433" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:15.887951" elapsed="0.052593">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.940777" elapsed="0.000032"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.887473" elapsed="0.053440">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.948054" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:15.951668" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:15.886633" elapsed="0.065167">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:16.480436" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:16.478305" elapsed="0.002162"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.480846" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:16.480695" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:16.480553" elapsed="0.000379"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.481282" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:16.481021" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:16.482083" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:16.481607" elapsed="0.000503"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:16.481363" elapsed="0.000783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.482367" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:16.482170" elapsed="0.000325"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:16.481000" elapsed="0.001517"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:16.482594" elapsed="0.000045"/>
</return>
<msg time="2026-04-11T23:21:16.482915" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:16.477483" elapsed="0.005478"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:16.483023" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:16.483314" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:16.476373" elapsed="0.007021"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:16.492370" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:16.492108" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:16.492850" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:16.492598" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:16.497786" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:16.495050" elapsed="0.004399">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:16.492981" elapsed="0.006556">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.499758" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:16.499606" elapsed="0.000217"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:16.492960" elapsed="0.006887">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.500256" elapsed="0.000035"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:16.500418" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:16.500380" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:16.500362" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.500654" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:16.500743" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:16.487324" elapsed="0.013595">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:16.501009" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:16.484077" elapsed="0.017118">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.501554" elapsed="0.000037"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.501814" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:16.501991" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:16.454926" elapsed="0.047171">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.502329" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:16.453886" elapsed="0.048559">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.509809" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:16.513376" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:16.452557" elapsed="0.060947">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:17.040319" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:17.038218" elapsed="0.002134"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.040732" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:17.040566" elapsed="0.000225"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.040435" elapsed="0.000384"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.041170" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:17.040910" elapsed="0.000320"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:17.041970" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:17.041478" elapsed="0.000546"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:17.041254" elapsed="0.000813"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.042252" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:17.042092" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:17.040888" elapsed="0.001440"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:17.042384" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:17.042904" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:17.037399" elapsed="0.005551"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:17.043012" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:17.043303" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:17.036309" elapsed="0.007070"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:17.052515" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:17.052243" elapsed="0.000319"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:17.052999" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:17.052751" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:17.057845" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.055229" elapsed="0.004326">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:17.053129" elapsed="0.006583">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.059901" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:17.059748" elapsed="0.000218"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:17.053109" elapsed="0.006881">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.060404" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.060558" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:17.060520" elapsed="0.000098"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:17.060501" elapsed="0.000138"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.060795" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.060882" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.047156" elapsed="0.013902">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.061149" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.043776" elapsed="0.017555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.061700" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.061944" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.062136" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:17.016500" elapsed="0.045745">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.062409" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.015481" elapsed="0.047042">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.069543" elapsed="0.000038"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.073112" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.014215" elapsed="0.059024">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:17.599746" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:17.597632" elapsed="0.002146"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.600221" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:17.600069" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.599938" elapsed="0.000369"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.600672" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:17.600396" elapsed="0.000335"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:17.601465" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:17.600986" elapsed="0.000506"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:17.600756" elapsed="0.000772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.601729" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:17.601553" elapsed="0.000256"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:17.600374" elapsed="0.001459"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:17.601901" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:17.602207" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:17.596844" elapsed="0.005410"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:17.602316" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:17.602861" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:17.595756" elapsed="0.007184"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:17.612181" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:17.611913" elapsed="0.000326"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:17.612692" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:17.612430" elapsed="0.000306"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:17.617825" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.615030" elapsed="0.004444">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:17.612824" elapsed="0.006739">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.619762" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:17.619612" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:17.612803" elapsed="0.007046">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.620254" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.620407" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:17.620370" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:17.620352" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.620641" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.620737" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.607061" elapsed="0.013853">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.621041" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.603322" elapsed="0.017904">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.621611" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.621888" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:17.622069" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:17.576423" elapsed="0.045754">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.622340" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.575387" elapsed="0.047065">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.631628" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:17.635166" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:17.574082" elapsed="0.061212">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:18.162731" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:18.160610" elapsed="0.002153"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.163128" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:18.162976" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.162848" elapsed="0.000367"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.163564" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:18.163303" elapsed="0.000333"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:18.164369" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:18.163889" elapsed="0.000508"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:18.163660" elapsed="0.000772"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.164812" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:18.164457" elapsed="0.000414"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:18.163283" elapsed="0.001609"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:18.164949" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:18.165253" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:18.159808" elapsed="0.005490"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:18.165360" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:18.165690" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:18.158708" elapsed="0.007060"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:18.174760" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:18.174478" elapsed="0.000330"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:18.175224" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:18.174976" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:18.180007" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.177452" elapsed="0.004297">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:18.175356" elapsed="0.006481">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.182020" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:18.181871" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:18.175335" elapsed="0.006773">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.182521" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.182692" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:18.182654" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:18.182635" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.182910" elapsed="0.000021"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.182996" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.169628" elapsed="0.013542">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.183262" elapsed="0.000042"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.166214" elapsed="0.017229">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.183817" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.184060" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.184237" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:18.138433" elapsed="0.045910">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.184504" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.137373" elapsed="0.047269">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.191735" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.195317" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.136091" elapsed="0.059354">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:18.722806" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:18.720641" elapsed="0.002198"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.723218" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:18.723064" elapsed="0.000218"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.722929" elapsed="0.000384"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.723682" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:18.723404" elapsed="0.000336"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:18.724784" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:18.724103" elapsed="0.000710"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:18.723764" elapsed="0.001084"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.725035" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:18.724873" elapsed="0.000218"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:18.723382" elapsed="0.001729"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:18.725168" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:18.725504" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:18.719830" elapsed="0.005721"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:18.725630" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:18.725928" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:18.718720" elapsed="0.007287"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:18.734897" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:18.734564" elapsed="0.000380"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:18.735361" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:18.735113" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:18.740154" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.737615" elapsed="0.004276">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:18.735492" elapsed="0.006488">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.742162" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:18.742014" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:18.735472" elapsed="0.006779">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.742736" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.742894" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:18.742857" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:18.742838" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.743115" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.743203" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.729839" elapsed="0.013542">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.743474" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.726392" elapsed="0.017285">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.744040" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.744283" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:18.744463" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:18.698517" elapsed="0.046080">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.744761" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.697485" elapsed="0.047389">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.752156" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:18.755825" elapsed="0.000029"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:18.696171" elapsed="0.059791">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:19.285314" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:19.283199" elapsed="0.002146"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.285723" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:19.285558" elapsed="0.000223"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.285429" elapsed="0.000381"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.286156" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:19.285898" elapsed="0.000387"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:19.287274" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:19.286542" elapsed="0.000761"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:19.286312" elapsed="0.001028"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.287529" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:19.287366" elapsed="0.000237"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:19.285877" elapsed="0.001747"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:19.287683" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:19.288035" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:19.282325" elapsed="0.005768"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:19.288160" elapsed="0.000055"/>
</return>
<msg time="2026-04-11T23:21:19.288638" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:19.281218" elapsed="0.007501"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:19.297911" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:19.297639" elapsed="0.000318"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:19.298379" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:19.298128" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:19.303308" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.300760" elapsed="0.004235">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:19.298513" elapsed="0.006572">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.305301" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:19.305118" elapsed="0.000252"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:19.298492" elapsed="0.006902">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.305837" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.305996" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:19.305958" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:19.305939" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.306220" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.306308" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.292565" elapsed="0.013922">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.306605" elapsed="0.000043"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.289103" elapsed="0.017690">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.307194" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.307444" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.307641" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:19.259027" elapsed="0.048727">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.307921" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.257993" elapsed="0.050045">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.315215" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.318881" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.256699" elapsed="0.062312">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:19.845652" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:19.843515" elapsed="0.002169"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.846054" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:19.845903" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.845771" elapsed="0.000370"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.846491" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:19.846228" elapsed="0.000321"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:19.847435" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:19.846955" elapsed="0.000507"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:19.846724" elapsed="0.000774"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.847696" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:19.847522" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:19.846208" elapsed="0.001565"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:19.847830" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:19.848135" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:19.842732" elapsed="0.005449"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:19.848243" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:19.848538" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:19.841469" elapsed="0.007162"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:19.857524" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:19.857257" elapsed="0.000328"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:19.858002" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:19.857754" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:19.862834" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.860287" elapsed="0.004212">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:19.858194" elapsed="0.006406">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.864786" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:19.864635" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:19.858172" elapsed="0.006701">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.865306" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.865461" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:19.865424" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:19.865405" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.865695" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.865784" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.852379" elapsed="0.013580">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.866049" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.849034" elapsed="0.017198">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.866614" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.866860" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:19.867035" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:19.822199" elapsed="0.044944">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.867306" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.821150" elapsed="0.046268">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.874760" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:19.878296" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:19.819829" elapsed="0.058629">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:20.406093" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:20.403783" elapsed="0.002342"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.406495" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:20.406345" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.406211" elapsed="0.000386"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.406956" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:20.406690" elapsed="0.000323"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:20.407927" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:20.407263" elapsed="0.000691"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:20.407038" elapsed="0.000951"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.408173" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:20.408014" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:20.406668" elapsed="0.001580"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:20.408306" elapsed="0.000043"/>
</return>
<msg time="2026-04-11T23:21:20.408656" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:20.402979" elapsed="0.005725"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:20.408772" elapsed="0.000096"/>
</return>
<msg time="2026-04-11T23:21:20.409139" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:20.401875" elapsed="0.007344"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:20.419562" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:20.419203" elapsed="0.000441"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:20.420099" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:20.419833" elapsed="0.000312"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:20.425669" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.422386" elapsed="0.005019">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:20.420243" elapsed="0.007253">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.427702" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:20.427531" elapsed="0.000237"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:20.420221" elapsed="0.007570">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.428232" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.428398" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:20.428357" elapsed="0.000176"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:20.428338" elapsed="0.000222"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.428741" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.428866" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.413177" elapsed="0.015882">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.429152" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.409623" elapsed="0.019717">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.429720" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.429973" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.430156" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:20.381563" elapsed="0.048703">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.430438" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.380493" elapsed="0.050060">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.437844" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.441475" elapsed="0.000030"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.379190" elapsed="0.062441">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:20.969949" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:20.967786" elapsed="0.002195"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.970340" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:20.970190" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.970063" elapsed="0.000361"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.970905" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:20.970514" elapsed="0.000449"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:20.971705" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:20.971214" elapsed="0.000519"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:20.970988" elapsed="0.000781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.971953" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:20.971793" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:20.970493" elapsed="0.001598"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:20.972148" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:20.972452" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:20.966984" elapsed="0.005514"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:20.972560" elapsed="0.000077"/>
</return>
<msg time="2026-04-11T23:21:20.972881" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:20.965866" elapsed="0.007093"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:20.981756" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:20.981470" elapsed="0.000335"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:20.982229" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:20.981979" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:20.986972" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.984432" elapsed="0.004240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:20.982359" elapsed="0.006404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.988951" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:20.988802" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:20.982339" elapsed="0.006704">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.989446" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.989613" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:20.989560" elapsed="0.000096"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:20.989542" elapsed="0.000143"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.989840" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.989926" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.976815" elapsed="0.013290">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.990194" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.973342" elapsed="0.017034">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.990759" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.991002" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:20.991177" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:20.944750" elapsed="0.046540">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.991489" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.943683" elapsed="0.047936">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:20.998899" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.002426" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:20.942366" elapsed="0.060188">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:21.530220" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:21.527953" elapsed="0.002299"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.530631" elapsed="0.000025"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:21.530466" elapsed="0.000233"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:21.530337" elapsed="0.000389"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.531075" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:21.530818" elapsed="0.000315"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:21.531870" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:21.531381" elapsed="0.000517"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:21.531156" elapsed="0.000777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.532116" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:21.531958" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:21.530797" elapsed="0.001394"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:21.532248" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:21.532595" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:21.527148" elapsed="0.005494"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:21.532711" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:21.533005" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:21.526044" elapsed="0.007039"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:21.542123" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:21.541860" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:21.542602" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:21.542339" elapsed="0.000309"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:21.547440" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:21.544922" elapsed="0.004185">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:21.542736" elapsed="0.006513">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.549434" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:21.549284" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:21.542716" elapsed="0.006806">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.549948" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:21.550101" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:21.550064" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:21.550045" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.550319" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:21.550406" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:21.536986" elapsed="0.013617">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:21.550697" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:21.533470" elapsed="0.017408">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.551244" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.551488" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:21.551683" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:21.505762" elapsed="0.046029">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.551954" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:21.504724" elapsed="0.047342">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.559230" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:21.562755" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:21.503347" elapsed="0.059534">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:22.090409" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:22.088326" elapsed="0.002115"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.090943" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:22.090791" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.090658" elapsed="0.000371"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.091375" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:22.091116" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:22.092177" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:22.091699" elapsed="0.000528"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:22.091457" elapsed="0.000807"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.092452" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:22.092289" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:22.091096" elapsed="0.001433"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:22.092599" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:22.092905" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:22.087511" elapsed="0.005440"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:22.093013" elapsed="0.000049"/>
</return>
<msg time="2026-04-11T23:21:22.093303" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:22.086352" elapsed="0.007029"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:22.102198" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:22.101939" elapsed="0.000306"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:22.102744" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:22.102411" elapsed="0.000377"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:22.107962" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.104890" elapsed="0.004878">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:22.102875" elapsed="0.006980">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.110038" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:22.109889" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:22.102855" elapsed="0.007272">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.110527" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.110707" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:22.110671" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:22.110652" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.110925" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.111010" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.097202" elapsed="0.013982">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.111310" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.093783" elapsed="0.017714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.111870" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.112110" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.112311" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:22.065963" elapsed="0.046462">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.112603" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.064934" elapsed="0.047784">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.121845" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.125374" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.063650" elapsed="0.061852">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:22.654224" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:22.651724" elapsed="0.002533"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.654653" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:22.654480" elapsed="0.000232"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.654346" elapsed="0.000395"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.655098" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:22.654834" elapsed="0.000322"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:22.655906" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:22.655408" elapsed="0.000526"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:22.655181" elapsed="0.000788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.656167" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:22.655994" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:22.654812" elapsed="0.001433"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:22.656303" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:22.656631" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:22.650898" elapsed="0.005780"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:22.656779" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:22.657080" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:22.649664" elapsed="0.007495"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:22.666228" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:22.665953" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:22.666720" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:22.666450" elapsed="0.000315"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:22.671544" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.668985" elapsed="0.004281">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:22.666856" elapsed="0.006499">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.673547" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:22.673390" elapsed="0.000240"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:22.666835" elapsed="0.006819">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.674088" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.674243" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:22.674204" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:22.674186" elapsed="0.000123"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.674465" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.674552" elapsed="0.000030"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.660945" elapsed="0.013803">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.674840" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.657667" elapsed="0.017356">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.675387" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.675658" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:22.675839" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:22.628700" elapsed="0.047247">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.676135" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.627656" elapsed="0.048593">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.683410" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:22.687296" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:22.626299" elapsed="0.061131">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:23.214670" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:23.212525" elapsed="0.002177"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.215075" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:23.214920" elapsed="0.000213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.214788" elapsed="0.000374"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.215517" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:23.215252" elapsed="0.000338"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:23.216356" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:23.215871" elapsed="0.000512"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:23.215616" elapsed="0.000803"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.216826" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:23.216444" elapsed="0.000440"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:23.215231" elapsed="0.001674"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:23.216963" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:23.217269" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:23.211711" elapsed="0.005604"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:23.217376" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:23.217688" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:23.210581" elapsed="0.007186"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:23.226546" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:23.226281" elapsed="0.000328"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:23.227031" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:23.226779" elapsed="0.000297"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:23.231871" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.229282" elapsed="0.004306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:23.227165" elapsed="0.006515">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.233867" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:23.233714" elapsed="0.000218"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:23.227145" elapsed="0.006810">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.234448" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.234620" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:23.234565" elapsed="0.000098"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:23.234545" elapsed="0.000140"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.234844" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.234929" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.221604" elapsed="0.013503">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.235199" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.218159" elapsed="0.017223">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.235765" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.236021" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.236200" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:23.190534" elapsed="0.045774">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.236471" elapsed="0.000020"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.189505" elapsed="0.047108">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.243979" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.247588" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.188188" elapsed="0.059530">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:23.775453" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:23.773341" elapsed="0.002143"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.775878" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:23.775724" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.775582" elapsed="0.000381"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.776314" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:23.776053" elapsed="0.000394"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:23.777357" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:23.776876" elapsed="0.000508"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:23.776473" elapsed="0.000946"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.777620" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:23.777444" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:23.776032" elapsed="0.001665"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:23.777756" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:23.778062" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:23.772464" elapsed="0.005644"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:23.778169" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:23.778466" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:23.771326" elapsed="0.007217"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:23.787511" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:23.787246" elapsed="0.000311"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:23.788005" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:23.787756" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:23.792794" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.790225" elapsed="0.004224">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:23.788138" elapsed="0.006400">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.794739" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:23.794587" elapsed="0.000218"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:23.788118" elapsed="0.006710">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.795242" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.795396" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:23.795359" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:23.795340" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.795652" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.795742" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.782372" elapsed="0.013545">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.796007" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.778947" elapsed="0.017242">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.796628" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.796877" elapsed="0.000024"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:23.797060" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:23.750980" elapsed="0.046190">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.797335" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.749935" elapsed="0.047514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.804545" elapsed="0.000041"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:23.808093" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:23.748539" elapsed="0.059682">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:24.339482" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:24.337266" elapsed="0.002254"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.339954" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:24.339798" elapsed="0.000216"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.339640" elapsed="0.000406"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.340430" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:24.340152" elapsed="0.000337"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:24.341459" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:24.340955" elapsed="0.000534"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:24.340515" elapsed="0.001010"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.341730" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:24.341549" elapsed="0.000239"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:24.340127" elapsed="0.001681"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:24.341869" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:21:24.342189" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:24.336375" elapsed="0.005860"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:24.342302" elapsed="0.000060"/>
</return>
<msg time="2026-04-11T23:21:24.342632" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:24.335085" elapsed="0.007627"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:24.351819" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:24.351491" elapsed="0.000376"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:24.352293" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:24.352041" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:24.357524" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.354722" elapsed="0.004529">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:24.352513" elapsed="0.006830">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.359551" elapsed="0.000045"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:24.359377" elapsed="0.000276"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:24.352487" elapsed="0.007192">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.360116" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.360274" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:24.360237" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:24.360218" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.360493" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.360618" elapsed="0.000025"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.346621" elapsed="0.014229">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.360948" elapsed="0.000042"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.343104" elapsed="0.018033">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.361501" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.361819" elapsed="0.000026"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.362014" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:24.311147" elapsed="0.050977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.362290" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.310412" elapsed="0.051991">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.369820" elapsed="0.000030"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.373463" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.309187" elapsed="0.064462">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:24.894506" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:24.892402" elapsed="0.002137"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.894921" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:24.894770" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.894637" elapsed="0.000372"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.895375" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:24.895101" elapsed="0.000332"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:24.896316" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:24.895837" elapsed="0.000506"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:24.895457" elapsed="0.000922"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.896564" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:24.896405" elapsed="0.000229"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:24.895080" elapsed="0.001575"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:24.896713" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:24.897014" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:24.891619" elapsed="0.005440"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:24.897121" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:24.897409" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:24.890478" elapsed="0.007008"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:24.906447" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:24.906179" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:24.906928" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:24.906679" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:24.911693" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.909153" elapsed="0.004210">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:24.907059" elapsed="0.006396">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.913655" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:24.913489" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:24.907039" elapsed="0.006706">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.914156" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.914309" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:24.914272" elapsed="0.000132"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:24.914253" elapsed="0.000176"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.914608" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.914697" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.901342" elapsed="0.013530">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.914965" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.897885" elapsed="0.017262">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.915523" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.915795" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:24.915971" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:24.875490" elapsed="0.040589">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.916242" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.874929" elapsed="0.041427">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.923427" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:24.926994" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:24.874196" elapsed="0.052924">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:25.454382" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:25.452134" elapsed="0.002291"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.454887" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:25.454725" elapsed="0.000223"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:25.454541" elapsed="0.000441"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.455436" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:25.455134" elapsed="0.000369"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:25.456252" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:25.455775" elapsed="0.000504"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:25.455529" elapsed="0.000787"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.456501" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:25.456340" elapsed="0.000585"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:25.455104" elapsed="0.001844"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:25.457014" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:21:25.457346" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:25.451288" elapsed="0.006103"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:25.457455" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:25.457767" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:25.450123" elapsed="0.007721"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:25.466874" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:25.466597" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:25.467368" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:25.467114" elapsed="0.000299"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:25.472519" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:25.469622" elapsed="0.004804">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:25.467501" elapsed="0.007021">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.474726" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:25.474557" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:25.467481" elapsed="0.007332">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.475325" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:25.475487" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:25.475448" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:25.475426" elapsed="0.000125"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.475724" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:25.475811" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:25.461757" elapsed="0.014232">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:25.476081" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:25.458236" elapsed="0.018026">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.476649" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.476892" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:25.477067" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:25.430870" elapsed="0.046303">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.477385" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:25.429788" elapsed="0.047714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.484973" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:25.488532" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:25.428174" elapsed="0.060500">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:26.018302" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:26.016104" elapsed="0.002236"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.018913" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:26.018738" elapsed="0.000236"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.018447" elapsed="0.000560"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.019409" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:26.019113" elapsed="0.000356"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:26.020219" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:26.019738" elapsed="0.000508"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:26.019496" elapsed="0.000785"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.020465" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:26.020306" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:26.019087" elapsed="0.001452"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:26.020617" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:26.020940" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:26.015257" elapsed="0.005728"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:26.021046" elapsed="0.000049"/>
</return>
<msg time="2026-04-11T23:21:26.021333" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:26.014039" elapsed="0.007369"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:26.030432" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:26.030159" elapsed="0.000320"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:26.031006" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:26.030738" elapsed="0.000312"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:26.036699" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:26.033299" elapsed="0.005174">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:26.031137" elapsed="0.007556">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.038899" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:26.038731" elapsed="0.000234"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:26.031117" elapsed="0.007872">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.039418" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.039589" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:26.039534" elapsed="0.000100"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:26.039516" elapsed="0.000140"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.039812" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.039897" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:26.025283" elapsed="0.014791">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.040163" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:26.021818" elapsed="0.018525">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.040714" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.040960" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.041135" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:25.992352" elapsed="0.048891">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.041406" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:25.991292" elapsed="0.050230">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.048586" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.052150" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:25.989761" elapsed="0.062536">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:26.587876" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:26.581062" elapsed="0.006893"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.589365" elapsed="0.000051"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:26.589011" elapsed="0.000488"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.588523" elapsed="0.001043"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.590479" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:26.589883" elapsed="0.000800"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:26.592409" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:26.591274" elapsed="0.001195"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:26.590746" elapsed="0.001804"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.593007" elapsed="0.000048"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:26.592639" elapsed="0.000492"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:26.589826" elapsed="0.003351"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:26.593314" elapsed="0.000084"/>
</return>
<msg time="2026-04-11T23:21:26.594069" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:26.578076" elapsed="0.016098"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:26.594321" elapsed="0.000118"/>
</return>
<msg time="2026-04-11T23:21:26.595189" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:26.576922" elapsed="0.018453"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:26.605787" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:26.605169" elapsed="0.000723"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:26.607124" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:26.606267" elapsed="0.000960"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:26.614902" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:26.610303" elapsed="0.007120">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:26.607427" elapsed="0.010134">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.617865" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:26.617636" elapsed="0.000323"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:26.607381" elapsed="0.010612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.618668" elapsed="0.000039"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.618896" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:26.618842" elapsed="0.000124"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:26.618814" elapsed="0.000221"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.619299" elapsed="0.000034"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.619425" elapsed="0.000024"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:26.599468" elapsed="0.020245">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.619894" elapsed="0.000060"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:26.596004" elapsed="0.024162">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.620728" elapsed="0.000033"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.621090" elapsed="0.000030"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:26.621351" elapsed="0.000025"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:26.556076" elapsed="0.065435">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.621779" elapsed="0.000031"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:26.554840" elapsed="0.067108">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.632145" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:26.635708" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:26.553311" elapsed="0.082528">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:27.163945" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:27.161791" elapsed="0.002189"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.164369" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:27.164215" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.164073" elapsed="0.000385"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.164956" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:27.164557" elapsed="0.000456"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:27.165757" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:27.165263" elapsed="0.000520"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:27.165039" elapsed="0.000779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.166003" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:27.165843" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:27.164533" elapsed="0.001546"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:27.166138" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:21:27.166475" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:27.160981" elapsed="0.005544"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:27.166601" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:27.166895" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:27.159845" elapsed="0.007133"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:27.176267" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:27.175998" elapsed="0.000317"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:27.176828" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:27.176485" elapsed="0.000388"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:27.181875" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.179217" elapsed="0.004343">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:27.176961" elapsed="0.006709">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.183854" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:27.183704" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:27.176941" elapsed="0.007000">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.184367" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.184521" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:27.184485" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:27.184466" elapsed="0.000149"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.184775" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.184862" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.171109" elapsed="0.013932">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.185131" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.167465" elapsed="0.017847">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.185689" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.185934" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.186112" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:27.139146" elapsed="0.047073">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.186380" elapsed="0.000034"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.138078" elapsed="0.048440">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.194335" elapsed="0.000042"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.197921" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.136715" elapsed="0.061344">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:27.724193" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:27.722081" elapsed="0.002141"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.724599" elapsed="0.000025"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:27.724431" elapsed="0.000229"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.724300" elapsed="0.000388"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.725019" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:27.724772" elapsed="0.000306"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:27.725826" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:27.725331" elapsed="0.000522"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:27.725101" elapsed="0.000788"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.726075" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:27.725914" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:27.724753" elapsed="0.001398"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:27.726206" elapsed="0.000056"/>
</return>
<msg time="2026-04-11T23:21:27.726534" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:27.721290" elapsed="0.005518"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:27.726879" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:27.727172" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:27.720195" elapsed="0.007054"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:27.736049" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:27.735789" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:27.736511" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:27.736262" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:27.741215" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.738771" elapsed="0.004119">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:27.736723" elapsed="0.006257">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.743165" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:27.743014" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:27.736702" elapsed="0.006549">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.743729" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.743884" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:27.743847" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:27.743828" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.744102" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.744188" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.731028" elapsed="0.013335">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.744453" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.727647" elapsed="0.017018">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.745025" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.745266" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:27.745443" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:27.701106" elapsed="0.044445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.745729" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.700074" elapsed="0.045768">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.753177" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:27.756729" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:27.698873" elapsed="0.057986">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:28.283749" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:28.281616" elapsed="0.002165"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.284152" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:28.284000" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.283868" elapsed="0.000369"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.284603" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:28.284327" elapsed="0.000419"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:28.285487" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:28.285004" elapsed="0.000511"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:28.284772" elapsed="0.000779"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.285940" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:28.285774" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:28.284306" elapsed="0.001733"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:28.286100" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:28.286411" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:28.280760" elapsed="0.005697"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:28.286696" elapsed="0.000056"/>
</return>
<msg time="2026-04-11T23:21:28.287002" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:28.279659" elapsed="0.007421"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:28.296397" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:28.296114" elapsed="0.000334"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:28.296913" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:28.296661" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:28.302003" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.299083" elapsed="0.004611">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:28.297046" elapsed="0.006737">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.303964" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:28.303816" elapsed="0.000211"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:28.297026" elapsed="0.007024">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.304466" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.304636" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:28.304598" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:28.304564" elapsed="0.000136"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.304854" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.304939" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.290957" elapsed="0.014155">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.305202" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.287469" elapsed="0.017912">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.305808" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.306066" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.306246" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:28.260154" elapsed="0.046200">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.306517" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.259116" elapsed="0.047530">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.313736" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.317328" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.257725" elapsed="0.059730">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:28.844387" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:28.842246" elapsed="0.002174"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.844812" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:28.844659" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.844505" elapsed="0.000393"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.845247" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:28.844987" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:28.846125" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:28.845558" elapsed="0.000600"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:28.845330" elapsed="0.000872"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.846398" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:28.846232" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:28.844965" elapsed="0.001510"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:28.846532" elapsed="0.000252"/>
</return>
<msg time="2026-04-11T23:21:28.847058" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:28.841410" elapsed="0.005692"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:28.847166" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:28.847462" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:28.840305" elapsed="0.007235"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:28.856358" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:28.856092" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:28.856837" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:28.856587" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:28.861658" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.859162" elapsed="0.004253">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:28.857035" elapsed="0.006470">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.863703" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:28.863539" elapsed="0.000229"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:28.857013" elapsed="0.006778">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.864202" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.864355" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:28.864319" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:28.864300" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.864586" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.864676" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.851389" elapsed="0.013609">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.865088" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.847944" elapsed="0.017324">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.865633" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.865891" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:28.866072" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:28.820820" elapsed="0.045361">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.866344" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.819771" elapsed="0.046685">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.873750" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:28.877347" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:28.818338" elapsed="0.059173">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:29.405410" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:29.403249" elapsed="0.002195"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.405862" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:29.405710" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.405533" elapsed="0.000417"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.406305" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:29.406045" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:29.407367" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:29.406795" elapsed="0.000602"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:29.406386" elapsed="0.001047"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.407635" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:29.407459" elapsed="0.000237"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:29.406023" elapsed="0.001694"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:29.407776" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:29.408081" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:29.402374" elapsed="0.005753"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:29.408190" elapsed="0.000060"/>
</return>
<msg time="2026-04-11T23:21:29.408491" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:29.400904" elapsed="0.007678"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:29.417701" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:29.417362" elapsed="0.000387"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:29.418169" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:29.417921" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:29.423123" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.420377" elapsed="0.004446">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:29.418300" elapsed="0.006610">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.425096" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:29.424944" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:29.418280" elapsed="0.006904">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.425672" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.425837" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:29.425799" elapsed="0.000144"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:29.425780" elapsed="0.000190"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.426131" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.426218" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.412401" elapsed="0.013992">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.426483" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.408971" elapsed="0.017713">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.427036" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.427275" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.427450" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:29.380701" elapsed="0.046855">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.427735" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.379676" elapsed="0.048170">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.434925" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.438445" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.378308" elapsed="0.060276">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:29.966182" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:29.964059" elapsed="0.002154"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.966683" elapsed="0.000025"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:29.966425" elapsed="0.000319"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.966296" elapsed="0.000476"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.967116" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:29.966861" elapsed="0.000312"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:29.967909" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:29.967419" elapsed="0.000517"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:29.967196" elapsed="0.000776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.968156" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:29.967997" elapsed="0.000274"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:29.966840" elapsed="0.001453"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:29.968349" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:21:29.968667" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:29.963272" elapsed="0.005444"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:29.968785" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:21:29.969162" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:29.962151" elapsed="0.007095"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:29.978069" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:29.977809" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:29.978529" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:29.978283" elapsed="0.000375"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:29.983306" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.980750" elapsed="0.004211">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:29.978750" elapsed="0.006300">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.985232" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:29.985084" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:29.978729" elapsed="0.006591">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.985761" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.985916" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:29.985879" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:29.985860" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.986137" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.986224" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.973151" elapsed="0.013258">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.986500" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.969704" elapsed="0.017018">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.987079" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.987322" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:29.987497" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:29.941605" elapsed="0.046028">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.987842" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.940534" elapsed="0.047423">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.995218" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:29.998760" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:29.939268" elapsed="0.059620">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:30.526126" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:30.523999" elapsed="0.002160"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.526535" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:30.526383" elapsed="0.000225"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:30.526252" elapsed="0.000386"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.526989" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:30.526730" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:30.527994" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:30.527297" elapsed="0.000724"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:30.527071" elapsed="0.000986"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.528241" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:30.528082" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:30.526709" elapsed="0.001608"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:30.528373" elapsed="0.000046"/>
</return>
<msg time="2026-04-11T23:21:30.528734" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:30.523146" elapsed="0.005633"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:30.528841" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:30.529133" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:30.521923" elapsed="0.007287"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:30.538325" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:30.538051" elapsed="0.000323"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:30.538815" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:30.538545" elapsed="0.000314"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:30.543708" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:30.541048" elapsed="0.004360">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:30.538948" elapsed="0.006608">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.545768" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:30.545609" elapsed="0.000224"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:30.538927" elapsed="0.006930">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.546289" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:30.546445" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:30.546406" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:30.546387" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.546683" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:30.546773" elapsed="0.000021"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:30.533065" elapsed="0.013907">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:30.547066" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:30.529824" elapsed="0.017427">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.547627" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.547873" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:30.548051" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:30.502087" elapsed="0.046073">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.548323" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:30.501036" elapsed="0.047399">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.555509" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:30.559112" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:30.499720" elapsed="0.059523">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:31.087052" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:31.084918" elapsed="0.002168"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.087520" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:31.087369" elapsed="0.000224"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.087234" elapsed="0.000389"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.087990" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:31.087724" elapsed="0.000323"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:31.088972" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:31.088298" elapsed="0.000701"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:31.088072" elapsed="0.000985"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.089245" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:31.089084" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:31.087693" elapsed="0.001629"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:31.089379" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:31.089707" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:31.083997" elapsed="0.005756"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:31.089816" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:31.090105" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:31.082710" elapsed="0.007472"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:31.098932" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:31.098670" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:31.099389" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:31.099145" elapsed="0.000288"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:31.104206" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.101640" elapsed="0.004305">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:31.099520" elapsed="0.006512">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.106215" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:31.106066" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:31.099500" elapsed="0.006801">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.106725" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.106879" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:31.106842" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:31.106823" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.107098" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.107185" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.094011" elapsed="0.013349">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.107493" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.090588" elapsed="0.017119">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.108067" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.108311" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.108489" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:31.062468" elapsed="0.046153">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.108786" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.061443" elapsed="0.047456">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.118490" elapsed="0.000031"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.122093" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.060079" elapsed="0.062144">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:31.648915" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:31.646764" elapsed="0.002184"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.649325" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:31.649171" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.649036" elapsed="0.000375"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.649785" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:31.649502" elapsed="0.000340"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:31.650778" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:31.650104" elapsed="0.000703"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:31.649866" elapsed="0.000976"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.651027" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:31.650867" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:31.649481" elapsed="0.001623"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:31.651162" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:31.651466" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:31.645946" elapsed="0.005566"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:31.651590" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:31.651890" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:31.644829" elapsed="0.007139"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:31.661046" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:31.660754" elapsed="0.000340"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:31.661510" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:31.661264" elapsed="0.000290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:31.666378" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.663730" elapsed="0.004325">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:31.661658" elapsed="0.006485">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.668328" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:31.668177" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:31.661637" elapsed="0.006778">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.668878" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.669035" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:31.668998" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:31.668979" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.669258" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.669345" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.655885" elapsed="0.013636">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.669628" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.652418" elapsed="0.017392">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.670171" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.670416" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:31.670608" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:31.625310" elapsed="0.045404">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.670877" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.624218" elapsed="0.046772">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.678072" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:31.681669" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:31.622927" elapsed="0.058869">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:32.212793" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:32.209314" elapsed="0.003540"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.213534" elapsed="0.000051"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:32.213237" elapsed="0.000395"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.213022" elapsed="0.000648"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.214126" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:32.213794" elapsed="0.000392"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:32.215634" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:32.214518" elapsed="0.001151"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:32.214210" elapsed="0.001496"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.215898" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:32.215732" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:32.213763" elapsed="0.002228"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:32.216063" elapsed="0.000048"/>
</return>
<msg time="2026-04-11T23:21:32.216438" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:32.208199" elapsed="0.008295"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:32.216585" elapsed="0.000080"/>
</return>
<msg time="2026-04-11T23:21:32.216939" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:32.206480" elapsed="0.010540"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:32.226095" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:32.225830" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:32.226561" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:32.226313" elapsed="0.000380"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:32.231565" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.228809" elapsed="0.004452">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:32.226783" elapsed="0.006567">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.233534" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:32.233384" elapsed="0.000229"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:32.226763" elapsed="0.006874">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.234114" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.234268" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:32.234232" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:32.234212" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.234488" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.234601" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.221099" elapsed="0.013683">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.234872" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.217460" elapsed="0.017595">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.235419" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.235679" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.235862" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:32.184558" elapsed="0.051414">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.236137" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.183743" elapsed="0.052508">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.243566" elapsed="0.000040"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.247158" elapsed="0.000029"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.182621" elapsed="0.064670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:32.774109" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:32.772003" elapsed="0.002135"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.774502" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:32.774351" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.774219" elapsed="0.000383"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.774949" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:32.774696" elapsed="0.000365"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:32.775976" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:32.775318" elapsed="0.000685"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:32.775086" elapsed="0.000952"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.776223" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:32.776063" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:32.774675" elapsed="0.001624"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:32.776354" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:21:32.776697" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:32.771203" elapsed="0.005540"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:32.776805" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:32.777097" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:32.770111" elapsed="0.007061"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:32.786098" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:32.785840" elapsed="0.000304"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:32.786558" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:32.786312" elapsed="0.000306"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:32.791418" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.788822" elapsed="0.004338">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:32.786709" elapsed="0.006539">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.793434" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:32.793282" elapsed="0.000217"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:32.786689" elapsed="0.006833">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.793954" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.794107" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:32.794071" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:32.794052" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.794324" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.794433" elapsed="0.000026"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.780986" elapsed="0.013671">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.794750" elapsed="0.000048"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.777554" elapsed="0.017396">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.795352" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.795626" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:32.795820" elapsed="0.000021"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:32.750211" elapsed="0.045725">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.796101" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.749184" elapsed="0.047034">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.803483" elapsed="0.000031"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:32.807299" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:32.747956" elapsed="0.059483">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:33.336322" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:33.334062" elapsed="0.002293"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.336747" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:33.336593" elapsed="0.000214"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.336444" elapsed="0.000394"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.337212" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:33.336948" elapsed="0.000351"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:33.338049" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:33.337555" elapsed="0.000521"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:33.337325" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.338294" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:33.338135" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:33.336919" elapsed="0.001450"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:33.338429" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:33.338753" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:33.333244" elapsed="0.005557"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:33.338866" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:33.339162" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:33.332036" elapsed="0.007204"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:33.348116" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:33.347849" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:33.348624" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:33.348360" elapsed="0.000309"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:33.353451" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.350912" elapsed="0.004239">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:33.348826" elapsed="0.006415">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.355425" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:33.355275" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:33.348804" elapsed="0.006709">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.355953" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.356110" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:33.356072" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:33.356053" elapsed="0.000123"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.356367" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.356457" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.343064" elapsed="0.013588">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.356746" elapsed="0.000042"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.339650" elapsed="0.017282">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.357293" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.357541" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.357736" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:33.310743" elapsed="0.047106">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.358013" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.309714" elapsed="0.048411">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.365431" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.369082" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.308193" elapsed="0.061066">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:33.897653" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:33.895523" elapsed="0.002162"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.898058" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:33.897906" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.897770" elapsed="0.000373"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.898496" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:33.898235" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:33.899449" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:33.898969" elapsed="0.000507"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:33.898738" elapsed="0.000773"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.899710" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:33.899536" elapsed="0.000229"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:33.898214" elapsed="0.001572"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:33.899848" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:33.900184" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:33.894734" elapsed="0.005496"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:33.900293" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:33.900599" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:33.893564" elapsed="0.007113"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:33.909704" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:33.909420" elapsed="0.000332"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:33.910173" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:33.909924" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:33.914961" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.912433" elapsed="0.004198">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:33.910306" elapsed="0.006413">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.916904" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:33.916753" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:33.910285" elapsed="0.006707">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.917414" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.917582" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:33.917530" elapsed="0.000154"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:33.917512" elapsed="0.000197"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.917869" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.917955" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.904540" elapsed="0.013592">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.918223" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.901068" elapsed="0.017339">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.918791" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.919036" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:33.919213" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:33.872400" elapsed="0.046921">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.919487" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.871344" elapsed="0.048273">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.926709" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:33.930230" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:33.870065" elapsed="0.060294">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:34.457795" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:34.455348" elapsed="0.002493"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.458366" elapsed="0.000033"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:34.458144" elapsed="0.000307"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:34.457959" elapsed="0.000532"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.459019" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:34.458640" elapsed="0.000464"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:34.460518" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:34.459471" elapsed="0.001086"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:34.459138" elapsed="0.001494"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.460907" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:34.460669" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:34.458609" elapsed="0.002490"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:34.461184" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:34.461655" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:34.454534" elapsed="0.007189"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:34.461816" elapsed="0.000077"/>
</return>
<msg time="2026-04-11T23:21:34.462248" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:34.453404" elapsed="0.008961"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:34.473327" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:34.473063" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:34.473810" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:34.473544" elapsed="0.000310"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:34.478681" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:34.476039" elapsed="0.004326">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:34.473943" elapsed="0.006511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.480655" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:34.480488" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:34.473923" elapsed="0.006821">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.481154" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:34.481307" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:34.481270" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:34.481251" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.481527" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:34.481630" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:34.468090" elapsed="0.013715">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:34.481899" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:34.462974" elapsed="0.019107">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.482438" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.482695" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:34.482875" elapsed="0.000020"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:34.433466" elapsed="0.049518">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.483195" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:34.432442" elapsed="0.050868">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.490581" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:34.494164" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:34.431129" elapsed="0.063163">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:35.021757" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:35.019609" elapsed="0.002180"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.022159" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:35.022008" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.021878" elapsed="0.000366"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.022743" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:35.022334" elapsed="0.000468"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:35.023567" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:35.023084" elapsed="0.000526"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:35.022826" elapsed="0.000959"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.023980" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:35.023816" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:35.022313" elapsed="0.001742"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:35.024157" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:35.024465" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:35.018804" elapsed="0.005705"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:35.024594" elapsed="0.000054"/>
</return>
<msg time="2026-04-11T23:21:35.024888" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:35.017634" elapsed="0.007332"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:35.033961" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:35.033682" elapsed="0.000327"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:35.034427" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:35.034177" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:35.039210" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:35.036820" elapsed="0.004074">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:35.034559" elapsed="0.006498">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.041247" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:35.041094" elapsed="0.000217"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:35.034539" elapsed="0.006795">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.041783" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.041946" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:35.041905" elapsed="0.000090"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:35.041886" elapsed="0.000131"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.042177" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.042265" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:35.028856" elapsed="0.013589">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.042540" elapsed="0.000067"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:35.025359" elapsed="0.017399">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.043128" elapsed="0.000029"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.043436" elapsed="0.000028"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.043700" elapsed="0.000023"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:34.997335" elapsed="0.046505">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.044055" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:34.996318" elapsed="0.047882">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.051460" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.054984" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:34.995026" elapsed="0.060086">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:35.580702" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:35.578525" elapsed="0.002209"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.581172" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:35.581019" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.580884" elapsed="0.000373"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.581622" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:35.581347" elapsed="0.000333"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:35.582416" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:35.581938" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:35.581710" elapsed="0.000769"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.582934" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:35.582504" elapsed="0.000488"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:35.581325" elapsed="0.001688"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:35.583070" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:35.583372" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:35.577729" elapsed="0.005689"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:35.583507" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:35.583827" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:35.576618" elapsed="0.007293"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:35.593067" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:35.592801" elapsed="0.000314"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:35.593527" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:35.593281" elapsed="0.000305"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:35.598680" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:35.595799" elapsed="0.004546">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:35.593677" elapsed="0.006755">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.600632" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:35.600466" elapsed="0.000230"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:35.593656" elapsed="0.007064">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.601140" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.601294" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:35.601257" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:35.601238" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.601513" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.601615" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:35.587898" elapsed="0.013895">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.601935" elapsed="0.000052"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:35.584318" elapsed="0.017835">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.602512" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.602782" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:35.602959" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:35.558169" elapsed="0.044899">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.603232" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:35.557132" elapsed="0.046214">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.612492" elapsed="0.000030"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:35.616082" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:35.555868" elapsed="0.060348">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:36.142452" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:36.140328" elapsed="0.002157"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.142862" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:36.142713" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.142582" elapsed="0.000366"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.143321" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:36.143037" elapsed="0.000342"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:36.144131" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:36.143647" elapsed="0.000512"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:36.143403" elapsed="0.000792"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.144378" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:36.144220" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:36.143016" elapsed="0.001440"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:36.144514" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:36.144838" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:36.139524" elapsed="0.005359"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:36.144947" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:36.145247" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:36.138393" elapsed="0.006933"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:36.154683" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:36.154403" elapsed="0.000328"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:36.155152" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:36.154902" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:36.160058" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.157329" elapsed="0.004418">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:36.155309" elapsed="0.006525">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.162018" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:36.161868" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:36.155288" elapsed="0.006817">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.162528" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.162701" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:36.162664" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:36.162644" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.162927" elapsed="0.000025"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.163017" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.149448" elapsed="0.013744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.163324" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.146193" elapsed="0.017316">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.163891" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.164136" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.164316" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:36.119249" elapsed="0.045175">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.164601" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.118218" elapsed="0.046499">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.171994" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.175609" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.116963" elapsed="0.058776">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:36.700666" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:36.698494" elapsed="0.002206"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.701067" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:36.700914" elapsed="0.000212"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.700784" elapsed="0.000371"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.701510" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:36.701245" elapsed="0.000338"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:36.702330" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:36.701843" elapsed="0.000514"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:36.701610" elapsed="0.000783"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.702594" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:36.702418" elapsed="0.000235"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:36.701223" elapsed="0.001450"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:36.702730" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:36.703043" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:36.697702" elapsed="0.005402"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:36.703166" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:36.703464" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:36.696592" elapsed="0.006952"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:36.712581" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:36.712299" elapsed="0.000333"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:36.713053" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:36.712801" elapsed="0.000298"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:36.717808" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.715212" elapsed="0.004284">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:36.713186" elapsed="0.006436">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.719840" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:36.719659" elapsed="0.000246"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:36.713166" elapsed="0.006762">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.720419" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.720593" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:36.720538" elapsed="0.000100"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:36.720519" elapsed="0.000140"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.720817" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.720904" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.707455" elapsed="0.013632">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.721179" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.704204" elapsed="0.017157">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.721739" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.721989" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:36.722166" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:36.677996" elapsed="0.044279">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.722440" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.677281" elapsed="0.045274">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.729978" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:36.733546" elapsed="0.000040"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:36.676337" elapsed="0.057356">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:37.260269" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:37.258102" elapsed="0.002200"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.260684" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:37.260517" elapsed="0.000226"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.260388" elapsed="0.000382"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.261133" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:37.260860" elapsed="0.000441"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:37.262066" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:37.261583" elapsed="0.000511"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:37.261329" elapsed="0.000801"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.262316" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:37.262155" elapsed="0.000218"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:37.260838" elapsed="0.001555"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:37.262452" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:37.262777" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:37.257298" elapsed="0.005525"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:37.262915" elapsed="0.000058"/>
</return>
<msg time="2026-04-11T23:21:37.263222" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:37.256189" elapsed="0.007113"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:37.272490" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:37.272225" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:37.272979" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:37.272727" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:37.277811" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.275207" elapsed="0.004322">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:37.273112" elapsed="0.006521">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.279817" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:37.279667" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:37.273092" elapsed="0.006812">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.280317" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.280470" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:37.280434" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:37.280415" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.280703" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.280791" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.267298" elapsed="0.013670">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.281062" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.263935" elapsed="0.017310">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.281660" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.281911" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.282089" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:37.237607" elapsed="0.044590">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.282361" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.236538" elapsed="0.045937">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.289502" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.293086" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.235185" elapsed="0.058028">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:37.820518" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:37.817844" elapsed="0.002706"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.820974" elapsed="0.000026"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:37.820798" elapsed="0.000241"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.820656" elapsed="0.000420"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.821472" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:37.821174" elapsed="0.000361"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:37.822687" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:37.822066" elapsed="0.000654"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:37.821561" elapsed="0.001200"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.822975" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:37.822788" elapsed="0.000248"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:37.821152" elapsed="0.001907"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:37.823120" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:21:37.823462" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:37.816951" elapsed="0.006560"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:37.823595" elapsed="0.000056"/>
</return>
<msg time="2026-04-11T23:21:37.823913" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:37.815874" elapsed="0.008120"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:37.833189" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:37.832929" elapsed="0.000307"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:37.833735" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:37.833402" elapsed="0.000378"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:37.838531" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.835994" elapsed="0.004180">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:37.833940" elapsed="0.006321">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.840445" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:37.840295" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:37.833918" elapsed="0.006615">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.840960" elapsed="0.000030"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.841117" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:37.841080" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:37.841061" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.841336" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.841424" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.828220" elapsed="0.013405">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.841719" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.824437" elapsed="0.017464">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.842261" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.842505" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:37.842712" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:37.796077" elapsed="0.046744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.842983" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.795060" elapsed="0.048037">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.850409" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:37.853957" elapsed="0.000032"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:37.793855" elapsed="0.060292">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:38.381047" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:38.378847" elapsed="0.002228"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.381421" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:38.381274" elapsed="0.000205"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.381150" elapsed="0.000356"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.381851" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:38.381605" elapsed="0.000303"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:38.382834" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:38.382154" elapsed="0.000709"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:38.381931" elapsed="0.000967"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.383084" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:38.382924" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:38.381585" elapsed="0.001575"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:38.383214" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:21:38.383511" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:38.378044" elapsed="0.005512"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:38.383639" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:38.383934" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:38.376954" elapsed="0.007063"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:38.393067" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:38.392799" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:38.393530" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:38.393282" elapsed="0.000307"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:38.398265" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.395812" elapsed="0.004140">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:38.393678" elapsed="0.006371">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.400231" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:38.400083" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:38.393658" elapsed="0.006661">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.400740" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.400893" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:38.400856" elapsed="0.000122"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:38.400837" elapsed="0.000171"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.401166" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.401253" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.387833" elapsed="0.013595">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.401519" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.384510" elapsed="0.017209">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.402079" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.402321" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.402513" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:38.357084" elapsed="0.045562">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.402812" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.356060" elapsed="0.046864">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.409966" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.413527" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.354831" elapsed="0.058836">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:38.942936" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:38.940771" elapsed="0.002197"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.943328" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:38.943180" elapsed="0.000206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.943051" elapsed="0.000362"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.943775" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:38.943502" elapsed="0.000331"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:38.944555" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:38.944079" elapsed="0.000518"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:38.943857" elapsed="0.000777"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.944818" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:38.944659" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:38.943481" elapsed="0.001477"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:38.945015" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:21:38.945325" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:38.939977" elapsed="0.005394"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:38.945433" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:38.945742" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:38.938873" elapsed="0.006947"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:38.954750" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:38.954413" elapsed="0.000385"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:38.955224" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:38.954975" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:38.960252" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.957359" elapsed="0.004567">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:38.955355" elapsed="0.006658">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.962201" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:38.962051" elapsed="0.000229"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:38.955335" elapsed="0.006969">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.962740" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.962894" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:38.962857" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:38.962838" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.963129" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.963217" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.949709" elapsed="0.013683">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.963482" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.946204" elapsed="0.017480">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.964050" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.964294" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:38.964472" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:38.917049" elapsed="0.047544">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.964804" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.915948" elapsed="0.048971">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.972381" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:38.976058" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:38.914515" elapsed="0.061672">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:39.509193" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:39.507092" elapsed="0.002134"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.509743" elapsed="0.000025"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:39.509446" elapsed="0.000358"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:39.509312" elapsed="0.000520"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.510194" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:39.509923" elapsed="0.000330"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:39.510999" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:39.510502" elapsed="0.000524"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:39.510276" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.511242" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:39.511086" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:39.509901" elapsed="0.001415"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:39.511375" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:39.511701" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:39.506293" elapsed="0.005453"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:39.511808" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:39.512100" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:39.505091" elapsed="0.007087"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:39.521121" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:39.520821" elapsed="0.000347"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:39.521687" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:39.521342" elapsed="0.000391"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:39.526696" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:39.523864" elapsed="0.004515">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:39.521825" elapsed="0.006701">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.528754" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:39.528564" elapsed="0.000259"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:39.521803" elapsed="0.007045">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.529297" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:39.529456" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:39.529417" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:39.529398" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.529699" elapsed="0.000025"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:39.529791" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:39.515952" elapsed="0.014020">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:39.530094" elapsed="0.000044"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:39.512561" elapsed="0.017729">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.530664" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.530914" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:39.531109" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:39.479417" elapsed="0.051805">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.531389" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:39.478314" elapsed="0.053193">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.538692" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:39.542248" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:39.476942" elapsed="0.065437">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:40.070219" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:40.068054" elapsed="0.002197"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.070757" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:40.070600" elapsed="0.000218"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.070435" elapsed="0.000413"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.071208" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:40.070945" elapsed="0.000322"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:40.072221" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:40.071530" elapsed="0.000719"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:40.071292" elapsed="0.000994"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.072477" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:40.072312" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:40.070923" elapsed="0.001643"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:40.072642" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:21:40.072960" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:40.067213" elapsed="0.005795"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:40.073072" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:40.073375" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:40.066044" elapsed="0.007413"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:40.082879" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:40.082590" elapsed="0.000339"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:40.083358" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:40.083100" elapsed="0.000304"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:40.088352" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.085540" elapsed="0.004543">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:40.083498" elapsed="0.006676">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.090362" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:40.090209" elapsed="0.000219"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:40.083476" elapsed="0.006976">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.090924" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.091088" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:40.091049" elapsed="0.000085"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:40.091029" elapsed="0.000127"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.091316" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.091406" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.077716" elapsed="0.013890">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.091754" elapsed="0.000046"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.073896" elapsed="0.018061">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.092325" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.092597" elapsed="0.000024"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.092781" elapsed="0.000020"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:40.045561" elapsed="0.047346">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.093076" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.044474" elapsed="0.048725">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.102678" elapsed="0.000034"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.106330" elapsed="0.000029"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.043161" elapsed="0.063309">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:40.633637" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:40.631464" elapsed="0.002229"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.634062" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:40.633912" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.633781" elapsed="0.000369"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.634499" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:40.634239" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:40.635319" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:40.634829" elapsed="0.000518"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:40.634596" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.635778" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:40.635408" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:40.634217" elapsed="0.001643"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:40.635918" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:40.636225" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:40.630671" elapsed="0.005599"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:40.636331" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:40.636642" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:40.629534" elapsed="0.007186"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:40.645831" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:40.645470" elapsed="0.000411"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:40.646344" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:40.646059" elapsed="0.000330"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:40.651198" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.648627" elapsed="0.004323">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:40.646482" elapsed="0.006558">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.653238" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:40.653076" elapsed="0.000230"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:40.646460" elapsed="0.006870">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.653810" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.653971" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:40.653933" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:40.653914" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.654200" elapsed="0.000027"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.654296" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.640587" elapsed="0.013888">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.654566" elapsed="0.000058"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.637176" elapsed="0.017593">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.655132" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.655395" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:40.655605" elapsed="0.000020"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:40.609640" elapsed="0.046080">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.655884" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.608543" elapsed="0.047455">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.663216" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:40.666894" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:40.607210" elapsed="0.059815">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:41.195340" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:41.193163" elapsed="0.002210"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.195765" elapsed="0.000026"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:41.195604" elapsed="0.000225"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.195459" elapsed="0.000399"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.196218" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:41.195952" elapsed="0.000326"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:41.197211" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:41.196536" elapsed="0.000702"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:41.196302" elapsed="0.000973"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.197468" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:41.197301" elapsed="0.000239"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:41.195930" elapsed="0.001631"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:41.197633" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:41.197951" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:41.192324" elapsed="0.005674"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:41.198063" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:41.198361" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:41.191161" elapsed="0.007279"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:41.207534" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:41.207262" elapsed="0.000338"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:41.208035" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:41.207773" elapsed="0.000308"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:41.212973" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.210401" elapsed="0.004306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:41.208171" elapsed="0.006626">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.214985" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:41.214833" elapsed="0.000222"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:41.208150" elapsed="0.006932">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.215589" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.215750" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:41.215712" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:41.215692" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.215973" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.216062" elapsed="0.000022"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.202392" elapsed="0.013865">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.216351" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.198862" elapsed="0.017677">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.216936" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.217195" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.217377" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:41.170267" elapsed="0.047236">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.217690" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.169165" elapsed="0.048643">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.225259" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.228887" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.167848" elapsed="0.061171">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:41.755530" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:41.753419" elapsed="0.002143"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.755943" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:41.755791" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.755661" elapsed="0.000366"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.756378" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:41.756117" elapsed="0.000392"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:41.757269" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:41.756783" elapsed="0.000537"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:41.756535" elapsed="0.000823"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.757544" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:41.757383" elapsed="0.000425"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:41.756096" elapsed="0.001733"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:41.757888" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:41.758195" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:41.752620" elapsed="0.005621"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:41.758304" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:41.758610" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:41.751503" elapsed="0.007185"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:41.767683" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:41.767403" elapsed="0.000327"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:41.768171" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:41.767900" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:41.773158" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.770439" elapsed="0.004463">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:41.768317" elapsed="0.006674">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.775177" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:41.775025" elapsed="0.000217"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:41.768297" elapsed="0.006968">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.775703" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.775858" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:41.775821" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:41.775802" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.776078" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.776168" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.762481" elapsed="0.013861">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.776433" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.759073" elapsed="0.017559">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.777045" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.777305" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:41.777484" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:41.732233" elapsed="0.045387">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.777788" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.731184" elapsed="0.046720">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.785039" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:41.788637" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:41.729880" elapsed="0.058887">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:42.321167" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:42.315440" elapsed="0.005797"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.322096" elapsed="0.000054"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:42.321750" elapsed="0.000481"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.321417" elapsed="0.000879"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.323105" elapsed="0.000053"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:42.322490" elapsed="0.000752"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:42.325222" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:42.323955" elapsed="0.001343"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:42.323300" elapsed="0.002082"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.325843" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:42.325438" elapsed="0.000532"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:42.322446" elapsed="0.003570"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:42.326140" elapsed="0.000072"/>
</return>
<msg time="2026-04-11T23:21:42.326833" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:42.313721" elapsed="0.013212"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:42.327072" elapsed="0.000111"/>
</return>
<msg time="2026-04-11T23:21:42.327738" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:42.312447" elapsed="0.015460"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:42.341725" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:42.341290" elapsed="0.000506"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:42.342411" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:42.342046" elapsed="0.000431"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:42.348475" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.345849" elapsed="0.004363">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:42.342714" elapsed="0.007591">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.350502" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:42.350341" elapsed="0.000244"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:42.342682" elapsed="0.007929">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.351069" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.351239" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:42.351198" elapsed="0.000087"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:42.351178" elapsed="0.000129"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.351469" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.351560" elapsed="0.000034"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.334278" elapsed="0.017487">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.351859" elapsed="0.000043"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.328805" elapsed="0.023256">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.352430" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.352697" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.352884" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:42.291938" elapsed="0.061063">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.353226" elapsed="0.000025"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.290913" elapsed="0.062437">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.360853" elapsed="0.000042"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.364644" elapsed="0.000032"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.289513" elapsed="0.075370">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:42.892165" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:42.889779" elapsed="0.002420"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.892598" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:42.892426" elapsed="0.000235"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.892286" elapsed="0.000402"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.893077" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:42.892782" elapsed="0.000356"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:42.893918" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:42.893404" elapsed="0.000542"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:42.893163" elapsed="0.000820"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.894171" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:42.894008" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:42.892759" elapsed="0.001490"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:42.894307" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:42.894644" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:42.888948" elapsed="0.005744"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:42.894756" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:42.895056" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:42.887789" elapsed="0.007346"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:42.904451" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:42.904172" elapsed="0.000327"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:42.904984" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:42.904702" elapsed="0.000329"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:42.910101" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.907178" elapsed="0.004635">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:42.905124" elapsed="0.006779">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.912092" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:42.911938" elapsed="0.000222"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:42.905102" elapsed="0.007081">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.912629" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.912797" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:42.912758" elapsed="0.000163"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:42.912737" elapsed="0.000228"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.913139" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.913230" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.898989" elapsed="0.014426">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.913509" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.895540" elapsed="0.018188">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.914140" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.914390" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:42.914588" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:42.868218" elapsed="0.046484">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.914907" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.867115" elapsed="0.047920">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.922399" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:42.926084" elapsed="0.000030"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:42.865694" elapsed="0.060526">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:43.452918" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:43.450757" elapsed="0.002193"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.453307" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:43.453159" elapsed="0.000206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:43.453032" elapsed="0.000359"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.453755" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:43.453479" elapsed="0.000333"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:43.454538" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:43.454064" elapsed="0.000501"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:43.453836" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.454801" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:43.454641" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:43.453459" elapsed="0.001480"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:43.454997" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:43.455300" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:43.449960" elapsed="0.005385"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:43.455407" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:43.455900" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:43.448860" elapsed="0.007118"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:43.464627" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:43.464352" elapsed="0.000323"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:43.465101" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:43.464853" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:43.469907" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:43.467229" elapsed="0.004320">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:43.465236" elapsed="0.006452">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.471871" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:43.471723" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:43.465216" elapsed="0.006742">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.472367" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:43.472518" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:43.472481" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:43.472463" elapsed="0.000135"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.472767" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:43.472854" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:43.459700" elapsed="0.013326">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:43.473115" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:43.456363" elapsed="0.016930">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.473665" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.473908" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:43.474083" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:43.429357" elapsed="0.044834">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.474392" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:43.428321" elapsed="0.046185">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.481756" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:43.485313" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:43.427036" elapsed="0.058405">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:44.013687" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:44.011564" elapsed="0.002156"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.014079" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:44.013930" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.013802" elapsed="0.000362"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.014511" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:44.014254" elapsed="0.000353"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:44.015335" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:44.014860" elapsed="0.000502"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:44.014634" elapsed="0.000764"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.015754" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:44.015422" elapsed="0.000391"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:44.014233" elapsed="0.001600"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:44.015891" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:44.016197" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:44.010768" elapsed="0.005475"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:44.016305" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:44.016641" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:44.009638" elapsed="0.007081"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:44.025889" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:44.025624" elapsed="0.000313"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:44.026360" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:44.026106" elapsed="0.000298"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:44.031172" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:44.028635" elapsed="0.004222">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:44.026492" elapsed="0.006511">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.033189" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:44.033038" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:44.026471" elapsed="0.006806">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.033703" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.033857" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:44.033820" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:44.033802" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.034077" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.034163" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:44.020557" elapsed="0.013788">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.034437" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:44.017105" elapsed="0.017543">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.035008" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.035255" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.035433" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:43.988646" elapsed="0.046894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.035717" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:43.987600" elapsed="0.048231">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.042894" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.046409" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:43.986236" elapsed="0.060299">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:44.573639" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:44.571590" elapsed="0.002077"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.574038" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:44.573891" elapsed="0.000204"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.573771" elapsed="0.000350"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.574445" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:44.574205" elapsed="0.000297"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:44.575364" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:44.574892" elapsed="0.000499"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:44.574526" elapsed="0.000901"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.575625" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:44.575450" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:44.574186" elapsed="0.001515"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:44.575754" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:21:44.576045" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:44.570815" elapsed="0.005274"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:44.576150" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:44.576466" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:44.569737" elapsed="0.006805"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:44.585250" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:44.584998" elapsed="0.000297"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:44.585722" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:44.585461" elapsed="0.000305"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:44.590218" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:44.587919" elapsed="0.003931">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:44.585852" elapsed="0.006083">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.592116" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:44.591968" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:44.585833" elapsed="0.006370">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.592644" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.592798" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:44.592761" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:44.592743" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.593015" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.593101" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:44.580365" elapsed="0.012909">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.593399" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:44.576937" elapsed="0.016684">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.593990" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.594251" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:44.594428" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:44.549316" elapsed="0.045221">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.594724" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:44.548284" elapsed="0.046554">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.603801" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:44.607328" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:44.547109" elapsed="0.060348">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:45.128078" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:45.125799" elapsed="0.002321"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.128476" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:45.128328" elapsed="0.000206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.128200" elapsed="0.000361"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.129041" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:45.128790" elapsed="0.000307"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:45.129869" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:45.129363" elapsed="0.000533"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:45.129121" elapsed="0.000811"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.130115" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:45.129956" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:45.128770" elapsed="0.001422"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:45.130249" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:21:45.130550" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:45.125022" elapsed="0.005590"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:45.130675" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:45.130973" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:45.123922" elapsed="0.007130"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:45.140052" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:45.139790" elapsed="0.000324"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:45.140537" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:45.140285" elapsed="0.000382"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:45.145290" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.142778" elapsed="0.004117">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:45.140757" elapsed="0.006224">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.147164" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:45.147015" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:45.140737" elapsed="0.006514">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.147679" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.147833" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:45.147796" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:45.147778" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.148051" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.148154" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.134930" elapsed="0.013401">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.148422" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.131520" elapsed="0.017113">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.148996" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.149238" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.149418" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:45.108837" elapsed="0.040688">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.149701" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.108369" elapsed="0.041446">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.156964" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.160488" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.107794" elapsed="0.052837">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:45.688895" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:45.686809" elapsed="0.002116"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.689276" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:45.689127" elapsed="0.000207"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.689001" elapsed="0.000360"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.689840" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:45.689445" elapsed="0.000454"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:45.690651" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:45.690153" elapsed="0.000525"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:45.689923" elapsed="0.000791"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.690899" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:45.690738" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:45.689426" elapsed="0.001548"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:45.691029" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:21:45.691327" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:45.686027" elapsed="0.005344"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:45.691433" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:45.691743" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:45.684905" elapsed="0.006916"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:45.700631" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:45.700355" elapsed="0.000323"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:45.701099" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:45.700848" elapsed="0.000295"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:45.705888" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.703314" elapsed="0.004190">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:45.701230" elapsed="0.006376">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.707791" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:45.707642" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:45.701210" elapsed="0.006668">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.708352" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.708507" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:45.708469" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:45.708450" elapsed="0.000136"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.708745" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.708832" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.695617" elapsed="0.013391">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.709100" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.692229" elapsed="0.017052">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.709668" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.709912" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:45.710088" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:45.663459" elapsed="0.046737">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.710359" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.662440" elapsed="0.048032">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.717792" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:45.721353" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:45.661225" elapsed="0.060257">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:46.249745" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:46.247641" elapsed="0.002133"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.250116" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:46.249967" elapsed="0.000206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.249848" elapsed="0.000351"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.250525" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:46.250284" elapsed="0.000495"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:46.251537" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:46.251048" elapsed="0.000516"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:46.250806" elapsed="0.000811"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.251846" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:46.251643" elapsed="0.000264"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:46.250264" elapsed="0.001664"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:46.251986" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:21:46.252290" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:46.246841" elapsed="0.005495"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:46.252399" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:46.252718" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:46.245694" elapsed="0.007110"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:46.261887" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:46.261623" elapsed="0.000321"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:46.262371" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:46.262121" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:46.267006" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.264741" elapsed="0.003885">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:46.262505" elapsed="0.006207">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.268895" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:46.268745" elapsed="0.000214"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:46.262484" elapsed="0.006500">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.269401" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.269556" elapsed="0.000027"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:46.269519" elapsed="0.000095"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:46.269500" elapsed="0.000136"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.269793" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.269880" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.256722" elapsed="0.013348">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.270167" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.253195" elapsed="0.017160">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.270780" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.271035" elapsed="0.000026"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.271221" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:46.224430" elapsed="0.046901">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.271496" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.223329" elapsed="0.048298">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.278803" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.282375" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.222085" elapsed="0.060419">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:46.809785" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:46.807696" elapsed="0.002118"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.810166" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:46.810009" elapsed="0.000217"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.809889" elapsed="0.000363"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.810592" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:46.810335" elapsed="0.000317"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:46.811402" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:46.810906" elapsed="0.000523"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:46.810676" elapsed="0.000789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.811879" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:46.811490" elapsed="0.000449"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:46.810316" elapsed="0.001643"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:46.812015" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:21:46.812324" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:46.806868" elapsed="0.005503"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:46.812434" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:46.812745" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:46.805757" elapsed="0.007068"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:46.821712" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:46.821435" elapsed="0.000324"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:46.822176" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:46.821927" elapsed="0.000299"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:46.826893" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.824461" elapsed="0.004100">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:46.822356" elapsed="0.006306">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.828845" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:46.828698" elapsed="0.000210"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:46.822334" elapsed="0.006597">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.829355" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.829514" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:46.829477" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:46.829458" elapsed="0.000138"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.829753" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.829841" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.816718" elapsed="0.013299">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.830109" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.813229" elapsed="0.017066">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.830691" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.830940" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:46.831151" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:46.785370" elapsed="0.045895">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.831454" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.784317" elapsed="0.047300">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.839219" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:46.842960" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:46.783072" elapsed="0.060050">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:47.370588" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:47.368437" elapsed="0.002186"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.370992" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:47.370842" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.370711" elapsed="0.000369"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.371489" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:47.371187" elapsed="0.000363"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:47.372464" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:47.371969" elapsed="0.000523"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:47.371732" elapsed="0.000796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.372732" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:47.372553" elapsed="0.000236"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:47.371163" elapsed="0.001649"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:47.372869" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:47.373185" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:47.367635" elapsed="0.005596"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:47.373295" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:47.373606" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:47.366461" elapsed="0.007225"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:47.382825" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:47.382531" elapsed="0.000343"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:47.383341" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:47.383047" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:47.388665" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.385624" elapsed="0.004705">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:47.383486" elapsed="0.006938">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.390631" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:47.390460" elapsed="0.000238"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:47.383464" elapsed="0.007258">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.391152" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.391326" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:47.391271" elapsed="0.000161"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:47.391252" elapsed="0.000211"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.391658" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.391749" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.377601" elapsed="0.014329">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.392021" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.374080" elapsed="0.018125">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.392590" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.392842" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.393021" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:47.346296" elapsed="0.046836">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.393298" elapsed="0.000025"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.345216" elapsed="0.048203">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.400608" elapsed="0.000030"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.404165" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.343908" elapsed="0.060390">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:47.932773" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:47.930143" elapsed="0.002671"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.933189" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:47.933035" elapsed="0.000213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.932901" elapsed="0.000374"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.933641" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:47.933364" elapsed="0.000336"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:47.934437" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:47.933951" elapsed="0.000514"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:47.933724" elapsed="0.000778"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.934702" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:47.934526" elapsed="0.000302"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:47.933343" elapsed="0.001508"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:47.934908" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:47.935249" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:47.929028" elapsed="0.006267"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:47.935358" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:47.935669" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:47.927436" elapsed="0.008311"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:47.944812" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:47.944449" elapsed="0.000411"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:47.945289" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:47.945029" elapsed="0.000305"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:47.950127" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.947436" elapsed="0.004377">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:47.945426" elapsed="0.006476">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.952088" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:47.951936" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:47.945406" elapsed="0.006770">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.952623" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.952779" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:47.952742" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:47.952723" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.952999" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.953086" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.939603" elapsed="0.013665">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.953360" elapsed="0.000043"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.936138" elapsed="0.017408">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.953925" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.954171" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:47.954351" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:47.906471" elapsed="0.047992">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.954695" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.905827" elapsed="0.048983">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.962147" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:47.965695" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:47.904944" elapsed="0.060881">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:48.495345" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:48.493245" elapsed="0.002132"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.496024" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:48.495874" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:48.495740" elapsed="0.000371"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.496460" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:48.496201" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:48.497266" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:48.496787" elapsed="0.000506"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:48.496543" elapsed="0.000786"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.497513" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:48.497354" elapsed="0.000229"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:48.496180" elapsed="0.001425"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:48.497661" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:48.497966" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:48.492443" elapsed="0.005567"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:48.498071" elapsed="0.000081"/>
</return>
<msg time="2026-04-11T23:21:48.498396" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:48.491296" elapsed="0.007177"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:48.507588" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:48.507309" elapsed="0.000328"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:48.508056" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:48.507807" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:48.512980" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:48.510203" elapsed="0.004458">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:48.508187" elapsed="0.006635">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.515027" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:48.514859" elapsed="0.000233"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:48.508167" elapsed="0.006948">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.515541" elapsed="0.000042"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:48.515714" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:48.515677" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:48.515658" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.515932" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:48.516018" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:48.502383" elapsed="0.013810">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:48.516284" elapsed="0.000038"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:48.499162" elapsed="0.017302">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.516836" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.517078" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:48.517253" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:48.469436" elapsed="0.047924">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.517522" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:48.468408" elapsed="0.049242">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.524688" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:48.528356" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:48.466651" elapsed="0.061838">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:49.057904" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:49.055666" elapsed="0.002270"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.058374" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:49.058218" elapsed="0.000216"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.058083" elapsed="0.000379"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.058859" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:49.058561" elapsed="0.000360"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:49.059691" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:49.059179" elapsed="0.000541"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:49.058946" elapsed="0.000811"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.059946" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:49.059782" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:49.058538" elapsed="0.001487"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:49.060084" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:21:49.060400" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:49.054606" elapsed="0.005848"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:49.060518" elapsed="0.000077"/>
</return>
<msg time="2026-04-11T23:21:49.060856" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:49.053417" elapsed="0.007522"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:49.070037" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:49.069769" elapsed="0.000315"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:49.070505" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:49.070253" elapsed="0.000297"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:49.075643" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.072709" elapsed="0.004612">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:49.070658" elapsed="0.006754">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.077628" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:49.077446" elapsed="0.000250"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:49.070636" elapsed="0.007083">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.078163" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.078324" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:49.078285" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:49.078266" elapsed="0.000125"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.078549" elapsed="0.000039"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.078657" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.064928" elapsed="0.013929">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.079009" elapsed="0.000043"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.061338" elapsed="0.017863">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.079586" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.079835" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.080025" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:49.031776" elapsed="0.048360">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.080304" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.030696" elapsed="0.049723">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.089708" elapsed="0.000031"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.093310" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.029267" elapsed="0.064178">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:49.621006" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:49.618850" elapsed="0.002190"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.621419" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:49.621260" elapsed="0.000217"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.621127" elapsed="0.000378"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.621999" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:49.621731" elapsed="0.000328"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:49.622860" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:49.622314" elapsed="0.000574"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:49.622083" elapsed="0.000842"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.623115" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:49.622950" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:49.621708" elapsed="0.001485"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:49.623252" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:49.623561" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:49.617996" elapsed="0.005631"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:49.623690" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:49.623993" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:49.616855" elapsed="0.007218"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:49.633328" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:49.633058" elapsed="0.000320"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:49.633897" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:49.633551" elapsed="0.000393"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:49.638959" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.636115" elapsed="0.004542">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:49.634035" elapsed="0.006711">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.640934" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:49.640781" elapsed="0.000219"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:49.634014" elapsed="0.007009">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.641449" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.641637" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:49.641596" elapsed="0.000084"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:49.641549" elapsed="0.000154"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.641862" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.641951" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.628091" elapsed="0.014038">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.642220" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.624539" elapsed="0.017864">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.642831" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.643083" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:49.643264" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:49.595925" elapsed="0.047448">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.643546" elapsed="0.000037"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.595203" elapsed="0.048477">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.650902" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:49.654499" elapsed="0.000055"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:49.594202" elapsed="0.060473">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:50.183136" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:50.180913" elapsed="0.002255"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.183541" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:50.183382" elapsed="0.000234"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.183253" elapsed="0.000391"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.183997" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:50.183734" elapsed="0.000321"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:50.184806" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:50.184309" elapsed="0.000524"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:50.184079" elapsed="0.000789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.185053" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:50.184893" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:50.183713" elapsed="0.001417"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:50.185187" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:50.185499" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:50.179999" elapsed="0.005547"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:50.185623" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:50.185922" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:50.178817" elapsed="0.007184"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:50.195163" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:50.194890" elapsed="0.000322"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:50.195644" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:50.195380" elapsed="0.000309"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:50.200399" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.197789" elapsed="0.004295">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:50.195777" elapsed="0.006395">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.202376" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:50.202206" elapsed="0.000235"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:50.195756" elapsed="0.006707">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.202983" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.203141" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:50.203102" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:50.203082" elapsed="0.000123"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.203363" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.203449" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.190070" elapsed="0.013576">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.203739" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.186410" elapsed="0.017512">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.204282" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.204527" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.204721" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:50.157862" elapsed="0.046968">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.204995" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.156815" elapsed="0.048295">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.212625" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.216191" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.155422" elapsed="0.060901">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:50.744156" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:50.742044" elapsed="0.002144"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.744553" elapsed="0.000144"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:50.744402" elapsed="0.000333"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.744273" elapsed="0.000490"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.745116" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:50.744854" elapsed="0.000394"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:50.746011" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:50.745508" elapsed="0.000530"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:50.745274" elapsed="0.000800"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.746290" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:50.746100" elapsed="0.000248"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:50.744833" elapsed="0.001535"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:50.746427" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:50.746749" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:50.741239" elapsed="0.005555"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:50.746856" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:50.747148" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:50.740124" elapsed="0.007101"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:50.756235" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:50.755972" elapsed="0.000311"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:50.756796" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:50.756453" elapsed="0.000387"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:50.761785" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.758976" elapsed="0.004479">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:50.756929" elapsed="0.006614">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.763760" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:50.763606" elapsed="0.000219"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:50.756909" elapsed="0.006940">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.764275" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.764430" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:50.764393" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:50.764373" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.764682" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.764771" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.751107" elapsed="0.013842">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.765040" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.747625" elapsed="0.017598">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.765664" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.765915" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:50.766096" elapsed="0.000033"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:50.719447" elapsed="0.046776">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.766388" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.718424" elapsed="0.048078">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.773870" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:50.777433" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:50.717128" elapsed="0.060435">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:51.305061" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:51.302955" elapsed="0.002139"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.305453" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:51.305303" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.305176" elapsed="0.000362"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.305905" elapsed="0.000044"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:51.305643" elapsed="0.000344"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:51.306904" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:51.306242" elapsed="0.000689"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:51.306012" elapsed="0.000955"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.307152" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:51.306992" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:51.305621" elapsed="0.001608"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:51.307286" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:21:51.307608" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:51.302142" elapsed="0.005513"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:51.307719" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:51.308015" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:51.301019" elapsed="0.007075"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:51.316857" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:51.316594" elapsed="0.000310"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:51.317320" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:51.317072" elapsed="0.000292"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:51.322415" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.319636" elapsed="0.004519">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:51.317521" elapsed="0.006723">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.324426" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:51.324278" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:51.317500" elapsed="0.007014">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.324932" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.325085" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:51.325048" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:51.325029" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.325302" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.325389" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.311920" elapsed="0.013662">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.325675" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.308481" elapsed="0.017376">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.326245" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.326490" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.326693" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:51.280970" elapsed="0.045831">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.326963" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.279856" elapsed="0.047219">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.334373" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.337973" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.278426" elapsed="0.059710">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:51.865937" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:51.863855" elapsed="0.002109"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.866306" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:51.866155" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.866037" elapsed="0.000353"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.866838" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:51.866474" elapsed="0.000422"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:51.867636" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:51.867147" elapsed="0.000517"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:51.866919" elapsed="0.000780"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.867882" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:51.867724" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:51.866455" elapsed="0.001502"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:51.868011" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:21:51.868303" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:51.863083" elapsed="0.005264"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:51.868407" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:51.868711" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:51.862008" elapsed="0.006780"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:51.877838" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:51.877451" elapsed="0.000484"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:51.878556" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:51.878280" elapsed="0.000410"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:51.883178" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.880806" elapsed="0.004005">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:51.878781" elapsed="0.006116">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.885081" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:51.884930" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:51.878761" elapsed="0.006408">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.885586" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.885758" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:51.885706" elapsed="0.000152"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:51.885686" elapsed="0.000199"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.886047" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.886135" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.872624" elapsed="0.013687">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.886401" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.869165" elapsed="0.017443">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.886970" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.887216" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:51.887394" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:51.840957" elapsed="0.046545">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.887681" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.839939" elapsed="0.047857">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.894970" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:51.898502" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:51.838763" elapsed="0.059881">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:52.426886" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:52.424785" elapsed="0.002133"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.427281" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:52.427130" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:52.427001" elapsed="0.000364"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.427846" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:52.427455" elapsed="0.000449"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:52.428645" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:52.428156" elapsed="0.000516"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:52.427928" elapsed="0.000781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.428895" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:52.428734" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:52.427434" elapsed="0.001602"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:52.429093" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:52.429397" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:52.423986" elapsed="0.005458"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:52.429506" elapsed="0.000086"/>
</return>
<msg time="2026-04-11T23:21:52.429838" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:52.422864" elapsed="0.007052"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:52.438805" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:52.438528" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:52.439269" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:52.439021" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:52.444241" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:52.441477" elapsed="0.004440">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:52.439400" elapsed="0.006604">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.446186" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:52.446038" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:52.439380" elapsed="0.006894">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.446700" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:52.446854" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:52.446817" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:52.446798" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.447072" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:52.447158" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:52.433771" elapsed="0.013560">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:52.447420" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:52.430300" elapsed="0.017332">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.447990" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.448229" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:52.448403" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:52.401810" elapsed="0.046698">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.448727" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:52.400767" elapsed="0.048075">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.456973" elapsed="0.000050"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.460537" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:52.399434" elapsed="0.061251">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:52.987712" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:52.985223" elapsed="0.002525"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.988133" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:52.987980" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:52.987841" elapsed="0.000380"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.988596" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:52.988317" elapsed="0.000338"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:52.989401" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:52.988907" elapsed="0.000520"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:52.988681" elapsed="0.000782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:52.989663" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:52.989487" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:52.988295" elapsed="0.001444"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:52.989799" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:21:52.990111" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:52.984408" elapsed="0.005748"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:52.990217" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:52.990510" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:52.983294" elapsed="0.007464"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:52.999551" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:52.999288" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:53.000026" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:52.999782" elapsed="0.000287"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:53.004968" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:53.002295" elapsed="0.004445">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:53.000156" elapsed="0.006744">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.007088" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:53.006937" elapsed="0.000217"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:53.000135" elapsed="0.007042">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.007618" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:53.007773" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:53.007736" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:53.007717" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.007993" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:53.008079" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:52.994366" elapsed="0.013890">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:53.008346" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:52.991146" elapsed="0.017383">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.008910" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.009154" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:53.009357" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:52.964042" elapsed="0.045425">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.009646" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:52.962996" elapsed="0.046764">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.016734" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.020271" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:52.961619" elapsed="0.058778">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:53.541507" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:53.539413" elapsed="0.002125"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.542048" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:53.541896" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:53.541763" elapsed="0.000371"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.542484" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:53.542224" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:53.543292" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:53.542815" elapsed="0.000504"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:53.542566" elapsed="0.000789"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.543540" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:53.543380" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:53.542202" elapsed="0.001430"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:53.543688" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:53.543999" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:53.538633" elapsed="0.005412"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:53.544106" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:21:53.544398" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:53.537497" elapsed="0.006978"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:53.553311" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:53.553038" elapsed="0.000319"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:53.553911" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:53.553521" elapsed="0.000434"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:53.558641" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:53.556044" elapsed="0.004251">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:53.554042" elapsed="0.006340">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.560564" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:53.560416" elapsed="0.000227"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:53.554022" elapsed="0.006644">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.561073" elapsed="0.000025"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:53.561242" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:53.561204" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:53.561182" elapsed="0.000125"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.561462" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:53.561547" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:53.548368" elapsed="0.013374">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:53.561865" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:53.544873" elapsed="0.017174">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.562401" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.562659" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:53.562845" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:53.522439" elapsed="0.040513">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.563114" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:53.521985" elapsed="0.041243">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.572255" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:53.575796" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:53.521168" elapsed="0.054756">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:54.103022" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:54.100911" elapsed="0.002140"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.103398" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:54.103249" elapsed="0.000206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.103126" elapsed="0.000356"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.103837" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:54.103585" elapsed="0.000308"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:54.104796" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:54.104143" elapsed="0.000681"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:54.103917" elapsed="0.000941"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.105067" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:54.104883" elapsed="0.000241"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:54.103548" elapsed="0.001596"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:54.105199" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:54.105505" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:54.100112" elapsed="0.005439"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:54.105627" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:54.105924" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:54.098973" elapsed="0.007029"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:54.115112" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:54.114853" elapsed="0.000305"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:54.115615" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:54.115327" elapsed="0.000335"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:54.120378" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.117817" elapsed="0.004192">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:54.115754" elapsed="0.006340">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.122277" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:54.122129" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:54.115734" elapsed="0.006631">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.122792" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.122944" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:54.122908" elapsed="0.000078"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:54.122890" elapsed="0.000118"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.123162" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.123249" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.109968" elapsed="0.013456">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.123515" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.106449" elapsed="0.017269">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.124077" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.124321" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.124500" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:54.078818" elapsed="0.045803">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.124784" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.077796" elapsed="0.047102">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.132007" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.135561" elapsed="0.000038"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.076538" elapsed="0.059162">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:54.662798" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:54.660636" elapsed="0.002194"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.663192" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:54.663039" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.662911" elapsed="0.000366"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.663638" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:54.663365" elapsed="0.000331"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:54.664427" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:54.663949" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:54.663720" elapsed="0.000770"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.664693" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:54.664514" elapsed="0.000255"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:54.663344" elapsed="0.001448"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:54.664856" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:21:54.665161" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:54.659843" elapsed="0.005364"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:54.665269" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:54.665563" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:54.658747" elapsed="0.007151"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:54.674539" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:54.674276" elapsed="0.000327"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:54.675022" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:54.674773" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:54.679825" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.677184" elapsed="0.004300">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:54.675154" elapsed="0.006468">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.681953" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:54.681659" elapsed="0.000359"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:54.675134" elapsed="0.006907">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.682508" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.682679" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:54.682641" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:54.682621" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.682901" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.682988" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.669513" elapsed="0.013651">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.683255" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.666283" elapsed="0.017154">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.683820" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.684065" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:54.684241" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:54.638764" elapsed="0.045586">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.684514" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.637665" elapsed="0.046977">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.691906" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:54.695509" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:54.636372" elapsed="0.059280">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:55.217285" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:55.214885" elapsed="0.002438"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.217749" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:55.217587" elapsed="0.000221"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.217422" elapsed="0.000417"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.218209" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:55.217940" elapsed="0.000446"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:55.219150" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:55.218666" elapsed="0.000511"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:55.218415" elapsed="0.000797"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.219399" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:55.219237" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:55.217916" elapsed="0.001559"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:55.219538" elapsed="0.000182"/>
</return>
<msg time="2026-04-11T23:21:55.219996" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:55.214058" elapsed="0.005983"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:55.220104" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:55.220396" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:55.212928" elapsed="0.007546"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:55.229379" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:55.229114" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:55.229861" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:55.229612" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:55.234803" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.232089" elapsed="0.004513">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:55.229994" elapsed="0.006699">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.236875" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:55.236726" elapsed="0.000212"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:55.229974" elapsed="0.006987">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.237377" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.237529" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:55.237493" elapsed="0.000092"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:55.237474" elapsed="0.000134"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.237765" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.237850" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.224252" elapsed="0.013773">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.238113" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.220907" elapsed="0.017384">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.238704" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.238950" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.239126" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:55.197537" elapsed="0.041699">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.239398" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.197059" elapsed="0.042450">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.246562" elapsed="0.000040"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.250137" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.196239" elapsed="0.054026">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:55.778488" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:55.775557" elapsed="0.002968"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.779119" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:55.778965" elapsed="0.000214"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.778822" elapsed="0.000388"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.779603" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:55.779311" elapsed="0.000352"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:55.780426" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:55.779920" elapsed="0.000535"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:55.779689" elapsed="0.000803"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.780693" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:55.780516" elapsed="0.000235"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:55.779283" elapsed="0.001488"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:55.780832" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:21:55.781148" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:55.774263" elapsed="0.006932"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:55.781260" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:55.781586" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:55.773152" elapsed="0.008522"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:55.790726" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:55.790430" elapsed="0.000344"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:55.791192" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:55.790944" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:55.797302" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.793990" elapsed="0.005735">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:55.791418" elapsed="0.008435">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.800112" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:55.799904" elapsed="0.000296"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:55.791395" elapsed="0.008837">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.800909" elapsed="0.000038"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.801133" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:55.801075" elapsed="0.000125"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:55.801048" elapsed="0.000183"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.801452" elapsed="0.000031"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.801589" elapsed="0.000025"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.785470" elapsed="0.016374">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.801970" elapsed="0.000057"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.782065" elapsed="0.020161">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.802740" elapsed="0.000033"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.803084" elapsed="0.000030"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:55.803341" elapsed="0.000025"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:55.753605" elapsed="0.049886">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.803747" elapsed="0.000031"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.752545" elapsed="0.051363">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.814046" elapsed="0.000038"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:55.819137" elapsed="0.000037"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:55.751145" elapsed="0.068230">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:56.346316" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:56.344218" elapsed="0.002131"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.346727" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:56.346562" elapsed="0.000224"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.346432" elapsed="0.000382"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.347162" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:56.346904" elapsed="0.000316"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:56.347963" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:56.347470" elapsed="0.000521"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:56.347244" elapsed="0.000782"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.348234" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:56.348051" elapsed="0.000239"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:56.346882" elapsed="0.001429"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:56.348369" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:56.348896" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:56.343405" elapsed="0.005537"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:56.349005" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:56.349298" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:56.342301" elapsed="0.007073"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:56.358267" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:56.358002" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:56.358754" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:56.358482" elapsed="0.000317"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:56.363680" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.360995" elapsed="0.004398">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:56.358887" elapsed="0.006595">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.365678" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:56.365515" elapsed="0.000229"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:56.358866" elapsed="0.006900">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.366180" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.366331" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:56.366295" elapsed="0.000129"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:56.366276" elapsed="0.000172"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.366622" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.366710" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.353132" elapsed="0.013753">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.366975" elapsed="0.000038"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.349772" elapsed="0.017382">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.367507" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.367773" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.367949" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:56.322814" elapsed="0.045242">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.368229" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.321762" elapsed="0.046580">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.375382" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.378954" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.320369" elapsed="0.058712">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:56.905695" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:56.903610" elapsed="0.002116"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.906082" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:56.905934" elapsed="0.000205"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.905806" elapsed="0.000360"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.906503" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:56.906251" elapsed="0.000309"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:56.907298" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:56.906825" elapsed="0.000500"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:56.906599" elapsed="0.000762"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.907542" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:56.907385" elapsed="0.000457"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:56.906232" elapsed="0.001632"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:56.907921" elapsed="0.000061"/>
</return>
<msg time="2026-04-11T23:21:56.908254" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:56.902821" elapsed="0.005478"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:56.908360" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:56.908667" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:56.901736" elapsed="0.007009"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:56.917580" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:56.917305" elapsed="0.000325"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:56.918046" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:56.917798" elapsed="0.000293"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:56.922810" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.920279" elapsed="0.004237">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:56.918178" elapsed="0.006440">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.924802" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:56.924653" elapsed="0.000213"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:56.918158" elapsed="0.006731">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.925297" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.925451" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:56.925414" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:56.925395" elapsed="0.000121"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.925690" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.925778" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.912550" elapsed="0.013402">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.926041" elapsed="0.000072"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.909127" elapsed="0.017129">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.926630" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.926876" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:56.927054" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:56.882089" elapsed="0.045071">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.927366" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.881073" elapsed="0.046410">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.934998" elapsed="0.000030"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:56.938527" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:56.879795" elapsed="0.058873">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:57.466653" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:57.464121" elapsed="0.002565"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.467106" elapsed="0.000031"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:57.466929" elapsed="0.000248"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:57.466777" elapsed="0.000431"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.467879" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:57.467314" elapsed="0.000628"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:57.468747" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:57.468234" elapsed="0.000540"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:57.467966" elapsed="0.000844"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.468995" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:57.468835" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:57.467291" elapsed="0.001780"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:57.469126" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:21:57.469419" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:57.463168" elapsed="0.006296"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:57.469531" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:21:57.469840" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:57.461961" elapsed="0.007954"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:57.478743" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:57.478459" elapsed="0.000330"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:57.479203" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:57.478957" elapsed="0.000290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:57.483872" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:57.481452" elapsed="0.004044">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:57.479334" elapsed="0.006308">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.485829" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:57.485678" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:57.479313" elapsed="0.006604">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.486324" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:57.486477" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:57.486439" elapsed="0.000080"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:57.486421" elapsed="0.000120"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.486710" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:57.486797" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:57.473674" elapsed="0.013296">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:57.487060" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:57.470294" elapsed="0.016946">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.487618" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.487878" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:57.488053" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:57.441490" elapsed="0.046669">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.488320" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:57.440468" elapsed="0.047964">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.495442" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:57.499007" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:57.439229" elapsed="0.059904">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:58.029831" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:58.027670" elapsed="0.002194"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.030313" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:58.030162" elapsed="0.000210"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.030029" elapsed="0.000370"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.030767" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:58.030489" elapsed="0.000336"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:58.031818" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:58.031086" elapsed="0.000762"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:58.030850" elapsed="0.001035"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.032074" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:58.031911" elapsed="0.000226"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:58.030468" elapsed="0.001689"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:58.032216" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:21:58.032526" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:58.026830" elapsed="0.005755"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:58.032650" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:58.032947" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:58.025601" elapsed="0.007424"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:58.042087" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:58.041801" elapsed="0.000334"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:58.042554" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:58.042305" elapsed="0.000310"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:58.047696" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.045042" elapsed="0.004346">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:58.042706" elapsed="0.006779">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.049698" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:58.049529" elapsed="0.000236"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:58.042686" elapsed="0.007102">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.050205" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.050360" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:58.050323" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:58.050303" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.050611" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.050703" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.036916" elapsed="0.013970">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.051030" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.033464" elapsed="0.017753">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.051637" elapsed="0.000030"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.051898" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.052077" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:58.002539" elapsed="0.049649">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.052353" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.001424" elapsed="0.051043">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.061708" elapsed="0.000031"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.065321" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.000016" elapsed="0.065437">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:58.592924" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:58.590746" elapsed="0.002212"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.593329" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:58.593178" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.593045" elapsed="0.000370"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.593787" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:58.593505" elapsed="0.000339"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:58.594564" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:58.594093" elapsed="0.000541"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:58.593869" elapsed="0.000800"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.594851" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:58.594693" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:58.593484" elapsed="0.001442"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:58.594988" elapsed="0.000042"/>
</return>
<msg time="2026-04-11T23:21:58.595299" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:58.589929" elapsed="0.005416"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:58.595435" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:21:58.595904" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:58.588824" elapsed="0.007159"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:58.653668" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:58.653305" elapsed="0.000422"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:58.654166" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:58.653913" elapsed="0.000297"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:58.658968" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.656404" elapsed="0.004272">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:58.654311" elapsed="0.006457">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.660955" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:58.660804" elapsed="0.000216"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:58.654285" elapsed="0.006758">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.661491" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.661672" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:58.661632" elapsed="0.000085"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:58.661612" elapsed="0.000126"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.661896" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.661984" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.599923" elapsed="0.062240">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.662254" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.596440" elapsed="0.065996">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.662834" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.663080" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:58.663259" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:58.568976" elapsed="0.094405">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.663543" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.567923" elapsed="0.095757">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.670817" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:58.674390" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:58.566475" elapsed="0.108054">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:59.201430" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:59.199361" elapsed="0.002102"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.201830" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:59.201679" elapsed="0.000209"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.201540" elapsed="0.000375"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.202243" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:59.201998" elapsed="0.000303"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:59.203043" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:59.202549" elapsed="0.000521"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:59.202324" elapsed="0.000781"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.203318" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:59.203130" elapsed="0.000243"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:59.201979" elapsed="0.001414"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:59.203447" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:21:59.203968" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:59.198549" elapsed="0.005466"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:59.204079" elapsed="0.000052"/>
</return>
<msg time="2026-04-11T23:21:59.204376" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:59.197457" elapsed="0.006998"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:59.213296" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:59.213037" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:59.213784" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:59.213518" elapsed="0.000310"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:59.218482" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.216045" elapsed="0.004182">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:59.213915" elapsed="0.006401">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.220502" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:59.220351" elapsed="0.000232"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:59.213895" elapsed="0.006714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.221134" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.221295" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:59.221256" elapsed="0.000083"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:59.221237" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.221519" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.221622" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.208322" elapsed="0.013477">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.221889" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.204865" elapsed="0.017211">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.222432" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.222690" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.222869" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:59.177412" elapsed="0.045563">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.223160" elapsed="0.000190"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.176392" elapsed="0.047059">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.230588" elapsed="0.000029"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.234214" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.175185" elapsed="0.059159">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:59.761157" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:59.759068" elapsed="0.002120"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.761540" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:21:59.761391" elapsed="0.000223"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.761267" elapsed="0.000375"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.761983" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:59.761730" elapsed="0.000403"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:21:59.763125" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:21:59.762392" elapsed="0.000760"/>
</kw>
<status status="PASS" start="2026-04-11T23:21:59.762159" elapsed="0.001030"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.763379" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:59.763215" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:21:59.761710" elapsed="0.001747"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:59.763515" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:21:59.763840" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:21:59.758240" elapsed="0.005646"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:21:59.763949" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:21:59.764243" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:21:59.756985" elapsed="0.007337"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:59.773305" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:59.773043" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:21:59.773787" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:21:59.773522" elapsed="0.000309"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:21:59.778814" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.776018" elapsed="0.004447">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:21:59.773919" elapsed="0.006634">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.780755" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:21:59.780602" elapsed="0.000218"/>
</branch>
<status status="FAIL" start="2026-04-11T23:21:59.773899" elapsed="0.006943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.781253" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.781407" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:21:59.781370" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:21:59.781352" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.781642" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.781730" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.768335" elapsed="0.013573">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.781999" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.764724" elapsed="0.017455">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.782604" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.782852" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:21:59.783042" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:21:59.737340" elapsed="0.045810">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.783312" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.736307" elapsed="0.047119">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.790482" elapsed="0.000027"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:21:59.794095" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:21:59.735048" elapsed="0.059175">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:00.319798" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:00.317565" elapsed="0.002263"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.320175" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:00.320027" elapsed="0.000206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.319904" elapsed="0.000356"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.320606" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:00.320343" elapsed="0.000322"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:00.321397" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:00.320917" elapsed="0.000508"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:00.320689" elapsed="0.000771"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.321661" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:00.321485" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:00.320324" elapsed="0.001414"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:00.321793" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:22:00.322094" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:00.316797" elapsed="0.005342"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:00.322202" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:22:00.322492" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:00.315716" elapsed="0.007074"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:00.331550" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:00.331288" elapsed="0.000326"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:00.332040" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:00.331785" elapsed="0.000301"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:00.336805" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.334320" elapsed="0.004105">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:00.332221" elapsed="0.006291">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.338710" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:00.338546" elapsed="0.000244"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:00.332200" elapsed="0.006617">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.339226" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.339380" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:00.339343" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:00.339324" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.339612" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.339701" elapsed="0.000018"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.326409" elapsed="0.013472">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.339972" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.323178" elapsed="0.016975">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.340508" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.340782" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.340957" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:00.297138" elapsed="0.043927">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.341225" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.296123" elapsed="0.045214">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.348677" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.352262" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.294919" elapsed="0.057506">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:00.880057" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:00.877736" elapsed="0.002350"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.880428" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:00.880281" elapsed="0.000206"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.880161" elapsed="0.000352"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.880856" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:00.880613" elapsed="0.000301"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:00.881669" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:00.881166" elapsed="0.000532"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:00.880938" elapsed="0.000796"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.881920" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:00.881760" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:00.880591" elapsed="0.001405"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:00.882052" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:22:00.882354" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:00.876952" elapsed="0.005447"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:00.882463" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:22:00.882927" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:00.875863" elapsed="0.007152"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:00.891901" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:00.891638" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:00.892364" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:00.892118" elapsed="0.000290"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:00.896904" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.894507" elapsed="0.003994">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:00.892494" elapsed="0.006179">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.898867" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:00.898711" elapsed="0.000221"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:00.892474" elapsed="0.006481">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.899372" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.899527" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:00.899489" elapsed="0.000140"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:00.899470" elapsed="0.000185"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.899815" elapsed="0.000027"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.899907" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.886888" elapsed="0.013195">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.900175" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.883420" elapsed="0.016938">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.900736" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.900978" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:00.901156" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:00.855300" elapsed="0.045965">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.901427" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.854245" elapsed="0.047296">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.908648" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:00.912288" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:00.853039" elapsed="0.059378">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:01.441009" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:01.438818" elapsed="0.002225"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.441421" elapsed="0.000024"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:01.441265" elapsed="0.000216"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:01.441132" elapsed="0.000377"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.442025" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:01.441751" elapsed="0.000335"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:01.442908" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:01.442343" elapsed="0.000593"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:01.442112" elapsed="0.000863"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.443166" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:01.443001" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:01.441727" elapsed="0.001591"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:01.443377" elapsed="0.000039"/>
</return>
<msg time="2026-04-11T23:22:01.443710" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:01.437969" elapsed="0.005790"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:01.443837" elapsed="0.000056"/>
</return>
<msg time="2026-04-11T23:22:01.444145" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:01.436802" elapsed="0.007423"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:01.453836" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:01.453421" elapsed="0.000468"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:01.454323" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:01.454064" elapsed="0.000334"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:01.459365" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:01.456613" elapsed="0.004479">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:01.454495" elapsed="0.006688">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.461372" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:01.461218" elapsed="0.000221"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:01.454473" elapsed="0.006992">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.461958" elapsed="0.000029"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:01.462122" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:01.462083" elapsed="0.000084"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:01.462063" elapsed="0.000126"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.462346" elapsed="0.000054"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:01.462472" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:01.448220" elapsed="0.014452">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:01.462766" elapsed="0.000070"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:01.444639" elapsed="0.018399">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.463419" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.463718" elapsed="0.000029"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:01.463942" elapsed="0.000021"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:01.415807" elapsed="0.048250">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.464287" elapsed="0.000024"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:01.414708" elapsed="0.049702">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.472511" elapsed="0.000051"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:01.476370" elapsed="0.000034"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:01.413203" elapsed="0.063351">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:02.004681" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:02.002405" elapsed="0.002309"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.005088" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:02.004938" elapsed="0.000208"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.004800" elapsed="0.000375"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.005527" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:02.005267" elapsed="0.000333"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:02.006359" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:02.005854" elapsed="0.000532"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:02.005626" elapsed="0.000795"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.006620" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:02.006446" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:02.005244" elapsed="0.001452"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:02.006754" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:22:02.007065" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:02.001598" elapsed="0.005513"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:02.007172" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:22:02.007462" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:02.000456" elapsed="0.007083"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:02.016506" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:02.016242" elapsed="0.000312"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:02.016990" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:02.016737" elapsed="0.000297"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:02.021796" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:02.019263" elapsed="0.004216">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:02.017121" elapsed="0.006521">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.023830" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:02.023679" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:02.017100" elapsed="0.006818">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.024333" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.024484" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:02.024448" elapsed="0.000079"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:02.024429" elapsed="0.000119"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.024719" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.024805" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:02.011539" elapsed="0.013439">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.025068" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:02.008155" elapsed="0.017094">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.025621" elapsed="0.000024"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.025865" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.026039" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:01.979942" elapsed="0.046204">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.026330" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:01.978808" elapsed="0.047634">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.033528" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.037105" elapsed="0.000026"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:01.977340" elapsed="0.059893">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:02.566373" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:02.564257" elapsed="0.002148"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.566869" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:02.566717" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.566545" elapsed="0.000412"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.567308" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:02.567046" elapsed="0.000320"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:02.568189" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:02.567710" elapsed="0.000506"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:02.567390" elapsed="0.000862"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.568438" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:02.568277" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:02.567025" elapsed="0.001490"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:02.568586" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:22:02.568893" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:02.563460" elapsed="0.005478"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:02.568999" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:22:02.569288" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:02.562350" elapsed="0.007015"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:02.578280" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:02.578014" elapsed="0.000314"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:02.578837" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:02.578496" elapsed="0.000385"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:02.583827" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:02.581097" elapsed="0.004595">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:02.578972" elapsed="0.006809">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.585987" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:02.585816" elapsed="0.000237"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:02.578951" elapsed="0.007125">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.586494" elapsed="0.000026"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.586676" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:02.586637" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:02.586617" elapsed="0.000124"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.586896" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.586982" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:02.573250" elapsed="0.013908">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.587295" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:02.569766" elapsed="0.017714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.587859" elapsed="0.000022"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.588101" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:02.588279" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:02.540428" elapsed="0.047960">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.588551" elapsed="0.000036"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:02.539366" elapsed="0.049316">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.595953" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:02.599515" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:02.538064" elapsed="0.061595">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:03.126113" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:03.123944" elapsed="0.002201"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.126510" elapsed="0.000023"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:03.126360" elapsed="0.000221"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.126229" elapsed="0.000383"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.126965" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:03.126703" elapsed="0.000318"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:03.128208" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:03.127288" elapsed="0.000947"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:03.127059" elapsed="0.001212"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.128458" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:03.128297" elapsed="0.000218"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:03.126682" elapsed="0.001853"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:03.128794" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:22:03.129099" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:03.123151" elapsed="0.005992"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:03.129205" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:22:03.129496" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:03.122068" elapsed="0.007519"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:03.140485" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:03.140215" elapsed="0.000318"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:03.140964" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:03.140717" elapsed="0.000291"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:03.146079" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.143161" elapsed="0.006639">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:03.141096" elapsed="0.008902">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.150415" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:03.150076" elapsed="0.000486"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:03.141075" elapsed="0.009592">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.151614" elapsed="0.000061"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.151966" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:03.151879" elapsed="0.000182"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:03.151837" elapsed="0.000273"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.152460" elapsed="0.000049"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.152682" elapsed="0.000038"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.135442" elapsed="0.017630">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.153272" elapsed="0.000086"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.130058" elapsed="0.023647">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.154565" elapsed="0.000088"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.155018" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.155194" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:03.102849" elapsed="0.052454">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.155466" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.101784" elapsed="0.053812">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.162775" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.166324" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.100448" elapsed="0.066006">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:03.687816" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:03.685393" elapsed="0.002457"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.688228" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:03.688074" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.687938" elapsed="0.000377"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.688688" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:03.688407" elapsed="0.000339"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:03.689484" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:03.689006" elapsed="0.000505"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:03.688770" elapsed="0.000776"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.689766" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:03.689601" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:03.688385" elapsed="0.001457"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:03.689900" elapsed="0.000041"/>
</return>
<msg time="2026-04-11T23:22:03.690353" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:03.684602" elapsed="0.005796"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:03.690459" elapsed="0.000050"/>
</return>
<msg time="2026-04-11T23:22:03.690770" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:03.683482" elapsed="0.007365"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:03.699721" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:03.699441" elapsed="0.000328"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:03.700190" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:03.699939" elapsed="0.000296"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:03.704947" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.702366" elapsed="0.004286">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:03.700323" elapsed="0.006421">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.706927" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:03.706777" elapsed="0.000215"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:03.700303" elapsed="0.006711">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.707482" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.707655" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:03.707617" elapsed="0.000081"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:03.707598" elapsed="0.000122"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.707878" elapsed="0.000023"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.707970" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.694702" elapsed="0.013444">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.708238" elapsed="0.000041"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.691236" elapsed="0.017185">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.708797" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.709041" elapsed="0.000022"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:03.709220" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:03.668130" elapsed="0.041198">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.709492" elapsed="0.000021"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.667663" elapsed="0.041969">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.716864" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:03.720453" elapsed="0.000027"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:03.666972" elapsed="0.053623">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:04.248248" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:04.246130" elapsed="0.002150"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.248681" elapsed="0.000025"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:04.248499" elapsed="0.000244"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.248366" elapsed="0.000406"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.249131" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:04.248866" elapsed="0.000398"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:04.250226" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:04.249554" elapsed="0.000700"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:04.249291" elapsed="0.001000"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.250481" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:04.250317" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:04.248844" elapsed="0.001715"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:04.250635" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:22:04.250948" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:04.245279" elapsed="0.005716"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:04.251060" elapsed="0.000053"/>
</return>
<msg time="2026-04-11T23:22:04.251359" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:04.244124" elapsed="0.007313"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:04.260707" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:04.260344" elapsed="0.000414"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:04.261194" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:04.260937" elapsed="0.000303"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:04.266104" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.263411" elapsed="0.004384">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:04.261332" elapsed="0.006555">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.268074" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:04.267921" elapsed="0.000220"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:04.261311" elapsed="0.006853">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.268613" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.268774" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:04.268735" elapsed="0.000082"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:04.268716" elapsed="0.000123"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.269003" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.269091" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.255330" elapsed="0.013940">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.269362" elapsed="0.000079"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.251849" elapsed="0.017760">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.270029" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.270283" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.270463" elapsed="0.000019"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:04.223768" elapsed="0.046828">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.270775" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.222740" elapsed="0.048155">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.278011" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.282269" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.221357" elapsed="0.061049">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:04.810387" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:04.808220" elapsed="0.002200"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.810804" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:04.810649" elapsed="0.000213"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.810505" elapsed="0.000386"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.811291" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:04.810984" elapsed="0.000366"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:04.812126" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:04.811633" elapsed="0.000521"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:04.811375" elapsed="0.000815"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.812375" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:04.812215" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:04.810960" elapsed="0.001493"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:04.812511" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:22:04.813081" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:04.807386" elapsed="0.005742"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:04.813208" elapsed="0.000056"/>
</return>
<msg time="2026-04-11T23:22:04.813513" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:04.806202" elapsed="0.007405"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:04.822519" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:04.822246" elapsed="0.000336"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:04.823003" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:04.822754" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:04.827946" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.825499" elapsed="0.004337">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:04.823359" elapsed="0.006569">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.830126" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:04.829964" elapsed="0.000227"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:04.823336" elapsed="0.006879">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.830681" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.830843" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:04.830803" elapsed="0.000085"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:04.830784" elapsed="0.000126"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.831067" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.831155" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.817503" elapsed="0.013829">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.831424" elapsed="0.000040"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.814020" elapsed="0.017622">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.832024" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.832272" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:04.832453" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:04.785552" elapsed="0.047012">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.832760" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.784496" elapsed="0.048380">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.840365" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:04.843990" elapsed="0.000032"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:04.783175" elapsed="0.061002">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:05.372095" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:05.369975" elapsed="0.002152"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.372498" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:05.372346" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.372215" elapsed="0.000394"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.372976" elapsed="0.000051"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:05.372711" elapsed="0.000354"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:05.373990" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:05.373327" elapsed="0.000690"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:05.373090" elapsed="0.000963"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.374243" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:05.374079" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:05.372689" elapsed="0.001630"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:05.374376" elapsed="0.000038"/>
</return>
<msg time="2026-04-11T23:22:05.374697" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:05.369162" elapsed="0.005582"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:05.374807" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:22:05.375106" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:05.368005" elapsed="0.007178"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:05.384299" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:05.383997" elapsed="0.000349"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:05.384807" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:05.384519" elapsed="0.000334"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:05.389824" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.387105" elapsed="0.004376">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:05.384945" elapsed="0.006641">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.391776" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:05.391623" elapsed="0.000220"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:05.384924" elapsed="0.006943">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.392286" elapsed="0.000027"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.392441" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:05.392403" elapsed="0.000136"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:05.392384" elapsed="0.000180"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.392759" elapsed="0.000024"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.392850" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.379065" elapsed="0.013995">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.393156" elapsed="0.000042"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.375587" elapsed="0.017757">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.393741" elapsed="0.000025"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.393995" elapsed="0.000023"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.394180" elapsed="0.000018"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:05.347732" elapsed="0.046557">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.394455" elapsed="0.000022"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.346345" elapsed="0.048244">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.401816" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.405454" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.345056" elapsed="0.060543">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Check_Device_Completely_Gone" owner="NetconfKeywords">
<kw name="Check_Device_Has_No_Netconf_Connector" owner="NetconfKeywords">
<kw name="Count_Netconf_Connectors_For_Device" owner="NetconfKeywords">
<kw name="Generate URI" owner="Restconf">
<kw name="Generate RFC8040 URI" owner="Restconf">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:05.931479" level="INFO">${node_value_path} = </msg>
<var>${node_value_path}</var>
<arg>${EMPTY}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:05.929353" elapsed="0.002159"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Set Variable" owner="BuiltIn">
<var>${node_value_path}</var>
<arg>${node_value_path}/${nv}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.931897" elapsed="0.000022"/>
</kw>
<var name="${nv}"/>
<status status="NOT RUN" start="2026-04-11T23:22:05.931744" elapsed="0.000211"/>
</iter>
<var>${nv}</var>
<value>@{node_value_list}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.931611" elapsed="0.000372"/>
</for>
<if>
<branch type="IF" condition="&quot;${datastore_flag}&quot; == &quot;config&quot;">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=config</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.932338" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:05.932073" elapsed="0.000323"/>
</branch>
<branch type="ELSE IF" condition="&quot;${datastore_flag}&quot;==&quot;operational&quot;">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:05.933509" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/data/${identifier}${node_value_path}?content=nonconfig</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:05.933018" elapsed="0.000518"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:05.932420" elapsed="0.001167"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${uri}</var>
<arg>${RESTCONF_ROOT}/operations/${identifier}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.933776" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:05.933613" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:05.932052" elapsed="0.001877"/>
</if>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:05.933986" elapsed="0.000040"/>
</return>
<msg time="2026-04-11T23:22:05.934295" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>${identifier}</arg>
<arg>${datastore_flag}</arg>
<arg>@{node_value_list}</arg>
<status status="PASS" start="2026-04-11T23:22:05.928435" elapsed="0.005906"/>
</kw>
<return>
<value>${uri}</value>
<status status="PASS" start="2026-04-11T23:22:05.934403" elapsed="0.000051"/>
</return>
<msg time="2026-04-11T23:22:05.934717" level="INFO">${uri} = /rests/data/network-topology:network-topology?content=nonconfig</msg>
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>operational</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="PASS" start="2026-04-11T23:22:05.927205" elapsed="0.007590"/>
</kw>
<kw name="Get_As_Json_From_Uri" owner="TemplatedRequests">
<kw name="Get_From_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:05.943787" level="INFO">/rests/data/network-topology:network-topology?content=nonconfig</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:05.943502" elapsed="0.000334"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:05.944254" level="INFO">{}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:05.944005" elapsed="0.000294"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:05.949074" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.946526" elapsed="0.004243">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:05.944388" elapsed="0.006473">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="GET On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${accept}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.951057" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:05.950897" elapsed="0.000228"/>
</branch>
<status status="FAIL" start="2026-04-11T23:22:05.944367" elapsed="0.006782">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<arg>log_response=${log_response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.951612" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.951774" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:05.951734" elapsed="0.000085"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:05.951714" elapsed="0.000126"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<arg>keys_with_volatiles=${keys_with_volatiles}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.951996" elapsed="0.000022"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.952082" elapsed="0.000017"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>accept=${ACCEPT_EMPTY}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=True</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>log_response=${log_response}</arg>
<doc>GET data from given URI, check status code and return response text.
${accept} is a Python object with headers to use.
If ${normalize_json}, normalize as JSON text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.938811" elapsed="0.013451">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.952353" elapsed="0.000039"/>
</return>
<var>${mounts}</var>
<arg>${uri}</arg>
<arg>session=${session}</arg>
<doc>Specify JSON headers and return Get_From_Uri normalized response text.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.935191" elapsed="0.017346">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${mounts}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.952961" elapsed="0.000023"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${actual_count}</var>
<arg>len('''${mounts}'''.split('"node-id": "${device_name}"'))-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.953212" elapsed="0.000021"/>
</kw>
<return>
<value>${actual_count}</value>
<status status="NOT RUN" start="2026-04-11T23:22:05.953390" elapsed="0.000017"/>
</return>
<var>${count}</var>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Count all instances of the specified device in the Netconf topology (usually 0 or 1).</doc>
<status status="FAIL" start="2026-04-11T23:22:05.908689" elapsed="0.044809">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>${count}</arg>
<arg>0</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.953740" elapsed="0.000023"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<doc>Check that there are no instances of the specified device in the Netconf topology.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.907663" elapsed="0.046197">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Generate URI" owner="Restconf">
<var>${uri}</var>
<arg>network-topology:network-topology</arg>
<arg>config</arg>
<arg>topology=topology-netconf</arg>
<arg>node=${device_name}</arg>
<doc>Returns the proper URI to use. Variable input error checking is done to ensure the ${datastore_flag} variable
is config, operational or rpc. @{node_value_list} is expected to be in the format of node=value. RFC8040 can
use that as is with '=' delimiter</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.961256" elapsed="0.000028"/>
</kw>
<kw name="No Content From URI" owner="Utils">
<arg>${session}</arg>
<arg>${uri}</arg>
<doc>Issue a Get On Session and return on error 404 (No content) or will fail and log the content.
Issues a Get On Session for ${uri} in default using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.964820" elapsed="0.000028"/>
</kw>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Check that the specified device has no Netconf connectors nor associated data.</doc>
<status status="FAIL" start="2026-04-11T23:22:05.906332" elapsed="0.058622">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<msg time="2026-04-11T23:22:05.965067" level="FAIL">Keyword 'Check_Device_Completely_Gone' failed after retrying for 2 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<arg>${timeout}</arg>
<arg>${period}</arg>
<arg>Check_Device_Completely_Gone</arg>
<arg>${device_name}</arg>
<arg>session=${session}</arg>
<arg>log_response=${log_response}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.561033" elapsed="120.404134">Keyword 'Check_Device_Completely_Gone' failed after retrying for 2 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${current_name}</arg>
<arg>period=0.5s</arg>
<arg>timeout=120s</arg>
<doc>Wait until all netconf connectors for the device with the given name disappear.
Call of Remove_Device_From_Netconf returns before netconf gets
around deleting the device's connector. To ensure the device is
really gone from netconf, use this keyword to make sure all
connectors disappear. If a call to Remove_Device_From_Netconf
is not made before using this keyword, the wait will fail.
Using this keyword is more readable than putting the WUKS below
into a test case.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.560598" elapsed="120.404689">Keyword 'Check_Device_Completely_Gone' failed after retrying for 2 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Device ${current_name} removed</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="NOT RUN" start="2026-04-11T23:22:05.969746" elapsed="0.000030"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Operation for making sure the device is really deconfigured.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.503295" elapsed="120.466578">Keyword 'Check_Device_Completely_Gone' failed after retrying for 2 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.502798" elapsed="120.467131">Keyword 'Check_Device_Completely_Gone' failed after retrying for 2 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.970092" elapsed="0.000195"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:05.970443" elapsed="0.000021"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="FAIL" start="2026-04-11T23:20:05.499805" elapsed="120.470747">Keyword 'Check_Device_Completely_Gone' failed after retrying for 2 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.499295" elapsed="120.471490">Keyword 'Check_Device_Completely_Gone' failed after retrying for 2 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>NetconfKeywords.Check_Device_Deconfigured</arg>
<arg>timeout=${timeout}</arg>
<status status="FAIL" start="2026-04-11T23:20:05.497277" elapsed="120.473663">Keyword 'Check_Device_Completely_Gone' failed after retrying for 2 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<doc>Check there are no netconf connectors or other stuff related to the testtool devices.</doc>
<status status="FAIL" start="2026-04-11T23:20:05.432593" elapsed="120.538512">Keyword 'Check_Device_Completely_Gone' failed after retrying for 2 minutes. The last error was: ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology?content=nonconfig (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:05.971960" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-11T23:22:05.971868" elapsed="0.000202"/>
</kw>
<kw name="Stop_Testtool" owner="NetconfKeywords">
<kw name="Write_Bare_Ctrl_C" owner="RemoteBash">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:05.973168" level="INFO">${ctrl_c} = </msg>
<var>${ctrl_c}</var>
<arg>chr(int(3))</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:05.972766" elapsed="0.000432"/>
</kw>
<kw name="Write Bare" owner="SSHLibrary">
<arg>${ctrl_c}</arg>
<doc>Writes the given ``text`` on the remote machine without appending a newline.</doc>
<status status="PASS" start="2026-04-11T23:22:05.973351" elapsed="0.000368"/>
</kw>
<doc>Construct ctrl+c character and SSH-write it (without endline) to the current SSH connection.
Do not read anything yet.</doc>
<status status="PASS" start="2026-04-11T23:22:05.972533" elapsed="0.001272"/>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.038768" level="INFO">Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
Exception in thread Thread-1 (queued_send):
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
Exception in thread Thread-4 (queued_send):
Traceback (most recent call last):
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 700, in urlopen
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 395, in _make_request
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 700, in urlopen
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 700, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 395, in _make_request
Exception in thread Thread-3 (queued_send):
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 234, in request
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 395, in _make_request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
Exception in thread Thread-5 (queued_send):
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 700, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 395, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 234, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
Exception in thread Thread-7 (queued_send):
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
    self.send(msg)
  File "/usr/lib/python3.10/http/client.py", line 976, in send
Exception in thread Thread-8 (queued_send):
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 200, in connect
Exception in thread Thread-6 (queued_send):
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
    raise NewConnectionError(
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
urllib3.exceptions.NewConnectionError: &lt;urllib3.connection.HTTPConnection object at 0x7f8daa967e80&gt;</msg>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="PASS" start="2026-04-11T23:22:05.973953" elapsed="0.065081"/>
</kw>
<kw name="Get File" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.049289" level="INFO">[chan 1] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:22:06.057625" level="INFO">'testtool--netconf-scale-txt-Getmulti.1775949244.214.log' -&gt; '/w/workspace/netconf-csit-1node-scale-only-titanium/testtool--netconf-scale-txt-Getmulti.1775949244.214.log'</msg>
<arg>${testtool_log}</arg>
<doc>Downloads file(s) from the remote machine to the local machine.</doc>
<status status="PASS" start="2026-04-11T23:22:06.039277" elapsed="0.018488"/>
</kw>
<doc>Stop testtool and download its log.</doc>
<status status="PASS" start="2026-04-11T23:22:05.972275" elapsed="0.085639"/>
</kw>
<doc>Teardown the test infrastructure, perform cleanup and release all resources.</doc>
<status status="PASS" start="2026-04-11T23:22:05.971560" elapsed="0.086464"/>
</kw>
<doc>netconf-connector scaling test suite (multi-threaded GET requests).

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


Performs scaling tests:
- Send configurations of the devices one by one (via restconf).
- Wait for the devices to become connected.
- Send requests for configuration data using 10 worker threads
(using external Python tool).
- Deconfigure the devices one by one.</doc>
<status status="FAIL" start="2026-04-11T23:13:58.980119" elapsed="487.077974"/>
</suite>
<suite id="s1-s5" name="Getsingle" source="/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getsingle.robot">
<kw name="Setup_Everything" type="SETUP">
<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-11T23:22:06.140799" elapsed="0.000187"/>
</kw>
<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-11T23:22:06.145867" 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-11T23:22:06.141743" elapsed="0.004172"/>
</kw>
<doc>Set suite to not fail fast.</doc>
<status status="PASS" start="2026-04-11T23:22:06.141508" elapsed="0.004468"/>
</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-11T23:22:06.150677" 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-11T23:22:06.147046" elapsed="0.003658"/>
</kw>
<if>
<branch type="IF" condition="${already_done}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:06.150908" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:06.150787" elapsed="0.000166"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:06.150764" elapsed="0.000212"/>
</if>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.151477" 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-11T23:22:06.151126" elapsed="0.000394"/>
</kw>
<kw name="Get Variable Value" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.152005" level="INFO">${cluster_size} = 1</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-11T23:22:06.151694" elapsed="0.000338"/>
</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-11T23:22:06.152524" elapsed="0.000300"/>
</kw>
<msg time="2026-04-11T23:22:06.152921" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:22:06.152968" level="INFO">${possibly_int_of_members} = 1</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-11T23:22:06.152192" elapsed="0.000799"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.153527" level="INFO">${int_of_members} = 1</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-11T23:22:06.153159" elapsed="0.000394"/>
</kw>
<kw name="ClusterManagement__Compute_Derived_Variables" owner="ClusterManagement">
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.154528" 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-11T23:22:06.154265" elapsed="0.000290"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.154972" level="INFO">@{session_list} = [ ]</msg>
<var>@{session_list}</var>
<doc>Returns a list containing given items.</doc>
<status status="PASS" start="2026-04-11T23:22:06.154717" elapsed="0.000281"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.155436" 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-11T23:22:06.155149" elapsed="0.000313"/>
</kw>
<for flavor="IN RANGE">
<iter>
<kw name="ClusterManagement__Include_Member_Index" owner="ClusterManagement">
<kw name="Append To List" owner="Collections">
<arg>${member_index_list}</arg>
<arg>${index}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:22:06.160102" elapsed="0.000212"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.160816" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</var>
<arg>${ODL_SYSTEM_${index}_IP}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:06.160466" elapsed="0.000376"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${index_to_ip_mapping}</arg>
<arg>${index}</arg>
<arg>${member_ip}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:22:06.160989" elapsed="0.000226"/>
</kw>
<kw name="Resolve_Http_Session_For_Member" owner="ClusterManagement">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.162000" level="INFO">${session} = ClusterManagement__session_1</msg>
<var>${session}</var>
<arg>ClusterManagement__session_${member_index}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:06.161709" elapsed="0.000317"/>
</kw>
<return>
<value>${session}</value>
<status status="PASS" start="2026-04-11T23:22:06.162071" elapsed="0.000037"/>
</return>
<msg time="2026-04-11T23:22:06.162228" level="INFO">${session_alias} = ClusterManagement__session_1</msg>
<var>${session_alias}</var>
<arg>member_index=${index}</arg>
<doc>Return RequestsLibrary session alias pointing to node of given index.</doc>
<status status="PASS" start="2026-04-11T23:22:06.161406" elapsed="0.000847"/>
</kw>
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:06.162955" level="INFO">Creating Session using : alias=ClusterManagement__session_1, url=http://10.30.171.250:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f21fcddd0&gt;, timeout=5, proxies=None, verify=False,                     debug=0 </msg>
<arg>${session_alias}</arg>
<arg>http://${member_ip}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>timeout=${http_timeout}</arg>
<arg>max_retries=${http_retries}</arg>
<doc>Create Session: create a HTTP session to a server</doc>
<status status="PASS" start="2026-04-11T23:22:06.162507" elapsed="0.000579"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${session_list}</arg>
<arg>${session_alias}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="PASS" start="2026-04-11T23:22:06.163241" elapsed="0.000188"/>
</kw>
<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="PASS" start="2026-04-11T23:22:06.159528" elapsed="0.003959"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:22:06.159340" elapsed="0.004191"/>
</iter>
<var>${index}</var>
<value>1</value>
<value>${int_of_members+1}</value>
<status status="PASS" start="2026-04-11T23:22:06.155516" elapsed="0.008047"/>
</for>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.164133" level="INFO">${ClusterManagement__member_index_list} = [1]</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-11T23:22:06.163736" elapsed="0.000440"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.164750" level="INFO">${ClusterManagement__index_to_ip_mapping} = {1: '10.30.171.250'}</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-11T23:22:06.164332" elapsed="0.000461"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.165330" level="INFO">${ClusterManagement__session_list} = ['ClusterManagement__session_1']</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-11T23:22:06.164950" elapsed="0.000421"/>
</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-11T23:22:06.153819" elapsed="0.011608"/>
</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-11T23:22:06.146710" elapsed="0.018771"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'False'">
<return>
<value>Not A Karaf App</value>
<status status="NOT RUN" start="2026-04-11T23:22:06.165673" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:06.165546" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:06.165527" elapsed="0.000212"/>
</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-11T23:22:06.168789" level="INFO">${return_list_reference} = [1]</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-11T23:22:06.168375" elapsed="0.000441"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.169266" level="INFO">${return_list_copy} = [1]</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-11T23:22:06.168970" elapsed="0.000322"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:22:06.169336" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:22:06.169490" level="INFO">${index_list} = [1]</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-11T23:22:06.168057" elapsed="0.001457"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run_Bash_Command_On_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:06.170486" level="INFO">${member_ip} = 10.30.171.250</msg>
<var>${member_ip}</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="PASS" start="2026-04-11T23:22:06.170225" elapsed="0.000287"/>
</kw>
<kw name="Run_Keyword_Preserve_Connection" owner="SSHKeywords">
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.171223" level="INFO">index=64
host=10.30.171.36
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-11T23:22:06.171322" level="INFO">${current_connection} = index=64
host=10.30.171.36
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-11T23:22:06.171090" elapsed="0.000259"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Controller" owner="Utils">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run Command On Remote System" owner="Utils">
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot; and &quot;${return_stderr}&quot;!=&quot;True&quot;">
<kw name="Fail" owner="BuiltIn">
<arg>At least one of {return_stdout} or {return_stderr} args should be set to True</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:06.174918" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:06.174323" elapsed="0.000683"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:06.174303" elapsed="0.000742"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.175516" level="INFO">index=64
host=10.30.171.36
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-11T23:22:06.175769" level="INFO">${current_ssh_connection} = index=64
host=10.30.171.36
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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:06.175240" elapsed="0.000621"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.176839" level="INFO">Attempting to execute command "iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save" on remote system "10.30.171.250" by user "jenkins" with keyfile pass "any" and prompt "&gt;" and password ""</msg>
<arg>Attempting to execute command "${cmd}" on remote system "${system}" by user "${user}" with keyfile pass "${keyfile_pass}" and prompt "${prompt}" and password "${password}"</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:06.176131" elapsed="0.000820"/>
</kw>
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.178492" level="INFO">${conn_id} = 69</msg>
<var>${conn_id}</var>
<arg>${system}</arg>
<arg>prompt=${prompt}</arg>
<arg>timeout=${prompt_timeout}</arg>
<doc>Opens a new SSH connection to the given ``host`` and ``port``.</doc>
<status status="PASS" start="2026-04-11T23:22:06.177335" elapsed="0.001213"/>
</kw>
<kw name="Flexible_SSH_Login" owner="SSHKeywords">
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.180343" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:22:06.180526" 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-11T23:22:06.179975" elapsed="0.000612"/>
</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-11T23:22:06.180972" elapsed="0.000471"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.182821" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:22:06.760793" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:22:06 UTC 2026

  System load:  0.0                Processes:             120
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:14:03 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:22:06.182279" elapsed="0.578665"/>
</kw>
<msg time="2026-04-11T23:22:06.761029" 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="PASS" start="2026-04-11T23:22:06.181815" elapsed="0.579368"/>
</kw>
<arg>${user}</arg>
<arg>${password}</arg>
<doc>On active SSH session: if given non-empty password, do Login, else do Login With Public Key.</doc>
<status status="PASS" start="2026-04-11T23:22:06.179041" elapsed="0.582292"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.762230" level="INFO">Executing command 'iptables -I INPUT -p tcp --dport 8101 -j ACCEPT; iptables-save'.</msg>
<msg time="2026-04-11T23:22:06.774884" level="INFO">Command exited with return code 4.</msg>
<msg time="2026-04-11T23:22:06.775277" level="INFO">${stdout} = </msg>
<msg time="2026-04-11T23:22:06.775502" level="INFO">${stderr} = iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission ...</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<arg>${cmd}</arg>
<arg>return_stderr=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:06.761726" elapsed="0.013925"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:22:06.776335" elapsed="0.001143"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.780052" level="INFO">iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
iptables-save v1.8.7 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root)</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:06.778805" elapsed="0.001478"/>
</kw>
<if>
<branch type="IF" condition="&quot;${return_stdout}&quot;!=&quot;True&quot;">
<return>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:22:06.781237" elapsed="0.000075"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:06.780775" elapsed="0.000651"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:06.780707" elapsed="0.000774"/>
</if>
<if>
<branch type="IF" condition="&quot;${return_stderr}&quot;!=&quot;True&quot;">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:22:06.781973" elapsed="0.000092"/>
</return>
<status status="PASS" start="2026-04-11T23:22:06.781622" elapsed="0.000561"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:06.781595" elapsed="0.000646"/>
</if>
<return>
<value>${stdout}</value>
<value>${stderr}</value>
<status status="NOT RUN" start="2026-04-11T23:22:06.782329" elapsed="0.000024"/>
</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-11T23:22:06.788451" elapsed="0.000338"/>
</kw>
<msg time="2026-04-11T23:22:06.788855" 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-11T23:22:06.787486" elapsed="0.002122"/>
</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-11T23:22:06.790032" elapsed="0.000057"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:06.790459" elapsed="0.000052"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:22:06.783058" elapsed="0.007589"/>
</kw>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Reduces the common work of running a command on a remote system to a single higher level
robot keyword, taking care to log in with a public key and. The command given is written and the return value
depends on the passed argument values of return_stdout (default: True) and return_stderr (default: False).
At least one should be True, or the keyword will exit and FAIL. If both are True, the resulting return value
will be a two element list containing both. Otherwise the resulting return value is a string.
No test conditions are checked.</doc>
<status status="PASS" start="2026-04-11T23:22:06.173350" elapsed="0.617555"/>
</kw>
<msg time="2026-04-11T23:22:06.791049" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run Command On Remote System</arg>
<arg>${system}</arg>
<arg>${cmd}</arg>
<arg>${user}</arg>
<arg>${password}</arg>
<arg>prompt=${prompt}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:22:06.172478" elapsed="0.618660"/>
</kw>
<arg>@{args}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Call Run Comand On Remote System, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:22:06.172007" elapsed="0.619254"/>
</kw>
<msg time="2026-04-11T23:22:06.791322" 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-11T23:22:06.171499" elapsed="0.619891"/>
</kw>
<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-11T23:22:06.795162" elapsed="0.000147"/>
</kw>
<msg time="2026-04-11T23:22:06.795352" 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-11T23:22:06.794660" elapsed="0.000754"/>
</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-11T23:22:06.795567" elapsed="0.000038"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:06.795743" 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-11T23:22:06.791841" elapsed="0.003983"/>
</kw>
<msg time="2026-04-11T23:22:06.795917" level="INFO">${output} = </msg>
<var>${output}</var>
<arg>Utils.Run_Command_On_Controller</arg>
<arg>${member_ip}</arg>
<arg>${command}</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-11T23:22:06.170739" elapsed="0.625204"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.796389" level="INFO"/>
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:06.796136" elapsed="0.000296"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:06.796476" elapsed="0.000045"/>
</return>
<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="PASS" start="2026-04-11T23:22:06.169878" elapsed="0.626777"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:22:06.169707" elapsed="0.626987"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:22:06.169565" elapsed="0.627165"/>
</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-11T23:22:06.165985" elapsed="0.630800"/>
</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-11T23:22:06.796936" elapsed="0.000226"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<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-11T23:22:06.810833" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:06.810708" elapsed="0.000177"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:06.810684" elapsed="0.000224"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.811229" level="INFO">index=64
host=10.30.171.36
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-11T23:22:06.811338" level="INFO">${current_ssh_connection_object} = index=64
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:06.811086" elapsed="0.000280"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.811797" level="INFO">{}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:06.811515" elapsed="0.000327"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:06.812247" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:06.811988" elapsed="0.000304"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:06.813071" 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-11T23:22:06.812847" elapsed="0.000327">Dictionary does not contain key '1'.</status>
</kw>
<msg time="2026-04-11T23:22:06.813292" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:22:06.813340" 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-11T23:22:06.812447" elapsed="0.000917"/>
</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-11T23:22:06.813681" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:06.813442" elapsed="0.000316"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:06.813423" elapsed="0.000359"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:06.814546" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:22:06.814280" elapsed="0.000309"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:22:06.814880" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:22:06.815047" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:22:06.813997" elapsed="0.001078"/>
</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="PASS" start="2026-04-11T23:22:06.815243" elapsed="0.000444"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.816220" level="INFO">index=70
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:22:06.816336" level="INFO">${karaf_connection_object} = index=70
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:06.815852" elapsed="0.000514"/>
</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="PASS" start="2026-04-11T23:22:06.816548" elapsed="0.002195"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:22:06.819189" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:22:06.820208" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:22:06.818905" elapsed="0.001755">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:22:06.824205" elapsed="0.000244"/>
</kw>
<msg time="2026-04-11T23:22:06.824543" 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-11T23:22:06.823650" elapsed="0.000972"/>
</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-11T23:22:06.824779" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:06.824937" elapsed="0.000021"/>
</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-11T23:22:06.821468" elapsed="0.003551"/>
</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-11T23:22:06.820939" elapsed="0.004126"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:22:06.810363" elapsed="0.014782">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:22:07.838430" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:07.838290" elapsed="0.000203"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:07.838263" elapsed="0.000253"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:07.838864" level="INFO">index=64
host=10.30.171.36
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-11T23:22:07.838980" level="INFO">${current_ssh_connection_object} = index=64
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:07.838711" elapsed="0.000297"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:07.839452" level="INFO">{1: 70}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:07.839158" elapsed="0.000341"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:07.839904" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:07.839661" elapsed="0.000288"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:22:07.840508" elapsed="0.000205"/>
</kw>
<msg time="2026-04-11T23:22:07.840814" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:22:07.840859" level="INFO">${old_connection_index} = 70</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-11T23:22:07.840104" elapsed="0.000778"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:22:07.841711" elapsed="0.000142"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:22:07.842507" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:22:07.842338" elapsed="0.000704">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:07.842014" elapsed="0.001319"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:22:07.843856" elapsed="0.000102"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:07.843506" elapsed="0.000499"/>
</kw>
<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="PASS" start="2026-04-11T23:22:07.841176" elapsed="0.002875"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:07.840958" elapsed="0.003143"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:07.840939" elapsed="0.003205"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:07.845082" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:22:07.844815" elapsed="0.000294"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:22:07.845159" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:22:07.845315" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:22:07.844526" elapsed="0.000814"/>
</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="PASS" start="2026-04-11T23:22:07.845492" elapsed="0.000424"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:07.846418" level="INFO">index=71
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:22:07.846522" level="INFO">${karaf_connection_object} = index=71
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:07.846080" elapsed="0.000469"/>
</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="PASS" start="2026-04-11T23:22:07.846712" elapsed="0.002135"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:22:07.849269" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:22:07.850229" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:22:07.849005" elapsed="0.001617">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:22:07.854163" elapsed="0.000229"/>
</kw>
<msg time="2026-04-11T23:22:07.854453" 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-11T23:22:07.853555" elapsed="0.000960"/>
</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-11T23:22:07.854683" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:07.854842" elapsed="0.000020"/>
</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-11T23:22:07.851407" elapsed="0.003523"/>
</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-11T23:22:07.850895" elapsed="0.004081"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:22:07.837906" elapsed="0.017149">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:22:08.873810" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:08.873668" elapsed="0.000203"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:08.873641" elapsed="0.000257"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:08.874231" level="INFO">index=64
host=10.30.171.36
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-11T23:22:08.874350" level="INFO">${current_ssh_connection_object} = index=64
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:08.874073" elapsed="0.000304"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:08.874838" level="INFO">{1: 71}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:08.874528" elapsed="0.000356"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:08.875277" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:08.875032" elapsed="0.000291"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:22:08.875977" elapsed="0.000186"/>
</kw>
<msg time="2026-04-11T23:22:08.876263" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:22:08.876310" level="INFO">${old_connection_index} = 71</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-11T23:22:08.875580" elapsed="0.000753"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:22:08.877159" elapsed="0.000141"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:22:08.877976" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:22:08.877804" elapsed="0.000669">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:08.877463" elapsed="0.001072"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:22:08.879040" elapsed="0.000101"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:08.878721" elapsed="0.000466"/>
</kw>
<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="PASS" start="2026-04-11T23:22:08.876647" elapsed="0.002585"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:08.876411" elapsed="0.002871"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:08.876392" elapsed="0.002916"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:08.880081" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:22:08.879811" elapsed="0.000297"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:22:08.880157" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:22:08.880313" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:22:08.879510" elapsed="0.000828"/>
</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="PASS" start="2026-04-11T23:22:08.880487" elapsed="0.000424"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:08.881408" level="INFO">index=72
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:22:08.881512" level="INFO">${karaf_connection_object} = index=72
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:08.881073" elapsed="0.000465"/>
</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="PASS" start="2026-04-11T23:22:08.881700" elapsed="0.002167"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:22:08.884288" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:22:08.885724" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:22:08.884025" elapsed="0.002071">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:22:08.889552" elapsed="0.000247"/>
</kw>
<msg time="2026-04-11T23:22:08.889858" 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-11T23:22:08.889055" elapsed="0.000864"/>
</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-11T23:22:08.890071" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:08.890226" elapsed="0.000021"/>
</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-11T23:22:08.886910" elapsed="0.003397"/>
</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-11T23:22:08.886374" elapsed="0.003980"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:22:08.873276" elapsed="0.017157">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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-11T23:22:09.909282" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:09.909161" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.909141" elapsed="0.000212"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.909636" level="INFO">index=64
host=10.30.171.36
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-11T23:22:09.909744" level="INFO">${current_ssh_connection_object} = index=64
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:09.909502" elapsed="0.000270"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:09.910181" level="INFO">{1: 72}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:09.909919" elapsed="0.000308"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:09.910629" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:09.910373" elapsed="0.000301"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:22:09.911176" elapsed="0.000178"/>
</kw>
<msg time="2026-04-11T23:22:09.911465" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:22:09.911511" level="INFO">${old_connection_index} = 72</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-11T23:22:09.910827" elapsed="0.000706"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:22:09.912343" elapsed="0.000139"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.913125" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:22:09.912976" elapsed="0.000585">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:09.912658" elapsed="0.000981"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:22:09.914117" elapsed="0.000102"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:09.913803" elapsed="0.000461"/>
</kw>
<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="PASS" start="2026-04-11T23:22:09.911842" elapsed="0.002465"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:09.911624" elapsed="0.002732"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.911605" elapsed="0.002776"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:09.915120" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:22:09.914857" elapsed="0.000289"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:22:09.915192" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:22:09.915343" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:22:09.914591" elapsed="0.000776"/>
</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="PASS" start="2026-04-11T23:22:09.915527" elapsed="0.000406"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.916383" level="INFO">index=73
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:22:09.916485" level="INFO">${karaf_connection_object} = index=73
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:09.916093" elapsed="0.000418"/>
</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="PASS" start="2026-04-11T23:22:09.916670" elapsed="0.002117"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.919201" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:22:09.920414" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:22:09.918944" elapsed="0.001855">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:22:09.924220" elapsed="0.000223"/>
</kw>
<msg time="2026-04-11T23:22:09.924502" 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-11T23:22:09.923745" elapsed="0.000819"/>
</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-11T23:22:09.924781" elapsed="0.000023"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:09.924941" elapsed="0.000020"/>
</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-11T23:22:09.921566" elapsed="0.003456"/>
</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-11T23:22:09.921063" elapsed="0.004005"/>
</kw>
<arg>member_index=${index}</arg>
<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-11T23:22:09.908868" elapsed="0.016278">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:22:09.925238" level="FAIL">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<arg>3s</arg>
<arg>1s</arg>
<arg>Open_Controller_Karaf_Console_On_Background</arg>
<arg>member_index=${index}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-04-11T23:22:06.797883" elapsed="3.127445">Keyword 'Open_Controller_Karaf_Console_On_Background' failed after retrying for 3 seconds. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<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="PASS" start="2026-04-11T23:22:06.797499" elapsed="3.127896"/>
</kw>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:22:06.797365" elapsed="3.128073"/>
</iter>
<var>${index}</var>
<value>@{ClusterManagement__member_index_list}</value>
<status status="PASS" start="2026-04-11T23:22:06.797219" elapsed="3.128254"/>
</for>
<arg>http_timeout=${http_timeout}</arg>
<doc>Initialize ClusterManagement. Open ssh karaf connections to each ODL.</doc>
<status status="PASS" start="2026-04-11T23:22:06.146260" elapsed="3.779271"/>
</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-11T23:22:09.928131" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:09.928020" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.928001" 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-11T23:22:09.932854" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:09.932748" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.932730" elapsed="0.000192"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:09.933905" level="INFO">${return_list_reference} = [1]</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-11T23:22:09.933500" elapsed="0.000432"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:22:09.934381" level="INFO">${return_list_copy} = [1]</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-11T23:22:09.934088" elapsed="0.000319"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:22:09.934452" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:22:09.934623" level="INFO">${index_list} = [1]</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-11T23:22:09.933142" elapsed="0.001507"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:22:09.940023" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:09.939916" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.939897" elapsed="0.000194"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:22:09.941262" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:09.941138" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.941119" elapsed="0.000213"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:09.941809" level="INFO">${karaf_connection_index} = 73</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="PASS" start="2026-04-11T23:22:09.941470" elapsed="0.000366"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.942214" level="INFO">${current_connection_index} = 64</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:22:09.941987" elapsed="0.000253"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.943314" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:22:09.942896" elapsed="0.001125">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:22:09.944156" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:22:09.944202" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:22:09.942393" elapsed="0.001865"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.945324" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:22:09.944932" elapsed="0.001166">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:22:09.946234" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:22:09.946279" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:22:09.944425" elapsed="0.001878"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:22:09.947284" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getsingle.robot"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:22:09.946640" elapsed="0.000722">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getsingle.robot"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:09.946378" elapsed="0.001129">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getsingle.robot"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:09.946359" elapsed="0.001183">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getsingle.robot"</status>
</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-04-11T23:22:09.947714" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:09.947942" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:09.947801" elapsed="0.000287"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:09.947784" elapsed="0.000330"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:22:09.948148" elapsed="0.000016"/>
</return>
<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">
<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-11T23:22:09.950698" elapsed="0.000151"/>
</kw>
<msg time="2026-04-11T23:22:09.950892" 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-11T23:22:09.950083" elapsed="0.000929"/>
</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-11T23:22:09.951338" elapsed="0.000088"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:09.951841" elapsed="0.000063"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:22:09.949302" elapsed="0.002700"/>
</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="PASS" start="2026-04-11T23:22:09.948427" elapsed="0.003707"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:22:09.940854" elapsed="0.011363">Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getsingle.robot"</status>
</kw>
<msg time="2026-04-11T23:22:09.952320" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:22:09.952364" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting suite /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/suites/netconf/scale/getsingle.robot"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:22:09.940237" elapsed="0.012151"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:22:09.952589" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:09.952465" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.952446" elapsed="0.000213"/>
</if>
<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-11T23:22:09.953738" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:09.953629" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.953609" elapsed="0.000200"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.954079" level="INFO">index=64
host=10.30.171.36
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-11T23:22:09.954183" level="INFO">${current_ssh_connection_object} = index=64
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:09.953957" elapsed="0.000253"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:09.954628" level="INFO">{1: 73}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:09.954356" elapsed="0.000317"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:09.955062" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:09.954821" elapsed="0.000285"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:22:09.955777" elapsed="0.000283"/>
</kw>
<msg time="2026-04-11T23:22:09.956162" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:22:09.956212" level="INFO">${old_connection_index} = 73</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-11T23:22:09.955310" elapsed="0.000926"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:22:09.957325" elapsed="0.000278"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.958868" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:22:09.958614" elapsed="0.000725">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:09.957833" elapsed="0.001613"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:22:09.960448" elapsed="0.000207"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:09.959735" elapsed="0.000991"/>
</kw>
<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="PASS" start="2026-04-11T23:22:09.956530" elapsed="0.004280"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:09.956312" elapsed="0.004549"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.956293" elapsed="0.004593"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:09.961813" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:22:09.961356" elapsed="0.000484"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:22:09.961888" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:22:09.962040" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:22:09.961087" elapsed="0.000979"/>
</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="PASS" start="2026-04-11T23:22:09.962214" elapsed="0.000412"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.962900" level="INFO">index=74
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:22:09.963000" level="INFO">${karaf_connection_object} = index=74
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:09.962790" elapsed="0.000236"/>
</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="PASS" start="2026-04-11T23:22:09.963168" elapsed="0.002224"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.965825" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:22:09.966679" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:22:09.965551" elapsed="0.001492">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:22:09.971280" elapsed="0.000225"/>
</kw>
<msg time="2026-04-11T23:22:09.971733" 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-11T23:22:09.970398" elapsed="0.001498"/>
</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-11T23:22:09.972135" elapsed="0.000075"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:09.972409" elapsed="0.000072"/>
</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-11T23:22:09.967936" elapsed="0.004657"/>
</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-11T23:22:09.967308" elapsed="0.005333"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:22:09.953038" elapsed="0.019684">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:09.973051" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:22:09.973159" elapsed="0.000018"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:22:09.939627" elapsed="0.033637">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:22:09.973368" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:22:09.973412" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:22:09.935009" elapsed="0.038426"/>
</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-11T23:22:09.973780" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:09.973512" elapsed="0.000322"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.973494" elapsed="0.000363"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:22:09.934873" elapsed="0.039008"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:22:09.934702" elapsed="0.039208"/>
</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-11T23:22:09.932446" elapsed="0.041519"/>
</kw>
<doc>Log suite name to karaf log, useful in suite setup.</doc>
<status status="PASS" start="2026-04-11T23:22:09.926121" elapsed="0.047899"/>
</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-11T23:22:09.925702" elapsed="0.048359"/>
</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-11T23:22:06.141203" elapsed="3.832907"/>
</kw>
<kw name="Setup_NetconfKeywords" owner="NetconfKeywords">
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:22:09.974894" level="INFO">${tmp} = {}</msg>
<var>${tmp}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:22:09.974621" elapsed="0.000299"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:09.978715" level="INFO">${NetconfKeywords__mounted_device_types} = {}</msg>
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${tmp}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:09.975073" elapsed="0.003687"/>
</kw>
<if>
<branch type="IF" condition="${create_session_for_templated_requests}">
<kw name="Create_Default_Session" owner="TemplatedRequests">
<kw name="Create Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:22:09.982947" level="INFO">Creating Session using : alias=default, url=http://10.30.171.250:8181, headers={},                     cookies={}, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7e3f225e8510&gt;, timeout=2, 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-11T23:22:09.982580" elapsed="0.000496"/>
</kw>
<arg>timeout=2</arg>
<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-11T23:22:09.982154" elapsed="0.000989"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:09.978831" elapsed="0.004343"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:09.978813" elapsed="0.004387"/>
</if>
<kw name="Initialize_Artifact_Deployment_And_Usage" owner="NexusKeywords">
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.988193" level="INFO">${odl_connection} = 75</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-11T23:22:09.987824" elapsed="0.000395"/>
</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-11T23:22:09.989827" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:22:09.989903" 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-11T23:22:09.989551" elapsed="0.000376"/>
</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-11T23:22:09.990080" elapsed="0.000313"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:22:09.991237" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:22:10.300827" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:22:06 UTC 2026

  System load:  0.0                Processes:             120
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:22:06 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:22:09.990918" elapsed="0.309997"/>
</kw>
<msg time="2026-04-11T23:22:10.300979" 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="PASS" start="2026-04-11T23:22:09.990555" elapsed="0.310527"/>
</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="PASS" start="2026-04-11T23:22:09.989120" elapsed="0.312049"/>
</kw>
<msg time="2026-04-11T23:22:10.301222" 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="PASS" start="2026-04-11T23:22:09.988736" elapsed="0.312532"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:22:09.988394" elapsed="0.312945"/>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-11T23:22:10.301379" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:22:10.301551" level="INFO">${odl} = 75</msg>
<var>${odl}</var>
<doc>Open a connection to the ODL system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:22:09.987520" elapsed="0.314073"/>
</kw>
<kw name="Put File" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.311632" level="INFO">[chan 1] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:22:10.318752" level="INFO">'/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../../tools/deployment/search.sh' -&gt; '/home/jenkins//search.sh'</msg>
<arg>/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../../tools/deployment/search.sh</arg>
<doc>Uploads file(s) from the local machine to the remote machine.</doc>
<status status="PASS" start="2026-04-11T23:22:10.301759" elapsed="0.017123"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:22:10.319228" elapsed="0.000590"/>
</kw>
<if>
<branch type="IF" condition="not (${tools_system_connect})">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:10.320244" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:10.319976" elapsed="0.000362"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:10.319931" elapsed="0.000455"/>
</if>
<kw name="Open_Connection_To_Tools_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.328414" level="INFO">${tools_connection} = 76</msg>
<var>${tools_connection}</var>
<arg>${ip_address}</arg>
<arg>prompt=${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-11T23:22:10.327904" elapsed="0.000547"/>
</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-11T23:22:10.330720" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:22:10.330827" 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-11T23:22:10.330336" elapsed="0.000524"/>
</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-11T23:22:10.331071" elapsed="0.000446"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.332710" level="INFO">Logging into '10.30.171.36:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:22:10.930988" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-153-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:22:10 UTC 2026

  System load:  0.0                Processes:             125
  Usage of /:   19.8% of 38.58GB   Users logged in:       1
  Memory usage: 6%                 IPv4 address for ens3: 10.30.171.36
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

9 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:20:05 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</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="PASS" start="2026-04-11T23:22:10.332247" elapsed="0.598847"/>
</kw>
<msg time="2026-04-11T23:22:10.931156" 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="PASS" start="2026-04-11T23:22:10.331765" elapsed="0.599448"/>
</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="PASS" start="2026-04-11T23:22:10.329738" elapsed="0.601560"/>
</kw>
<msg time="2026-04-11T23:22:10.931347" 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="PASS" start="2026-04-11T23:22:10.329176" elapsed="0.602216"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Mininet machine.</doc>
<status status="PASS" start="2026-04-11T23:22:10.328724" elapsed="0.602742"/>
</kw>
<return>
<value>${tools_connection}</value>
<status status="PASS" start="2026-04-11T23:22:10.931506" elapsed="0.000032"/>
</return>
<doc>Open a connection to the tools system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:22:10.327413" elapsed="0.604248"/>
</kw>
<doc>Places search utility to ODL system, which will be needed for version detection.
By default also initialize a SSH connection to Tools system,
as following Keywords assume a working connection towards target system.</doc>
<status status="PASS" start="2026-04-11T23:22:09.983462" elapsed="0.948252"/>
</kw>
<doc>Setup the environment for the other keywords of this Resource to work properly.</doc>
<status status="PASS" start="2026-04-11T23:22:09.974347" elapsed="0.957417"/>
</kw>
<kw name="Configure_Timeout_For_Karaf_Console" 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-11T23:22:10.934411" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:10.934297" elapsed="0.000162"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:10.934277" elapsed="0.000204"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:10.935456" level="INFO">${return_list_reference} = [1]</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-11T23:22:10.935062" elapsed="0.000460"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:22:10.935999" level="INFO">${return_list_copy} = [1]</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-11T23:22:10.935698" elapsed="0.000327"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:22:10.936071" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:22:10.936228" level="INFO">${index_list} = [1]</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-11T23:22:10.934721" elapsed="0.001531"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.936531" level="INFO">index=76
host=10.30.171.36
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-11T23:22:10.936647" level="INFO">${current_connection_object} = index=76
host=10.30.171.36
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_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:10.936411" elapsed="0.000263"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:10.937223" level="INFO">${karaf_connection_index} = 74</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="PASS" start="2026-04-11T23:22:10.937010" elapsed="0.000238"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:22:10.937397" elapsed="0.000138"/>
</kw>
<kw name="Set Client Configuration" owner="SSHLibrary">
<arg>timeout=${timeout}</arg>
<doc>Update the `configuration` of the current connection.</doc>
<status status="PASS" start="2026-04-11T23:22:10.937694" elapsed="0.000207"/>
</kw>
<var name="${member_index}">1</var>
<status status="PASS" start="2026-04-11T23:22:10.936877" elapsed="0.001058"/>
</iter>
<var>${member_index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:22:10.936727" elapsed="0.001240"/>
</for>
<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">
<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-11T23:22:10.941373" elapsed="0.000144"/>
</kw>
<msg time="2026-04-11T23:22:10.941559" 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-11T23:22:10.940860" elapsed="0.000775"/>
</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-11T23:22:10.941788" elapsed="0.000021"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:10.941944" elapsed="0.000019"/>
</kw>
<arg>${current_connection_object.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:22:10.938709" elapsed="0.003314"/>
</kw>
<arg>'${IS_KARAF_APPL}' == 'True'</arg>
<arg>SSHKeywords.Restore_Current_Ssh_Connection_From_Index</arg>
<arg>${current_connection_object.index}</arg>
<doc>Runs the given keyword with the given arguments, if ``condition`` is true.</doc>
<status status="PASS" start="2026-04-11T23:22:10.938198" elapsed="0.003870"/>
</kw>
<arg>120s</arg>
<doc>Configure a different timeout for each Karaf console.</doc>
<status status="PASS" start="2026-04-11T23:22:10.932337" elapsed="0.009781"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:10.942683" level="INFO">${device_type} = full-uri-device</msg>
<var>${device_type}</var>
<arg>${USE_NETCONF_CONNECTOR}==${True}</arg>
<arg>default</arg>
<arg>${device_type}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:10.942266" elapsed="0.000444"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:10.943199" level="INFO">${device_type} = full-uri-device</msg>
<arg>${device_type}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:10.942873" elapsed="0.000366"/>
</kw>
<doc>Setup everything needed for the test cases.</doc>
<status status="PASS" start="2026-04-11T23:22:06.140525" elapsed="4.802770"/>
</kw>
<test id="s1-s5-t1" name="Start_Test_Tool" line="36">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:22:10.946278" elapsed="0.000203"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:22:10.946017" elapsed="0.000518"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:22:10.947509" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:10.947401" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:10.947382" elapsed="0.000209"/>
</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-11T23:22:10.953898" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:10.953790" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:10.953771" elapsed="0.000195"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:10.954994" level="INFO">${return_list_reference} = [1]</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-11T23:22:10.954616" elapsed="0.000405"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:22:10.955492" level="INFO">${return_list_copy} = [1]</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-11T23:22:10.955200" elapsed="0.000318"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:22:10.955612" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:22:10.955774" level="INFO">${index_list} = [1]</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-11T23:22:10.954186" elapsed="0.001612"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:22:10.961031" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:10.960923" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:10.960904" elapsed="0.000195"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:22:10.962232" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:10.962127" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:10.962108" elapsed="0.000191"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:10.962756" level="INFO">${karaf_connection_index} = 74</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="PASS" start="2026-04-11T23:22:10.962438" elapsed="0.000344"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.963161" level="INFO">${current_connection_index} = 76</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:22:10.962935" elapsed="0.000252"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.963930" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:22:10.963685" elapsed="0.000873">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:22:10.964760" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:22:10.964805" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:22:10.963341" elapsed="0.001486"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.965553" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:22:10.965319" elapsed="0.000882">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:22:10.966382" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:22:10.966428" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:22:10.964990" elapsed="0.001461"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:22:10.967380" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Start_Test_Tool"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:22:10.966761" elapsed="0.000679">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Start_Test_Tool"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:22:10.966526" elapsed="0.000982">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Start_Test_Tool"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:10.966507" elapsed="0.001209">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Start_Test_Tool"</status>
</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-04-11T23:22:10.967876" elapsed="0.000023"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:10.968099" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:10.967962" elapsed="0.000189"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:10.967945" elapsed="0.000229"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:22:10.968206" elapsed="0.000015"/>
</return>
<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">
<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-11T23:22:10.970633" elapsed="0.000148"/>
</kw>
<msg time="2026-04-11T23:22:10.970841" 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-11T23:22:10.969613" elapsed="0.001355"/>
</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-11T23:22:10.971248" elapsed="0.000074"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:10.971601" elapsed="0.000075"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:22:10.968999" elapsed="0.002783"/>
</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="PASS" start="2026-04-11T23:22:10.968456" elapsed="0.003391"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:22:10.961827" elapsed="0.010103">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Start_Test_Tool"</status>
</kw>
<msg time="2026-04-11T23:22:10.972064" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:22:10.972108" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Start_Test_Tool"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:22:10.961245" elapsed="0.010886"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:22:10.972315" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:10.972207" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:10.972188" elapsed="0.000193"/>
</if>
<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-11T23:22:10.973178" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:10.973074" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:10.973057" elapsed="0.000188"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.973502" level="INFO">index=76
host=10.30.171.36
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-11T23:22:10.973618" level="INFO">${current_ssh_connection_object} = index=76
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:10.973390" elapsed="0.000255"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:10.974045" level="INFO">{1: 74}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:10.973792" elapsed="0.000297"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:10.974471" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:10.974235" elapsed="0.000278"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:22:10.975042" elapsed="0.000255"/>
</kw>
<msg time="2026-04-11T23:22:10.975392" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:22:10.975437" level="INFO">${old_connection_index} = 74</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-11T23:22:10.974679" elapsed="0.000781"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:22:10.976314" elapsed="0.000193"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.977534" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:22:10.977147" elapsed="0.001215">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:10.976685" elapsed="0.001774"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:22:10.979118" elapsed="0.000268"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:10.978641" elapsed="0.000827"/>
</kw>
<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="PASS" start="2026-04-11T23:22:10.975817" elapsed="0.003696"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:10.975535" elapsed="0.004027"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:10.975516" elapsed="0.004177"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:22:10.980509" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:22:10.980210" elapsed="0.000325"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:22:10.980599" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:22:10.980751" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:22:10.979895" elapsed="0.000880"/>
</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="PASS" start="2026-04-11T23:22:10.980924" elapsed="0.000396"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.981607" level="INFO">index=77
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:22:10.981707" level="INFO">${karaf_connection_object} = index=77
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:10.981483" elapsed="0.000250"/>
</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="PASS" start="2026-04-11T23:22:10.981875" elapsed="0.002354"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:22:10.984669" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:22:10.985670" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:22:10.984391" elapsed="0.001671">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:22:10.999255" elapsed="0.000676"/>
</kw>
<msg time="2026-04-11T23:22:11.000018" 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-11T23:22:10.997936" elapsed="0.002228"/>
</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-11T23:22:11.000320" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.000478" elapsed="0.000020"/>
</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-11T23:22:10.986852" elapsed="0.013707"/>
</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-11T23:22:10.986332" elapsed="0.014291"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:22:10.972788" elapsed="0.027915">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.001033" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.001106" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:22:10.960587" elapsed="0.040622">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:22:11.001312" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:22:11.001355" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:22:10.956152" elapsed="0.045226"/>
</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-11T23:22:11.001719" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:11.001454" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.001436" elapsed="0.000360"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:22:10.956016" elapsed="0.045804"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:22:10.955848" elapsed="0.046001"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:22:10.953412" elapsed="0.048493"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:22:10.947118" elapsed="0.054841"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:10.946693" elapsed="0.055310"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:22:10.943949" elapsed="0.058105"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'True'">
<kw name="Install_And_Start_Testtool" owner="NetconfKeywords">
<kw name="Deploy_Test_Tool" owner="NexusKeywords">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.022489" level="INFO">${name_prefix} = netconf-testtool-</msg>
<var>${name_prefix}</var>
<arg>${artifact}-</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:11.022186" elapsed="0.000330"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.023044" level="INFO">${extension} = jar</msg>
<var>${extension}</var>
<arg>'${component}'=='odl-micro'</arg>
<arg>tar</arg>
<arg>jar</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.022688" elapsed="0.000384"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.023633" level="INFO">${name_suffix} = -executable.jar</msg>
<var>${name_suffix}</var>
<arg>"${suffix}" != ""</arg>
<arg>-${suffix}.${extension}</arg>
<arg>.${extension}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.023232" elapsed="0.000427"/>
</kw>
<kw name="Deploy_Artifact" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${explicit_url}""" != ""</arg>
<arg>Deploy_From_Url</arg>
<arg>${explicit_url}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:22:11.024893" elapsed="0.000300"/>
</kw>
<kw name="Fetch From Left" owner="String">
<msg time="2026-04-11T23:22:11.025547" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${BUNDLE_URL}</arg>
<arg>/org/opendaylight</arg>
<doc>Returns contents of the ``string`` before the first occurrence of ``marker``.</doc>
<status status="PASS" start="2026-04-11T23:22:11.025347" elapsed="0.000243"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.026176" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>'${urlbase}' != '${BUNDLE_URL}'</arg>
<arg>${urlbase}</arg>
<arg>${fallback_url}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.025750" elapsed="0.000453"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Magnesium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:22:11.044770" elapsed="0.000399"/>
</kw>
<arg>magnesium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'carpeople'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:22:11.044300" elapsed="0.000937"/>
</kw>
<msg time="2026-04-11T23:22:11.045283" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>magnesium</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-11T23:22:11.035736" elapsed="0.009595"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>carpeople</arg>
<doc>Compare magnesium to titanium and in case titanium is at most magnesium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:22:11.035328" elapsed="0.010077"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Aluminium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:22:11.063487" elapsed="0.000416"/>
</kw>
<arg>aluminium</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'netconf'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:22:11.063036" elapsed="0.000935"/>
</kw>
<msg time="2026-04-11T23:22:11.064017" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>aluminium</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-11T23:22:11.054643" elapsed="0.009422"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<doc>Compare aluminium to titanium and in case titanium is at most aluminium,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:22:11.054246" elapsed="0.009893"/>
</kw>
<kw name="Run_Keyword_If_At_Most_Silicon" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Run_Keyword_If_At_Most" owner="CompareStream">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &lt;= ${Stream_dict}[${upper_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-11T23:22:11.082055" elapsed="0.000401"/>
</kw>
<arg>silicon</arg>
<arg>${kw_name}</arg>
<arg>@{varargs}</arg>
<arg>&amp;{kwargs}</arg>
<doc>Compare ${upper_bound} to titanium and in case titanium is at most ${upper_bound},
run Collections.Remove_Values_From_List [['mdsal', 'odlparent', 'yangtools', 'carpeople', 'netconf', 'bgpcep'], 'bgpcep'] {} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:22:11.081604" elapsed="0.000919"/>
</kw>
<msg time="2026-04-11T23:22:11.082582" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Run_Keyword_If_At_Most</arg>
<arg>silicon</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-11T23:22:11.073302" elapsed="0.009331"/>
</kw>
<arg>Collections.Remove_Values_From_List</arg>
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>bgpcep</arg>
<doc>Compare silicon to titanium and in case titanium is at most silicon,
run ${kw_name} @{varargs} &amp;{kwargs} and return its value.</doc>
<status status="PASS" start="2026-04-11T23:22:11.072919" elapsed="0.009787"/>
</kw>
<if>
<branch type="IF" condition="'${build_version}'=='${EMPTY}'">
<kw name="NexusKeywords__Detect_Version_To_Pull" owner="NexusKeywords">
<kw name="NexusKeywords__Get_Items_To_Look_At" owner="NexusKeywords">
<kw name="Dictionary Should Contain Key" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<arg>Component not supported by NexusKeywords version detection: ${component}</arg>
<doc>Fails if ``key`` is not found from ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:22:11.085670" elapsed="0.000239"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<status status="PASS" start="2026-04-11T23:22:11.086402" elapsed="0.000192"/>
</kw>
<msg time="2026-04-11T23:22:11.086640" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Collections.Get_From_Dictionary</arg>
<arg>${COMPONENT_MAPPING}</arg>
<arg>${component}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:22:11.086068" elapsed="0.000621"/>
</kw>
<msg time="2026-04-11T23:22:11.086788" level="INFO">${itemlist} = netconf-api</msg>
<var>${itemlist}</var>
<arg>${component}</arg>
<doc>Get a list of items that might contain the version number that we are looking for.</doc>
<status status="PASS" start="2026-04-11T23:22:11.085325" elapsed="0.001487"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.087097" level="INFO">index=76
host=10.30.171.36
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-11T23:22:11.087196" level="INFO">${current_ssh_connection} = index=76
host=10.30.171.36
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_ssh_connection}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:22:11.086970" elapsed="0.000253"/>
</kw>
<kw name="Open_Connection_To_ODL_System" owner="SSHKeywords">
<kw name="Open Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.092324" level="INFO">${odl_connection} = 78</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-11T23:22:11.091956" elapsed="0.000394"/>
</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-11T23:22:11.094232" level="INFO">Length is 0.</msg>
<msg time="2026-04-11T23:22:11.094309" 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-11T23:22:11.093846" elapsed="0.000486"/>
</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-11T23:22:11.094486" elapsed="0.000468"/>
</kw>
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Login With Public Key" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.096234" level="INFO">Logging into '10.30.171.250:22' as 'jenkins'.</msg>
<msg time="2026-04-11T23:22:11.450212" level="INFO">Read output: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-171-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Apr 11 23:22:06 UTC 2026

  System load:  0.0                Processes:             120
  Usage of /:   10.7% of 77.35GB   Users logged in:       0
  Memory usage: 3%                 IPv4 address for ens3: 10.30.171.250
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

10 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '24.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Apr 11 23:22:10 2026 from 10.30.171.246
[?2004h[jenkins@releng-08314-165-0-builder-0 ~]&gt;</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="PASS" start="2026-04-11T23:22:11.095552" elapsed="0.354818"/>
</kw>
<msg time="2026-04-11T23:22:11.450728" 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="PASS" start="2026-04-11T23:22:11.095142" elapsed="0.355650"/>
</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="PASS" start="2026-04-11T23:22:11.093351" elapsed="0.357538"/>
</kw>
<msg time="2026-04-11T23:22:11.450939" 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="PASS" start="2026-04-11T23:22:11.092971" elapsed="0.358015"/>
</kw>
<doc>Call Flexible SSH Login, but with default values suitable for Controller machine.</doc>
<status status="PASS" start="2026-04-11T23:22:11.092594" elapsed="0.358466"/>
</kw>
<return>
<value>${odl_connection}</value>
<status status="PASS" start="2026-04-11T23:22:11.451100" elapsed="0.000035"/>
</return>
<doc>Open a connection to the ODL system at ${ip_address} and return its identifier.</doc>
<status status="PASS" start="2026-04-11T23:22:11.091611" elapsed="0.359627"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.451652" level="INFO">Executing command 'sh search.sh /tmp/netconf-karaf-9.0.3-SNAPSHOT/system netconf-api'.</msg>
<msg time="2026-04-11T23:22:11.484222" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:11.484466" level="INFO">${version} = 9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<msg time="2026-04-11T23:22:11.484564" level="INFO">${result} = 0</msg>
<var>${version}</var>
<var>${result}</var>
<arg>sh search.sh ${WORKSPACE}/${BUNDLEFOLDER}/system ${itemlist}</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.451402" elapsed="0.033263"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:22:11.485027" elapsed="0.000457"/>
</kw>
<kw name="Restore_Current_Ssh_Connection_From_Index" owner="SSHKeywords">
<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-11T23:22:11.492660" elapsed="0.000319"/>
</kw>
<msg time="2026-04-11T23:22:11.493075" 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-11T23:22:11.491479" elapsed="0.001706"/>
</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-11T23:22:11.493548" elapsed="0.000079"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.493934" elapsed="0.000044"/>
</kw>
<arg>${current_ssh_connection.index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:22:11.486050" elapsed="0.008061"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.495055" level="INFO">9.0.3-SNAPSHOT
org/opendaylight/netconf</msg>
<arg>${version}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.494428" elapsed="0.000726"/>
</kw>
<if>
<branch type="IF" condition="${result}!=0">
<kw name="Fail" owner="BuiltIn">
<arg>Component "${component}": searching for "${itemlist}" found no version, cannot locate test tool.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.495484" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:11.495275" elapsed="0.000262"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.495254" elapsed="0.000306"/>
</if>
<kw name="Split String" owner="String">
<msg time="2026-04-11T23:22:11.495939" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:22:11.495983" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${version}</arg>
<arg>max_split=1</arg>
<doc>Splits the ``string`` using ``separator`` as a delimiter string.</doc>
<status status="PASS" start="2026-04-11T23:22:11.495715" elapsed="0.000290"/>
</kw>
<return>
<value>${version}</value>
<value>${location}</value>
<status status="PASS" start="2026-04-11T23:22:11.496055" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:22:11.496243" level="INFO">${version} = 9.0.3-SNAPSHOT</msg>
<msg time="2026-04-11T23:22:11.496285" level="INFO">${location} = org/opendaylight/netconf</msg>
<var>${version}</var>
<var>${location}</var>
<arg>${component}</arg>
<doc>Determine the exact Nexus directory to be used as a source for a particular test tool
Figure out what version of the tool needs to be pulled out of the
Nexus by looking at the version directory of the subsystem from
which the tool is being pulled. This code is REALLY UGLY but there
is no way around it until the bug
https://bugs.opendaylight.org/show_bug.cgi?id=5206 gets fixed.
I also don't want to depend on maven-metadata-local.xml and other
bits and pieces of ODL distribution which are not required for ODL
to function properly.</doc>
<status status="PASS" start="2026-04-11T23:22:11.084913" elapsed="0.411394"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:11.082778" elapsed="0.413708"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${version}</var>
<var>${location}</var>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.496684" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:11.496514" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.082759" elapsed="0.414007"/>
</if>
<if>
<branch type="IF" condition="'SNAPSHOT' in '${version}'">
<kw name="Remove Values From List" owner="Collections">
<arg>${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>netconf</arg>
<arg>bgpcep</arg>
<doc>Removes all occurrences of given ``values`` from ``list``.</doc>
<status status="PASS" start="2026-04-11T23:22:11.497037" elapsed="0.000188"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:11.496823" elapsed="0.000442"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.496807" elapsed="0.000482"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.497832" level="INFO">${is_staged} = "FALSE"</msg>
<var>${is_staged}</var>
<arg>"opendaylight.release" not in '${urlbase}' and "opendaylight.snapshot" not in '${urlbase}'</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.497436" elapsed="0.000422"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.498400" level="INFO">${is_mri_component} = "FALSE"</msg>
<var>${is_mri_component}</var>
<arg>'${component}' in ${RELEASE_INTEGRATED_COMPONENTS}</arg>
<arg>"TRUE"</arg>
<arg>"FALSE"</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.498024" elapsed="0.000402"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.499006" level="INFO">${urlbase} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</msg>
<var>${urlbase}</var>
<arg>${is_mri_component} == "TRUE" and ${is_staged} == "FALSE"</arg>
<arg>${NEXUS_RELEASE_BASE_URL}</arg>
<arg>${urlbase}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.498603" elapsed="0.000429"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.499548" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT</msg>
<var>${url}</var>
<arg>${urlbase}/${location}/${artifact}/${version}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:11.499188" elapsed="0.000402"/>
</kw>
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.501459" level="INFO">Executing command 'curl -L https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/maven-metadata.xml'.</msg>
<msg time="2026-04-11T23:22:11.595279" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:11.595531" level="INFO">${stdout} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<msg time="2026-04-11T23:22:11.595679" level="INFO">${stderr} =   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0   ...</msg>
<msg time="2026-04-11T23:22:11.595775" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.501280" elapsed="0.094545"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.597562" level="INFO">Length is 316.</msg>
<msg time="2026-04-11T23:22:11.597777" level="FAIL">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  39350      0 --:--:-- --:--:-- --:--:-- 39471' should be empty.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="FAIL" start="2026-04-11T23:22:11.596989" elapsed="0.000927">'  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  39350      0 --:--:-- --:--:-- --:--:-- 39471' should be empty.</status>
</kw>
<msg time="2026-04-11T23:22:11.598148" level="INFO">${emptiness_status} = FAIL</msg>
<msg time="2026-04-11T23:22:11.598244" level="INFO">${result} = '  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0  ...</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:11.596216" elapsed="0.002080"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.599688" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.598683" elapsed="0.001064"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.602229" level="INFO">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.601548" elapsed="0.000992"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.603464" level="INFO">  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  2763  100  2763    0     0  39350      0 --:--:-- --:--:-- --:--:-- 39471</msg>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.602926" elapsed="0.000640"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.604442" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.603919" elapsed="0.000617"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:22:11.600683" elapsed="0.004002"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:11.599915" elapsed="0.004850"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.599873" elapsed="0.004946"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.605167" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:11.604945" elapsed="0.000321"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.604907" elapsed="0.000410"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:22:11.605660" elapsed="0.000060"/>
</return>
<status status="PASS" start="2026-04-11T23:22:11.605430" elapsed="0.000367"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.605396" elapsed="0.000456"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.606163" elapsed="0.000048"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:22:11.500700" elapsed="0.105725"/>
</kw>
<msg time="2026-04-11T23:22:11.606601" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:22:11.500173" elapsed="0.106537"/>
</kw>
<msg time="2026-04-11T23:22:11.607071" level="INFO">${metadata} = &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;2026041...</msg>
<var>${metadata}</var>
<arg>curl -L ${url}/maven-metadata.xml</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:22:11.499791" elapsed="0.107345"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Command_Should_Pass" owner="SSHKeywords">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Execute_Command_Passes" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.611966" level="INFO">Executing command 'echo "&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata modelVersion="1.1.0"&gt;
  &lt;groupId&gt;org.opendaylight.netconf&lt;/groupId&gt;
  &lt;artifactId&gt;netconf-testtool&lt;/artifactId&gt;
  &lt;versioning&gt;
    &lt;lastUpdated&gt;20260411052747&lt;/lastUpdated&gt;
    &lt;snapshot&gt;
      &lt;timestamp&gt;20260411.052747&lt;/timestamp&gt;
      &lt;buildNumber&gt;35&lt;/buildNumber&gt;
    &lt;/snapshot&gt;
    &lt;snapshotVersions&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;pom&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;javadoc&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;executable&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;rest-perf-client&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;scale-util&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;stress-client&lt;/classifier&gt;
        &lt;extension&gt;tar.gz&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;xml&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;cyclonedx&lt;/classifier&gt;
        &lt;extension&gt;json&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
      &lt;snapshotVersion&gt;
        &lt;classifier&gt;sources&lt;/classifier&gt;
        &lt;extension&gt;jar&lt;/extension&gt;
        &lt;value&gt;9.0.3-20260411.052747-35&lt;/value&gt;
        &lt;updated&gt;20260411052747&lt;/updated&gt;
      &lt;/snapshotVersion&gt;
    &lt;/snapshotVersions&gt;
  &lt;/versioning&gt;
  &lt;version&gt;9.0.3-SNAPSHOT&lt;/version&gt;
&lt;/metadata&gt;" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1'.</msg>
<msg time="2026-04-11T23:22:11.643775" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:11.644016" level="INFO">${stdout} = 9.0.3-20260411.052747-35</msg>
<msg time="2026-04-11T23:22:11.644179" level="INFO">${stderr} = </msg>
<msg time="2026-04-11T23:22:11.644274" level="INFO">${rc} = 0</msg>
<var>${stdout}</var>
<var>${stderr}</var>
<var>${rc}</var>
<arg>${command}</arg>
<arg>return_stderr=True</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.611787" elapsed="0.032537"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Should Be Empty" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.646155" level="INFO">Length is 0.</msg>
<arg>${stderr}</arg>
<doc>Verifies that the given item is empty.</doc>
<status status="PASS" start="2026-04-11T23:22:11.645494" elapsed="0.000762"/>
</kw>
<msg time="2026-04-11T23:22:11.646465" level="INFO">${emptiness_status} = PASS</msg>
<msg time="2026-04-11T23:22:11.646559" level="INFO">${result} = None</msg>
<var>${emptiness_status}</var>
<var>${result}</var>
<arg>BuiltIn.Should_Be_Empty</arg>
<arg>${stderr}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:11.644751" elapsed="0.001902"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.647983" level="INFO">${success} = True</msg>
<var>${success}</var>
<arg>(${rc} == 0) and (("${emptiness_status}" == "PASS") or not ${stderr_must_be_empty})</arg>
<arg>True</arg>
<arg>False</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.647038" elapsed="0.001003"/>
</kw>
<if>
<branch type="IF" condition="(${log_on_success} and ${success}) or (${log_on_failure} and not ${success})">
<kw name="Log_Command_Results" owner="SSHKeywords">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.650738" level="INFO">9.0.3-20260411.052747-35</msg>
<arg>${stdout}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.649915" elapsed="0.000965"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.651764" level="INFO"/>
<arg>${stderr}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.651208" elapsed="0.000615"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.652520" level="INFO">0</msg>
<arg>${rc}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.652029" elapsed="0.000574"/>
</kw>
<arg>${stdout}</arg>
<arg>${stderr}</arg>
<arg>${rc}</arg>
<doc>Log everything returned by SSHLibrary.Execute_Command</doc>
<status status="PASS" start="2026-04-11T23:22:11.649013" elapsed="0.003668"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:11.648214" elapsed="0.004516"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.648170" elapsed="0.004594"/>
</if>
<if>
<branch type="IF" condition="${return_success_only}">
<return>
<value>${success}</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.652981" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:11.652842" elapsed="0.000200"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.652818" elapsed="0.000254"/>
</if>
<if>
<branch type="IF" condition="${success}">
<return>
<value>${stdout}</value>
<status status="PASS" start="2026-04-11T23:22:11.653266" elapsed="0.000036"/>
</return>
<status status="PASS" start="2026-04-11T23:22:11.653144" elapsed="0.000202"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.653122" elapsed="0.000256"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Got rc: ${rc} or stderr was not empty: ${stderr}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.653590" elapsed="0.000032"/>
</kw>
<arg>${command}</arg>
<arg>return_success_only=False</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>Execute command via the active SSH connection. For success, rc has to be zero and optionally stderr has to be empty.
Log everything, depending on arguments and success. Return either success string or stdout.
TODO: Do we want to support customizing return values the same way as SSHLibrary.Execute_Command does?</doc>
<status status="PASS" start="2026-04-11T23:22:11.611065" elapsed="0.042691"/>
</kw>
<msg time="2026-04-11T23:22:11.653828" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Execute_Command_Passes</arg>
<arg>${command}</arg>
<arg>return_success_only=False</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>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:22:11.609856" elapsed="0.044038"/>
</kw>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>A wrapper for Execute_Command_Passes with return_success_only=False
Also, log_on_success defaults to True (but is customizable, unlike return_success_only)..</doc>
<status status="PASS" start="2026-04-11T23:22:11.608816" elapsed="0.045186"/>
</kw>
<msg time="2026-04-11T23:22:11.654132" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:22:11.654191" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${status}</var>
<var>${namepart}</var>
<arg>SSHKeywords.Execute_Command_Should_Pass</arg>
<arg>echo "${metadata}" | grep value | head -n 1 | cut -d '&gt;' -f 2 | cut -d '&lt;' -f 1</arg>
<arg>stderr_must_be_empty=${True}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:11.607487" elapsed="0.046736"/>
</kw>
<kw name="Get Length" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.654837" level="INFO">Length is 24.</msg>
<msg time="2026-04-11T23:22:11.654939" level="INFO">${length} = 24</msg>
<var>${length}</var>
<arg>${namepart}</arg>
<doc>Returns and logs the length of the given item as an integer.</doc>
<status status="PASS" start="2026-04-11T23:22:11.654441" elapsed="0.000536"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.655754" level="INFO">${namepart} = 9.0.3-20260411.052747-35</msg>
<var>${namepart}</var>
<arg>"${status}" != "PASS" or ${length} == 0</arg>
<arg>${version}</arg>
<arg>${namepart}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.655193" elapsed="0.000597"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.656468" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${filename}</var>
<arg>${name_prefix}${namepart}${name_suffix}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:11.656003" elapsed="0.000501"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.657086" level="INFO">netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<arg>${filename}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.656751" elapsed="0.000394"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.657821" level="INFO">${url} = https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${url}</var>
<arg>${url}/${filename}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:11.657369" elapsed="0.000490"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.658296" level="INFO">Executing command 'wget -q -N 'https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/9.0.3-SNAPSHOT/netconf-testtool-9.0.3-20260411.052747-35-executable.jar' 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:22:11.715820" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:11.716065" level="INFO">${response} = </msg>
<msg time="2026-04-11T23:22:11.716165" level="INFO">${result} = 0</msg>
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.658070" elapsed="0.058144"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.717170" level="INFO"/>
<arg>${response}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.716619" elapsed="0.000642"/>
</kw>
<if>
<branch type="IF" condition="${result} == 0">
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:22:11.717708" elapsed="0.000061"/>
</return>
<status status="PASS" start="2026-04-11T23:22:11.717411" elapsed="0.000436"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.717369" elapsed="0.000532"/>
</if>
<kw name="Replace String Using Regexp" owner="String">
<var>${release_url}</var>
<arg>${url}</arg>
<arg>autorelease-[0-9]{4}</arg>
<arg>opendaylight.release</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.718221" elapsed="0.000048"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${response}</var>
<var>${result}</var>
<arg>wget -q -N '${release_url}' 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.718643" elapsed="0.000047"/>
</kw>
<if>
<branch type="IF" condition="${result} != 0">
<kw name="Fail" owner="BuiltIn">
<arg>Artifact "${artifact}" in component "${component}" could not be downloaded from ${release_url} nor ${url}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.719168" elapsed="0.000043"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:11.718866" elapsed="0.000413"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:11.718827" elapsed="0.000503"/>
</if>
<return>
<value>${filename}</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.719400" elapsed="0.000032"/>
</return>
<msg time="2026-04-11T23:22:11.719733" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${filename}</var>
<arg>${component}</arg>
<arg>${artifact}</arg>
<arg>${name_prefix}</arg>
<arg>${name_suffix}</arg>
<arg>${fallback_url}</arg>
<arg>${explicit_url}</arg>
<arg>${build_version}</arg>
<arg>${build_location}</arg>
<doc>Deploy the specified artifact from Nexus to the cwd of the machine to which the active SSHLibrary connection points.
netconf is a name part of an artifact present in system/ of ODl installation with the same version as netconf-testtool should have.
Must have https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-karaf/9.0.3-SNAPSHOT/netconf-karaf-9.0.3-20260411.052747-35.zip variable set to the URL from which the
tested ODL distribution was downloaded and this place must be
inside a repository created by a standard distribution
construction job. If this is detected to ne be the case, fallback URL is used.
If  is non-empty, Deploy_From_Utrl is called instead.
TODO: Allow deploying to a specific directory, we have SSHKeywords.Execute_Command_At_Cwd_Should_Pass now.</doc>
<status status="PASS" start="2026-04-11T23:22:11.024229" elapsed="0.695560"/>
</kw>
<return>
<value>${filename}</value>
<status status="PASS" start="2026-04-11T23:22:11.719937" elapsed="0.000058"/>
</return>
<msg time="2026-04-11T23:22:11.720258" level="INFO">${filename} = netconf-testtool-9.0.3-20260411.052747-35-executable.jar</msg>
<var>${filename}</var>
<arg>netconf</arg>
<arg>netconf-testtool</arg>
<doc>Deploy a test tool.
The test tools have naming convention of the form
"&lt;repository_url&gt;/some/dir/somewhere/&lt;tool-name&gt;/&lt;tool-name&gt;-&lt;version-tag&gt;-${suffix}.jar"
where "&lt;tool-name&gt;" is the name of the tool and "&lt;version-tag&gt;" is
the version tag that is digged out of the maven metadata. This
keyword calculates ${name_prefix} and ${name_suffix} for
"Deploy_Artifact" and then calls "Deploy_Artifact" to do the real
work of deploying the artifact.</doc>
<status status="PASS" start="2026-04-11T23:22:11.016533" elapsed="0.703782"/>
</kw>
<kw name="Start_Testtool" owner="NetconfKeywords">
<kw name="NetconfKeywords__Deploy_Additional_Schemas" owner="NetconfKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.723639" level="INFO">Executing command 'rm -rf schemas 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:22:11.771643" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:11.771864" level="INFO">${response} = </msg>
<var>${response}</var>
<arg>rm -rf schemas 2&gt;&amp;1</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.723484" elapsed="0.048434"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.773003" level="INFO"/>
<arg>${response}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.772268" elapsed="0.000827"/>
</kw>
<if>
<branch type="IF" condition="'${schemas}' == 'none'">
<return>
<value>${EMPTY}</value>
<status status="PASS" start="2026-04-11T23:22:11.773484" elapsed="0.000060"/>
</return>
<status status="PASS" start="2026-04-11T23:22:11.773245" elapsed="0.000414"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.773204" elapsed="0.000512"/>
</if>
<kw name="Put Directory" owner="SSHLibrary">
<arg>${schemas}</arg>
<arg>destination=./schemas</arg>
<doc>Uploads a directory, including its content, from the local machine to the remote machine.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.774037" elapsed="0.000047"/>
</kw>
<kw name="List Directory" owner="SSHLibrary">
<arg>./schemas</arg>
<doc>Returns and logs items in the remote ``path``, optionally filtered with ``pattern``.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.774395" elapsed="0.000043"/>
</kw>
<return>
<value>--schemas-dir ./schemas</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.774523" elapsed="0.000033"/>
</return>
<msg time="2026-04-11T23:22:11.778814" level="INFO">${schemas_option} = </msg>
<var>${schemas_option}</var>
<arg>${schemas}</arg>
<doc>Internal keyword for Install_And_Start_TestTool
This deploys the additional schemas if any and returns a
command line argument to be added to the testtool commandline
to tell it to load them. While this code could be integrated
into its only user, I considered the resulting code to be too
unreadable as the actions are quite different in the two
possibilities (additional schemas present versus no additional
schemas present), therefore a separate keyword is used.</doc>
<status status="PASS" start="2026-04-11T23:22:11.722843" elapsed="0.056032"/>
</kw>
<kw name="NetconfKeywords__Deploy_Custom_RPC" owner="NetconfKeywords">
<if>
<branch type="IF" condition="'${rpc_config}' == 'none'">
<return>
<value>${EMPTY}</value>
<status status="PASS" start="2026-04-11T23:22:11.780206" elapsed="0.000057"/>
</return>
<status status="PASS" start="2026-04-11T23:22:11.779969" elapsed="0.000372"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.779928" elapsed="0.000467"/>
</if>
<kw name="Copy_File_To_Tools_System" owner="SSHKeywords">
<arg>${TOOLS_SYSTEM_1_IP}</arg>
<arg>${rpc_config}</arg>
<arg>/tmp</arg>
<doc>Wrapper keyword to make it easier to copy a file to an Tools specific system</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.780847" elapsed="0.000055"/>
</kw>
<return>
<value>--rpc-config /tmp/customaction.xml</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.781007" elapsed="0.000036"/>
</return>
<msg time="2026-04-11T23:22:11.784177" level="INFO">${rpc_config_option} = </msg>
<var>${rpc_config_option}</var>
<arg>${rpc_config}</arg>
<doc>Internal keyword for Install_And_Start_TestTool
This deploys the optional custom rpc file.
Drop out of the keyword, returning no command line argument when there
is no rpc file to deploy.</doc>
<status status="PASS" start="2026-04-11T23:22:11.779396" elapsed="0.004843"/>
</kw>
<kw name="Compose_Full_Java_Command" owner="NexusKeywords">
<kw name="Compose_Base_Java_Command" owner="NexusKeywords">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk8"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_8_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_8_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:22:11.785612" elapsed="0.000314"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk11"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_11_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_11_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:22:11.786087" elapsed="0.000301"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<arg>"""${openjdk}""" == "openjdk17"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_17_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_17_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:22:11.786547" elapsed="0.000325"/>
</kw>
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Compose_Dilemma_Filepath" owner="NexusKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.788076" level="INFO">Executing command 'ls -lA /usr/lib/jvm/java-21-openjdk-amd64/bin/java 2&gt;&amp;1'.</msg>
<msg time="2026-04-11T23:22:11.819905" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:11.820170" level="INFO">${out} = -rwxr-xr-x 1 root root 14456 Jul 16  2025 /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<msg time="2026-04-11T23:22:11.820281" level="INFO">${rc} = 0</msg>
<var>${out}</var>
<var>${rc}</var>
<arg>ls -lA ${specific_path} 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.787909" elapsed="0.032429"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${specific_path}</value>
<status status="PASS" start="2026-04-11T23:22:11.820817" elapsed="0.000063"/>
</return>
<status status="PASS" start="2026-04-11T23:22:11.820526" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.820480" elapsed="0.000530"/>
</if>
<return>
<value>${default_path}</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.821088" elapsed="0.000032"/>
</return>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Query active SSH connection, return specific path if it exists else default path.</doc>
<status status="PASS" start="2026-04-11T23:22:11.787515" elapsed="0.033822"/>
</kw>
<msg time="2026-04-11T23:22:11.821433" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>"""${openjdk}""" == "openjdk21"</arg>
<arg>Compose_Dilemma_Filepath</arg>
<arg>${JAVA_21_HOME_CENTOS}/bin/java</arg>
<arg>${JAVA_21_HOME_UBUNTU}/bin/java</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:22:11.787031" elapsed="0.034506"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>java -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.821945" elapsed="0.000050"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>java</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.822241" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:11.822160" elapsed="0.000169"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:11.822121" elapsed="0.000255"/>
</if>
<kw name="Execute Command" owner="SSHLibrary">
<var>${java}</var>
<arg>echo $JAVA_HOME/bin/java 2&gt;&amp;1</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.822716" elapsed="0.000067"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.823109" elapsed="0.000044"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.823382" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:11.823305" elapsed="0.000164"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:11.823268" elapsed="0.000248"/>
</if>
<kw name="Get Environment Variable" owner="OperatingSystem">
<var>${JAVA_HOME}</var>
<arg>JAVA_HOME</arg>
<arg>${EMPTY}</arg>
<doc>Returns the value of an environment variable with the given name.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.823844" elapsed="0.000046"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${java}</var>
<arg>"""${JAVA_HOME}"""!=""</arg>
<arg>${JAVA_HOME}/bin/java</arg>
<arg>false</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.824229" elapsed="0.000044"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<var>${out}</var>
<var>${rc}</var>
<arg>${java} -version 2&gt;&amp;1</arg>
<arg>return_rc=True</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.824634" elapsed="0.000046"/>
</kw>
<if>
<branch type="IF" condition="${rc} == 0">
<return>
<value>${java}</value>
<status status="NOT RUN" start="2026-04-11T23:22:11.824913" elapsed="0.000028"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:11.824836" elapsed="0.000164"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:22:11.824800" elapsed="0.000246"/>
</if>
<kw name="Fail" owner="BuiltIn">
<arg>Unable to find Java; specify \${JDKVERSION}, put it to your PATH or set JAVA_HOME environment variable.</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.825338" elapsed="0.000044"/>
</kw>
<msg time="2026-04-11T23:22:11.825633" level="INFO">${base_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java</msg>
<var>${base_command}</var>
<arg>openjdk=${openjdk}</arg>
<doc>Return string suitable for launching Java programs over SSHLibrary, depending on JRE version needed.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
Commands composed for one SSH connection shall not be reused on other SSH connections as the two connections may have different Java setups.
Not directly related to Nexus, but versioned Java tools may need this.</doc>
<status status="PASS" start="2026-04-11T23:22:11.785230" elapsed="0.040461"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.826812" level="INFO">${full_command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal tru...</msg>
<var>${full_command}</var>
<arg>${base_command} ${options}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:22:11.826020" elapsed="0.000853"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.827770" level="INFO">/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal true</msg>
<arg>${full_command}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.827203" elapsed="0.000747"/>
</kw>
<return>
<value>${full_command}</value>
<status status="PASS" start="2026-04-11T23:22:11.828047" elapsed="0.000062"/>
</return>
<msg time="2026-04-11T23:22:11.828389" level="INFO">${command} = /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal tru...</msg>
<var>${command}</var>
<arg>${java_options} -jar ${filename} ${tool_options} --device-count ${device-count} --debug ${debug} ${schemas_option} ${rpc_config_option} --md-sal ${mdsal}</arg>
<doc>Return full Bash command to run Java with given options.
This requires that the SSH connection on which the command is going to be used is active as it is needed for querying files.
The options may include JVM options, application command line arguments, Bash redirects and other constructs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.784472" elapsed="0.043974"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.829377" level="INFO">Running testtool: /usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal true</msg>
<arg>Running testtool: ${command}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:22:11.828814" elapsed="0.000661"/>
</kw>
<kw name="Get Log File Name" owner="Utils">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.833340" level="INFO">${name} = netconf-scale-txt-Getsingle</msg>
<var>${name}</var>
<arg>"""${SUITE_NAME}""".replace(" ","-").replace("/","-").replace(".","-")</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:11.832985" elapsed="0.000382"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.835691" level="INFO">${suffix} = </msg>
<var>${suffix}</var>
<arg>'${testcase}' != ''</arg>
<arg>--${testcase}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:22:11.833592" elapsed="0.002126"/>
</kw>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:11.836048" level="INFO">${date} = 2026-04-11 23:22:11.836</msg>
<var>${date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:11.835877" elapsed="0.000196"/>
</kw>
<kw name="Convert Date" owner="DateTime">
<msg time="2026-04-11T23:22:11.836517" level="INFO">${timestamp} = 1775949731.836</msg>
<var>${timestamp}</var>
<arg>${date}</arg>
<arg>epoch</arg>
<doc>Converts between supported `date formats`.</doc>
<status status="PASS" start="2026-04-11T23:22:11.836218" elapsed="0.000325"/>
</kw>
<return>
<value>${testtool}--${name}${suffix}.${timestamp}.log</value>
<status status="PASS" start="2026-04-11T23:22:11.836605" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:22:11.836841" level="INFO">${logfile} = testtool--netconf-scale-txt-Getsingle.1775949731.836.log</msg>
<var>${logfile}</var>
<arg>testtool</arg>
<doc>Get the name of the suite sanitized to be usable as a part of filename.
These names are used to constructs names of the log files produced
by the testing tools so two suites using a tool wont overwrite the
log files if they happen to run in one job.</doc>
<status status="PASS" start="2026-04-11T23:22:11.830011" elapsed="0.006855"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.841344" level="INFO">${testtool_log} = testtool--netconf-scale-txt-Getsingle.1775949731.836.log</msg>
<arg>${testtool_log}</arg>
<arg>${logfile}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:11.837023" elapsed="0.004368"/>
</kw>
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.863230" level="INFO">/usr/lib/jvm/java-21-openjdk-amd64/bin/java -Xmx1G -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-9.0.3-20260411.052747-35-executable.jar  --device-count 500 --debug true   --md-sal true &gt;testtool--netconf-scale-txt-Getsingle.1775949731.836.log 2&gt;&amp;1</msg>
<arg>${command} &gt;${logfile} 2&gt;&amp;1</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="PASS" start="2026-04-11T23:22:11.841539" elapsed="0.021752"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.867200" level="INFO">${NetconfKeywords__testtool_device_count} = 500</msg>
<arg>${NetconfKeywords__testtool_device_count}</arg>
<arg>${device-count}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:11.863454" elapsed="0.003792"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:11.868046" level="INFO">${current_Date} = 2026-04-11 23:22:11.868</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:11.867897" elapsed="0.000174"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:22:11.868526" level="INFO">${deadline_Date} = 2026-04-12 00:07:11.868</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:22:11.868214" elapsed="0.000337"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.873018" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:11.868723" elapsed="0.004340"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.873522" level="INFO">Repeating keyword, round 1/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:11.874643" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:11.874519" elapsed="0.000166"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.874499" elapsed="0.000208"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:11.875011" level="INFO">${current_Date} = 2026-04-11 23:22:11.875</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:11.874862" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:11.875480" level="INFO">${ellapsed_seconds} = 2699.993</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:11.875181" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.875824" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:11.875590" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.875557" elapsed="0.000385"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:11.874283" elapsed="0.001709"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.876499" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:11.876136" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.877930" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:11.877590" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.879602" level="INFO">${device-port} = 17830</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:11.878970" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.882158" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:11.894858" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:11.895071" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.882062" elapsed="0.013069"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.896046" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:11.896177" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:11.895299" elapsed="0.000985">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:11.895251" elapsed="0.001125">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:11.881793" elapsed="0.014891">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:11.881249" elapsed="0.015638"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.897882" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17830 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:11.963688" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:11.963911" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.897350" elapsed="0.066616"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:11.964164" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:11.965011" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:11.880439" elapsed="0.084791"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:11.965878" elapsed="0.001860"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:11.879834" elapsed="0.088141"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:11.878616" elapsed="0.089504"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:11.878110" elapsed="0.090107"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:11.877141" elapsed="0.091198"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:11.876694" elapsed="0.091736"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.969539" level="INFO">${next} = 17831</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:11.968797" elapsed="0.000858"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.970897" level="INFO">${current_port} = 17831</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:11.970013" elapsed="0.000980"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:11.873731" elapsed="0.097386"/>
</kw>
<msg time="2026-04-11T23:22:11.971203" level="INFO">Repeating keyword, round 2/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:11.973795" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:11.973425" elapsed="0.000464"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.973382" elapsed="0.000555"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:11.974615" level="INFO">${current_Date} = 2026-04-11 23:22:11.974</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:11.974248" elapsed="0.000467"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:11.975473" level="INFO">${ellapsed_seconds} = 2699.894</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:11.975039" elapsed="0.000459"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:11.975814" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:11.975581" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.975549" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:11.972900" elapsed="0.003034"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.976430" level="INFO">${number} = 2</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:11.976073" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.977885" level="INFO">${number} = 2</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:11.977503" elapsed="0.000408"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:11.979530" level="INFO">${device-port} = 17831</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:11.978917" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:11.982160" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:12.011269" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.011491" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:11.982065" elapsed="0.029484"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.012451" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:12.012608" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:12.011757" elapsed="0.001037">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:12.011710" elapsed="0.001182">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:11.981799" elapsed="0.031362">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:11.981389" elapsed="0.031911"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.014293" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17831 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:12.093548" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.093797" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.013808" elapsed="0.080043"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:12.094042" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:12.094897" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:11.980393" elapsed="0.114724"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:12.095751" elapsed="0.001784"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:11.979787" elapsed="0.118019"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:11.978553" elapsed="0.119396"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:11.978064" elapsed="0.119981"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:11.977060" elapsed="0.121108"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:11.976620" elapsed="0.121640"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.099469" level="INFO">${next} = 17832</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.098620" elapsed="0.000908"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.100799" level="INFO">${current_port} = 17832</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:12.099935" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:11.971650" elapsed="0.129371"/>
</kw>
<msg time="2026-04-11T23:22:12.101106" level="INFO">Repeating keyword, round 3/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:12.103432" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:12.103325" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.103306" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.103896" level="INFO">${current_Date} = 2026-04-11 23:22:12.104</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:12.103741" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.104365" level="INFO">${ellapsed_seconds} = 2699.764</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:12.104067" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.104852" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:12.104621" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.104560" elapsed="0.000368"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:12.102871" elapsed="0.002102"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.105473" level="INFO">${number} = 3</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.105115" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.106916" level="INFO">${number} = 3</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.106551" elapsed="0.000392"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.108677" level="INFO">${device-port} = 17832</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.108035" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.111324" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:12.142833" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.143051" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.111224" elapsed="0.031884"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.144012" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:12.144143" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:12.143275" elapsed="0.000971">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:12.143225" elapsed="0.001111">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:12.110958" elapsed="0.033675">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:12.110515" elapsed="0.034334"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.145842" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17832 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:12.221524" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.221768" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.145309" elapsed="0.076514"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:12.222014" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:12.222871" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:12.109516" elapsed="0.113576"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:12.223721" elapsed="0.001777"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:12.108907" elapsed="0.116862"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:12.107596" elapsed="0.118317"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:12.107097" elapsed="0.118913"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.106108" elapsed="0.120025"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:12.105664" elapsed="0.120560"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.227338" level="INFO">${next} = 17833</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.226557" elapsed="0.000838"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.228674" level="INFO">${current_port} = 17833</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:12.227800" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.101516" elapsed="0.127379"/>
</kw>
<msg time="2026-04-11T23:22:12.228979" level="INFO">Repeating keyword, round 4/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:12.231365" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:12.231215" elapsed="0.000191"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.231173" elapsed="0.000254"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.231778" level="INFO">${current_Date} = 2026-04-11 23:22:12.232</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:12.231566" elapsed="0.000238"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.232243" level="INFO">${ellapsed_seconds} = 2699.636</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:12.231945" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.232564" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:12.232338" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.232319" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:12.230685" elapsed="0.002018"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.233199" level="INFO">${number} = 4</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.232843" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.234623" level="INFO">${number} = 4</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.234266" elapsed="0.000385"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.236263" level="INFO">${device-port} = 17833</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.235664" elapsed="0.000628"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.240131" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:12.277516" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.277769" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.240035" elapsed="0.037793"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.278739" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:12.278870" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:12.277993" elapsed="0.001057">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:12.277946" elapsed="0.001200">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:12.239768" elapsed="0.039642">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:12.239363" elapsed="0.040183"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.280519" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17833 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:12.367672" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.367880" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.280037" elapsed="0.087899"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:12.368127" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:12.368962" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:12.237112" elapsed="0.132070"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:12.369814" elapsed="0.001834"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:12.236494" elapsed="0.135394"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:12.235284" elapsed="0.136749"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:12.234804" elapsed="0.137326"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.233832" elapsed="0.138418"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:12.233379" elapsed="0.138966"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.373447" level="INFO">${next} = 17834</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.372709" elapsed="0.000795"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.374801" level="INFO">${current_port} = 17834</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:12.373913" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.229387" elapsed="0.145633"/>
</kw>
<msg time="2026-04-11T23:22:12.375104" level="INFO">Repeating keyword, round 5/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:12.377561" elapsed="0.000157"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:12.377323" elapsed="0.000459"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.377281" elapsed="0.000549"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.378622" level="INFO">${current_Date} = 2026-04-11 23:22:12.378</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:12.378216" elapsed="0.000471"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.379485" level="INFO">${ellapsed_seconds} = 2699.49</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:12.379008" elapsed="0.000502"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.379826" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:12.379595" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.379562" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:12.376793" elapsed="0.003155"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.380448" level="INFO">${number} = 5</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.380089" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.381894" level="INFO">${number} = 5</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.381518" elapsed="0.000403"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.383536" level="INFO">${device-port} = 17834</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.382932" elapsed="0.000631"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.386143" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:12.415678" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.415896" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.386049" elapsed="0.029905"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.416845" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:22:12.416983" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:12.416119" elapsed="0.000967">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:12.416072" elapsed="0.001109">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:12.385783" elapsed="0.031663">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:12.385376" elapsed="0.032307"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.418707" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17834 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:12.477831" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.478040" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.418153" elapsed="0.059941"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:12.478286" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:12.479150" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:12.384387" elapsed="0.094981"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:12.480004" elapsed="0.001819"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:12.383789" elapsed="0.098274"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:12.382591" elapsed="0.099614"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:12.382076" elapsed="0.100224"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.381077" elapsed="0.101343"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:12.380640" elapsed="0.101892"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.483689" level="INFO">${next} = 17835</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.482907" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.484966" level="INFO">${current_port} = 17835</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:12.484100" elapsed="0.000960"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.375512" elapsed="0.109673"/>
</kw>
<msg time="2026-04-11T23:22:12.485269" level="INFO">Repeating keyword, round 6/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:12.487505" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:12.487398" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.487378" elapsed="0.000244"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.487919" level="INFO">${current_Date} = 2026-04-11 23:22:12.488</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:12.487769" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.488387" level="INFO">${ellapsed_seconds} = 2699.38</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:12.488089" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.488731" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:12.488481" elapsed="0.000309"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.488463" elapsed="0.000350"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:12.487004" elapsed="0.001854"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.489364" level="INFO">${number} = 6</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.489002" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.490808" level="INFO">${number} = 6</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.490438" elapsed="0.000397"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.492484" level="INFO">${device-port} = 17835</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.491878" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.495102" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:12.531920" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.532138" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.495007" elapsed="0.037190"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.533103" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:12.533233" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:12.532361" elapsed="0.001063">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:12.532314" elapsed="0.001205">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:12.494739" elapsed="0.039082">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:12.494133" elapsed="0.039828"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.534971" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17835 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:12.590324" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.590562" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.534423" elapsed="0.056236"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:12.590852" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:12.591682" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:12.493331" elapsed="0.098575"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:12.592501" elapsed="0.001809"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:12.492730" elapsed="0.101867"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:12.491473" elapsed="0.103275"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:12.490989" elapsed="0.103857"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.489999" elapsed="0.104969"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:12.489541" elapsed="0.105520"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.596166" level="INFO">${next} = 17836</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.595394" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.597482" level="INFO">${current_port} = 17836</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:12.596640" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.485712" elapsed="0.112024"/>
</kw>
<msg time="2026-04-11T23:22:12.597820" level="INFO">Repeating keyword, round 7/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:12.599741" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:12.599633" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.599614" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.600140" level="INFO">${current_Date} = 2026-04-11 23:22:12.600</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:12.599985" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.600677" level="INFO">${ellapsed_seconds} = 2699.268</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:12.600311" elapsed="0.000393"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.601005" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:12.600776" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.600757" elapsed="0.000325"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:12.599382" elapsed="0.001745"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.601648" level="INFO">${number} = 7</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.601269" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.603061" level="INFO">${number} = 7</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.602729" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.604749" level="INFO">${device-port} = 17836</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.604094" elapsed="0.000682"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.607441" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:12.644081" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.644320" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.607346" elapsed="0.037035"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.645310" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:12.645446" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:12.644554" elapsed="0.000998">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:12.644506" elapsed="0.001171">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:12.607076" elapsed="0.038873">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:12.606474" elapsed="0.039685"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.647208" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17836 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:12.702680" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.703029" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.646704" elapsed="0.056383"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:12.703365" elapsed="0.000178"/>
</return>
<msg time="2026-04-11T23:22:12.704268" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:12.605667" elapsed="0.098824"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:12.705203" elapsed="0.001931"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:12.605032" elapsed="0.102340"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:12.603749" elapsed="0.103771"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:12.603242" elapsed="0.104422"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.602265" elapsed="0.105527"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:12.601825" elapsed="0.106062"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.709120" level="INFO">${next} = 17837</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.708229" elapsed="0.000950"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.710674" level="INFO">${current_port} = 17837</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:12.709537" elapsed="0.001234"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.598228" elapsed="0.112670"/>
</kw>
<msg time="2026-04-11T23:22:12.710986" level="INFO">Repeating keyword, round 8/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:12.712910" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:12.712737" elapsed="0.000238"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.712702" elapsed="0.000307"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.713472" level="INFO">${current_Date} = 2026-04-11 23:22:12.713</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:12.713225" elapsed="0.000286"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.714232" level="INFO">${ellapsed_seconds} = 2699.155</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:12.713749" elapsed="0.000523"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.714777" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:12.714378" elapsed="0.000479"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.714351" elapsed="0.000540"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:12.712288" elapsed="0.002670"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.715839" level="INFO">${number} = 8</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.715167" elapsed="0.000711"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.717956" level="INFO">${number} = 8</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.717437" elapsed="0.000557"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.720078" level="INFO">${device-port} = 17837</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.719436" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.722812" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:12.751803" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.752024" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.722705" elapsed="0.029378"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.753000" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:12.753132" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:12.752247" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:12.752202" elapsed="0.001236">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:12.722401" elapsed="0.031351">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:12.721763" elapsed="0.032134"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.754945" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17837 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:12.809685" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.809897" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.754365" elapsed="0.055587"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:12.810142" elapsed="0.000164"/>
</return>
<msg time="2026-04-11T23:22:12.811028" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:12.720941" elapsed="0.090311"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:12.811888" elapsed="0.001825"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:12.720309" elapsed="0.093666"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:12.719020" elapsed="0.095101"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:12.718222" elapsed="0.095997"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.716787" elapsed="0.097555"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:12.716104" elapsed="0.098384"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.815472" level="INFO">${next} = 17838</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.814853" elapsed="0.000655"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.816368" level="INFO">${current_port} = 17838</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:12.815840" elapsed="0.000587"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.711392" elapsed="0.105115"/>
</kw>
<msg time="2026-04-11T23:22:12.816560" level="INFO">Repeating keyword, round 9/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:12.818192" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:12.818042" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.818015" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.818787" level="INFO">${current_Date} = 2026-04-11 23:22:12.819</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:12.818544" elapsed="0.000280"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.819450" level="INFO">${ellapsed_seconds} = 2699.049</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:12.819024" elapsed="0.000463"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.819926" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:12.819607" elapsed="0.000394"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.819559" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:12.817705" elapsed="0.002390"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.820954" level="INFO">${number} = 9</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.820290" elapsed="0.000703"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.823014" level="INFO">${number} = 9</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.822528" elapsed="0.000522"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.824752" level="INFO">${device-port} = 17838</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.824113" elapsed="0.000666"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.827470" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:12.864002" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.864224" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.827376" elapsed="0.036908"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.865190" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:12.865323" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:12.864451" elapsed="0.000979">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:12.864404" elapsed="0.001116">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:12.827102" elapsed="0.038717">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:12.826500" elapsed="0.039526"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.867063" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17838 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:12.925643" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.925855" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.866530" elapsed="0.059379"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:12.926153" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:22:12.927027" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:12.825616" elapsed="0.101627"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:12.927873" elapsed="0.001823"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:12.824981" elapsed="0.104953"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:12.823777" elapsed="0.106302"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:12.823268" elapsed="0.106909"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.821883" elapsed="0.108419"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:12.821209" elapsed="0.109213"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.931641" level="INFO">${next} = 17839</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.930793" elapsed="0.000910"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.932930" level="INFO">${current_port} = 17839</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:12.932058" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.816853" elapsed="0.116307"/>
</kw>
<msg time="2026-04-11T23:22:12.933246" level="INFO">Repeating keyword, round 10/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:12.935546" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:12.935440" elapsed="0.000172"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.935421" elapsed="0.000213"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.935924" level="INFO">${current_Date} = 2026-04-11 23:22:12.936</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:12.935774" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:12.936394" level="INFO">${ellapsed_seconds} = 2698.932</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:12.936097" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.936731" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:12.936490" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:12.936471" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:12.935086" elapsed="0.001767"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.937349" level="INFO">${number} = 10</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.936993" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.938805" level="INFO">${number} = 10</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.938457" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:12.940427" level="INFO">${device-port} = 17839</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:12.939824" elapsed="0.000630"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.943048" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:12.975432" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:12.975684" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.942953" elapsed="0.032793"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:12.976675" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:12.976808" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:12.975913" elapsed="0.001106">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:12.975866" elapsed="0.001253">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:12.942686" elapsed="0.034703">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:12.942080" elapsed="0.035447"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:12.978536" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17839 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:13.033548" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.033830" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:12.978023" elapsed="0.055875"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:13.034100" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:13.035002" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:12.941277" elapsed="0.093947"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:13.035881" elapsed="0.001865"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:12.940670" elapsed="0.097338"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:12.939466" elapsed="0.098693"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:12.938985" elapsed="0.099275"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.938004" elapsed="0.100443"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:12.937525" elapsed="0.101018"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.039552" level="INFO">${next} = 17840</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.038918" elapsed="0.000710"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.040418" level="INFO">${current_port} = 17840</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:13.039861" elapsed="0.000618"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:12.933749" elapsed="0.106810"/>
</kw>
<msg time="2026-04-11T23:22:13.040638" level="INFO">Repeating keyword, round 11/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:13.042221" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:13.042065" elapsed="0.000216"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.042036" elapsed="0.000294"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.042883" level="INFO">${current_Date} = 2026-04-11 23:22:13.043</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:13.042658" elapsed="0.000262"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.043598" level="INFO">${ellapsed_seconds} = 2698.825</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:13.043146" elapsed="0.000492"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.044069" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:13.043739" elapsed="0.000413"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.043713" elapsed="0.000472"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:13.041717" elapsed="0.002531"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.044997" level="INFO">${number} = 11</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.044449" elapsed="0.000585"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.047085" level="INFO">${number} = 11</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.046553" elapsed="0.000575"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.049463" level="INFO">${device-port} = 17840</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.048561" elapsed="0.000940"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.052733" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:13.083710" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.083947" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.052634" elapsed="0.031374"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.084935" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:13.085069" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:13.084181" elapsed="0.000993">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:13.084134" elapsed="0.001131">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:13.052342" elapsed="0.033191">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:13.051743" elapsed="0.034030"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.086825" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17840 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:13.141862" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.142089" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.086250" elapsed="0.055897"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:13.142366" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:13.143213" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:13.050737" elapsed="0.092692"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:13.144094" elapsed="0.001962"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:13.049808" elapsed="0.096569"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:13.048073" elapsed="0.098481"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:13.047361" elapsed="0.099344"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.045907" elapsed="0.100950"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:13.045259" elapsed="0.101712"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.148322" level="INFO">${next} = 17841</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.147387" elapsed="0.001002"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.149897" level="INFO">${current_port} = 17841</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:13.148871" elapsed="0.001138"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.040904" elapsed="0.109251"/>
</kw>
<msg time="2026-04-11T23:22:13.150254" level="INFO">Repeating keyword, round 12/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:13.152099" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:13.151989" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.151970" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.152458" level="INFO">${current_Date} = 2026-04-11 23:22:13.152</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:13.152303" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.152949" level="INFO">${ellapsed_seconds} = 2698.716</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:13.152644" elapsed="0.000331"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.153273" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:13.153045" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.153026" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:13.151751" elapsed="0.001643"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.153909" level="INFO">${number} = 12</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.153535" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.155468" level="INFO">${number} = 12</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.155063" elapsed="0.000436"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.157452" level="INFO">${device-port} = 17841</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.156758" elapsed="0.000721"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.160081" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:13.191444" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.191603" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.159985" elapsed="0.031657"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.192183" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:13.192264" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:13.191746" elapsed="0.000631">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:13.191717" elapsed="0.000720">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:13.159715" elapsed="0.032910">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:13.159112" elapsed="0.033604"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.193303" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17841 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:13.249786" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.249999" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.193003" elapsed="0.057050"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:13.250268" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:13.251112" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:13.158315" elapsed="0.093018"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:13.251960" elapsed="0.001811"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:13.157701" elapsed="0.096306"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:13.156333" elapsed="0.097818"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:13.155749" elapsed="0.098520"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.154536" elapsed="0.099858"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:13.154086" elapsed="0.100400"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.255624" level="INFO">${next} = 17842</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.254846" elapsed="0.000841"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.256901" level="INFO">${current_port} = 17842</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:13.256035" elapsed="0.000962"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.150850" elapsed="0.106272"/>
</kw>
<msg time="2026-04-11T23:22:13.257205" level="INFO">Repeating keyword, round 13/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:13.259501" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:13.259395" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.259376" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.259953" level="INFO">${current_Date} = 2026-04-11 23:22:13.260</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:13.259797" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.260428" level="INFO">${ellapsed_seconds} = 2698.608</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:13.260125" elapsed="0.000328"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.260769" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:13.260522" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.260504" elapsed="0.000342"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:13.258937" elapsed="0.001954"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.261389" level="INFO">${number} = 13</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.261033" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.262826" level="INFO">${number} = 13</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.262473" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.264488" level="INFO">${device-port} = 17842</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.263884" elapsed="0.000631"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.267262" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:13.299701" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.299922" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.267166" elapsed="0.032814"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.300889" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:13.301021" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:13.300146" elapsed="0.000979">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:13.300097" elapsed="0.001117">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:13.266897" elapsed="0.034579">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:13.266297" elapsed="0.035421"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.302737" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17842 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:13.357851" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.358076" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.302186" elapsed="0.055946"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:13.358357" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:13.359203" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:13.265335" elapsed="0.094087"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:13.360054" elapsed="0.001854"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:13.264736" elapsed="0.097407"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:13.263496" elapsed="0.098821"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:13.263007" elapsed="0.099409"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.262018" elapsed="0.100518"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:13.261565" elapsed="0.101101"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.363833" level="INFO">${next} = 17843</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.363032" elapsed="0.000859"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.365110" level="INFO">${current_port} = 17843</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:13.364240" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.257649" elapsed="0.107680"/>
</kw>
<msg time="2026-04-11T23:22:13.365414" level="INFO">Repeating keyword, round 14/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:13.367697" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:13.367528" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.367509" elapsed="0.000252"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.368053" level="INFO">${current_Date} = 2026-04-11 23:22:13.368</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:13.367901" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.368525" level="INFO">${ellapsed_seconds} = 2698.5</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:13.368222" elapsed="0.000328"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.368864" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:13.368636" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.368617" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:13.367236" elapsed="0.001747"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.369478" level="INFO">${number} = 14</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.369122" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.370933" level="INFO">${number} = 14</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.370598" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.372631" level="INFO">${device-port} = 17843</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.371998" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.375481" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:13.407494" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.407750" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.375385" elapsed="0.032442"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.408760" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:13.408893" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:13.408012" elapsed="0.001064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:13.407965" elapsed="0.001206">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:13.375114" elapsed="0.034325">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:13.374300" elapsed="0.035306"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.410642" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17843 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:13.465829" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.466041" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.410071" elapsed="0.056024"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:13.466318" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:13.467206" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:13.373464" elapsed="0.093967"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:13.468102" elapsed="0.001850"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:13.372860" elapsed="0.097354"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:13.371649" elapsed="0.098718"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:13.371111" elapsed="0.099356"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.370133" elapsed="0.100488"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:13.369671" elapsed="0.101048"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.471860" level="INFO">${next} = 17844</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.471055" elapsed="0.000876"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.473194" level="INFO">${current_port} = 17844</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:13.472285" elapsed="0.001007"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.365889" elapsed="0.107530"/>
</kw>
<msg time="2026-04-11T23:22:13.473504" level="INFO">Repeating keyword, round 15/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:13.475721" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:13.475552" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.475533" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.476138" level="INFO">${current_Date} = 2026-04-11 23:22:13.476</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:13.475980" elapsed="0.000185"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.476636" level="INFO">${ellapsed_seconds} = 2698.392</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:13.476311" elapsed="0.000351"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.476978" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:13.476733" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.476715" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:13.475270" elapsed="0.001831"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.477620" level="INFO">${number} = 15</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.477244" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.479048" level="INFO">${number} = 15</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.478709" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.480756" level="INFO">${device-port} = 17844</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.480122" elapsed="0.000661"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.483589" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:13.519749" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.519971" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.483479" elapsed="0.036551"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.520934" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:13.521067" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:13.520197" elapsed="0.000972">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:13.520151" elapsed="0.001109">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:13.483210" elapsed="0.038319">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:13.482427" elapsed="0.039341"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.522870" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17844 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:13.577661" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.577935" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.522330" elapsed="0.055683"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:13.578281" elapsed="0.000190"/>
</return>
<msg time="2026-04-11T23:22:13.579404" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:13.481618" elapsed="0.098111"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:13.580553" elapsed="0.002669"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:13.480987" elapsed="0.102492"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:13.479773" elapsed="0.103859"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:13.479230" elapsed="0.104468"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.478256" elapsed="0.105526"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:13.477800" elapsed="0.106069"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.584662" level="INFO">${next} = 17845</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.584097" elapsed="0.000605"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.585476" level="INFO">${current_port} = 17845</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:13.584938" elapsed="0.000598"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.473949" elapsed="0.111715"/>
</kw>
<msg time="2026-04-11T23:22:13.585721" level="INFO">Repeating keyword, round 16/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:13.587487" elapsed="0.000018"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:13.587361" elapsed="0.000176"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.587337" elapsed="0.000225"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.587941" level="INFO">${current_Date} = 2026-04-11 23:22:13.588</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:13.587754" elapsed="0.000218"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.588506" level="INFO">${ellapsed_seconds} = 2698.28</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:13.588147" elapsed="0.000390"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.588916" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:13.588637" elapsed="0.000341"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.588614" elapsed="0.000391"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:13.586976" elapsed="0.002080"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.589635" level="INFO">${number} = 16</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.589227" elapsed="0.000435"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.591134" level="INFO">${number} = 16</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.590798" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.592954" level="INFO">${device-port} = 17845</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.592324" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.597036" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:13.627488" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.627650" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.596936" elapsed="0.030751"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.628233" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:22:13.628314" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:13.627794" elapsed="0.000650">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:13.627763" elapsed="0.000740">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:13.596668" elapsed="0.032028">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:13.594619" elapsed="0.034166"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.629378" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17845 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:13.688650" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.688803" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.629076" elapsed="0.059765"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:13.688975" elapsed="0.000103"/>
</return>
<msg time="2026-04-11T23:22:13.689536" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:13.593805" elapsed="0.095922"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:13.690173" elapsed="0.001194"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:13.593183" elapsed="0.098339"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:13.591989" elapsed="0.099651"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:13.591313" elapsed="0.100393"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.590296" elapsed="0.101492"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:13.589831" elapsed="0.102020"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.692560" level="INFO">${next} = 17846</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.692074" elapsed="0.000546"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.693408" level="INFO">${current_port} = 17846</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:13.692855" elapsed="0.000614"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.585999" elapsed="0.107552"/>
</kw>
<msg time="2026-04-11T23:22:13.693630" level="INFO">Repeating keyword, round 17/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:13.695277" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:13.695120" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.695093" elapsed="0.000275"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.695870" level="INFO">${current_Date} = 2026-04-11 23:22:13.696</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:13.695641" elapsed="0.000267"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.696588" level="INFO">${ellapsed_seconds} = 2698.172</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:13.696119" elapsed="0.000509"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.697072" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:13.696733" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.696706" elapsed="0.000477"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:13.694770" elapsed="0.002479"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.698007" level="INFO">${number} = 17</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.697455" elapsed="0.000590"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.699980" level="INFO">${number} = 17</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.699641" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.701909" level="INFO">${device-port} = 17846</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.701153" elapsed="0.000783"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.704528" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:13.735390" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.735494" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.704432" elapsed="0.031088"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.735940" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:13.735999" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:13.735621" elapsed="0.000425">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:13.735596" elapsed="0.000491">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:13.704162" elapsed="0.032046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:13.703591" elapsed="0.032715"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.736753" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17846 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:13.793352" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.793561" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.736512" elapsed="0.057143"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:13.793846" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:13.794716" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:13.702791" elapsed="0.092144"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:13.795544" elapsed="0.001855"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:13.702167" elapsed="0.095501"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:13.700818" elapsed="0.096994"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:13.700160" elapsed="0.097747"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.699145" elapsed="0.098882"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:13.698356" elapsed="0.099807"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.799288" level="INFO">${next} = 17847</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.798507" elapsed="0.000841"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.800631" level="INFO">${current_port} = 17847</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:13.799758" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.693904" elapsed="0.106948"/>
</kw>
<msg time="2026-04-11T23:22:13.800936" level="INFO">Repeating keyword, round 18/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:13.803007" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:13.802900" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.802881" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.803371" level="INFO">${current_Date} = 2026-04-11 23:22:13.803</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:13.803210" elapsed="0.000188"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.803910" level="INFO">${ellapsed_seconds} = 2698.065</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:13.803542" elapsed="0.000394"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.804236" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:13.804008" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.803988" elapsed="0.000331"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:13.802660" elapsed="0.001712"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.804901" level="INFO">${number} = 18</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.804513" elapsed="0.000415"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.806364" level="INFO">${number} = 18</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.805987" elapsed="0.000410"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.808069" level="INFO">${device-port} = 17847</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.807405" elapsed="0.000691"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.810746" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:13.843520" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.843778" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.810647" elapsed="0.033193"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.844745" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:13.844886" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:13.844017" elapsed="0.001054">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:13.843970" elapsed="0.001198">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:13.810350" elapsed="0.035086">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:13.809755" elapsed="0.035848"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.846648" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17847 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:13.901656" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.901863" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.846118" elapsed="0.055799"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:13.902131" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:13.902979" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:13.808938" elapsed="0.094262"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:13.903848" elapsed="0.001859"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:13.808299" elapsed="0.097658"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:13.807056" elapsed="0.099076"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:13.806553" elapsed="0.099676"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.805528" elapsed="0.100824"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:13.805077" elapsed="0.101367"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.907562" level="INFO">${next} = 17848</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.906826" elapsed="0.000850"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.908928" level="INFO">${current_port} = 17848</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:13.908048" elapsed="0.000977"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.801358" elapsed="0.107791"/>
</kw>
<msg time="2026-04-11T23:22:13.909233" level="INFO">Repeating keyword, round 19/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:13.911096" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:13.910986" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.910967" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.911488" level="INFO">${current_Date} = 2026-04-11 23:22:13.911</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:13.911332" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:13.912038" level="INFO">${ellapsed_seconds} = 2697.957</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:13.911717" elapsed="0.000347"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.912369" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:13.912135" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:13.912117" elapsed="0.000329"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:13.910740" elapsed="0.001754"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.913034" level="INFO">${number} = 19</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.912654" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.914486" level="INFO">${number} = 19</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.914137" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:13.916212" level="INFO">${device-port} = 17848</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:13.915531" elapsed="0.000708"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.918910" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:13.951640" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:13.951858" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.918812" elapsed="0.033104"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:13.952827" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:13.952958" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:13.952081" elapsed="0.000983">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:13.952035" elapsed="0.001117">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:13.918340" elapsed="0.035075">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:13.917913" elapsed="0.035764"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:13.954727" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17848 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:14.009858" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.010089" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:13.954177" elapsed="0.055967"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:14.010376" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:22:14.011236" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:13.917095" elapsed="0.094373"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:14.012102" elapsed="0.001829"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:13.916445" elapsed="0.097750"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:13.915191" elapsed="0.099149"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:13.914685" elapsed="0.099770"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.913672" elapsed="0.100941"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:13.913214" elapsed="0.101498"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.015857" level="INFO">${next} = 17849</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.015056" elapsed="0.000861"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.017181" level="INFO">${current_port} = 17849</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:14.016272" elapsed="0.001001"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:13.909674" elapsed="0.107725"/>
</kw>
<msg time="2026-04-11T23:22:14.017490" level="INFO">Repeating keyword, round 20/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:14.019267" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:14.019155" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.019134" elapsed="0.000200"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.019715" level="INFO">${current_Date} = 2026-04-11 23:22:14.020</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:14.019478" elapsed="0.000265"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.020217" level="INFO">${ellapsed_seconds} = 2697.848</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:14.019893" elapsed="0.000350"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.020785" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:14.020316" elapsed="0.000529"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.020296" elapsed="0.000574"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:14.018913" elapsed="0.002004"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.021427" level="INFO">${number} = 20</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.021060" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.022911" level="INFO">${number} = 20</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.022544" elapsed="0.000394"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.024955" level="INFO">${device-port} = 17849</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.024016" elapsed="0.000967"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.027724" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:14.063931" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.064191" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.027403" elapsed="0.036849"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.065228" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:14.065362" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:14.064436" elapsed="0.001172">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:14.064385" elapsed="0.001327">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:14.027129" elapsed="0.038900">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:14.026722" elapsed="0.039472"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.067239" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17849 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:14.122019" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.122304" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.066729" elapsed="0.055632"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:14.122649" elapsed="0.000173"/>
</return>
<msg time="2026-04-11T23:22:14.123517" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:14.025852" elapsed="0.097926"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:14.124437" elapsed="0.001965"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:14.025191" elapsed="0.101489"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:14.023660" elapsed="0.103167"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:14.023093" elapsed="0.103837"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.022093" elapsed="0.104996"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:14.021620" elapsed="0.105572"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.128363" level="INFO">${next} = 17850</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.127535" elapsed="0.000887"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.129998" level="INFO">${current_port} = 17850</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:14.128825" elapsed="0.001298"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.017955" elapsed="0.112302"/>
</kw>
<msg time="2026-04-11T23:22:14.130345" level="INFO">Repeating keyword, round 21/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:14.131606" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:14.131475" elapsed="0.000175"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.131453" elapsed="0.000219"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.132061" level="INFO">${current_Date} = 2026-04-11 23:22:14.132</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:14.131888" elapsed="0.000200"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.132566" level="INFO">${ellapsed_seconds} = 2697.736</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:14.132234" elapsed="0.000375"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.132933" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:14.132683" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.132664" elapsed="0.000347"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:14.131224" elapsed="0.001832"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.133564" level="INFO">${number} = 21</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.133199" elapsed="0.000458"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.135177" level="INFO">${number} = 21</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.134741" elapsed="0.000464"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.136888" level="INFO">${device-port} = 17850</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.136239" elapsed="0.000676"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.139370" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:14.175892" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.176086" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.139265" elapsed="0.036849"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.176691" elapsed="0.000030"/>
</kw>
<msg time="2026-04-11T23:22:14.176758" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:14.176243" elapsed="0.000570">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:14.176201" elapsed="0.000658">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:14.138996" elapsed="0.038012">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:14.138603" elapsed="0.038540"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.177676" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17850 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:14.233840" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.234048" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.177400" elapsed="0.056675"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:14.234222" elapsed="0.000095"/>
</return>
<msg time="2026-04-11T23:22:14.234671" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:14.137760" elapsed="0.097011"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:14.235102" elapsed="0.000921"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:14.137120" elapsed="0.099015"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:14.135896" elapsed="0.100311"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:14.135366" elapsed="0.100890"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.134279" elapsed="0.102037"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:14.133814" elapsed="0.102550"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.236905" level="INFO">${next} = 17851</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.236519" elapsed="0.000412"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.237496" level="INFO">${current_port} = 17851</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:14.237093" elapsed="0.000445"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.130610" elapsed="0.107007"/>
</kw>
<msg time="2026-04-11T23:22:14.237660" level="INFO">Repeating keyword, round 22/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:14.238901" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:14.238787" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.238765" elapsed="0.000200"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.239280" level="INFO">${current_Date} = 2026-04-11 23:22:14.239</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:14.239109" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.239814" level="INFO">${ellapsed_seconds} = 2697.629</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:14.239451" elapsed="0.000389"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.240157" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:14.239912" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.239892" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:14.238523" elapsed="0.001755"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.240964" level="INFO">${number} = 22</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.240596" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.242396" level="INFO">${number} = 22</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.242057" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.244138" level="INFO">${device-port} = 17851</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.243429" elapsed="0.000736"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.246793" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:14.283758" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.283923" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.246503" elapsed="0.037449"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.284488" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:22:14.284552" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:14.284072" elapsed="0.000643">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:14.284035" elapsed="0.000729">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:14.246235" elapsed="0.038678">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:14.245838" elapsed="0.039142"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.285471" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17851 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:14.341680" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.341883" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.285227" elapsed="0.056684"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:14.342061" elapsed="0.000098"/>
</return>
<msg time="2026-04-11T23:22:14.342480" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:14.245005" elapsed="0.097608"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:14.342950" elapsed="0.000906"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:14.244368" elapsed="0.099600"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:14.243092" elapsed="0.100945"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:14.242592" elapsed="0.101493"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.241599" elapsed="0.102545"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:14.241141" elapsed="0.103050"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.344731" level="INFO">${next} = 17852</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.344347" elapsed="0.000411"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.345320" level="INFO">${current_port} = 17852</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:14.344919" elapsed="0.000443"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.237916" elapsed="0.107506"/>
</kw>
<msg time="2026-04-11T23:22:14.345464" level="INFO">Repeating keyword, round 23/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:14.346733" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:14.346617" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.346595" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.347177" level="INFO">${current_Date} = 2026-04-11 23:22:14.347</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:14.347003" elapsed="0.000200"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.347717" level="INFO">${ellapsed_seconds} = 2697.521</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:14.347350" elapsed="0.000393"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.348059" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:14.347814" elapsed="0.000299"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.347796" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:14.346356" elapsed="0.001827"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.348702" level="INFO">${number} = 23</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.348325" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.350134" level="INFO">${number} = 23</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.349779" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.351862" level="INFO">${device-port} = 17852</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.351170" elapsed="0.000719"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.354456" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:14.391768" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.392063" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.354189" elapsed="0.037938"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.393304" elapsed="0.000080"/>
</kw>
<msg time="2026-04-11T23:22:14.393470" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:14.392371" elapsed="0.001287">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:14.392299" elapsed="0.001469">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:14.353920" elapsed="0.040171">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:14.353500" elapsed="0.040848"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.395539" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17852 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:14.449941" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.450237" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.394974" elapsed="0.055320"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:14.450668" elapsed="0.000189"/>
</return>
<msg time="2026-04-11T23:22:14.451687" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:14.352709" elapsed="0.099210"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:14.452690" elapsed="0.002137"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:14.352091" elapsed="0.102979"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:14.350833" elapsed="0.104387"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:14.350316" elapsed="0.105005"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.349324" elapsed="0.106122"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:14.348881" elapsed="0.106663"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.456902" level="INFO">${next} = 17853</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.456008" elapsed="0.000957"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.458391" level="INFO">${current_port} = 17853</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:14.457329" elapsed="0.001116"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.345712" elapsed="0.112794"/>
</kw>
<msg time="2026-04-11T23:22:14.458547" level="INFO">Repeating keyword, round 24/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:14.459936" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:14.459808" elapsed="0.000173"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.459782" elapsed="0.000221"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.460326" level="INFO">${current_Date} = 2026-04-11 23:22:14.460</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:14.460149" elapsed="0.000205"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.460907" level="INFO">${ellapsed_seconds} = 2697.408</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:14.460502" elapsed="0.000433"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.461258" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:14.461008" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.460988" elapsed="0.000348"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:14.459451" elapsed="0.001930"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.461966" level="INFO">${number} = 24</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.461523" elapsed="0.000470"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.463492" level="INFO">${number} = 24</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.463145" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.465380" level="INFO">${device-port} = 17853</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.464678" elapsed="0.000731"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.468322" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:14.499823" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.500138" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.468029" elapsed="0.032168"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.501330" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:14.501473" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:14.500443" elapsed="0.001343">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:14.500380" elapsed="0.001539">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:14.467704" elapsed="0.034505">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:14.467224" elapsed="0.035148"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.503478" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17853 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:14.578082" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.578322" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.502939" elapsed="0.075442"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:14.578642" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:22:14.579485" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:14.466331" elapsed="0.113411"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:14.580373" elapsed="0.001979"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:14.465640" elapsed="0.117001"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:14.464309" elapsed="0.118483"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:14.463763" elapsed="0.119128"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.462651" elapsed="0.120365"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:14.462148" elapsed="0.120962"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.584267" level="INFO">${next} = 17854</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.583459" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.585653" level="INFO">${current_port} = 17854</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:14.584739" elapsed="0.001011"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.458835" elapsed="0.127065"/>
</kw>
<msg time="2026-04-11T23:22:14.585989" level="INFO">Repeating keyword, round 25/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:14.588894" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:14.588610" elapsed="0.000382"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.588510" elapsed="0.000569"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.589973" level="INFO">${current_Date} = 2026-04-11 23:22:14.590</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:14.589511" elapsed="0.000521"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.591252" level="INFO">${ellapsed_seconds} = 2697.278</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:14.590411" elapsed="0.000902"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.592214" elapsed="0.000060"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:14.591475" elapsed="0.000878"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.591434" elapsed="0.000972"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:14.587963" elapsed="0.004545"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.593932" level="INFO">${number} = 25</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.592902" elapsed="0.001091"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.595720" level="INFO">${number} = 25</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.595354" elapsed="0.000406"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.597533" level="INFO">${device-port} = 17854</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.596858" elapsed="0.000703"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.600529" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:14.633779" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.634014" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.600247" elapsed="0.033855"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.635109" elapsed="0.000068"/>
</kw>
<msg time="2026-04-11T23:22:14.635261" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:14.634273" elapsed="0.001095">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:14.634226" elapsed="0.001232">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:14.599971" elapsed="0.035835">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:14.599360" elapsed="0.036668"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.637133" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17854 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:14.721398" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.721649" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.636547" elapsed="0.085200"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:14.721969" elapsed="0.000192"/>
</return>
<msg time="2026-04-11T23:22:14.722938" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:14.598478" elapsed="0.124732"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:14.723908" elapsed="0.002065"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:14.597812" elapsed="0.128435"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:14.596462" elapsed="0.129964"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:14.595930" elapsed="0.130594"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.594890" elapsed="0.131793"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:14.594376" elapsed="0.132402"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.728026" level="INFO">${next} = 17855</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.727144" elapsed="0.000947"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.729494" level="INFO">${current_port} = 17855</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:14.728481" elapsed="0.001290"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.586429" elapsed="0.143482"/>
</kw>
<msg time="2026-04-11T23:22:14.730034" level="INFO">Repeating keyword, round 26/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:14.731427" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:14.731295" elapsed="0.000177"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.731274" elapsed="0.000219"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.731810" level="INFO">${current_Date} = 2026-04-11 23:22:14.732</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:14.731653" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.732306" level="INFO">${ellapsed_seconds} = 2697.136</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:14.731979" elapsed="0.000354"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.732679" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:14.732428" elapsed="0.000306"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.732406" elapsed="0.000351"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:14.731043" elapsed="0.001760"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.733341" level="INFO">${number} = 26</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.732945" elapsed="0.000432"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.735014" level="INFO">${number} = 26</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.734669" elapsed="0.000372"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.736884" level="INFO">${device-port} = 17855</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.736195" elapsed="0.000716"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.739689" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:14.791817" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.792049" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.739403" elapsed="0.052738"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.793137" elapsed="0.000069"/>
</kw>
<msg time="2026-04-11T23:22:14.793287" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:14.792337" elapsed="0.001173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:14.792264" elapsed="0.001386">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:14.739107" elapsed="0.054842">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:14.738719" elapsed="0.055374"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.795215" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17855 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:14.880340" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.880607" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.794693" elapsed="0.085975"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:14.880870" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:14.881742" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:14.737840" elapsed="0.144129"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:14.882613" elapsed="0.001817"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:14.737130" elapsed="0.147566"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:14.735753" elapsed="0.149089"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:14.735219" elapsed="0.149720"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.734081" elapsed="0.150976"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:14.733550" elapsed="0.151597"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.886275" level="INFO">${next} = 17856</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.885482" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.887614" level="INFO">${current_port} = 17856</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:14.886750" elapsed="0.000960"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.730451" elapsed="0.157383"/>
</kw>
<msg time="2026-04-11T23:22:14.887916" level="INFO">Repeating keyword, round 27/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:14.890401" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:14.890193" elapsed="0.000250"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.890149" elapsed="0.000315"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.890859" level="INFO">${current_Date} = 2026-04-11 23:22:14.891</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:14.890701" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:14.891337" level="INFO">${ellapsed_seconds} = 2696.977</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:14.891029" elapsed="0.000334"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.891683" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:14.891437" elapsed="0.000299"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:14.891419" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:14.889613" elapsed="0.002191"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.892305" level="INFO">${number} = 27</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.891946" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.893736" level="INFO">${number} = 27</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.893373" elapsed="0.000390"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:14.895394" level="INFO">${device-port} = 17856</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:14.894792" elapsed="0.000629"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.897966" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:14.931687" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:14.931915" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.897716" elapsed="0.034258"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:14.932876" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:14.933010" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:14.932138" elapsed="0.000976">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:14.932092" elapsed="0.001111">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:14.897424" elapsed="0.036046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:14.897043" elapsed="0.036687"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:14.934725" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17856 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:15.048119" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.048344" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:14.934199" elapsed="0.114200"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:15.048652" elapsed="0.000172"/>
</return>
<msg time="2026-04-11T23:22:15.049487" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:14.896240" elapsed="0.153554"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:15.050409" elapsed="0.001888"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:14.895639" elapsed="0.156898"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:14.894409" elapsed="0.158312"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:14.893917" elapsed="0.158928"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.892939" elapsed="0.160036"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:14.892481" elapsed="0.160589"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.054245" level="INFO">${next} = 17857</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.053411" elapsed="0.000894"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.055600" level="INFO">${current_port} = 17857</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:15.054699" elapsed="0.001002"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:14.888333" elapsed="0.167500"/>
</kw>
<msg time="2026-04-11T23:22:15.055937" level="INFO">Repeating keyword, round 28/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:15.058495" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:15.058382" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.058344" elapsed="0.000216"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.058879" level="INFO">${current_Date} = 2026-04-11 23:22:15.059</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:15.058720" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.059376" level="INFO">${ellapsed_seconds} = 2696.809</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:15.059062" elapsed="0.000340"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.059720" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:15.059472" elapsed="0.000303"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.059453" elapsed="0.000345"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:15.057826" elapsed="0.002017"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.060361" level="INFO">${number} = 28</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.059996" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.061867" level="INFO">${number} = 28</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.061451" elapsed="0.000442"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.063546" level="INFO">${device-port} = 17857</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.062915" elapsed="0.000681"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.068308" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:15.095405" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.095673" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.068204" elapsed="0.027531"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.096675" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:15.096813" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:15.095901" elapsed="0.001102">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:15.095854" elapsed="0.001244">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:15.065693" elapsed="0.031673">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:15.065275" elapsed="0.032248"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.098561" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17857 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:15.188337" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.188562" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.098062" elapsed="0.090595"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:15.188856" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:15.189712" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:15.064439" elapsed="0.125499"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:15.190541" elapsed="0.001823"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:15.063803" elapsed="0.128831"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:15.062552" elapsed="0.130228"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:15.062058" elapsed="0.130819"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.061007" elapsed="0.131995"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:15.060540" elapsed="0.132556"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.194239" level="INFO">${next} = 17858</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.193432" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.195552" level="INFO">${current_port} = 17858</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:15.194715" elapsed="0.000962"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.056362" elapsed="0.139442"/>
</kw>
<msg time="2026-04-11T23:22:15.195888" level="INFO">Repeating keyword, round 29/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:15.198377" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:15.198139" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.198097" elapsed="0.000350"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.198836" level="INFO">${current_Date} = 2026-04-11 23:22:15.199</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:15.198678" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.199318" level="INFO">${ellapsed_seconds} = 2696.669</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:15.199013" elapsed="0.000331"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.199656" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:15.199413" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.199395" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:15.197542" elapsed="0.002236"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.200273" level="INFO">${number} = 29</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.199919" elapsed="0.000379"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.201696" level="INFO">${number} = 29</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.201335" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.203345" level="INFO">${device-port} = 17858</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.202744" elapsed="0.000627"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.205944" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:15.249635" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.249889" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.205674" elapsed="0.044304"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.250892" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:15.251023" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:15.250151" elapsed="0.000976">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:15.250103" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:15.205381" elapsed="0.046104">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:15.204998" elapsed="0.046720"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.252707" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17858 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:15.343758" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.343970" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.252184" elapsed="0.091841"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:15.344217" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:15.345061" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:15.204190" elapsed="0.141089"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:15.345941" elapsed="0.001814"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:15.203588" elapsed="0.144404"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:15.202368" elapsed="0.145767"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:15.201883" elapsed="0.146350"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.200901" elapsed="0.147454"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:15.200447" elapsed="0.148002"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.349621" level="INFO">${next} = 17859</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.348815" elapsed="0.000870"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.350985" level="INFO">${current_port} = 17859</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:15.350038" elapsed="0.001041"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.196304" elapsed="0.154899"/>
</kw>
<msg time="2026-04-11T23:22:15.351286" level="INFO">Repeating keyword, round 30/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:15.353899" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:15.353486" elapsed="0.000507"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.353444" elapsed="0.000597"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.354526" level="INFO">${current_Date} = 2026-04-11 23:22:15.354</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:15.354351" elapsed="0.000201"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.355029" level="INFO">${ellapsed_seconds} = 2696.514</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:15.354712" elapsed="0.000343"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.355353" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:15.355125" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.355106" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:15.352963" elapsed="0.002509"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.355995" level="INFO">${number} = 30</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.355631" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.357398" level="INFO">${number} = 30</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.357065" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.359100" level="INFO">${device-port} = 17859</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.358462" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.361524" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:15.413603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.413825" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.361419" elapsed="0.052465"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.414772" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:15.414912" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:15.414047" elapsed="0.001042">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:15.414003" elapsed="0.001181">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:15.361151" elapsed="0.054300">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:15.360768" elapsed="0.054853"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.416609" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17859 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:15.487503" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.487762" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.416085" elapsed="0.071732"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:15.488009" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:15.488849" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:15.359963" elapsed="0.129107"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:15.489758" elapsed="0.001766"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:15.359330" elapsed="0.132468"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:15.358125" elapsed="0.133823"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:15.357637" elapsed="0.134409"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.356627" elapsed="0.135541"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:15.356170" elapsed="0.136091"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.493356" level="INFO">${next} = 17860</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.492621" elapsed="0.000793"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.494721" level="INFO">${current_port} = 17860</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:15.493853" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.351726" elapsed="0.143215"/>
</kw>
<msg time="2026-04-11T23:22:15.495024" level="INFO">Repeating keyword, round 31/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:15.497525" elapsed="0.000037"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:15.497246" elapsed="0.000501"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.497204" elapsed="0.000597"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.498476" level="INFO">${current_Date} = 2026-04-11 23:22:15.498</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:15.498184" elapsed="0.000328"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.499161" level="INFO">${ellapsed_seconds} = 2696.37</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:15.498735" elapsed="0.000463"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.499635" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:15.499295" elapsed="0.000415"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.499270" elapsed="0.000472"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:15.496717" elapsed="0.003088"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.500502" level="INFO">${number} = 31</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.500004" elapsed="0.000534"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.502534" level="INFO">${number} = 31</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.502069" elapsed="0.000520"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.504864" level="INFO">${device-port} = 17860</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.503987" elapsed="0.000915"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.508256" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:15.559801" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.560036" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.508122" elapsed="0.051973"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.561019" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:15.561152" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:15.560264" elapsed="0.000994">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:15.560216" elapsed="0.001134">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:15.507748" elapsed="0.053966">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:15.507191" elapsed="0.054749"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.562940" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17860 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:15.650133" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.650345" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.562408" elapsed="0.087991"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:15.650647" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:22:15.651447" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:15.506075" elapsed="0.145627"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:15.652296" elapsed="0.001838"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:15.505183" elapsed="0.149186"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:15.503499" elapsed="0.151015"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:15.502808" elapsed="0.151836"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.501386" elapsed="0.153384"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:15.500770" elapsed="0.154094"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.655971" level="INFO">${next} = 17861</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.655196" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.657255" level="INFO">${current_port} = 17861</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:15.656376" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.495436" elapsed="0.162061"/>
</kw>
<msg time="2026-04-11T23:22:15.657611" level="INFO">Repeating keyword, round 32/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:15.660173" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:15.659935" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.659891" elapsed="0.000421"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.660999" level="INFO">${current_Date} = 2026-04-11 23:22:15.661</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:15.660656" elapsed="0.000402"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.662143" level="INFO">${ellapsed_seconds} = 2696.207</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:15.661374" elapsed="0.000827"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.662644" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:15.662359" elapsed="0.000340"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.662317" elapsed="0.000405"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:15.659277" elapsed="0.003490"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.663262" level="INFO">${number} = 32</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.662906" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.664722" level="INFO">${number} = 32</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.664372" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.666374" level="INFO">${device-port} = 17861</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.665764" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.668825" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:15.692910" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.693129" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.668729" elapsed="0.024458"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.694106" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:15.694236" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:15.693348" elapsed="0.001068">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:15.693304" elapsed="0.001207">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:15.668445" elapsed="0.026367">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:15.668060" elapsed="0.026893"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.695934" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17861 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:15.750001" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.750214" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.695408" elapsed="0.054862"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:15.750464" elapsed="0.000190"/>
</return>
<msg time="2026-04-11T23:22:15.751304" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:15.667238" elapsed="0.084291"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:15.752173" elapsed="0.001864"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:15.666626" elapsed="0.087648"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:15.665402" elapsed="0.089005"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:15.664901" elapsed="0.089566"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.663936" elapsed="0.090607"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:15.663437" elapsed="0.091186"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.755282" level="INFO">${next} = 17862</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.754829" elapsed="0.000490"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.756084" level="INFO">${current_port} = 17862</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:15.755533" elapsed="0.000608"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.658033" elapsed="0.098186"/>
</kw>
<msg time="2026-04-11T23:22:15.756271" level="INFO">Repeating keyword, round 33/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:15.757827" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:15.757676" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.757650" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.758370" level="INFO">${current_Date} = 2026-04-11 23:22:15.758</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:15.758155" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.759055" level="INFO">${ellapsed_seconds} = 2696.11</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:15.758630" elapsed="0.000461"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.759504" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:15.759188" elapsed="0.000466"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.759163" elapsed="0.000527"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:15.757302" elapsed="0.002453"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.760457" level="INFO">${number} = 33</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.759954" elapsed="0.000539"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.762448" level="INFO">${number} = 33</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.761983" elapsed="0.000502"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.764849" level="INFO">${device-port} = 17862</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.763966" elapsed="0.000921"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.767749" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:15.803478" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.803795" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.767652" elapsed="0.036208"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.804919" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:15.805065" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:15.804070" elapsed="0.001111">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:15.804009" elapsed="0.001271">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:15.767364" elapsed="0.038275">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:15.766977" elapsed="0.038905"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.806995" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17862 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:15.861532" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.861780" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.806407" elapsed="0.055429"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:15.862029" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:15.862876" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:15.766074" elapsed="0.097022"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:15.863730" elapsed="0.001890"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:15.765168" elapsed="0.100693"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:15.763405" elapsed="0.102604"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:15.762719" elapsed="0.103392"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.761334" elapsed="0.104902"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:15.760722" elapsed="0.105609"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.867447" level="INFO">${next} = 17863</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.866698" elapsed="0.000807"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.868793" level="INFO">${current_port} = 17863</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:15.867917" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.756528" elapsed="0.112485"/>
</kw>
<msg time="2026-04-11T23:22:15.869100" level="INFO">Repeating keyword, round 34/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:15.871744" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:15.871373" elapsed="0.000468"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.871330" elapsed="0.000560"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.872556" level="INFO">${current_Date} = 2026-04-11 23:22:15.872</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:15.872206" elapsed="0.000441"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.873738" level="INFO">${ellapsed_seconds} = 2695.996</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:15.872972" elapsed="0.000825"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.874438" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:15.873955" elapsed="0.000535"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.873913" elapsed="0.000599"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:15.870844" elapsed="0.003714"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.875082" level="INFO">${number} = 34</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.874715" elapsed="0.000393"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.876512" level="INFO">${number} = 34</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.876177" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.878201" level="INFO">${device-port} = 17863</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.877555" elapsed="0.000673"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.880652" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:15.911682" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.911905" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.880539" elapsed="0.031425"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.912859" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:15.912992" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:15.912126" elapsed="0.001055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:15.912082" elapsed="0.001194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:15.880271" elapsed="0.033329">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:15.879885" elapsed="0.033861"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.914742" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17863 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:15.969673" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:15.969906" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.914211" elapsed="0.055753"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:15.970166" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:15.971057" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:15.879062" elapsed="0.092224"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:15.971937" elapsed="0.001927"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:15.878434" elapsed="0.095687"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:15.877204" elapsed="0.097066"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:15.876707" elapsed="0.097664"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.875739" elapsed="0.098757"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:15.875257" elapsed="0.099371"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.975794" level="INFO">${next} = 17864</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.974973" elapsed="0.000883"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.977126" level="INFO">${current_port} = 17864</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:15.976216" elapsed="0.001011"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.869536" elapsed="0.107877"/>
</kw>
<msg time="2026-04-11T23:22:15.977502" level="INFO">Repeating keyword, round 35/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:15.979417" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:15.979260" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.979233" elapsed="0.000277"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.980126" level="INFO">${current_Date} = 2026-04-11 23:22:15.980</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:15.979898" elapsed="0.000265"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:15.980823" level="INFO">${ellapsed_seconds} = 2695.888</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:15.980371" elapsed="0.000489"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:15.981297" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:15.980958" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:15.980933" elapsed="0.000473"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:15.978926" elapsed="0.002544"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.982234" level="INFO">${number} = 35</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.981696" elapsed="0.000574"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.984245" level="INFO">${number} = 35</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.983773" elapsed="0.000509"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:15.986666" level="INFO">${device-port} = 17864</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:15.985765" elapsed="0.000939"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:15.990457" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:16.023227" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.023334" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:15.990125" elapsed="0.033236"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.023999" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:22:16.024062" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:16.023447" elapsed="0.000663">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:16.023424" elapsed="0.000726">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:15.989741" elapsed="0.034532">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:15.989081" elapsed="0.035289"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.024830" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17864 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:16.081631" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.081862" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.024608" elapsed="0.057316"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:16.082117" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:16.082961" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:15.987910" elapsed="0.095271"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:16.083815" elapsed="0.001998"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:15.987000" elapsed="0.099063"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:15.985235" elapsed="0.100976"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:15.984499" elapsed="0.101809"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.983138" elapsed="0.103292"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:15.982487" elapsed="0.104037"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.087705" level="INFO">${next} = 17865</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.086899" elapsed="0.000871"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.089055" level="INFO">${current_port} = 17865</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:16.088168" elapsed="0.000983"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:15.977960" elapsed="0.111373"/>
</kw>
<msg time="2026-04-11T23:22:16.089428" level="INFO">Repeating keyword, round 36/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:16.091433" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:16.091280" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.091253" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.092019" level="INFO">${current_Date} = 2026-04-11 23:22:16.092</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:16.091802" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.092708" level="INFO">${ellapsed_seconds} = 2695.776</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:16.092260" elapsed="0.000485"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.093165" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:16.092844" elapsed="0.000410"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.092818" elapsed="0.000478"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:16.090944" elapsed="0.002418"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.094112" level="INFO">${number} = 36</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.093561" elapsed="0.000588"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.096152" level="INFO">${number} = 36</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.095671" elapsed="0.000518"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.098544" level="INFO">${device-port} = 17865</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.097657" elapsed="0.000949"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.102284" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:16.135893" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.136129" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.101940" elapsed="0.034248"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.137114" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:16.137276" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:16.136360" elapsed="0.001101">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:16.136313" elapsed="0.001245">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:16.101526" elapsed="0.036339">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:16.100950" elapsed="0.037055"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.139004" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17865 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:16.197659" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.197885" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.138470" elapsed="0.059472"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:16.198143" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:16.198992" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:16.099779" elapsed="0.099434"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:16.199853" elapsed="0.001870"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:16.098898" elapsed="0.103063"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:16.097130" elapsed="0.104975"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:16.096405" elapsed="0.105796"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.095002" elapsed="0.107319"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:16.094361" elapsed="0.108054"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.203523" level="INFO">${next} = 17866</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.202781" elapsed="0.000855"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.204862" level="INFO">${current_port} = 17866</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:16.203992" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.089881" elapsed="0.115205"/>
</kw>
<msg time="2026-04-11T23:22:16.205171" level="INFO">Repeating keyword, round 37/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:16.206863" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:16.206711" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.206684" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.207410" level="INFO">${current_Date} = 2026-04-11 23:22:16.207</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:16.207194" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.208131" level="INFO">${ellapsed_seconds} = 2695.661</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:16.207707" elapsed="0.000463"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.208622" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:16.208268" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.208243" elapsed="0.000488"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:16.206358" elapsed="0.002436"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.209511" level="INFO">${number} = 37</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.208992" elapsed="0.000555"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.211512" level="INFO">${number} = 37</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.211049" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.213885" level="INFO">${device-port} = 17866</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.212985" elapsed="0.000938"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.217477" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:16.251358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.251608" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.217123" elapsed="0.034549"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.252534" elapsed="0.000088"/>
</kw>
<msg time="2026-04-11T23:22:16.252702" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:16.251837" elapsed="0.000969">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:16.251791" elapsed="0.001105">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:16.216753" elapsed="0.036409">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:16.216197" elapsed="0.037197"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.254388" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17866 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:16.313650" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.313858" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.253901" elapsed="0.060010"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:16.314101" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:16.314962" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:16.215081" elapsed="0.100102"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:16.315815" elapsed="0.001836"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:16.214206" elapsed="0.103684"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:16.212496" elapsed="0.105539"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:16.211820" elapsed="0.106312"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.210413" elapsed="0.107840"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:16.209795" elapsed="0.108553"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.319451" level="INFO">${next} = 17867</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.318714" elapsed="0.000796"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.320799" level="INFO">${current_port} = 17867</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:16.319927" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.205592" elapsed="0.115429"/>
</kw>
<msg time="2026-04-11T23:22:16.321108" level="INFO">Repeating keyword, round 38/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:16.322879" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:16.322730" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.322703" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.323369" level="INFO">${current_Date} = 2026-04-11 23:22:16.323</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:16.323160" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.324105" level="INFO">${ellapsed_seconds} = 2695.545</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:16.323682" elapsed="0.000458"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.324553" elapsed="0.000048"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:16.324237" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.324212" elapsed="0.000467"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:16.322373" elapsed="0.002368"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.325449" level="INFO">${number} = 38</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.324937" elapsed="0.000548"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.327434" level="INFO">${number} = 38</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.326965" elapsed="0.000506"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.329807" level="INFO">${device-port} = 17867</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.328923" elapsed="0.000921"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.333384" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:16.367852" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.368072" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.333011" elapsed="0.035119"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.369038" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:16.369214" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:16.368297" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:16.368250" elapsed="0.001258">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:16.332640" elapsed="0.037181">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:16.332091" elapsed="0.037874"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.370961" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17867 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:16.429829" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.430037" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.370427" elapsed="0.059664"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:16.430280" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:16.431115" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:16.330982" elapsed="0.100351"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:16.431973" elapsed="0.001851"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:16.330126" elapsed="0.103937"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:16.328421" elapsed="0.105785"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:16.327738" elapsed="0.106564"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.326330" elapsed="0.108094"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:16.325721" elapsed="0.108798"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.435660" level="INFO">${next} = 17868</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.434884" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.436937" level="INFO">${current_port} = 17868</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:16.436069" elapsed="0.000962"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.321566" elapsed="0.115610"/>
</kw>
<msg time="2026-04-11T23:22:16.437262" level="INFO">Repeating keyword, round 39/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:16.439842" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:16.439475" elapsed="0.000460"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.439433" elapsed="0.000550"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.440764" level="INFO">${current_Date} = 2026-04-11 23:22:16.441</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:16.440461" elapsed="0.000329"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.441250" level="INFO">${ellapsed_seconds} = 2695.427</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:16.440934" elapsed="0.000343"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.441595" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:16.441352" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.441334" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:16.438952" elapsed="0.002766"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.442218" level="INFO">${number} = 39</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.441860" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.443679" level="INFO">${number} = 39</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.443292" elapsed="0.000414"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.445335" level="INFO">${device-port} = 17868</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.444711" elapsed="0.000651"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.448070" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:16.479947" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.480161" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.447829" elapsed="0.032390"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.481147" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:16.481282" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:16.480385" elapsed="0.001000">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:16.480339" elapsed="0.001135">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:16.447376" elapsed="0.034426">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:16.446996" elapsed="0.035017"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.483007" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17868 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:16.541731" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.541960" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.482481" elapsed="0.059534"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:16.542215" elapsed="0.000153"/>
</return>
<msg time="2026-04-11T23:22:16.543056" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:16.446189" elapsed="0.097087"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:16.543923" elapsed="0.001872"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:16.445583" elapsed="0.100443"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:16.444343" elapsed="0.101828"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:16.443861" elapsed="0.102407"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.442853" elapsed="0.103535"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:16.442396" elapsed="0.104087"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.547633" level="INFO">${next} = 17869</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.546850" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.548921" level="INFO">${current_port} = 17869</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:16.548050" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.437705" elapsed="0.111478"/>
</kw>
<msg time="2026-04-11T23:22:16.549276" level="INFO">Repeating keyword, round 40/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:16.551898" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:16.551530" elapsed="0.000461"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.551487" elapsed="0.000552"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.552735" level="INFO">${current_Date} = 2026-04-11 23:22:16.553</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:16.552350" elapsed="0.000444"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.553791" level="INFO">${ellapsed_seconds} = 2695.315</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:16.553368" elapsed="0.000450"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.554124" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:16.553890" elapsed="0.000287"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.553871" elapsed="0.000329"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:16.551004" elapsed="0.003240"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.554786" level="INFO">${number} = 40</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.554384" elapsed="0.000429"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.556217" level="INFO">${number} = 40</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.555885" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.557894" level="INFO">${device-port} = 17869</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.557253" elapsed="0.000668"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.562944" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:16.591148" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.591246" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.560208" elapsed="0.031064"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.591692" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:22:16.591753" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:16.591347" elapsed="0.000501">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:16.591325" elapsed="0.000565">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:16.559941" elapsed="0.032080">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:16.559540" elapsed="0.032543"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.592512" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17869 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:16.649278" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.649489" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.592294" elapsed="0.057249"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:16.649775" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:16.650603" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:16.558748" elapsed="0.092084"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:16.651425" elapsed="0.001914"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:16.558124" elapsed="0.095485"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:16.556902" elapsed="0.096857"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:16.556396" elapsed="0.097460"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.555399" elapsed="0.098577"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:16.554963" elapsed="0.099105"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.655167" level="INFO">${next} = 17870</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.654398" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.656471" level="INFO">${current_port} = 17870</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:16.655639" elapsed="0.000925"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.549737" elapsed="0.106985"/>
</kw>
<msg time="2026-04-11T23:22:16.656807" level="INFO">Repeating keyword, round 41/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:16.659396" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:16.659161" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.659120" elapsed="0.000417"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.660540" level="INFO">${current_Date} = 2026-04-11 23:22:16.660</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:16.660186" elapsed="0.000381"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.661054" level="INFO">${ellapsed_seconds} = 2695.208</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:16.660730" elapsed="0.000351"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.661381" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:16.661152" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.661133" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:16.658632" elapsed="0.002868"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.662015" level="INFO">${number} = 41</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.661657" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.663410" level="INFO">${number} = 41</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.663081" elapsed="0.000355"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.665088" level="INFO">${device-port} = 17870</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.664438" elapsed="0.000678"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.667496" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:16.699408" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.699508" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.667402" elapsed="0.032133"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.699935" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:16.699995" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:16.699626" elapsed="0.000416">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:16.699605" elapsed="0.000476">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:16.667136" elapsed="0.033063">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:16.666754" elapsed="0.033540"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.700740" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17870 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:16.757425" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.757675" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.700501" elapsed="0.057232"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:16.757921" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:16.758785" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:16.665943" elapsed="0.093059"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:16.759620" elapsed="0.001797"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:16.665318" elapsed="0.096363"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:16.664106" elapsed="0.097718"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:16.663620" elapsed="0.098301"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.662648" elapsed="0.099391"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:16.662189" elapsed="0.099943"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.763231" level="INFO">${next} = 17871</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.762466" elapsed="0.000824"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.764758" level="INFO">${current_port} = 17871</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:16.763763" elapsed="0.001093"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.657231" elapsed="0.107750"/>
</kw>
<msg time="2026-04-11T23:22:16.765082" level="INFO">Repeating keyword, round 42/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:16.767516" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:16.767282" elapsed="0.000361"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.767241" elapsed="0.000452"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.768336" level="INFO">${current_Date} = 2026-04-11 23:22:16.768</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:16.768003" elapsed="0.000392"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.769550" level="INFO">${ellapsed_seconds} = 2695.1</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:16.768837" elapsed="0.000758"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.769895" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:16.769668" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.769649" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:16.766758" elapsed="0.003256"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.770509" level="INFO">${number} = 42</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.770152" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.771914" level="INFO">${number} = 42</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.771582" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.773556" level="INFO">${device-port} = 17871</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.772931" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.775970" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:16.807225" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.807441" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.775876" elapsed="0.031623"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.808389" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:16.808523" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:16.807699" elapsed="0.001030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:16.807653" elapsed="0.001174">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:16.775609" elapsed="0.033509">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:16.775215" elapsed="0.034044"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.810244" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17871 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:16.866143" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.866358" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.809763" elapsed="0.056650"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:16.866654" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:22:16.867453" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:16.774410" elapsed="0.093313"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:16.868326" elapsed="0.001863"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:16.773806" elapsed="0.096619"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:16.772594" elapsed="0.098003"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:16.772093" elapsed="0.098608"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.771136" elapsed="0.099689"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:16.770699" elapsed="0.100221"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.872024" level="INFO">${next} = 17872</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.871253" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.873338" level="INFO">${current_port} = 17872</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:16.872428" elapsed="0.001004"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.765493" elapsed="0.108030"/>
</kw>
<msg time="2026-04-11T23:22:16.873595" level="INFO">Repeating keyword, round 43/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:16.875248" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:16.875097" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.875071" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.875885" level="INFO">${current_Date} = 2026-04-11 23:22:16.876</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:16.875665" elapsed="0.000257"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.876544" level="INFO">${ellapsed_seconds} = 2694.992</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:16.876124" elapsed="0.000476"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.877034" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:16.876699" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.876674" elapsed="0.000465"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:16.874759" elapsed="0.002443"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.878085" level="INFO">${number} = 43</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.877402" elapsed="0.000720"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.880126" level="INFO">${number} = 43</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.879656" elapsed="0.000507"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.882550" level="INFO">${device-port} = 17872</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.881697" elapsed="0.000919"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.885869" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:16.920043" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.920266" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.885773" elapsed="0.034552"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.921255" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:16.921388" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:16.920489" elapsed="0.001004">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:16.920443" elapsed="0.001173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:16.885466" elapsed="0.036424">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:16.884897" elapsed="0.037203"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.923100" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17872 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:16.977835" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:16.978045" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.922565" elapsed="0.055535"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:16.978291" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:16.979139" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:16.883770" elapsed="0.095585"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:16.980001" elapsed="0.001840"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:16.882903" elapsed="0.099175"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:16.881192" elapsed="0.101033"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:16.880379" elapsed="0.101946"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.878969" elapsed="0.103480"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:16.878333" elapsed="0.104212"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.983694" level="INFO">${next} = 17873</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.982914" elapsed="0.000841"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.984994" level="INFO">${current_port} = 17873</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:16.984106" elapsed="0.000983"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.873853" elapsed="0.111361"/>
</kw>
<msg time="2026-04-11T23:22:16.985300" level="INFO">Repeating keyword, round 44/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:16.987140" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:16.987029" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.987010" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.987495" level="INFO">${current_Date} = 2026-04-11 23:22:16.987</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:16.987344" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:16.988033" level="INFO">${ellapsed_seconds} = 2694.881</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:16.987731" elapsed="0.000328"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:16.988357" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:16.988129" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:16.988110" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:16.986790" elapsed="0.001687"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.989010" level="INFO">${number} = 44</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.988635" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.990423" level="INFO">${number} = 44</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.990087" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:16.992134" level="INFO">${device-port} = 17873</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:16.991455" elapsed="0.000706"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:16.994554" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:17.027544" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.027804" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:16.994455" elapsed="0.033408"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.028764" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:17.028895" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:17.028033" elapsed="0.001074">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:17.027984" elapsed="0.001222">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:16.994188" elapsed="0.035286">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:16.993808" elapsed="0.035836"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.030645" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17873 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:17.090256" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.090467" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.030115" elapsed="0.060406"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:17.090756" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:17.091550" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:16.993009" elapsed="0.098804"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:17.092409" elapsed="0.001816"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:16.992366" elapsed="0.102097"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:16.991107" elapsed="0.103531"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:16.990621" elapsed="0.104118"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.989648" elapsed="0.105216"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:16.989192" elapsed="0.105766"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.096063" level="INFO">${next} = 17874</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.095294" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.097403" level="INFO">${current_port} = 17874</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:17.096471" elapsed="0.001026"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:16.985738" elapsed="0.111917"/>
</kw>
<msg time="2026-04-11T23:22:17.097743" level="INFO">Repeating keyword, round 45/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:17.100224" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:17.099982" elapsed="0.000336"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.099939" elapsed="0.000427"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.101275" level="INFO">${current_Date} = 2026-04-11 23:22:17.101</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:17.100880" elapsed="0.000453"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.101923" level="INFO">${ellapsed_seconds} = 2694.767</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:17.101617" elapsed="0.000332"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.102249" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:17.102020" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.102002" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:17.099420" elapsed="0.002950"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.102889" level="INFO">${number} = 45</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.102512" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.104296" level="INFO">${number} = 45</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.103962" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.105982" level="INFO">${device-port} = 17874</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.105354" elapsed="0.000655"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.108563" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:17.140464" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.140726" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.108463" elapsed="0.032324"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.141720" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:17.141856" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:17.140984" elapsed="0.000975">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:17.140935" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:17.108193" elapsed="0.034120">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:17.107809" elapsed="0.034735"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.143546" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17874 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:17.198010" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.198221" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.143052" elapsed="0.055224"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:17.198466" elapsed="0.000202"/>
</return>
<msg time="2026-04-11T23:22:17.199307" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:17.106837" elapsed="0.092684"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:17.200159" elapsed="0.001652"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:17.106211" elapsed="0.095747"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:17.105019" elapsed="0.097029"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:17.104477" elapsed="0.097633"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.103505" elapsed="0.098683"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:17.103067" elapsed="0.099182"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.202961" level="INFO">${next} = 17875</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.202460" elapsed="0.000538"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.203765" level="INFO">${current_port} = 17875</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:17.203216" elapsed="0.000608"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.098158" elapsed="0.105745"/>
</kw>
<msg time="2026-04-11T23:22:17.203956" level="INFO">Repeating keyword, round 46/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:17.205499" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:17.205349" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.205321" elapsed="0.000287"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.206017" level="INFO">${current_Date} = 2026-04-11 23:22:17.206</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:17.205805" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.206759" level="INFO">${ellapsed_seconds} = 2694.662</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:17.206251" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.207214" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:17.206895" elapsed="0.000393"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.206870" elapsed="0.000450"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:17.205013" elapsed="0.002369"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.208108" level="INFO">${number} = 46</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.207604" elapsed="0.000541"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.210094" level="INFO">${number} = 46</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.209628" elapsed="0.000502"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.212438" level="INFO">${device-port} = 17875</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.211598" elapsed="0.000876"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.215197" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:17.247916" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.248138" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.215101" elapsed="0.033095"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.249127" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:17.249259" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:17.248363" elapsed="0.001082">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:17.248316" elapsed="0.001230">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:17.214827" elapsed="0.035026">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:17.214426" elapsed="0.035568"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.250990" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17875 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:17.306514" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.306765" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.250457" elapsed="0.056364"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:17.307013" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:17.307853" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:17.213647" elapsed="0.094426"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:17.308703" elapsed="0.001794"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:17.212780" elapsed="0.097991"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:17.211102" elapsed="0.099814"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:17.210342" elapsed="0.100671"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.208999" elapsed="0.102140"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:17.208354" elapsed="0.102879"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.312324" level="INFO">${next} = 17876</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.311565" elapsed="0.000817"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.313686" level="INFO">${current_port} = 17876</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:17.312790" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.204214" elapsed="0.109692"/>
</kw>
<msg time="2026-04-11T23:22:17.313990" level="INFO">Repeating keyword, round 47/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:17.316484" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:17.316243" elapsed="0.000490"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.316201" elapsed="0.000588"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.317564" level="INFO">${current_Date} = 2026-04-11 23:22:17.317</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:17.317225" elapsed="0.000380"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.318052" level="INFO">${ellapsed_seconds} = 2694.551</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:17.317751" elapsed="0.000327"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.318376" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:17.318148" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.318130" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:17.315708" elapsed="0.002790"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.319018" level="INFO">${number} = 47</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.318657" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.320433" level="INFO">${number} = 47</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.320099" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.322120" level="INFO">${device-port} = 17876</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.321480" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.324711" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:17.356100" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.356326" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.324448" elapsed="0.031938"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.357355" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:17.357492" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:17.356556" elapsed="0.001073">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:17.356507" elapsed="0.001218">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:17.324176" elapsed="0.033834">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:17.323788" elapsed="0.034451"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.359312" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17876 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:17.413941" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.414153" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.358803" elapsed="0.055403"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:17.414398" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:17.415250" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:17.322978" elapsed="0.092488"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:17.416111" elapsed="0.001835"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:17.322349" elapsed="0.095832"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:17.321138" elapsed="0.097185"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:17.320634" elapsed="0.097787"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.319659" elapsed="0.098885"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:17.319194" elapsed="0.099480"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.419801" level="INFO">${next} = 17877</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.419010" elapsed="0.000850"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.421097" level="INFO">${current_port} = 17877</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:17.420208" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.314402" elapsed="0.106914"/>
</kw>
<msg time="2026-04-11T23:22:17.421400" level="INFO">Repeating keyword, round 48/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:17.423972" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:17.423730" elapsed="0.000335"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.423564" elapsed="0.000547"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.424830" level="INFO">${current_Date} = 2026-04-11 23:22:17.425</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:17.424417" elapsed="0.000474"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.425721" level="INFO">${ellapsed_seconds} = 2694.443</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:17.425212" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.426043" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:17.425816" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.425798" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:17.423083" elapsed="0.003081"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.426714" level="INFO">${number} = 48</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.426303" elapsed="0.000437"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.428128" level="INFO">${number} = 48</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.427788" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.429787" level="INFO">${device-port} = 17877</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.429153" elapsed="0.000661"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.432355" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:17.471659" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.471880" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.432111" elapsed="0.039829"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.472860" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:17.472994" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:17.472109" elapsed="0.001070">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:17.472061" elapsed="0.001214">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:17.431836" elapsed="0.041712">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:17.431436" elapsed="0.042287"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.474710" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17877 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:17.529728" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.529932" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.474185" elapsed="0.055799"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:17.530170" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:22:17.530985" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:17.430647" elapsed="0.100551"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:17.531822" elapsed="0.001798"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:17.430022" elapsed="0.103837"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:17.428815" elapsed="0.105186"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:17.428306" elapsed="0.105792"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.427324" elapsed="0.106895"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:17.426888" elapsed="0.107426"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.535410" level="INFO">${next} = 17878</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.534682" elapsed="0.000788"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.536786" level="INFO">${current_port} = 17878</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:17.535875" elapsed="0.001008"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.421843" elapsed="0.115167"/>
</kw>
<msg time="2026-04-11T23:22:17.537093" level="INFO">Repeating keyword, round 49/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:17.538782" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:17.538628" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.538599" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.539332" level="INFO">${current_Date} = 2026-04-11 23:22:17.539</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:17.539116" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.540071" level="INFO">${ellapsed_seconds} = 2694.329</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:17.539567" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.540522" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:17.540205" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.540180" elapsed="0.000469"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:17.538278" elapsed="0.002435"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.541435" level="INFO">${number} = 49</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.540932" elapsed="0.000540"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.543416" level="INFO">${number} = 49</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.542951" elapsed="0.000502"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.545786" level="INFO">${device-port} = 17878</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.544914" elapsed="0.000909"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.549391" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:17.587395" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.587645" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.549056" elapsed="0.038650"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.588610" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:17.588771" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:17.587869" elapsed="0.001009">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:17.587824" elapsed="0.001143">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:17.548646" elapsed="0.040592">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:17.548092" elapsed="0.041362"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.590448" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17878 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:17.645136" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.645339" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.589968" elapsed="0.055425"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:17.645628" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:17.646406" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:17.546965" elapsed="0.099703"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:17.647261" elapsed="0.001812"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:17.546102" elapsed="0.103249"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:17.544400" elapsed="0.105107"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:17.543720" elapsed="0.105936"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.542316" elapsed="0.107476"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:17.541702" elapsed="0.108196"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.651095" level="INFO">${next} = 17879</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.650255" elapsed="0.000906"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.652475" level="INFO">${current_port} = 17879</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:17.651538" elapsed="0.001072"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.537490" elapsed="0.115284"/>
</kw>
<msg time="2026-04-11T23:22:17.652872" level="INFO">Repeating keyword, round 50/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:17.655618" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:17.655371" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.655327" elapsed="0.000359"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.655993" level="INFO">${current_Date} = 2026-04-11 23:22:17.656</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:17.655834" elapsed="0.000188"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.656481" level="INFO">${ellapsed_seconds} = 2694.212</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:17.656171" elapsed="0.000335"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.656846" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:17.656592" elapsed="0.000307"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.656557" elapsed="0.000365"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:17.654566" elapsed="0.002400"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.657460" level="INFO">${number} = 50</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.657106" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.658923" level="INFO">${number} = 50</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.658527" elapsed="0.000422"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.660665" level="INFO">${device-port} = 17879</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.659958" elapsed="0.000748"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.663252" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:17.699419" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.699671" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.663014" elapsed="0.036718"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.700611" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:17.700771" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:17.699894" elapsed="0.001057">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:17.699850" elapsed="0.001197">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:17.662741" elapsed="0.038571">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:17.662341" elapsed="0.039109"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.702436" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17879 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:17.757927" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.758155" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.701955" elapsed="0.056257"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:17.758414" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:17.759265" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:17.661528" elapsed="0.097957"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:17.760130" elapsed="0.001871"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:17.660920" elapsed="0.101317"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:17.659598" elapsed="0.102781"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:17.659101" elapsed="0.103374"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.658087" elapsed="0.104539"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:17.657651" elapsed="0.105071"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.763857" level="INFO">${next} = 17880</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.763060" elapsed="0.000858"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.765166" level="INFO">${current_port} = 17880</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:17.764272" elapsed="0.000988"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.653311" elapsed="0.112073"/>
</kw>
<msg time="2026-04-11T23:22:17.765468" level="INFO">Repeating keyword, round 51/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:17.768117" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:17.767877" elapsed="0.000333"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.767834" elapsed="0.000423"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.769273" level="INFO">${current_Date} = 2026-04-11 23:22:17.769</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:17.768889" elapsed="0.000446"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.770477" level="INFO">${ellapsed_seconds} = 2694.099</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:17.769723" elapsed="0.000816"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.771254" elapsed="0.000046"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:17.770731" elapsed="0.000642"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.770687" elapsed="0.000737"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:17.767213" elapsed="0.004315"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.772843" level="INFO">${number} = 51</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.771964" elapsed="0.000938"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.776087" level="INFO">${number} = 51</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.775300" elapsed="0.000845"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.778566" level="INFO">${device-port} = 17880</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.777957" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.781253" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:17.807153" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.807391" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.780913" elapsed="0.026541"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.808440" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:22:17.808614" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:17.807676" elapsed="0.001078">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:17.807623" elapsed="0.001231">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:17.780632" elapsed="0.028524">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:17.780235" elapsed="0.029142"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.810390" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17880 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:17.865183" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.865391" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.809905" elapsed="0.055540"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:17.865678" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:17.866474" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:17.779428" elapsed="0.087312"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:17.867342" elapsed="0.001890"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:17.778821" elapsed="0.090642"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:17.777614" elapsed="0.092037"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:17.776491" elapsed="0.093263"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.774281" elapsed="0.095594"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:17.773245" elapsed="0.096727"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.871091" level="INFO">${next} = 17881</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.870309" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.872379" level="INFO">${current_port} = 17881</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:17.871503" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.765921" elapsed="0.106726"/>
</kw>
<msg time="2026-04-11T23:22:17.872740" level="INFO">Repeating keyword, round 52/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:17.875555" elapsed="0.000061"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:17.875318" elapsed="0.000361"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.875276" elapsed="0.000452"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.876388" level="INFO">${current_Date} = 2026-04-11 23:22:17.876</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:17.876049" elapsed="0.000396"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.877500" level="INFO">${ellapsed_seconds} = 2693.992</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:17.876821" elapsed="0.000736"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.878345" elapsed="0.000045"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:17.877840" elapsed="0.000621"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.877798" elapsed="0.000714"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:17.874785" elapsed="0.003857"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.879788" level="INFO">${number} = 52</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.878958" elapsed="0.000888"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.882952" level="INFO">${number} = 52</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.882196" elapsed="0.000815"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.886047" level="INFO">${device-port} = 17881</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.885250" elapsed="0.000824"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.891678" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:17.915237" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.915453" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.888504" elapsed="0.027010"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.916422" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:17.916551" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:17.915721" elapsed="0.001075">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:17.915675" elapsed="0.001220">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:17.888239" elapsed="0.028929">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:17.887856" elapsed="0.029450"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.918293" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17881 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:17.973345" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:17.973549" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.917810" elapsed="0.055830"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:17.973829" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:17.974661" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:17.887039" elapsed="0.087846"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:17.975483" elapsed="0.001826"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:17.886279" elapsed="0.091263"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:17.884448" elapsed="0.093274"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:17.883349" elapsed="0.094469"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.881199" elapsed="0.096739"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:17.880179" elapsed="0.097850"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.979234" level="INFO">${next} = 17882</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.978357" elapsed="0.000941"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.980551" level="INFO">${current_port} = 17882</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:17.979717" elapsed="0.000978"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.873162" elapsed="0.107658"/>
</kw>
<msg time="2026-04-11T23:22:17.980905" level="INFO">Repeating keyword, round 53/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:17.983336" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:17.983099" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.983056" elapsed="0.000421"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.984325" level="INFO">${current_Date} = 2026-04-11 23:22:17.984</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:17.983983" elapsed="0.000399"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:17.985449" level="INFO">${ellapsed_seconds} = 2693.884</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:17.984770" elapsed="0.000736"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:17.985851" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:17.985622" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:17.985603" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:17.982545" elapsed="0.003426"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.986467" level="INFO">${number} = 53</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.986111" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.987895" level="INFO">${number} = 53</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.987523" elapsed="0.000398"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:17.989526" level="INFO">${device-port} = 17882</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:17.988920" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:17.992037" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:18.023498" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.023759" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:17.991939" elapsed="0.031880"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.024732" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:18.024867" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:18.023985" elapsed="0.000986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:18.023940" elapsed="0.001119">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:17.991594" elapsed="0.033729">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:17.991199" elapsed="0.034326"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.026500" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17882 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:18.081487" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.081727" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.026018" elapsed="0.055765"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:18.081975" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:18.082811" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:17.990387" elapsed="0.092651"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:18.083666" elapsed="0.001832"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:17.989782" elapsed="0.095909"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:17.988558" elapsed="0.097224"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:17.988074" elapsed="0.097768"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.987091" elapsed="0.098827"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:17.986657" elapsed="0.099320"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.086670" level="INFO">${next} = 17883</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.086187" elapsed="0.000520"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.087448" level="INFO">${current_port} = 17883</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:18.086925" elapsed="0.000580"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:17.981312" elapsed="0.106311"/>
</kw>
<msg time="2026-04-11T23:22:18.087679" level="INFO">Repeating keyword, round 54/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:18.089220" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:18.089072" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.089045" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.089735" level="INFO">${current_Date} = 2026-04-11 23:22:18.090</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:18.089502" elapsed="0.000270"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.090390" level="INFO">${ellapsed_seconds} = 2693.778</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:18.089970" elapsed="0.000456"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.090860" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:18.090521" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.090496" elapsed="0.000468"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:18.088743" elapsed="0.002283"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.091804" level="INFO">${number} = 54</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.091220" elapsed="0.000620"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.093789" level="INFO">${number} = 54</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.093308" elapsed="0.000518"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.096116" level="INFO">${device-port} = 17883</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.095213" elapsed="0.000940"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.099102" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:18.131359" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.131609" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.099007" elapsed="0.032666"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.132551" elapsed="0.000086"/>
</kw>
<msg time="2026-04-11T23:22:18.132714" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:18.131836" elapsed="0.001058">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:18.131792" elapsed="0.001197">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:18.098738" elapsed="0.034518">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:18.098339" elapsed="0.035056"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.134385" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17883 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:18.189473" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.189719" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.133901" elapsed="0.055875"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:18.189968" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:18.190823" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:18.097505" elapsed="0.093538"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:18.191669" elapsed="0.001796"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:18.096432" elapsed="0.097306"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:18.094740" elapsed="0.099144"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:18.094038" elapsed="0.099944"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.092699" elapsed="0.101405"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:18.092049" elapsed="0.102148"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.195295" level="INFO">${next} = 17884</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.194527" elapsed="0.000827"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.196646" level="INFO">${current_port} = 17884</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:18.195763" elapsed="0.000980"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.087941" elapsed="0.108927"/>
</kw>
<msg time="2026-04-11T23:22:18.196954" level="INFO">Repeating keyword, round 55/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:18.199399" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:18.199162" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.199119" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.200442" level="INFO">${current_Date} = 2026-04-11 23:22:18.200</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:18.200101" elapsed="0.000440"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.201593" level="INFO">${ellapsed_seconds} = 2693.668</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:18.200902" elapsed="0.000721"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.201922" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:18.201693" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.201675" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:18.198631" elapsed="0.003410"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.202540" level="INFO">${number} = 55</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.202183" elapsed="0.000570"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.204156" level="INFO">${number} = 55</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.203822" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.205834" level="INFO">${device-port} = 17884</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.205194" elapsed="0.000666"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.208245" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:18.239419" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.239671" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.208149" elapsed="0.031584"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.240666" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:18.240803" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:18.239895" elapsed="0.001011">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:18.239851" elapsed="0.001143">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:18.207879" elapsed="0.033379">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:18.207478" elapsed="0.033995"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.242464" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17884 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:18.297328" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.297534" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.241977" elapsed="0.055655"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:18.297824" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:18.298644" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:18.206686" elapsed="0.092177"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:18.299455" elapsed="0.001805"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:18.206062" elapsed="0.095433"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:18.204855" elapsed="0.096815"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:18.204335" elapsed="0.097432"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.203358" elapsed="0.098528"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:18.202916" elapsed="0.099064"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.303085" level="INFO">${next} = 17885</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.302314" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.304394" level="INFO">${current_port} = 17885</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:18.303490" elapsed="0.001041"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.197363" elapsed="0.107332"/>
</kw>
<msg time="2026-04-11T23:22:18.304781" level="INFO">Repeating keyword, round 56/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:18.306590" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:18.306422" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.306394" elapsed="0.000290"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.307090" level="INFO">${current_Date} = 2026-04-11 23:22:18.307</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:18.306880" elapsed="0.000247"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.307825" level="INFO">${ellapsed_seconds} = 2693.561</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:18.307327" elapsed="0.000535"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.308411" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:18.308081" elapsed="0.000422"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.307933" elapsed="0.000602"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:18.306093" elapsed="0.002527"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.309319" level="INFO">${number} = 56</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.308820" elapsed="0.000535"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.311298" level="INFO">${number} = 56</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.310835" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.313667" level="INFO">${device-port} = 17885</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.312791" elapsed="0.000913"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.317086" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:18.347312" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.347527" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.316953" elapsed="0.030670"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.348510" elapsed="0.000086"/>
</kw>
<msg time="2026-04-11T23:22:18.348675" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:18.347789" elapsed="0.001076">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:18.347744" elapsed="0.001218">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:18.316558" elapsed="0.032669">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:18.315992" elapsed="0.033374"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.350364" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17885 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:18.405185" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.405390" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.349877" elapsed="0.055568"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:18.405682" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:18.406461" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:18.314861" elapsed="0.091858"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:18.407302" elapsed="0.001872"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:18.313988" elapsed="0.095422"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:18.312279" elapsed="0.097263"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:18.311549" elapsed="0.098075"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.310205" elapsed="0.099498"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:18.309591" elapsed="0.100170"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.410435" level="INFO">${next} = 17886</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.409971" elapsed="0.000501"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.411239" level="INFO">${current_port} = 17886</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:18.410719" elapsed="0.000577"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.305191" elapsed="0.106185"/>
</kw>
<msg time="2026-04-11T23:22:18.411429" level="INFO">Repeating keyword, round 57/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:18.413001" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:18.412849" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.412823" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.413784" level="INFO">${current_Date} = 2026-04-11 23:22:18.414</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:18.413519" elapsed="0.000302"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.414443" level="INFO">${ellapsed_seconds} = 2693.454</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:18.414025" elapsed="0.000455"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.415175" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:18.414695" elapsed="0.000555"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.414660" elapsed="0.000622"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:18.412485" elapsed="0.002861"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.416066" level="INFO">${number} = 57</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.415543" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.417949" level="INFO">${number} = 57</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.417611" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.419646" level="INFO">${device-port} = 17886</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.419014" elapsed="0.000659"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.422068" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:18.455409" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.455670" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.421973" elapsed="0.033759"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.456647" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:18.456783" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:18.455895" elapsed="0.000993">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:18.455851" elapsed="0.001127">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:18.421706" elapsed="0.035535">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:18.421310" elapsed="0.036151"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.458487" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17886 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:18.514161" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.514499" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.458000" elapsed="0.056558"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:18.514868" elapsed="0.000178"/>
</return>
<msg time="2026-04-11T23:22:18.515776" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:18.420495" elapsed="0.095500"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:18.516712" elapsed="0.002006"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:18.419877" elapsed="0.099102"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:18.418674" elapsed="0.100462"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:18.418131" elapsed="0.101113"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.416987" elapsed="0.102397"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:18.416314" elapsed="0.103176"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.520814" level="INFO">${next} = 17887</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.519894" elapsed="0.000985"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.522236" level="INFO">${current_port} = 17887</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:18.521268" elapsed="0.001069"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.411709" elapsed="0.110765"/>
</kw>
<msg time="2026-04-11T23:22:18.522598" level="INFO">Repeating keyword, round 58/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:18.525547" elapsed="0.000043"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:18.525332" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.525281" elapsed="0.000384"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.526098" level="INFO">${current_Date} = 2026-04-11 23:22:18.526</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:18.525866" elapsed="0.000269"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.526798" level="INFO">${ellapsed_seconds} = 2693.342</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:18.526336" elapsed="0.000499"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.527266" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:18.526933" elapsed="0.000406"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.526907" elapsed="0.000465"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:18.524505" elapsed="0.002931"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.528166" level="INFO">${number} = 58</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.527656" elapsed="0.000547"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.530241" level="INFO">${number} = 58</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.529774" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.532592" level="INFO">${device-port} = 17887</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.531705" elapsed="0.000927"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.535992" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:18.563386" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.563659" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.535854" elapsed="0.027870"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.564709" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:18.564851" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:18.563900" elapsed="0.001162">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:18.563853" elapsed="0.001313">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:18.535456" elapsed="0.030005">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:18.534918" elapsed="0.030730"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.566717" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17887 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:18.625438" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.625697" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.566150" elapsed="0.059608"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:18.625965" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:22:18.626907" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:18.533790" elapsed="0.093359"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:18.627832" elapsed="0.002000"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:18.532915" elapsed="0.097172"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:18.531201" elapsed="0.099038"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:18.530492" elapsed="0.099850"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.529140" elapsed="0.101333"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:18.528448" elapsed="0.102156"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.631817" level="INFO">${next} = 17888</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.630972" elapsed="0.000909"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.633210" level="INFO">${current_port} = 17888</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:18.632259" elapsed="0.001050"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.523091" elapsed="0.110352"/>
</kw>
<msg time="2026-04-11T23:22:18.633534" level="INFO">Repeating keyword, round 59/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:18.636304" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:18.636047" elapsed="0.000405"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.636001" elapsed="0.000504"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.637319" level="INFO">${current_Date} = 2026-04-11 23:22:18.637</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:18.636951" elapsed="0.000431"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.637957" level="INFO">${ellapsed_seconds} = 2693.231</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:18.637651" elapsed="0.000332"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.638285" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:18.638054" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.638036" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:18.635351" elapsed="0.003057"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.638925" level="INFO">${number} = 59</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.638552" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.640382" level="INFO">${number} = 59</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.640035" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.642045" level="INFO">${device-port} = 17888</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.641404" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.644656" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:18.675433" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.675684" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.644394" elapsed="0.031351"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.676654" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:18.676788" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:18.675907" elapsed="0.000985">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:18.675863" elapsed="0.001117">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:18.644113" elapsed="0.033131">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:18.643728" elapsed="0.033726"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.678441" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17888 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:18.737409" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.737657" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.677961" elapsed="0.059758"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:18.737919" elapsed="0.000153"/>
</return>
<msg time="2026-04-11T23:22:18.738786" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:18.642906" elapsed="0.096094"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:18.739611" elapsed="0.001761"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:18.642273" elapsed="0.099358"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:18.641068" elapsed="0.100732"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:18.640563" elapsed="0.101334"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.639544" elapsed="0.102473"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:18.639104" elapsed="0.103008"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.743208" level="INFO">${next} = 17889</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.742444" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.744546" level="INFO">${current_port} = 17889</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:18.743676" elapsed="0.000951"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.634011" elapsed="0.110695"/>
</kw>
<msg time="2026-04-11T23:22:18.744760" level="INFO">Repeating keyword, round 60/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:18.746280" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:18.746134" elapsed="0.000204"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.746107" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.746793" level="INFO">${current_Date} = 2026-04-11 23:22:18.747</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:18.746561" elapsed="0.000268"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.747443" level="INFO">${ellapsed_seconds} = 2693.121</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:18.747027" elapsed="0.000451"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.747980" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:18.747659" elapsed="0.000394"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.747549" elapsed="0.000536"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:18.745801" elapsed="0.002346"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.748891" level="INFO">${number} = 60</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.748360" elapsed="0.000567"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.750857" level="INFO">${number} = 60</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.750372" elapsed="0.000522"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.753201" level="INFO">${device-port} = 17889</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.752299" elapsed="0.000939"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.756804" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:18.787414" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.787707" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.756523" elapsed="0.031246"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.788776" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:22:18.788913" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:18.787957" elapsed="0.001167">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:18.787905" elapsed="0.001313">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:18.756116" elapsed="0.033381">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:18.755557" elapsed="0.034110"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.790691" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17889 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:18.845273" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.845498" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.790151" elapsed="0.055403"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:18.845793" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:18.846618" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:18.754377" elapsed="0.092461"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:18.847438" elapsed="0.001864"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:18.753516" elapsed="0.096024"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:18.751833" elapsed="0.097879"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:18.751107" elapsed="0.098704"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.749765" elapsed="0.100170"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:18.749135" elapsed="0.100897"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.851159" level="INFO">${next} = 17890</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.850369" elapsed="0.000847"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.852507" level="INFO">${current_port} = 17890</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:18.851631" elapsed="0.000998"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.745017" elapsed="0.107743"/>
</kw>
<msg time="2026-04-11T23:22:18.852848" level="INFO">Repeating keyword, round 61/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:18.855333" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:18.855095" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.855053" elapsed="0.000421"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.856382" level="INFO">${current_Date} = 2026-04-11 23:22:18.856</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:18.855984" elapsed="0.000457"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.857072" level="INFO">${ellapsed_seconds} = 2693.012</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:18.856748" elapsed="0.000350"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.857412" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:18.857169" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.857151" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:18.854541" elapsed="0.002995"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.858060" level="INFO">${number} = 61</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.857695" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.859470" level="INFO">${number} = 61</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.859138" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.861182" level="INFO">${device-port} = 17890</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.860537" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.863800" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:18.895082" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.895297" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.863529" elapsed="0.031826"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.896251" elapsed="0.000076"/>
</kw>
<msg time="2026-04-11T23:22:18.896404" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:18.895517" elapsed="0.000992">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:18.895473" elapsed="0.001154">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:18.863261" elapsed="0.033638">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:18.862872" elapsed="0.034228"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.898104" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17890 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:18.953337" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:18.953546" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.897553" elapsed="0.056087"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:18.953835" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:18.954669" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:18.862046" elapsed="0.092842"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:18.955481" elapsed="0.001573"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:18.861413" elapsed="0.095788"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:18.860186" elapsed="0.097105"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:18.859685" elapsed="0.097667"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.858701" elapsed="0.098727"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:18.858239" elapsed="0.099248"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.958179" level="INFO">${next} = 17891</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.957716" elapsed="0.000499"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.958987" level="INFO">${current_port} = 17891</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:18.958435" elapsed="0.000610"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.853274" elapsed="0.105849"/>
</kw>
<msg time="2026-04-11T23:22:18.959177" level="INFO">Repeating keyword, round 62/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:18.960781" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:18.960631" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.960603" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.961278" level="INFO">${current_Date} = 2026-04-11 23:22:18.961</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:18.961063" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:18.961964" level="INFO">${ellapsed_seconds} = 2692.907</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:18.961511" elapsed="0.000488"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:18.962416" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:18.962095" elapsed="0.000395"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:18.962069" elapsed="0.000452"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:18.960275" elapsed="0.002329"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.963293" level="INFO">${number} = 62</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.962800" elapsed="0.000529"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.965345" level="INFO">${number} = 62</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.964881" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:18.967694" level="INFO">${device-port} = 17891</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:18.966782" elapsed="0.000949"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:18.970740" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.003227" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.003442" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:18.970471" elapsed="0.033028"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.004422" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:19.004554" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:19.003704" elapsed="0.001066">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:19.003656" elapsed="0.001211">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:18.970203" elapsed="0.034935">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:18.969816" elapsed="0.035460"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.006272" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17891 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:19.061274" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.061481" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.005784" elapsed="0.055752"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:19.061766" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:19.062540" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:18.968832" elapsed="0.093975"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:19.063391" elapsed="0.001799"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:18.968015" elapsed="0.097406"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:18.966294" elapsed="0.099266"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:18.965613" elapsed="0.100080"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.964248" elapsed="0.101566"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:18.963537" elapsed="0.102369"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.066999" level="INFO">${next} = 17892</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.066238" elapsed="0.000821"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.068334" level="INFO">${current_port} = 17892</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:19.067407" elapsed="0.001023"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:18.959446" elapsed="0.109109"/>
</kw>
<msg time="2026-04-11T23:22:19.068672" level="INFO">Repeating keyword, round 63/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:19.071119" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:19.070883" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.070841" elapsed="0.000417"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.072125" level="INFO">${current_Date} = 2026-04-11 23:22:19.072</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:19.071779" elapsed="0.000404"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.072908" level="INFO">${ellapsed_seconds} = 2692.796</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:19.072552" elapsed="0.000382"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.073230" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:19.073003" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.072985" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:19.070322" elapsed="0.003028"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.073989" level="INFO">${number} = 63</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.073490" elapsed="0.000525"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.075412" level="INFO">${number} = 63</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.075082" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.077246" level="INFO">${device-port} = 17892</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.076432" elapsed="0.000840"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.079811" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.115011" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.115147" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.079560" elapsed="0.035624"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.115871" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:19.116004" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:19.115284" elapsed="0.000825">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:19.115258" elapsed="0.000964">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:19.079297" elapsed="0.037193">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:19.078918" elapsed="0.037827"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.117738" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17892 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:19.172888" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.173096" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.117211" elapsed="0.055940"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:19.173338" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:19.174164" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:19.078108" elapsed="0.096271"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:19.175009" elapsed="0.001807"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:19.077475" elapsed="0.099600"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:19.076088" elapsed="0.101127"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:19.075606" elapsed="0.101705"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.074648" elapsed="0.102782"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:19.074166" elapsed="0.103357"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.178669" level="INFO">${next} = 17893</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.177888" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.179945" level="INFO">${current_port} = 17893</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:19.179082" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.069085" elapsed="0.111121"/>
</kw>
<msg time="2026-04-11T23:22:19.180297" level="INFO">Repeating keyword, round 64/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:19.181957" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:19.181809" elapsed="0.000432"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.181783" elapsed="0.000498"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.182779" level="INFO">${current_Date} = 2026-04-11 23:22:19.183</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:19.182481" elapsed="0.000336"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.183429" level="INFO">${ellapsed_seconds} = 2692.685</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:19.183016" elapsed="0.000449"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.183895" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:19.183561" elapsed="0.000408"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.183535" elapsed="0.000466"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:19.181452" elapsed="0.002610"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.184794" level="INFO">${number} = 64</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.184273" elapsed="0.000557"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.186801" level="INFO">${number} = 64</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.186269" elapsed="0.000568"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.189098" level="INFO">${device-port} = 17893</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.188218" elapsed="0.000917"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.194880" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.223239" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.223458" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.192348" elapsed="0.031169"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.224445" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:19.224606" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:19.223725" elapsed="0.001060">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:19.223677" elapsed="0.001204">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:19.191951" elapsed="0.033194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:19.191397" elapsed="0.033885"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.226275" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17893 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:19.280981" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.281184" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.225793" elapsed="0.055445"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:19.281423" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:22:19.282257" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:19.190282" elapsed="0.092223"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:19.283143" elapsed="0.001833"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:19.189417" elapsed="0.095795"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:19.187742" elapsed="0.097610"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:19.187050" elapsed="0.098399"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.185666" elapsed="0.099930"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:19.185039" elapsed="0.100657"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.286806" level="INFO">${next} = 17894</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.286026" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.288233" level="INFO">${current_port} = 17894</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:19.287211" elapsed="0.001116"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.180676" elapsed="0.107775"/>
</kw>
<msg time="2026-04-11T23:22:19.288534" level="INFO">Repeating keyword, round 65/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:19.291095" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:19.290858" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.290816" elapsed="0.000420"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.292001" level="INFO">${current_Date} = 2026-04-11 23:22:19.292</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:19.291658" elapsed="0.000400"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.293015" level="INFO">${ellapsed_seconds} = 2692.576</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:19.292424" elapsed="0.000617"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.293337" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:19.293110" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.293092" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:19.290302" elapsed="0.003155"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.293969" level="INFO">${number} = 65</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.293611" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.295360" level="INFO">${number} = 65</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.295029" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.297108" level="INFO">${device-port} = 17894</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.296390" elapsed="0.000745"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.299503" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.330693" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.330910" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.299410" elapsed="0.031558"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.331865" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:19.331998" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:19.331130" elapsed="0.000988">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:19.331085" elapsed="0.001125">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:19.299145" elapsed="0.033327">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:19.298765" elapsed="0.033937"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.333695" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17894 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:19.389000" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.389212" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.333165" elapsed="0.056102"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:19.389462" elapsed="0.000200"/>
</return>
<msg time="2026-04-11T23:22:19.390453" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:19.297963" elapsed="0.092753"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:19.391327" elapsed="0.001848"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:19.297337" elapsed="0.096077"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:19.296044" elapsed="0.097513"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:19.295540" elapsed="0.098149"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.294595" elapsed="0.099221"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:19.294145" elapsed="0.099766"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.395032" level="INFO">${next} = 17895</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.394246" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.396368" level="INFO">${current_port} = 17895</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:19.395442" elapsed="0.001021"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.289068" elapsed="0.107554"/>
</kw>
<msg time="2026-04-11T23:22:19.396676" level="INFO">Repeating keyword, round 66/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:19.397790" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:19.397682" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.397663" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.398147" level="INFO">${current_Date} = 2026-04-11 23:22:19.398</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:19.397993" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.398681" level="INFO">${ellapsed_seconds} = 2692.47</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:19.398316" elapsed="0.000391"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.399011" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:19.398778" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.398759" elapsed="0.000329"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:19.397427" elapsed="0.001705"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.399651" level="INFO">${number} = 66</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.399273" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.401082" level="INFO">${number} = 66</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.400748" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.402877" level="INFO">${device-port} = 17895</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.402195" elapsed="0.000709"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.405339" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.438852" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.439078" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.405241" elapsed="0.033895"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.440058" elapsed="0.000075"/>
</kw>
<msg time="2026-04-11T23:22:19.440208" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:19.439306" elapsed="0.001105">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:19.439258" elapsed="0.001248">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:19.404973" elapsed="0.035838">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:19.404590" elapsed="0.036364"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.441948" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17895 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:19.501757" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.502014" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.441422" elapsed="0.060647"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:19.502296" elapsed="0.000161"/>
</return>
<msg time="2026-04-11T23:22:19.503207" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:19.403733" elapsed="0.099697"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:19.504132" elapsed="0.001858"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:19.403103" elapsed="0.103123"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:19.401771" elapsed="0.104598"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:19.401263" elapsed="0.105207"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.400282" elapsed="0.106341"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:19.399828" elapsed="0.106894"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.507950" level="INFO">${next} = 17896</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.507062" elapsed="0.000948"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.509272" level="INFO">${current_port} = 17896</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:19.508386" elapsed="0.000979"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.396873" elapsed="0.112618"/>
</kw>
<msg time="2026-04-11T23:22:19.509605" level="INFO">Repeating keyword, round 67/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:19.512411" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:19.512169" elapsed="0.000335"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.512123" elapsed="0.000430"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.512955" level="INFO">${current_Date} = 2026-04-11 23:22:19.513</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:19.512782" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.513450" level="INFO">${ellapsed_seconds} = 2692.355</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:19.513128" elapsed="0.000348"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.513808" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:19.513546" elapsed="0.000316"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.513528" elapsed="0.000357"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:19.511479" elapsed="0.002451"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.514444" level="INFO">${number} = 67</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.514076" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.515931" level="INFO">${number} = 67</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.515529" elapsed="0.000428"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.517643" level="INFO">${device-port} = 17896</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.516989" elapsed="0.000681"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.520158" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.551242" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.551516" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.520050" elapsed="0.031561"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.552670" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:22:19.552809" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:19.551816" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:19.551755" elapsed="0.001253">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:19.519766" elapsed="0.033530">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:19.519364" elapsed="0.034164"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.554613" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17896 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:19.609436" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.609748" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.554064" elapsed="0.055741"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:19.610035" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:22:19.611087" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:19.518498" elapsed="0.092811"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:19.611986" elapsed="0.001906"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:19.517876" elapsed="0.096251"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:19.516645" elapsed="0.097627"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:19.516130" elapsed="0.098242"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.515085" elapsed="0.099414"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:19.514638" elapsed="0.099991"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.615924" level="INFO">${next} = 17897</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.615123" elapsed="0.000859"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.617241" level="INFO">${current_port} = 17897</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:19.616354" elapsed="0.000979"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.510053" elapsed="0.107406"/>
</kw>
<msg time="2026-04-11T23:22:19.617545" level="INFO">Repeating keyword, round 68/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:19.620228" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:19.619942" elapsed="0.000378"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.619898" elapsed="0.000470"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.620822" level="INFO">${current_Date} = 2026-04-11 23:22:19.621</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:19.620635" elapsed="0.000214"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.621317" level="INFO">${ellapsed_seconds} = 2692.247</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:19.620995" elapsed="0.000348"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.621677" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:19.621414" elapsed="0.000318"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.621395" elapsed="0.000361"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:19.619295" elapsed="0.002507"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.622306" level="INFO">${number} = 68</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.621944" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.623785" level="INFO">${number} = 68</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.623384" elapsed="0.000427"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.625466" level="INFO">${device-port} = 17897</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.624843" elapsed="0.000650"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.628101" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.663944" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.664235" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.627981" elapsed="0.036314"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.665295" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:19.665428" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:19.664492" elapsed="0.001186">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:19.664438" elapsed="0.001337">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:19.627707" elapsed="0.038348">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:19.627300" elapsed="0.038896"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.667229" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17897 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:19.721466" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.721793" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.666730" elapsed="0.055131"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:19.722111" elapsed="0.000176"/>
</return>
<msg time="2026-04-11T23:22:19.723117" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:19.626465" elapsed="0.096909"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:19.724218" elapsed="0.001205"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:19.625719" elapsed="0.099823"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:19.624475" elapsed="0.101172"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:19.623966" elapsed="0.101737"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.622946" elapsed="0.102815"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:19.622485" elapsed="0.103321"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.726330" level="INFO">${next} = 17898</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.725967" elapsed="0.000390"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.726939" level="INFO">${current_port} = 17898</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:19.726520" elapsed="0.000461"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.618018" elapsed="0.109022"/>
</kw>
<msg time="2026-04-11T23:22:19.727081" level="INFO">Repeating keyword, round 69/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:19.728316" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:19.728203" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.728181" elapsed="0.000200"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.728839" level="INFO">${current_Date} = 2026-04-11 23:22:19.729</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:19.728664" elapsed="0.000202"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.729339" level="INFO">${ellapsed_seconds} = 2692.139</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:19.729014" elapsed="0.000351"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.729731" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:19.729436" elapsed="0.000350"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.729418" elapsed="0.000392"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:19.727923" elapsed="0.001933"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.730368" level="INFO">${number} = 69</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.730005" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.731860" level="INFO">${number} = 69</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.731497" elapsed="0.000390"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.733549" level="INFO">${device-port} = 17898</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.732929" elapsed="0.000719"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.736137" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.771682" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.771939" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.736034" elapsed="0.035980"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.772958" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:19.773096" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:19.772195" elapsed="0.001011">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:19.772143" elapsed="0.001154">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:19.735751" elapsed="0.037852">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:19.735350" elapsed="0.038487"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.774888" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17898 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:19.834236" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.834525" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.774334" elapsed="0.060287"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:19.834861" elapsed="0.000164"/>
</return>
<msg time="2026-04-11T23:22:19.835738" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:19.734523" elapsed="0.101456"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:19.836649" elapsed="0.001832"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:19.733904" elapsed="0.104844"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:19.732583" elapsed="0.106313"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:19.732056" elapsed="0.106941"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.731052" elapsed="0.108071"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:19.730563" elapsed="0.108657"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.840375" level="INFO">${next} = 17899</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.839562" elapsed="0.000872"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.841784" level="INFO">${current_port} = 17899</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:19.840876" elapsed="0.001003"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.727301" elapsed="0.114705"/>
</kw>
<msg time="2026-04-11T23:22:19.842093" level="INFO">Repeating keyword, round 70/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:19.844705" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:19.844424" elapsed="0.000344"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.844380" elapsed="0.000420"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.845249" level="INFO">${current_Date} = 2026-04-11 23:22:19.845</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:19.845012" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.845989" level="INFO">${ellapsed_seconds} = 2692.023</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:19.845503" elapsed="0.000525"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.846520" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:19.846155" elapsed="0.000468"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.846116" elapsed="0.000542"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:19.843849" elapsed="0.002875"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.847472" level="INFO">${number} = 70</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.846936" elapsed="0.000575"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.849655" level="INFO">${number} = 70</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.849136" elapsed="0.000561"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.852127" level="INFO">${device-port} = 17899</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.851180" elapsed="0.000987"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.855783" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.887603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.887854" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.855621" elapsed="0.032311"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.888895" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:19.889041" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:19.888117" elapsed="0.001210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:19.888067" elapsed="0.001361">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:19.855190" elapsed="0.034552">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:19.854608" elapsed="0.035279"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.890949" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17899 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:19.945461" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.945776" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.890375" elapsed="0.055461"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:19.946065" elapsed="0.000162"/>
</return>
<msg time="2026-04-11T23:22:19.946940" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:19.853389" elapsed="0.093774"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:19.947855" elapsed="0.001943"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:19.852466" elapsed="0.097571"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:19.850681" elapsed="0.099500"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:19.849925" elapsed="0.100356"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.848432" elapsed="0.101974"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:19.847758" elapsed="0.102745"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.951706" level="INFO">${next} = 17900</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.950896" elapsed="0.000872"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.952892" level="INFO">${current_port} = 17900</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:19.952162" elapsed="0.000792"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.842540" elapsed="0.110500"/>
</kw>
<msg time="2026-04-11T23:22:19.953098" level="INFO">Repeating keyword, round 71/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:19.954833" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:19.954669" elapsed="0.000226"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.954639" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.955453" level="INFO">${current_Date} = 2026-04-11 23:22:19.955</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:19.955210" elapsed="0.000283"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:19.956310" level="INFO">${ellapsed_seconds} = 2691.913</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:19.955827" elapsed="0.000522"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:19.956831" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:19.956454" elapsed="0.000455"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:19.956427" elapsed="0.000518"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:19.954288" elapsed="0.002725"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.957800" level="INFO">${number} = 71</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.957229" elapsed="0.000610"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.960000" level="INFO">${number} = 71</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.959406" elapsed="0.000633"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:19.962504" level="INFO">${device-port} = 17900</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:19.961548" elapsed="0.000995"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:19.965900" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:19.999549" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:19.999891" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:19.965598" elapsed="0.034355"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.000974" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:20.001108" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.000151" elapsed="0.001068">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.000096" elapsed="0.001214">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:19.965303" elapsed="0.036323">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:19.964913" elapsed="0.036952"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.002916" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17900 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:20.057751" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.058055" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.002363" elapsed="0.055748"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:20.058357" elapsed="0.000170"/>
</return>
<msg time="2026-04-11T23:22:20.059238" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:19.963790" elapsed="0.095664"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:20.060163" elapsed="0.001924"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:19.962870" elapsed="0.099471"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:19.961047" elapsed="0.101449"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:19.960269" elapsed="0.102370"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.958750" elapsed="0.104027"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:19.958064" elapsed="0.104818"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.064165" level="INFO">${next} = 17901</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.063247" elapsed="0.000981"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.065164" level="INFO">${current_port} = 17901</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:20.064611" elapsed="0.000613"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:19.953409" elapsed="0.111896"/>
</kw>
<msg time="2026-04-11T23:22:20.065361" level="INFO">Repeating keyword, round 72/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:20.067015" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:20.066863" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.066835" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.067530" level="INFO">${current_Date} = 2026-04-11 23:22:20.067</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:20.067301" elapsed="0.000340"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.068311" level="INFO">${ellapsed_seconds} = 2691.801</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:20.067864" elapsed="0.000483"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.068798" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:20.068445" elapsed="0.000427"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.068418" elapsed="0.000486"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:20.066497" elapsed="0.002469"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.069688" level="INFO">${number} = 72</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.069162" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.071714" level="INFO">${number} = 72</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.071172" elapsed="0.000579"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.074031" level="INFO">${device-port} = 17901</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.073151" elapsed="0.000917"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.077382" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:20.107531" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.107775" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.077114" elapsed="0.030736"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.108745" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:20.108877" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.108014" elapsed="0.001077">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.107970" elapsed="0.001217">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:20.076846" elapsed="0.032621">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:20.076363" elapsed="0.033273"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.110621" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17901 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:20.165489" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.165737" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.110101" elapsed="0.055692"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:20.165980" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:20.166804" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:20.075209" elapsed="0.091810"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:20.167627" elapsed="0.001504"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:20.074348" elapsed="0.094929"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:20.072685" elapsed="0.096681"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:20.071976" elapsed="0.097450"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.070545" elapsed="0.098957"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:20.069932" elapsed="0.099628"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.170252" level="INFO">${next} = 17902</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.169792" elapsed="0.000497"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.171051" level="INFO">${current_port} = 17902</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:20.170506" elapsed="0.000603"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.065685" elapsed="0.105502"/>
</kw>
<msg time="2026-04-11T23:22:20.171240" level="INFO">Repeating keyword, round 73/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:20.172831" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:20.172673" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.172640" elapsed="0.000284"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.173406" level="INFO">${current_Date} = 2026-04-11 23:22:20.173</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:20.173179" elapsed="0.000265"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.174113" level="INFO">${ellapsed_seconds} = 2691.695</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:20.173686" elapsed="0.000463"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.174565" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:20.174246" elapsed="0.000415"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.174221" elapsed="0.000472"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:20.172316" elapsed="0.002440"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.175459" level="INFO">${number} = 73</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.174961" elapsed="0.000534"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.177616" level="INFO">${number} = 73</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.177132" elapsed="0.000521"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.180002" level="INFO">${device-port} = 17902</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.179058" elapsed="0.000981"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.182734" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:20.215338" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.215555" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.182636" elapsed="0.033015"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.216525" elapsed="0.000083"/>
</kw>
<msg time="2026-04-11T23:22:20.216692" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.215836" elapsed="0.000960">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.215771" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:20.182211" elapsed="0.034935">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:20.181833" elapsed="0.035517"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.218335" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17902 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:20.286124" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.286329" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.217857" elapsed="0.068527"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:20.286617" elapsed="0.000154"/>
</return>
<msg time="2026-04-11T23:22:20.287408" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:20.181041" elapsed="0.106622"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:20.288281" elapsed="0.001826"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:20.180320" elapsed="0.110017"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:20.178545" elapsed="0.111935"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:20.177869" elapsed="0.112738"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.176487" elapsed="0.114247"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:20.175837" elapsed="0.115021"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.292005" level="INFO">${next} = 17903</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.291207" elapsed="0.000856"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.293284" level="INFO">${current_port} = 17903</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:20.292414" elapsed="0.000962"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.171496" elapsed="0.122003"/>
</kw>
<msg time="2026-04-11T23:22:20.293614" level="INFO">Repeating keyword, round 74/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:20.295970" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:20.295861" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.295841" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.296333" level="INFO">${current_Date} = 2026-04-11 23:22:20.296</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:20.296175" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.296827" level="INFO">${ellapsed_seconds} = 2691.572</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:20.296502" elapsed="0.000351"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.297156" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:20.296923" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.296905" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:20.295431" elapsed="0.001847"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.297793" level="INFO">${number} = 74</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.297419" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.299199" level="INFO">${number} = 74</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.298867" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.300923" level="INFO">${device-port} = 17903</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.300283" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.303483" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:20.335543" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.335824" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.303385" elapsed="0.032499"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.336833" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:20.336965" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.336059" elapsed="0.001103">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.336009" elapsed="0.001247">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:20.302962" elapsed="0.034573">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:20.302564" elapsed="0.035162"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.338804" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17903 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:20.393603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.393868" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.338261" elapsed="0.055662"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:20.394146" elapsed="0.000161"/>
</return>
<msg time="2026-04-11T23:22:20.395007" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:20.301775" elapsed="0.093452"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:20.395935" elapsed="0.001852"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:20.301154" elapsed="0.096870"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:20.299944" elapsed="0.098219"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:20.299378" elapsed="0.098882"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.298413" elapsed="0.099968"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:20.297970" elapsed="0.100506"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.399637" level="INFO">${next} = 17904</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.398839" elapsed="0.000860"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.400937" level="INFO">${current_port} = 17904</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:20.400118" elapsed="0.000881"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.294035" elapsed="0.107051"/>
</kw>
<msg time="2026-04-11T23:22:20.401144" level="INFO">Repeating keyword, round 75/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:20.403009" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:20.402848" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.402818" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.403662" level="INFO">${current_Date} = 2026-04-11 23:22:20.404</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:20.403398" elapsed="0.000303"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.404403" level="INFO">${ellapsed_seconds} = 2691.464</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:20.403937" elapsed="0.000504"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.404913" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:20.404544" elapsed="0.000448"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.404517" elapsed="0.000510"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:20.402415" elapsed="0.002679"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.405861" level="INFO">${number} = 75</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.405308" elapsed="0.000591"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.407980" level="INFO">${number} = 75</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.407452" elapsed="0.000567"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.410546" level="INFO">${device-port} = 17904</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.409646" elapsed="0.000963"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.413881" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:20.443667" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.443927" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.413775" elapsed="0.030211"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.444959" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:20.445090" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.444163" elapsed="0.001034">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.444111" elapsed="0.001177">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:20.413310" elapsed="0.032284">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:20.412924" elapsed="0.032906"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.446842" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17904 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:20.501628" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.501886" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.446308" elapsed="0.055633"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:20.502162" elapsed="0.000159"/>
</return>
<msg time="2026-04-11T23:22:20.503017" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:20.411866" elapsed="0.091368"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:20.503905" elapsed="0.001837"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:20.410910" elapsed="0.095068"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:20.409115" elapsed="0.097006"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:20.408248" elapsed="0.097970"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.406805" elapsed="0.099535"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:20.406124" elapsed="0.100311"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.507554" level="INFO">${next} = 17905</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.506802" elapsed="0.000863"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.508833" level="INFO">${current_port} = 17905</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:20.508060" elapsed="0.000836"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.401458" elapsed="0.107523"/>
</kw>
<msg time="2026-04-11T23:22:20.509041" level="INFO">Repeating keyword, round 76/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:20.510794" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:20.510619" elapsed="0.000237"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.510587" elapsed="0.000302"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.511340" level="INFO">${current_Date} = 2026-04-11 23:22:20.511</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:20.511101" elapsed="0.000277"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.512163" level="INFO">${ellapsed_seconds} = 2691.357</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:20.511680" elapsed="0.000522"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.512676" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:20.512306" elapsed="0.000451"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.512278" elapsed="0.000513"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:20.510230" elapsed="0.002628"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.513621" level="INFO">${number} = 76</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.513068" elapsed="0.000592"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.515938" level="INFO">${number} = 76</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.515347" elapsed="0.000630"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.518413" level="INFO">${device-port} = 17905</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.517468" elapsed="0.000985"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.524285" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:20.551523" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.551800" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.524175" elapsed="0.027685"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.552810" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:20.552943" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.552037" elapsed="0.001112">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.551989" elapsed="0.001256">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:20.521298" elapsed="0.032220">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:20.520910" elapsed="0.032780"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.554696" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17905 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:20.609361" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.609637" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.554169" elapsed="0.055525"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:20.609900" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:20.610731" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:20.519826" elapsed="0.091127"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:20.611561" elapsed="0.001853"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:20.518779" elapsed="0.094897"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:20.516960" elapsed="0.096856"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:20.516207" elapsed="0.097707"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.514682" elapsed="0.099356"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:20.513999" elapsed="0.100133"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.615241" level="INFO">${next} = 17906</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.614463" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.616615" level="INFO">${current_port} = 17906</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:20.615746" elapsed="0.000931"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.509348" elapsed="0.107415"/>
</kw>
<msg time="2026-04-11T23:22:20.616823" level="INFO">Repeating keyword, round 77/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:20.618502" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:20.618342" elapsed="0.000221"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.618314" elapsed="0.000306"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.619236" level="INFO">${current_Date} = 2026-04-11 23:22:20.619</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:20.618992" elapsed="0.000282"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.620064" level="INFO">${ellapsed_seconds} = 2691.249</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:20.619486" elapsed="0.000616"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.620553" elapsed="0.000052"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:20.620204" elapsed="0.000454"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.620178" elapsed="0.000514"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:20.617991" elapsed="0.002767"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.621565" level="INFO">${number} = 77</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.620969" elapsed="0.000659"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.623737" level="INFO">${number} = 77</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.623170" elapsed="0.000606"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.626281" level="INFO">${device-port} = 17906</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.625332" elapsed="0.000988"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.629719" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:20.659704" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.659943" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.629423" elapsed="0.030580"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.660929" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:20.661061" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.660180" elapsed="0.000985">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.660129" elapsed="0.001124">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:20.629154" elapsed="0.032372">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:20.628766" elapsed="0.033017"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.662785" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17906 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:20.717971" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.718241" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.662259" elapsed="0.056038"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:20.718526" elapsed="0.000211"/>
</return>
<msg time="2026-04-11T23:22:20.719406" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:20.627561" elapsed="0.092128"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:20.720338" elapsed="0.001871"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:20.626655" elapsed="0.095787"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:20.624824" elapsed="0.097790"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:20.624008" elapsed="0.098709"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.622507" elapsed="0.100335"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:20.621856" elapsed="0.101083"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.724174" level="INFO">${next} = 17907</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.723272" elapsed="0.000964"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.725478" level="INFO">${current_port} = 17907</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:20.724626" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.617127" elapsed="0.108599"/>
</kw>
<msg time="2026-04-11T23:22:20.725814" level="INFO">Repeating keyword, round 78/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:20.728457" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:20.728218" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.728175" elapsed="0.000514"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.729010" level="INFO">${current_Date} = 2026-04-11 23:22:20.729</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:20.728839" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.729498" level="INFO">${ellapsed_seconds} = 2691.139</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:20.729180" elapsed="0.000345"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.729853" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:20.729611" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.729591" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:20.727525" elapsed="0.002450"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.730548" level="INFO">${number} = 78</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.730185" elapsed="0.000413"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.731998" level="INFO">${number} = 78</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.731658" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.733695" level="INFO">${device-port} = 17907</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.733034" elapsed="0.000689"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.736736" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:20.767506" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.767800" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.736633" elapsed="0.031228"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.768804" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:20.768936" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.768042" elapsed="0.001106">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.767991" elapsed="0.001251">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:20.736338" elapsed="0.033176">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:20.735937" elapsed="0.033746"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.770705" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17907 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:20.825826" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.826100" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.770166" elapsed="0.055991"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:20.826389" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:22:20.827263" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:20.734544" elapsed="0.092939"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:20.828180" elapsed="0.001864"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:20.733928" elapsed="0.096350"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:20.732695" elapsed="0.097726"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:20.732181" elapsed="0.098340"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.731191" elapsed="0.099490"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:20.730753" elapsed="0.100027"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.831945" level="INFO">${next} = 17908</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.831115" elapsed="0.000889"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.833040" level="INFO">${current_port} = 17908</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:20.832355" elapsed="0.000747"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.726257" elapsed="0.106931"/>
</kw>
<msg time="2026-04-11T23:22:20.833246" level="INFO">Repeating keyword, round 79/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:20.835084" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:20.834922" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.834892" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.835818" level="INFO">${current_Date} = 2026-04-11 23:22:20.836</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:20.835475" elapsed="0.000383"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.836564" level="INFO">${ellapsed_seconds} = 2691.032</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:20.836097" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.837087" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:20.836736" elapsed="0.000430"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.836709" elapsed="0.000491"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:20.834532" elapsed="0.002736"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.838067" level="INFO">${number} = 79</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.837481" elapsed="0.000625"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.840270" level="INFO">${number} = 79</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.839769" elapsed="0.000540"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.842228" level="INFO">${device-port} = 17908</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.841605" elapsed="0.000650"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.844742" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:20.875777" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.875972" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.844636" elapsed="0.031376"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.876710" elapsed="0.000039"/>
</kw>
<msg time="2026-04-11T23:22:20.876799" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.876155" elapsed="0.000719">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.876111" elapsed="0.000827">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:20.844350" elapsed="0.032780">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:20.843960" elapsed="0.033338"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.878004" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17908 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:20.933982" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.934291" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.877669" elapsed="0.056679"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:20.934646" elapsed="0.000169"/>
</return>
<msg time="2026-04-11T23:22:20.935480" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:20.843111" elapsed="0.092651"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:20.936412" elapsed="0.001856"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:20.842462" elapsed="0.096042"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:20.841236" elapsed="0.097441"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:20.840689" elapsed="0.098092"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.839011" elapsed="0.099897"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:20.838332" elapsed="0.100675"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.940192" level="INFO">${next} = 17909</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.939345" elapsed="0.000907"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.941272" level="INFO">${current_port} = 17909</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:20.940654" elapsed="0.000680"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.833563" elapsed="0.107858"/>
</kw>
<msg time="2026-04-11T23:22:20.941481" level="INFO">Repeating keyword, round 80/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:20.943223" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:20.943056" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.943024" elapsed="0.000298"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.943889" level="INFO">${current_Date} = 2026-04-11 23:22:20.944</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:20.943548" elapsed="0.000380"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:20.944656" level="INFO">${ellapsed_seconds} = 2690.924</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:20.944140" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.945158" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:20.944804" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:20.944775" elapsed="0.000495"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:20.942694" elapsed="0.002642"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.947213" level="INFO">${number} = 80</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.945544" elapsed="0.001709"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.949356" level="INFO">${number} = 80</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.948974" elapsed="0.000408"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:20.951143" level="INFO">${device-port} = 17909</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:20.950467" elapsed="0.000703"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.953672" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:20.987900" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:20.988117" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.953543" elapsed="0.034633"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:20.989261" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:20.989392" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:20.988338" elapsed="0.001295">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:20.988293" elapsed="0.001441">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:20.953270" elapsed="0.036741">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:20.952863" elapsed="0.037290"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:20.991191" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17909 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:21.045894" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.046100" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:20.990655" elapsed="0.055499"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:21.046347" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:21.047186" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:20.952034" elapsed="0.095373"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:21.048069" elapsed="0.001835"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:20.951375" elapsed="0.098765"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:20.950120" elapsed="0.100162"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:20.949561" elapsed="0.100818"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.948407" elapsed="0.102094"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:20.947493" elapsed="0.103133"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.051788" level="INFO">${next} = 17910</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.050966" elapsed="0.000882"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.053069" level="INFO">${current_port} = 17910</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:21.052398" elapsed="0.000729"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:20.941821" elapsed="0.111385"/>
</kw>
<msg time="2026-04-11T23:22:21.053260" level="INFO">Repeating keyword, round 81/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:21.054822" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:21.054670" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.054642" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.055373" level="INFO">${current_Date} = 2026-04-11 23:22:21.055</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:21.055156" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.056157" level="INFO">${ellapsed_seconds} = 2690.813</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:21.055718" elapsed="0.000475"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.056635" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:21.056292" elapsed="0.000420"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.056266" elapsed="0.000478"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:21.054317" elapsed="0.002491"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.057507" level="INFO">${number} = 81</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.057006" elapsed="0.000537"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.059492" level="INFO">${number} = 81</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.059027" elapsed="0.000519"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.062008" level="INFO">${device-port} = 17910</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.061081" elapsed="0.000965"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.065207" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:21.099457" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.099725" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.065112" elapsed="0.034673"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.100673" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:21.100807" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:21.099947" elapsed="0.000965">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:21.099903" elapsed="0.001098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:21.064846" elapsed="0.036416">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:21.064345" elapsed="0.037123"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.102464" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17910 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:21.157717" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.157926" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.101980" elapsed="0.056001"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:21.158170" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:21.159007" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:21.063195" elapsed="0.096027"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:21.159880" elapsed="0.001793"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:21.062328" elapsed="0.099577"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:21.060558" elapsed="0.101488"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:21.059837" elapsed="0.102306"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.058392" elapsed="0.103871"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:21.057778" elapsed="0.104580"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.163454" level="INFO">${next} = 17911</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.162722" elapsed="0.000814"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.164819" level="INFO">${current_port} = 17911</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:21.163943" elapsed="0.000972"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.053519" elapsed="0.111523"/>
</kw>
<msg time="2026-04-11T23:22:21.165128" level="INFO">Repeating keyword, round 82/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:21.167760" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:21.167346" elapsed="0.000511"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.167302" elapsed="0.000603"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.168551" level="INFO">${current_Date} = 2026-04-11 23:22:21.168</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:21.168216" elapsed="0.000426"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.169273" level="INFO">${ellapsed_seconds} = 2690.7</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:21.168856" elapsed="0.000453"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.169743" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:21.169406" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.169380" elapsed="0.000471"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:21.166819" elapsed="0.003095"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.170632" level="INFO">${number} = 82</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.170109" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.172647" level="INFO">${number} = 82</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.172167" elapsed="0.000517"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.174931" level="INFO">${device-port} = 17911</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.174059" elapsed="0.000910"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.178289" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:21.207862" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.208097" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.178159" elapsed="0.029999"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.209088" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:21.209224" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:21.208328" elapsed="0.001081">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:21.208282" elapsed="0.001225">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:21.177790" elapsed="0.032023">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:21.177237" elapsed="0.032721"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.210978" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17911 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:21.265563" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.265808" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.210431" elapsed="0.055432"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:21.266054" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:21.266946" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:21.176126" elapsed="0.091072"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:21.267952" elapsed="0.001958"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:21.175248" elapsed="0.094902"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:21.173589" elapsed="0.096704"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:21.172896" elapsed="0.097493"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.171506" elapsed="0.099005"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:21.170882" elapsed="0.099754"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.271819" level="INFO">${next} = 17912</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.270979" elapsed="0.000900"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.273117" level="INFO">${current_port} = 17912</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:21.272233" elapsed="0.000978"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.165541" elapsed="0.107798"/>
</kw>
<msg time="2026-04-11T23:22:21.273423" level="INFO">Repeating keyword, round 83/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:21.276046" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:21.275803" elapsed="0.000338"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.275760" elapsed="0.000430"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.276961" level="INFO">${current_Date} = 2026-04-11 23:22:21.277</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:21.276611" elapsed="0.000409"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.278052" level="INFO">${ellapsed_seconds} = 2690.591</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:21.277346" elapsed="0.000765"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.278895" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:21.278269" elapsed="0.000749"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.278228" elapsed="0.000843"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:21.275215" elapsed="0.003959"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.280392" level="INFO">${number} = 83</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.279542" elapsed="0.000910"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.282017" level="INFO">${number} = 83</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.281678" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.283690" level="INFO">${device-port} = 17912</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.283044" elapsed="0.000673"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.286260" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:21.315611" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.315829" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.286007" elapsed="0.029881"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.316782" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:21.316915" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:21.316051" elapsed="0.000970">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:21.316007" elapsed="0.001103">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:21.285738" elapsed="0.031638">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:21.285337" elapsed="0.032272"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.318563" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17912 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:21.377456" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.377693" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.318078" elapsed="0.059672"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:21.377938" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:21.378773" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:21.284526" elapsed="0.094465"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:21.379636" elapsed="0.001753"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:21.283921" elapsed="0.097732"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:21.282703" elapsed="0.099096"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:21.282200" elapsed="0.099695"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.281219" elapsed="0.100798"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:21.280769" elapsed="0.101342"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.383225" level="INFO">${next} = 17913</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.382450" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.384239" level="INFO">${current_port} = 17913</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:21.383711" elapsed="0.000587"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.273872" elapsed="0.110506"/>
</kw>
<msg time="2026-04-11T23:22:21.384432" level="INFO">Repeating keyword, round 84/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:21.385981" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:21.385831" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.385803" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.386473" level="INFO">${current_Date} = 2026-04-11 23:22:21.386</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:21.386264" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.387149" level="INFO">${ellapsed_seconds} = 2690.482</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:21.386731" elapsed="0.000454"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.387695" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:21.387283" elapsed="0.000489"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.387257" elapsed="0.000547"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:21.385471" elapsed="0.002395"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.388564" level="INFO">${number} = 84</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.388063" elapsed="0.000558"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.390542" level="INFO">${number} = 84</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.390075" elapsed="0.000523"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.392900" level="INFO">${device-port} = 17913</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.392024" elapsed="0.000913"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.396291" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:21.427719" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.427963" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.396041" elapsed="0.031984"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.428960" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:21.429099" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:21.428194" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:21.428149" elapsed="0.001237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:21.395773" elapsed="0.033917">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:21.395187" elapsed="0.034667"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.430885" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17913 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:21.485679" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.485821" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.430328" elapsed="0.055527"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:21.485983" elapsed="0.000092"/>
</return>
<msg time="2026-04-11T23:22:21.486446" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:21.394073" elapsed="0.092525"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:21.486972" elapsed="0.001083"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:21.393216" elapsed="0.094977"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:21.391509" elapsed="0.096770"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:21.390815" elapsed="0.097523"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.389444" elapsed="0.098970"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:21.388832" elapsed="0.099641"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.489160" level="INFO">${next} = 17914</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.488698" elapsed="0.000497"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.489933" level="INFO">${current_port} = 17914</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:21.489412" elapsed="0.000578"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.384712" elapsed="0.105357"/>
</kw>
<msg time="2026-04-11T23:22:21.490122" level="INFO">Repeating keyword, round 85/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:21.491707" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:21.491515" elapsed="0.000248"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.491490" elapsed="0.000305"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.492251" level="INFO">${current_Date} = 2026-04-11 23:22:21.492</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:21.492042" elapsed="0.000244"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.492928" level="INFO">${ellapsed_seconds} = 2690.376</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:21.492483" elapsed="0.000479"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.493366" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:21.493057" elapsed="0.000379"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.493033" elapsed="0.000434"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:21.491171" elapsed="0.002357"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.494225" level="INFO">${number} = 85</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.493742" elapsed="0.000516"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.496198" level="INFO">${number} = 85</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.495756" elapsed="0.000476"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.498506" level="INFO">${device-port} = 17914</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.497663" elapsed="0.000880"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.502103" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:21.535506" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.535711" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.501958" elapsed="0.033793"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.536372" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:22:21.536459" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:21.535880" elapsed="0.000651">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:21.535844" elapsed="0.000767">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:21.501357" elapsed="0.035455">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:21.500825" elapsed="0.036137"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.537608" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17914 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:21.593699" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.593885" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.537272" elapsed="0.056650"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:21.594076" elapsed="0.000109"/>
</return>
<msg time="2026-04-11T23:22:21.594627" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:21.499727" elapsed="0.095032"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:21.595169" elapsed="0.001191"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:21.498847" elapsed="0.097659"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:21.497169" elapsed="0.099451"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:21.496440" elapsed="0.100245"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.495078" elapsed="0.101695"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:21.494462" elapsed="0.102378"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.597549" level="INFO">${next} = 17915</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.597056" elapsed="0.000547"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.598371" level="INFO">${current_port} = 17915</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:21.597831" elapsed="0.000599"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.490392" elapsed="0.108118"/>
</kw>
<msg time="2026-04-11T23:22:21.598591" level="INFO">Repeating keyword, round 86/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:21.600224" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:21.600075" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.600048" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.600770" level="INFO">${current_Date} = 2026-04-11 23:22:21.601</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:21.600516" elapsed="0.000292"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.601444" level="INFO">${ellapsed_seconds} = 2690.267</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:21.601011" elapsed="0.000468"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.601925" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:21.601593" elapsed="0.000406"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.601549" elapsed="0.000483"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:21.599746" elapsed="0.002351"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.602806" level="INFO">${number} = 86</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.602297" elapsed="0.000546"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.604903" level="INFO">${number} = 86</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.604407" elapsed="0.000532"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.607178" level="INFO">${device-port} = 17915</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.606316" elapsed="0.000898"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.610934" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:21.643695" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.643959" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.610794" elapsed="0.033208"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.644813" elapsed="0.000041"/>
</kw>
<msg time="2026-04-11T23:22:21.644908" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:21.644175" elapsed="0.000898">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:21.644121" elapsed="0.001019">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:21.610185" elapsed="0.035167">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:21.609646" elapsed="0.035805"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.646185" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17915 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:21.702001" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.702205" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.645854" elapsed="0.056387"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:21.702404" elapsed="0.000112"/>
</return>
<msg time="2026-04-11T23:22:21.702979" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:21.608388" elapsed="0.094720"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:21.703559" elapsed="0.001375"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:21.607509" elapsed="0.097567"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:21.605857" elapsed="0.099311"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:21.605156" elapsed="0.100075"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.603809" elapsed="0.101503"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:21.603055" elapsed="0.102321"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.706114" level="INFO">${next} = 17916</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.705613" elapsed="0.000541"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.706967" level="INFO">${current_port} = 17916</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:21.706384" elapsed="0.000647"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.598887" elapsed="0.108229"/>
</kw>
<msg time="2026-04-11T23:22:21.707175" level="INFO">Repeating keyword, round 87/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:21.708885" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:21.708730" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.708697" elapsed="0.000279"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.709482" level="INFO">${current_Date} = 2026-04-11 23:22:21.709</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:21.709248" elapsed="0.000272"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.710199" level="INFO">${ellapsed_seconds} = 2690.159</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:21.709753" elapsed="0.000482"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.710700" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:21.710336" elapsed="0.000442"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.710310" elapsed="0.000499"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:21.708356" elapsed="0.002518"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.711722" level="INFO">${number} = 87</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.711077" elapsed="0.000684"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.713746" level="INFO">${number} = 87</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.713244" elapsed="0.000539"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.716255" level="INFO">${device-port} = 17916</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.715323" elapsed="0.000971"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.720004" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:21.751565" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.751781" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.719856" elapsed="0.031968"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.752502" elapsed="0.000039"/>
</kw>
<msg time="2026-04-11T23:22:21.752614" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:21.751962" elapsed="0.000729">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:21.751921" elapsed="0.000839">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:21.719187" elapsed="0.033768">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:21.718639" elapsed="0.034526"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.753849" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17916 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:21.809936" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.810147" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.753491" elapsed="0.056695"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:21.810361" elapsed="0.000114"/>
</return>
<msg time="2026-04-11T23:22:21.810955" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:21.717479" elapsed="0.093622"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:21.811565" elapsed="0.001274"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:21.716599" elapsed="0.096393"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:21.714832" elapsed="0.098258"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:21.714007" elapsed="0.099152"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.712612" elapsed="0.100633"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:21.711979" elapsed="0.101330"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.814076" level="INFO">${next} = 17917</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.813530" elapsed="0.000584"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.814943" level="INFO">${current_port} = 17917</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:21.814350" elapsed="0.000658"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.707504" elapsed="0.107587"/>
</kw>
<msg time="2026-04-11T23:22:21.815148" level="INFO">Repeating keyword, round 88/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:21.816863" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:21.816691" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.816659" elapsed="0.000295"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.817379" level="INFO">${current_Date} = 2026-04-11 23:22:21.817</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:21.817159" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.818100" level="INFO">${ellapsed_seconds} = 2690.051</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:21.817644" elapsed="0.000493"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.818590" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:21.818237" elapsed="0.000433"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.818210" elapsed="0.000495"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:21.816330" elapsed="0.002441"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.819494" level="INFO">${number} = 88</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.818973" elapsed="0.000558"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.821701" level="INFO">${number} = 88</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.821214" elapsed="0.000523"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.824124" level="INFO">${device-port} = 17917</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.823170" elapsed="0.000993"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.831017" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:21.860388" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.860762" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.830862" elapsed="0.029966"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.861944" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:22:21.862084" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:21.861055" elapsed="0.001268">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:21.860992" elapsed="0.001427">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:21.827077" elapsed="0.035669">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:21.826509" elapsed="0.036384"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.863911" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17917 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:21.918194" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.918503" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.863461" elapsed="0.055099"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:21.918846" elapsed="0.000174"/>
</return>
<msg time="2026-04-11T23:22:21.919751" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:21.825366" elapsed="0.094630"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:21.920679" elapsed="0.001851"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:21.824456" elapsed="0.098340"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:21.822678" elapsed="0.100259"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:21.821952" elapsed="0.101084"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.820597" elapsed="0.102565"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:21.819972" elapsed="0.103305"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.924416" level="INFO">${next} = 17918</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.923648" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.925893" level="INFO">${current_port} = 17918</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:21.924890" elapsed="0.001095"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.815463" elapsed="0.110649"/>
</kw>
<msg time="2026-04-11T23:22:21.926199" level="INFO">Repeating keyword, round 89/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:21.928195" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:21.928078" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.928057" elapsed="0.000204"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.928711" level="INFO">${current_Date} = 2026-04-11 23:22:21.929</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:21.928465" elapsed="0.000272"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:21.929214" level="INFO">${ellapsed_seconds} = 2689.939</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:21.928883" elapsed="0.000357"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.929556" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:21.929310" elapsed="0.000317"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:21.929292" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:21.927832" elapsed="0.001863"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.930195" level="INFO">${number} = 89</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.929837" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.931649" level="INFO">${number} = 89</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.931282" elapsed="0.000394"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:21.933496" level="INFO">${device-port} = 17918</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:21.932882" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.936212" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:21.968057" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:21.968439" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.935913" elapsed="0.032601"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:21.969799" elapsed="0.000066"/>
</kw>
<msg time="2026-04-11T23:22:21.969944" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:21.968790" elapsed="0.001264">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:21.968722" elapsed="0.001427">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:21.935625" elapsed="0.034812">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:21.935209" elapsed="0.035492"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:21.971775" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17918 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:22.025518" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.025794" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:21.971295" elapsed="0.054557"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:22.026080" elapsed="0.000169"/>
</return>
<msg time="2026-04-11T23:22:22.026976" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:21.934365" elapsed="0.092878"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:22.027923" elapsed="0.001964"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:21.933749" elapsed="0.096380"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:21.932488" elapsed="0.097811"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:21.931831" elapsed="0.098571"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.930831" elapsed="0.099699"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:21.930373" elapsed="0.100287"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.031900" level="INFO">${next} = 17919</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.031009" elapsed="0.000950"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.033258" level="INFO">${current_port} = 17919</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:22.032337" elapsed="0.001028"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:21.926684" elapsed="0.106809"/>
</kw>
<msg time="2026-04-11T23:22:22.033611" level="INFO">Repeating keyword, round 90/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:22.036031" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:22.035912" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.035887" elapsed="0.000211"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.036432" level="INFO">${current_Date} = 2026-04-11 23:22:22.036</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:22.036247" elapsed="0.000212"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.036972" level="INFO">${ellapsed_seconds} = 2689.832</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:22.036630" elapsed="0.000368"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.037319" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:22.037068" elapsed="0.000311"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.037050" elapsed="0.000354"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:22.035489" elapsed="0.001962"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.037983" level="INFO">${number} = 90</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.037615" elapsed="0.000395"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.039467" level="INFO">${number} = 90</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.039088" elapsed="0.000407"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.041246" level="INFO">${device-port} = 17919</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.040606" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.043965" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:22.080014" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.080257" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.043855" elapsed="0.036463"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.081301" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:22.081437" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:22.080502" elapsed="0.001181">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:22.080448" elapsed="0.001336">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:22.043559" elapsed="0.038522">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:22.043133" elapsed="0.039097"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.083320" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17919 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:22.137888" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.138181" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.082767" elapsed="0.055471"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:22.138476" elapsed="0.000230"/>
</return>
<msg time="2026-04-11T23:22:22.139426" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:22.042270" elapsed="0.097428"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:22.140369" elapsed="0.001969"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:22.041501" elapsed="0.101118"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:22.040199" elapsed="0.102574"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:22.039688" elapsed="0.103188"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.038639" elapsed="0.104382"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:22.038162" elapsed="0.105011"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.144137" level="INFO">${next} = 17920</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.143532" elapsed="0.000646"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.145047" level="INFO">${current_port} = 17920</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:22.144418" elapsed="0.000694"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.034088" elapsed="0.111112"/>
</kw>
<msg time="2026-04-11T23:22:22.145259" level="INFO">Repeating keyword, round 91/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:22.147055" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:22.146879" elapsed="0.000260"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.146847" elapsed="0.000425"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.147911" level="INFO">${current_Date} = 2026-04-11 23:22:22.148</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:22.147650" elapsed="0.000301"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.148690" level="INFO">${ellapsed_seconds} = 2689.72</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:22.148183" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.149209" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:22.148839" elapsed="0.000454"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.148812" elapsed="0.000517"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:22.146486" elapsed="0.002912"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.150211" level="INFO">${number} = 91</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.149640" elapsed="0.000611"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.152238" level="INFO">${number} = 91</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.151884" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.153967" level="INFO">${device-port} = 17920</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.153300" elapsed="0.000695"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.156624" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:22.188138" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.188396" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.156498" elapsed="0.031959"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.189458" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:22.189624" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:22.188692" elapsed="0.001045">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:22.188633" elapsed="0.001196">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:22.156217" elapsed="0.033892">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:22.155819" elapsed="0.034526"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.191416" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17920 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:22.245672" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.245957" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.190883" elapsed="0.055132"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:22.246257" elapsed="0.000166"/>
</return>
<msg time="2026-04-11T23:22:22.247155" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:22.154867" elapsed="0.092510"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:22.248070" elapsed="0.001890"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:22.154211" elapsed="0.095985"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:22.152944" elapsed="0.097399"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:22.152423" elapsed="0.098021"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.151234" elapsed="0.099364"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:22.150484" elapsed="0.100216"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.251825" level="INFO">${next} = 17921</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.251042" elapsed="0.000823"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.252788" level="INFO">${current_port} = 17921</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:22.252103" elapsed="0.000749"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.145599" elapsed="0.107339"/>
</kw>
<msg time="2026-04-11T23:22:22.252996" level="INFO">Repeating keyword, round 92/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:22.254809" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:22.254647" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.254615" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.255375" level="INFO">${current_Date} = 2026-04-11 23:22:22.255</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:22.255133" elapsed="0.000281"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.256126" level="INFO">${ellapsed_seconds} = 2689.613</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:22.255653" elapsed="0.000512"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.256647" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:22.256270" elapsed="0.000457"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.256242" elapsed="0.000519"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:22.254264" elapsed="0.002564"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.257649" level="INFO">${number} = 92</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.257040" elapsed="0.000650"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.259802" level="INFO">${number} = 92</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.259276" elapsed="0.000565"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.262270" level="INFO">${device-port} = 17921</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.261331" elapsed="0.000978"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.265011" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:22.299832" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.300113" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.264905" elapsed="0.035268"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.301200" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:22.301335" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:22.300379" elapsed="0.001184">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:22.300319" elapsed="0.001371">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:22.264627" elapsed="0.037527">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:22.264218" elapsed="0.038079"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.303367" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17921 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:22.358714" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.358988" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.302836" elapsed="0.056227"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:22.359302" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:22:22.360179" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:22.263390" elapsed="0.097007"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:22.361070" elapsed="0.001869"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:22.262744" elapsed="0.100457"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:22.260824" elapsed="0.102525"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:22.260070" elapsed="0.103380"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.258595" elapsed="0.105011"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:22.257918" elapsed="0.105788"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.364856" level="INFO">${next} = 17922</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.364051" elapsed="0.000864"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.366148" level="INFO">${current_port} = 17922</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:22.365266" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.253312" elapsed="0.113057"/>
</kw>
<msg time="2026-04-11T23:22:22.366457" level="INFO">Repeating keyword, round 93/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:22.368781" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:22.368550" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.368519" elapsed="0.000360"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.369421" level="INFO">${current_Date} = 2026-04-11 23:22:22.369</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:22.369176" elapsed="0.000285"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.370210" level="INFO">${ellapsed_seconds} = 2689.499</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:22.369736" elapsed="0.000513"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.370732" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:22.370355" elapsed="0.000458"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.370328" elapsed="0.000520"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:22.368187" elapsed="0.002728"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.371705" level="INFO">${number} = 93</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.371143" elapsed="0.000601"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.373881" level="INFO">${number} = 93</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.373360" elapsed="0.000560"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.376508" level="INFO">${device-port} = 17922</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.375564" elapsed="0.000983"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.381484" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:22.412701" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.412952" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.381216" elapsed="0.031798"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.413991" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:22.414131" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:22.413207" elapsed="0.001038">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:22.413153" elapsed="0.001186">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:22.380391" elapsed="0.034263">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:22.379020" elapsed="0.035878"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.415871" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17922 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:22.474070" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.474380" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.415450" elapsed="0.058993"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:22.474754" elapsed="0.000171"/>
</return>
<msg time="2026-04-11T23:22:22.475659" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:22.377813" elapsed="0.098069"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:22.476517" elapsed="0.001897"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:22.376876" elapsed="0.101810"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:22.375031" elapsed="0.103804"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:22.374259" elapsed="0.104678"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.372705" elapsed="0.106405"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:22.371970" elapsed="0.107241"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.480206" level="INFO">${next} = 17923</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.479664" elapsed="0.000581"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.481110" level="INFO">${current_port} = 17923</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:22.480485" elapsed="0.000686"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.366933" elapsed="0.114324"/>
</kw>
<msg time="2026-04-11T23:22:22.481318" level="INFO">Repeating keyword, round 94/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:22.483154" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:22.482981" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.482951" elapsed="0.000293"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.483702" level="INFO">${current_Date} = 2026-04-11 23:22:22.484</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:22.483445" elapsed="0.000294"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.484387" level="INFO">${ellapsed_seconds} = 2689.384</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:22.483940" elapsed="0.000483"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.484882" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:22.484519" elapsed="0.000437"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.484493" elapsed="0.000495"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:22.482631" elapsed="0.002420"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.485837" level="INFO">${number} = 94</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.485248" elapsed="0.000626"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.487842" level="INFO">${number} = 94</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.487351" elapsed="0.000527"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.490188" level="INFO">${device-port} = 17923</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.489285" elapsed="0.000940"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.493105" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:22.527753" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.527997" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.493001" elapsed="0.035055"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.529028" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:22.529163" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:22.528235" elapsed="0.001155">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:22.528182" elapsed="0.001310">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:22.492729" elapsed="0.037086">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:22.492325" elapsed="0.037637"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.531026" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17923 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:22.585977" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.586192" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.530439" elapsed="0.055808"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:22.586441" elapsed="0.000196"/>
</return>
<msg time="2026-04-11T23:22:22.587322" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:22.491424" elapsed="0.096120"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:22.588197" elapsed="0.001871"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:22.490510" elapsed="0.099798"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:22.488810" elapsed="0.101643"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:22.488092" elapsed="0.102465"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.486725" elapsed="0.103993"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:22.486085" elapsed="0.104730"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.591983" level="INFO">${next} = 17924</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.591175" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.593288" level="INFO">${current_port} = 17924</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:22.592395" elapsed="0.000985"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.481739" elapsed="0.111766"/>
</kw>
<msg time="2026-04-11T23:22:22.593626" level="INFO">Repeating keyword, round 95/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:22.596102" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:22.595949" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.595921" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.596698" level="INFO">${current_Date} = 2026-04-11 23:22:22.597</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:22.596444" elapsed="0.000291"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.597379" level="INFO">${ellapsed_seconds} = 2689.271</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:22.596936" elapsed="0.000479"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.597868" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:22.597512" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.597487" elapsed="0.000488"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:22.595380" elapsed="0.002658"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.598762" level="INFO">${number} = 95</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.598238" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.600768" level="INFO">${number} = 95</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.600277" elapsed="0.000527"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.603101" level="INFO">${device-port} = 17924</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.602203" elapsed="0.000935"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.606729" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:22.639489" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.639740" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.606361" elapsed="0.033439"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.640697" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:22.640830" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:22.639962" elapsed="0.000974">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:22.639918" elapsed="0.001108">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:22.605991" elapsed="0.035306">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:22.605434" elapsed="0.036067"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.642490" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17924 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:22.697309" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.697518" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.642005" elapsed="0.055603"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:22.697804" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:22.698636" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:22.604298" elapsed="0.094565"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:22.699514" elapsed="0.001827"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:22.603421" elapsed="0.098188"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:22.601734" elapsed="0.100024"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:22.601019" elapsed="0.100835"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.599666" elapsed="0.102310"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:22.599027" elapsed="0.103044"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.703198" level="INFO">${next} = 17925</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.702406" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.704509" level="INFO">${current_port} = 17925</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:22.703673" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.594056" elapsed="0.110708"/>
</kw>
<msg time="2026-04-11T23:22:22.704851" level="INFO">Repeating keyword, round 96/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:22.707313" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:22.707075" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.707032" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.708259" level="INFO">${current_Date} = 2026-04-11 23:22:22.708</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:22.707917" elapsed="0.000400"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.709341" level="INFO">${ellapsed_seconds} = 2689.16</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:22.708668" elapsed="0.000731"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.710093" elapsed="0.000047"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:22.709555" elapsed="0.000656"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.709513" elapsed="0.000749"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:22.706505" elapsed="0.003855"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.711553" level="INFO">${number} = 96</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.710709" elapsed="0.000941"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.713040" level="INFO">${number} = 96</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.712708" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.714681" level="INFO">${device-port} = 17925</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.714053" elapsed="0.000658"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.717247" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:22.747303" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.747517" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.717000" elapsed="0.030612"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.748477" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:22.748640" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:22.747781" elapsed="0.001043">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:22.747736" elapsed="0.001183">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:22.716734" elapsed="0.032450">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:22.716332" elapsed="0.032992"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.750317" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17925 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:22.810342" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.810552" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.749835" elapsed="0.060813"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:22.810837" elapsed="0.000169"/>
</return>
<msg time="2026-04-11T23:22:22.811683" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:22.715528" elapsed="0.096512"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:22.812656" elapsed="0.001774"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:22.714912" elapsed="0.099785"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:22.713718" elapsed="0.101120"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:22.713218" elapsed="0.101734"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.712258" elapsed="0.102817"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:22.711823" elapsed="0.103345"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.816256" level="INFO">${next} = 17926</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.815501" elapsed="0.000814"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.817558" level="INFO">${current_port} = 17926</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:22.816728" elapsed="0.000959"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.705263" elapsed="0.112548"/>
</kw>
<msg time="2026-04-11T23:22:22.817896" level="INFO">Repeating keyword, round 97/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:22.820047" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:22.819939" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.819920" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.820448" level="INFO">${current_Date} = 2026-04-11 23:22:22.820</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:22.820288" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.820946" level="INFO">${ellapsed_seconds} = 2689.048</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:22.820634" elapsed="0.000338"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.821270" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:22.821042" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.821023" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:22.819701" elapsed="0.001690"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.821911" level="INFO">${number} = 97</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.821531" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.823343" level="INFO">${number} = 97</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.823009" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.825010" level="INFO">${device-port} = 17926</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.824375" elapsed="0.000661"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.827550" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:22.863208" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.863427" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.827452" elapsed="0.036032"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.864379" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:22.864510" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:22.863687" elapsed="0.000958">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:22.863640" elapsed="0.001098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:22.827040" elapsed="0.037965">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:22.826646" elapsed="0.038560"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.866231" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17926 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:22.925625" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.925831" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.865749" elapsed="0.060135"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:22.926073" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:22.926915" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:22.825853" elapsed="0.101278"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:22.927758" elapsed="0.001795"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:22.825237" elapsed="0.104735"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:22.824037" elapsed="0.106076"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:22.823524" elapsed="0.106685"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.822524" elapsed="0.107806"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:22.822088" elapsed="0.108337"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.931543" level="INFO">${next} = 17927</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.930795" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.932861" level="INFO">${current_port} = 17927</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:22.931983" elapsed="0.000973"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.818308" elapsed="0.114774"/>
</kw>
<msg time="2026-04-11T23:22:22.933271" level="INFO">Repeating keyword, round 98/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:22.934650" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:22.934526" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.934507" elapsed="0.000211"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.935024" level="INFO">${current_Date} = 2026-04-11 23:22:22.935</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:22.934870" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:22.935492" level="INFO">${ellapsed_seconds} = 2688.933</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:22.935192" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.935830" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:22.935602" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:22.935582" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:22.934290" elapsed="0.001659"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.936443" level="INFO">${number} = 98</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.936088" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.937885" level="INFO">${number} = 98</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.937509" elapsed="0.000402"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:22.939528" level="INFO">${device-port} = 17927</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:22.938911" elapsed="0.000643"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.942106" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:22.979415" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:22.979665" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.942011" elapsed="0.037714"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:22.980612" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:22.980744" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:22.979888" elapsed="0.001079">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:22.979843" elapsed="0.001222">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:22.941599" elapsed="0.039736">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:22.941202" elapsed="0.040273"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:22.982467" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17927 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:23.037116" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.037319" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:22.981989" elapsed="0.055383"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:23.037562" elapsed="0.000201"/>
</return>
<msg time="2026-04-11T23:22:23.038405" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:22.940387" elapsed="0.098279"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:23.039286" elapsed="0.001828"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:22.939782" elapsed="0.101568"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:22.938545" elapsed="0.102947"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:22.938063" elapsed="0.103557"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.937072" elapsed="0.104674"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:22.936634" elapsed="0.105205"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.042995" level="INFO">${next} = 17928</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.042171" elapsed="0.000883"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.044075" level="INFO">${current_port} = 17928</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:23.043404" elapsed="0.000729"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:22.933741" elapsed="0.110469"/>
</kw>
<msg time="2026-04-11T23:22:23.044264" level="INFO">Repeating keyword, round 99/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:23.045801" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:23.045650" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.045622" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.046341" level="INFO">${current_Date} = 2026-04-11 23:22:23.046</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:23.046129" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.047096" level="INFO">${ellapsed_seconds} = 2688.822</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:23.046653" elapsed="0.000479"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.047547" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:23.047230" elapsed="0.000413"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.047205" elapsed="0.000471"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:23.045304" elapsed="0.002434"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.048431" level="INFO">${number} = 99</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.047935" elapsed="0.000532"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.050400" level="INFO">${number} = 99</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.049936" elapsed="0.000501"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.052814" level="INFO">${device-port} = 17928</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.051939" elapsed="0.000913"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.056246" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:23.087489" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.087737" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.056151" elapsed="0.031645"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.088686" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:23.088817" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:23.087956" elapsed="0.000964">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:23.087913" elapsed="0.001095">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:23.055727" elapsed="0.033543">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:23.055195" elapsed="0.034284"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.090472" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17928 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:23.145264" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.145468" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.089991" elapsed="0.055531"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:23.145750" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:23.146533" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:23.054003" elapsed="0.092844"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:23.147444" elapsed="0.001778"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:23.053133" elapsed="0.096322"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:23.051431" elapsed="0.098195"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:23.050729" elapsed="0.099001"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.049309" elapsed="0.100545"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:23.048697" elapsed="0.101252"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.151068" level="INFO">${next} = 17929</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.150285" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.152386" level="INFO">${current_port} = 17929</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:23.151479" elapsed="0.001001"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.044518" elapsed="0.108121"/>
</kw>
<msg time="2026-04-11T23:22:23.152730" level="INFO">Repeating keyword, round 100/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:23.155237" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:23.154991" elapsed="0.000338"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.154948" elapsed="0.000429"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.156170" level="INFO">${current_Date} = 2026-04-11 23:22:23.156</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:23.155813" elapsed="0.000415"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.157245" level="INFO">${ellapsed_seconds} = 2688.712</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:23.156547" elapsed="0.000755"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.157997" elapsed="0.000048"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:23.157456" elapsed="0.000662"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.157415" elapsed="0.000753"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:23.154394" elapsed="0.003873"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.159462" level="INFO">${number} = 100</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.158611" elapsed="0.000909"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.161046" level="INFO">${number} = 100</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.160707" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.162890" level="INFO">${device-port} = 17929</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.162231" elapsed="0.000686"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.167975" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:23.199908" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.200131" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.167868" elapsed="0.032322"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.201167" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:23.201299" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:23.200364" elapsed="0.001130">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:23.200317" elapsed="0.001305">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:23.164957" elapsed="0.036976">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:23.164549" elapsed="0.037526"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.203090" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17929 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:23.257284" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.257486" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.202545" elapsed="0.054995"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:23.257770" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:23.258554" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:23.163751" elapsed="0.095094"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:23.259431" elapsed="0.001809"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:23.163120" elapsed="0.098357"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:23.161725" elapsed="0.099926"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:23.161225" elapsed="0.100527"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.160253" elapsed="0.101621"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:23.159811" elapsed="0.102156"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.263092" level="INFO">${next} = 17930</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.262297" elapsed="0.000854"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.264407" level="INFO">${current_port} = 17930</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:23.263501" elapsed="0.000997"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.153144" elapsed="0.111515"/>
</kw>
<msg time="2026-04-11T23:22:23.264750" level="INFO">Repeating keyword, round 101/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:23.267398" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:23.267056" elapsed="0.000437"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.267014" elapsed="0.000527"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.268140" level="INFO">${current_Date} = 2026-04-11 23:22:23.268</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:23.267922" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.268823" level="INFO">${ellapsed_seconds} = 2688.6</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:23.268374" elapsed="0.000485"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.269310" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:23.268956" elapsed="0.000429"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.268931" elapsed="0.000487"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:23.266414" elapsed="0.003067"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.270193" level="INFO">${number} = 101</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.269697" elapsed="0.000532"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.272204" level="INFO">${number} = 101</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.271740" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.274529" level="INFO">${device-port} = 17930</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.273654" elapsed="0.000912"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.342791" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:23.355009" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.355195" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.278408" elapsed="0.076825"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.355961" elapsed="0.000042"/>
</kw>
<msg time="2026-04-11T23:22:23.356053" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:23.355378" elapsed="0.000745">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:23.355336" elapsed="0.000847">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:23.278140" elapsed="0.078225">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:23.277756" elapsed="0.078774"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.357206" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17930 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:23.417561" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.417800" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.356891" elapsed="0.060964"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:23.418047" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:23.418893" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:23.276945" elapsed="0.142166"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:23.419735" elapsed="0.001808"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:23.276140" elapsed="0.145676"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:23.273159" elapsed="0.148803"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:23.272454" elapsed="0.149607"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.271090" elapsed="0.151091"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:23.270440" elapsed="0.151835"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.423415" level="INFO">${next} = 17931</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.422640" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.424765" level="INFO">${current_port} = 17931</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:23.423882" elapsed="0.000978"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.265159" elapsed="0.159825"/>
</kw>
<msg time="2026-04-11T23:22:23.425071" level="INFO">Repeating keyword, round 102/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:23.427777" elapsed="0.000042"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:23.427360" elapsed="0.000526"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.427317" elapsed="0.000597"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.428230" level="INFO">${current_Date} = 2026-04-11 23:22:23.428</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:23.428062" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.428735" level="INFO">${ellapsed_seconds} = 2688.44</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:23.428401" elapsed="0.000361"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.429073" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:23.428833" elapsed="0.000292"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.428814" elapsed="0.000335"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:23.426831" elapsed="0.002364"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.429714" level="INFO">${number} = 102</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.429338" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.431145" level="INFO">${number} = 102</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.430808" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.432835" level="INFO">${device-port} = 17931</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.432188" elapsed="0.000674"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.435518" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:23.471094" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.471305" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.435423" elapsed="0.035940"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.472254" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:23.472384" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:23.471524" elapsed="0.001040">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:23.471481" elapsed="0.001211">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:23.435153" elapsed="0.037804">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:23.434517" elapsed="0.038578"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.474077" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17931 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:23.529822" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.530024" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.473556" elapsed="0.056523"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:23.530265" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:23.531110" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:23.433701" elapsed="0.097626"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:23.531959" elapsed="0.001796"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:23.433068" elapsed="0.100923"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:23.431849" elapsed="0.102285"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:23.431328" elapsed="0.102902"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.430341" elapsed="0.104011"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:23.429898" elapsed="0.104546"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.535562" level="INFO">${next} = 17932</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.534826" elapsed="0.000847"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.536898" level="INFO">${current_port} = 17932</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:23.536028" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.425485" elapsed="0.111639"/>
</kw>
<msg time="2026-04-11T23:22:23.537209" level="INFO">Repeating keyword, round 103/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:23.539860" elapsed="0.000025"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:23.539478" elapsed="0.000436"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.539436" elapsed="0.000500"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.540268" level="INFO">${current_Date} = 2026-04-11 23:22:23.540</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:23.540114" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.540752" level="INFO">${ellapsed_seconds} = 2688.328</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:23.540436" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.541079" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:23.540852" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.540834" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:23.538946" elapsed="0.002255"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.541718" level="INFO">${number} = 103</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.541342" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.543132" level="INFO">${number} = 103</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.542799" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.544829" level="INFO">${device-port} = 17932</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.544193" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.547588" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:23.587190" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.587407" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.547478" elapsed="0.039987"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.588356" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:23.588487" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:23.587667" elapsed="0.000954">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:23.587619" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:23.547209" elapsed="0.041770">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:23.546819" elapsed="0.042362"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.590175" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17932 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:23.645481" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.645719" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.589686" elapsed="0.056089"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:23.645964" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:23.646818" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:23.545821" elapsed="0.101213"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:23.647659" elapsed="0.001749"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:23.545057" elapsed="0.104623"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:23.543857" elapsed="0.105971"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:23.543313" elapsed="0.106613"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.542336" elapsed="0.107712"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:23.541893" elapsed="0.108250"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.651359" level="INFO">${next} = 17933</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.650476" elapsed="0.000941"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.652354" level="INFO">${current_port} = 17933</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:23.651820" elapsed="0.000591"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.537651" elapsed="0.114838"/>
</kw>
<msg time="2026-04-11T23:22:23.652542" level="INFO">Repeating keyword, round 104/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:23.654071" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:23.653923" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.653896" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.654558" level="INFO">${current_Date} = 2026-04-11 23:22:23.654</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:23.654351" elapsed="0.000352"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.655322" level="INFO">${ellapsed_seconds} = 2688.214</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:23.654907" elapsed="0.000450"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.655790" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:23.655453" elapsed="0.000410"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.655427" elapsed="0.000468"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:23.653593" elapsed="0.002364"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.656668" level="INFO">${number} = 104</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.656151" elapsed="0.000553"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.658646" level="INFO">${number} = 104</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.658150" elapsed="0.000534"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.660933" level="INFO">${device-port} = 17933</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.660054" elapsed="0.000917"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.664423" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:23.699678" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.699888" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.664329" elapsed="0.035617"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.700823" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:23.700955" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:23.700106" elapsed="0.001025">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:23.700061" elapsed="0.001164">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:23.664061" elapsed="0.037425">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:23.663513" elapsed="0.038142"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.702671" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17933 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:23.757182" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.757385" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.702109" elapsed="0.055330"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:23.757671" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:23.758459" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:23.662363" elapsed="0.096376"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:23.759331" elapsed="0.001812"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:23.661252" elapsed="0.100127"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:23.659566" elapsed="0.101955"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:23.658897" elapsed="0.102755"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.657526" elapsed="0.104251"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:23.656919" elapsed="0.104952"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.763021" level="INFO">${next} = 17934</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.762207" elapsed="0.000874"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.764128" level="INFO">${current_port} = 17934</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:23.763432" elapsed="0.000754"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.652820" elapsed="0.111443"/>
</kw>
<msg time="2026-04-11T23:22:23.764315" level="INFO">Repeating keyword, round 105/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:23.765841" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:23.765693" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.765668" elapsed="0.000260"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.766378" level="INFO">${current_Date} = 2026-04-11 23:22:23.766</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:23.766167" elapsed="0.000247"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.767126" level="INFO">${ellapsed_seconds} = 2688.102</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:23.766706" elapsed="0.000455"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.767590" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:23.767258" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.767233" elapsed="0.000466"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:23.765346" elapsed="0.002415"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.768459" level="INFO">${number} = 105</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.767959" elapsed="0.000536"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.770430" level="INFO">${number} = 105</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.769969" elapsed="0.000497"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.772825" level="INFO">${device-port} = 17934</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.771952" elapsed="0.000910"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.775867" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:23.810871" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.811004" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.775772" elapsed="0.035267"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.811595" elapsed="0.000038"/>
</kw>
<msg time="2026-04-11T23:22:23.811684" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:23.811139" elapsed="0.000626">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:23.811112" elapsed="0.000741">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:23.775486" elapsed="0.036636">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:23.775102" elapsed="0.037229"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.813336" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17934 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:23.873612" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.873822" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.812851" elapsed="0.061025"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:23.874065" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:23.874917" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:23.774278" elapsed="0.100857"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:23.875766" elapsed="0.001787"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:23.773143" elapsed="0.104680"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:23.771452" elapsed="0.106514"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:23.770771" elapsed="0.107292"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.769341" elapsed="0.108842"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:23.768727" elapsed="0.109550"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.879394" level="INFO">${next} = 17935</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.878661" elapsed="0.000791"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.880728" level="INFO">${current_port} = 17935</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:23.879859" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.764587" elapsed="0.116365"/>
</kw>
<msg time="2026-04-11T23:22:23.881037" level="INFO">Repeating keyword, round 106/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:23.883693" elapsed="0.000045"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:23.883337" elapsed="0.000474"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.883295" elapsed="0.000574"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.884204" level="INFO">${current_Date} = 2026-04-11 23:22:23.884</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:23.884054" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.884686" level="INFO">${ellapsed_seconds} = 2687.984</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:23.884371" elapsed="0.000340"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.885007" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:23.884781" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.884762" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:23.882812" elapsed="0.002313"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.885636" level="INFO">${number} = 106</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.885265" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.887129" level="INFO">${number} = 106</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.886708" elapsed="0.000450"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.888808" level="INFO">${device-port} = 17935</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.888177" elapsed="0.000658"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.891397" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:23.923351" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.923562" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.891303" elapsed="0.032374"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.924608" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:23.924744" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:23.923881" elapsed="0.001041">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:23.923834" elapsed="0.001182">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:23.891038" elapsed="0.034239">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:23.890656" elapsed="0.034758"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.926397" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17935 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:23.981020" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:23.981225" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.925917" elapsed="0.055363"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:23.981469" elapsed="0.000187"/>
</return>
<msg time="2026-04-11T23:22:23.982300" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:23.889836" elapsed="0.092707"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:23.983189" elapsed="0.001806"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:23.889035" elapsed="0.096198"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:23.887839" elapsed="0.097536"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:23.887313" elapsed="0.098159"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.886249" elapsed="0.099374"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:23.885812" elapsed="0.099908"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.986852" level="INFO">${next} = 17936</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.986052" elapsed="0.000861"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.988192" level="INFO">${current_port} = 17936</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:23.987314" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.881446" elapsed="0.106964"/>
</kw>
<msg time="2026-04-11T23:22:23.988493" level="INFO">Repeating keyword, round 107/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:23.991019" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:23.990891" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.990840" elapsed="0.000242"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.991413" level="INFO">${current_Date} = 2026-04-11 23:22:23.991</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:23.991262" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:23.991899" level="INFO">${ellapsed_seconds} = 2687.877</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:23.991597" elapsed="0.000328"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:23.992221" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:23.991995" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:23.991976" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:23.990174" elapsed="0.002168"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.992860" level="INFO">${number} = 107</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.992482" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.994254" level="INFO">${number} = 107</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.993922" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:23.995961" level="INFO">${device-port} = 17936</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:23.995331" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:23.998668" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:24.031535" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.031780" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:23.998555" elapsed="0.033283"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.032717" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:24.032850" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:24.032001" elapsed="0.000953">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:24.031957" elapsed="0.001085">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:23.998261" elapsed="0.035041">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:23.997873" elapsed="0.035628"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.034525" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17936 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:24.089166" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.089366" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.033994" elapsed="0.055425"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:24.089657" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:24.090465" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:23.997062" elapsed="0.093666"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:24.091321" elapsed="0.001796"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:23.996190" elapsed="0.097162"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:23.994994" elapsed="0.098501"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:23.994435" elapsed="0.099187"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.993472" elapsed="0.100275"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:23.993037" elapsed="0.100804"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.094958" level="INFO">${next} = 17937</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.094173" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.096236" level="INFO">${current_port} = 17937</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:24.095363" elapsed="0.000966"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:23.988936" elapsed="0.107516"/>
</kw>
<msg time="2026-04-11T23:22:24.096536" level="INFO">Repeating keyword, round 108/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:24.099043" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:24.098929" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.098890" elapsed="0.000216"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.099395" level="INFO">${current_Date} = 2026-04-11 23:22:24.099</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:24.099246" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.099877" level="INFO">${ellapsed_seconds} = 2687.769</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:24.099565" elapsed="0.000338"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.100195" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:24.099972" elapsed="0.000275"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.099954" elapsed="0.000316"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:24.098214" elapsed="0.002100"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.100827" level="INFO">${number} = 108</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.100455" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.102316" level="INFO">${number} = 108</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.101983" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.104021" level="INFO">${device-port} = 17937</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.103393" elapsed="0.000655"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.106630" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:24.139294" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.139507" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.106515" elapsed="0.033050"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.140452" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:24.140612" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:24.139767" elapsed="0.001033">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:24.139722" elapsed="0.001173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:24.106237" elapsed="0.034924">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:24.105855" elapsed="0.035445"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.142282" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17937 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:24.197095" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.197295" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.141801" elapsed="0.055548"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:24.197538" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:22:24.198371" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:24.105046" elapsed="0.093609"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:24.199244" elapsed="0.001803"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:24.104249" elapsed="0.097035"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:24.103060" elapsed="0.098366"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:24.102510" elapsed="0.099013"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.101436" elapsed="0.100242"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:24.101002" elapsed="0.100770"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.202892" level="INFO">${next} = 17938</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.202104" elapsed="0.000848"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.204161" level="INFO">${current_port} = 17938</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:24.203300" elapsed="0.000954"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.096981" elapsed="0.107397"/>
</kw>
<msg time="2026-04-11T23:22:24.204462" level="INFO">Repeating keyword, round 109/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:24.207086" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:24.206846" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.206796" elapsed="0.000354"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.207476" level="INFO">${current_Date} = 2026-04-11 23:22:24.207</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:24.207324" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.207962" level="INFO">${ellapsed_seconds} = 2687.661</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:24.207663" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.208279" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:24.208057" elapsed="0.000274"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.208039" elapsed="0.000315"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:24.206134" elapsed="0.002264"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.208915" level="INFO">${number} = 109</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.208538" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.210306" level="INFO">${number} = 109</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.209973" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.212014" level="INFO">${device-port} = 17938</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.211379" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.214605" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:24.247329" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.247539" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.214495" elapsed="0.033141"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.248489" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:24.248652" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:24.247805" elapsed="0.000954">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:24.247760" elapsed="0.001088">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:24.214219" elapsed="0.034890">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:24.213837" elapsed="0.035472"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.250310" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17938 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:24.305083" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.305284" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.249823" elapsed="0.055514"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:24.305524" elapsed="0.000193"/>
</return>
<msg time="2026-04-11T23:22:24.306379" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:24.213036" elapsed="0.093604"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:24.307257" elapsed="0.001779"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:24.212240" elapsed="0.097026"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:24.211047" elapsed="0.098361"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:24.210503" elapsed="0.099001"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.209524" elapsed="0.100134"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:24.209090" elapsed="0.100667"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.310878" level="INFO">${next} = 17939</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.310090" elapsed="0.000846"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.312149" level="INFO">${current_port} = 17939</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:24.311282" elapsed="0.000960"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.204899" elapsed="0.107572"/>
</kw>
<msg time="2026-04-11T23:22:24.312559" level="INFO">Repeating keyword, round 110/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:24.315160" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:24.314951" elapsed="0.000251"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.314901" elapsed="0.000322"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.315512" level="INFO">${current_Date} = 2026-04-11 23:22:24.315</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:24.315363" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.315993" level="INFO">${ellapsed_seconds} = 2687.553</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:24.315695" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.316311" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:24.316088" elapsed="0.000275"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.316069" elapsed="0.000317"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:24.314248" elapsed="0.002182"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.316945" level="INFO">${number} = 110</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.316588" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.318333" level="INFO">${number} = 110</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.318005" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.320028" level="INFO">${device-port} = 17939</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.319403" elapsed="0.000651"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.322603" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:24.355405" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.355649" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.322494" elapsed="0.033215"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.356549" elapsed="0.000086"/>
</kw>
<msg time="2026-04-11T23:22:24.356711" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:24.355867" elapsed="0.001023">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:24.355824" elapsed="0.001162">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:24.322220" elapsed="0.035034">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:24.321840" elapsed="0.035554"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.358403" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17939 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:24.417226" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.417428" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.357898" elapsed="0.059584"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:24.417702" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:24.418529" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:24.321045" elapsed="0.097746"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:24.419375" elapsed="0.001780"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:24.320255" elapsed="0.101134"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:24.319066" elapsed="0.102465"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:24.318524" elapsed="0.103138"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.317554" elapsed="0.104232"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:24.317119" elapsed="0.104759"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.422992" level="INFO">${next} = 17940</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.422209" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.424416" level="INFO">${current_port} = 17940</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:24.423399" elapsed="0.001110"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.313011" elapsed="0.111656"/>
</kw>
<msg time="2026-04-11T23:22:24.424754" level="INFO">Repeating keyword, round 111/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:24.427217" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:24.426979" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.426936" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.428202" level="INFO">${current_Date} = 2026-04-11 23:22:24.428</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:24.427861" elapsed="0.000399"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.429276" level="INFO">${ellapsed_seconds} = 2687.44</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:24.428610" elapsed="0.000723"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.430022" elapsed="0.000046"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:24.429486" elapsed="0.000652"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.429446" elapsed="0.000744"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:24.426420" elapsed="0.003871"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.431195" level="INFO">${number} = 111</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.430688" elapsed="0.000533"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.432621" level="INFO">${number} = 111</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.432275" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.434234" level="INFO">${device-port} = 17940</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.433638" elapsed="0.000623"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.436826" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:24.471703" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.471914" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.436731" elapsed="0.035240"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.472858" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:24.472991" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:24.472130" elapsed="0.000964">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:24.472087" elapsed="0.001095">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:24.436450" elapsed="0.036991">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:24.436069" elapsed="0.037603"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.474708" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17940 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:24.529317" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.529524" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.474135" elapsed="0.055677"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:24.530011" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:24.530864" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:24.435268" elapsed="0.095811"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:24.531703" elapsed="0.001741"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:24.434475" elapsed="0.099232"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:24.433283" elapsed="0.100567"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:24.432803" elapsed="0.101143"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.431841" elapsed="0.102224"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:24.431371" elapsed="0.102788"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.535278" level="INFO">${next} = 17941</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.534516" elapsed="0.000821"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.536603" level="INFO">${current_port} = 17941</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:24.535744" elapsed="0.000954"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.425164" elapsed="0.111657"/>
</kw>
<msg time="2026-04-11T23:22:24.536905" level="INFO">Repeating keyword, round 112/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:24.539134" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:24.539027" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.539008" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.539483" level="INFO">${current_Date} = 2026-04-11 23:22:24.539</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:24.539335" elapsed="0.000174"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.540010" level="INFO">${ellapsed_seconds} = 2687.329</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:24.539712" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.540328" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:24.540104" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.540085" elapsed="0.000318"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:24.538624" elapsed="0.001823"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.540958" level="INFO">${number} = 112</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.540602" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.542355" level="INFO">${number} = 112</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.542011" elapsed="0.000370"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.544005" level="INFO">${device-port} = 17941</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.543364" elapsed="0.000668"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.546586" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:24.583743" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.583961" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.546478" elapsed="0.037540"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.584915" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:24.585046" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:24.584180" elapsed="0.001054">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:24.584136" elapsed="0.001193">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:24.546196" elapsed="0.039427">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:24.545812" elapsed="0.039954"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.586808" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17941 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:24.645993" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.646195" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.586226" elapsed="0.060039"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:24.646454" elapsed="0.000192"/>
</return>
<msg time="2026-04-11T23:22:24.647458" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:24.545022" elapsed="0.102700"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:24.648310" elapsed="0.001805"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:24.544231" elapsed="0.106181"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:24.543032" elapsed="0.107524"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:24.542535" elapsed="0.108150"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.541561" elapsed="0.109263"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:24.541131" elapsed="0.109769"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.651564" level="INFO">${next} = 17942</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.651110" elapsed="0.000521"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.652366" level="INFO">${current_port} = 17942</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:24.651852" elapsed="0.000571"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.537313" elapsed="0.115314"/>
</kw>
<msg time="2026-04-11T23:22:24.652687" level="INFO">Repeating keyword, round 113/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:24.654271" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:24.654107" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.654080" elapsed="0.000281"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.654845" level="INFO">${current_Date} = 2026-04-11 23:22:24.655</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:24.654629" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.655492" level="INFO">${ellapsed_seconds} = 2687.213</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:24.655082" elapsed="0.000446"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.655960" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:24.655647" elapsed="0.000388"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.655621" elapsed="0.000446"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:24.653777" elapsed="0.002353"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.656853" level="INFO">${number} = 113</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.656327" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.658917" level="INFO">${number} = 113</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.658429" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.661304" level="INFO">${device-port} = 17942</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.660421" elapsed="0.000921"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.665290" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:24.695624" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.695837" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.665196" elapsed="0.030699"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.696772" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:24.696904" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:24.696054" elapsed="0.000952">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:24.696010" elapsed="0.001085">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:24.664932" elapsed="0.032422">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:24.664530" elapsed="0.033025"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.698550" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17942 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:24.753495" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.753737" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.698051" elapsed="0.055742"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:24.753980" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:24.754849" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:24.663746" elapsed="0.091323"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:24.755693" elapsed="0.001776"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:24.661652" elapsed="0.096088"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:24.659950" elapsed="0.097937"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:24.659167" elapsed="0.098817"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.657803" elapsed="0.100304"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:24.657100" elapsed="0.101125"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.759323" level="INFO">${next} = 17943</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.758595" elapsed="0.000785"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.760647" level="INFO">${current_port} = 17943</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:24.759783" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.652948" elapsed="0.107918"/>
</kw>
<msg time="2026-04-11T23:22:24.760950" level="INFO">Repeating keyword, round 114/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:24.763062" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:24.762957" elapsed="0.000146"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.762938" elapsed="0.000186"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.763410" level="INFO">${current_Date} = 2026-04-11 23:22:24.763</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:24.763262" elapsed="0.000174"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.763937" level="INFO">${ellapsed_seconds} = 2687.105</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:24.763637" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.764257" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:24.764032" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.764014" elapsed="0.000318"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:24.762663" elapsed="0.001713"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.764946" level="INFO">${number} = 114</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.764515" elapsed="0.000461"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.766360" level="INFO">${number} = 114</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.766015" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.768025" level="INFO">${device-port} = 17943</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.767376" elapsed="0.000676"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.770631" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:24.807541" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.807785" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.770521" elapsed="0.037322"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.808720" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:24.808855" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:24.808002" elapsed="0.001032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:24.807958" elapsed="0.001171">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:24.770256" elapsed="0.039138">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:24.769860" elapsed="0.039670"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.810557" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17943 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:24.865511" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.865753" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.810022" elapsed="0.055787"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:24.865999" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:24.866859" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:24.768874" elapsed="0.098204"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:24.867702" elapsed="0.001771"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:24.768253" elapsed="0.101490"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:24.767041" elapsed="0.102848"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:24.766537" elapsed="0.103449"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.765564" elapsed="0.104546"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:24.765128" elapsed="0.105098"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.871327" level="INFO">${next} = 17944</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.870564" elapsed="0.000821"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.872655" level="INFO">${current_port} = 17944</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:24.871789" elapsed="0.000962"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.761359" elapsed="0.111520"/>
</kw>
<msg time="2026-04-11T23:22:24.872961" level="INFO">Repeating keyword, round 115/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:24.875112" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:24.875006" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.874987" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.875497" level="INFO">${current_Date} = 2026-04-11 23:22:24.875</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:24.875346" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.876044" level="INFO">${ellapsed_seconds} = 2686.993</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:24.875743" elapsed="0.000327"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.876366" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:24.876139" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.876121" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:24.874680" elapsed="0.001806"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.877006" level="INFO">${number} = 115</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.876644" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.878412" level="INFO">${number} = 115</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.878064" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.880067" level="INFO">${device-port} = 17944</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.879426" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.882783" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:24.919909" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.920122" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.882686" elapsed="0.037496"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.921075" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:24.921206" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:24.920342" elapsed="0.000968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:24.920298" elapsed="0.001099">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:24.882404" elapsed="0.039289">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:24.881808" elapsed="0.040098"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.922929" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17944 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:24.977707" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:24.977909" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.922396" elapsed="0.055567"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:24.978176" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:24.979018" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:24.881003" elapsed="0.098234"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:24.979884" elapsed="0.001818"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:24.880293" elapsed="0.101648"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:24.879090" elapsed="0.102995"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:24.878607" elapsed="0.103597"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.877630" elapsed="0.104697"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:24.877180" elapsed="0.105240"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.983519" level="INFO">${next} = 17945</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.982788" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.984843" level="INFO">${current_port} = 17945</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:24.983982" elapsed="0.000956"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.873370" elapsed="0.111694"/>
</kw>
<msg time="2026-04-11T23:22:24.985149" level="INFO">Repeating keyword, round 116/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:24.987195" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:24.987089" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.987070" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.987544" level="INFO">${current_Date} = 2026-04-11 23:22:24.987</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:24.987396" elapsed="0.000228"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:24.988070" level="INFO">${ellapsed_seconds} = 2686.881</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:24.987772" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:24.988387" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:24.988164" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:24.988146" elapsed="0.000316"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:24.986854" elapsed="0.001653"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.989017" level="INFO">${number} = 116</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.988662" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.990420" level="INFO">${number} = 116</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.990076" elapsed="0.000370"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:24.992085" level="INFO">${device-port} = 17945</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:24.991427" elapsed="0.000684"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:24.994788" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:25.031488" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.031739" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:24.994690" elapsed="0.037109"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.032677" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:25.032812" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:25.031961" elapsed="0.001030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:25.031917" elapsed="0.001169">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:24.994396" elapsed="0.038955">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:24.993736" elapsed="0.039752"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.034524" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17945 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:25.089632" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.089835" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.033986" elapsed="0.055902"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:25.090076" elapsed="0.000171"/>
</return>
<msg time="2026-04-11T23:22:25.090932" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:24.992934" elapsed="0.098217"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:25.091777" elapsed="0.001763"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:24.992313" elapsed="0.101504"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:24.991094" elapsed="0.102863"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:24.990613" elapsed="0.103439"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.989642" elapsed="0.104553"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:24.989192" elapsed="0.105095"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.095378" level="INFO">${next} = 17946</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.094649" elapsed="0.000787"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.096708" level="INFO">${current_port} = 17946</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:25.095843" elapsed="0.000960"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:24.985558" elapsed="0.111371"/>
</kw>
<msg time="2026-04-11T23:22:25.097013" level="INFO">Repeating keyword, round 117/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:25.099216" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:25.099069" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.099042" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.099830" level="INFO">${current_Date} = 2026-04-11 23:22:25.100</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:25.099556" elapsed="0.000310"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.100483" level="INFO">${ellapsed_seconds} = 2686.768</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:25.100070" elapsed="0.000449"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.100980" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:25.100659" elapsed="0.000396"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.100631" elapsed="0.000456"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:25.098739" elapsed="0.002411"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.101881" level="INFO">${number} = 117</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.101346" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.103909" level="INFO">${number} = 117</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.103394" elapsed="0.000551"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.106289" level="INFO">${device-port} = 17946</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.105386" elapsed="0.000940"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.109934" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:25.143427" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.143675" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.109801" elapsed="0.033934"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.144613" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:25.144748" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:25.143897" elapsed="0.000955">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:25.143853" elapsed="0.001088">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:25.109403" elapsed="0.035801">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:25.108627" elapsed="0.036777"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.146446" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17946 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:25.201857" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.202078" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.145912" elapsed="0.056221"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:25.202320" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:25.203154" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:25.107480" elapsed="0.095892"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:25.204013" elapsed="0.001812"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:25.106639" elapsed="0.099442"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:25.104917" elapsed="0.101310"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:25.104159" elapsed="0.102164"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.102782" elapsed="0.103662"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:25.102139" elapsed="0.104400"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.207688" level="INFO">${next} = 17947</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.206907" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.208956" level="INFO">${current_port} = 17947</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:25.208096" elapsed="0.000954"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.097424" elapsed="0.111750"/>
</kw>
<msg time="2026-04-11T23:22:25.209257" level="INFO">Repeating keyword, round 118/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:25.211258" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:25.211153" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.211134" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.211668" level="INFO">${current_Date} = 2026-04-11 23:22:25.212</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:25.211461" elapsed="0.000235"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.212138" level="INFO">${ellapsed_seconds} = 2686.656</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:25.211840" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.212458" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:25.212233" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.212215" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:25.210918" elapsed="0.001676"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.213094" level="INFO">${number} = 118</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.212737" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.214505" level="INFO">${number} = 118</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.214172" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.216192" level="INFO">${device-port} = 17947</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.215525" elapsed="0.000693"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.218768" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:25.251450" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.251696" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.218671" elapsed="0.033087"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.252635" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:25.252767" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:25.251921" elapsed="0.001029">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:25.251876" elapsed="0.001169">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:25.218385" elapsed="0.034926">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:25.217820" elapsed="0.035628"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.254466" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17947 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:25.320958" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.321159" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.253959" elapsed="0.067254"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:25.321403" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:25.322293" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:25.217030" elapsed="0.105483"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:25.323154" elapsed="0.001803"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:25.216418" elapsed="0.108774"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:25.215191" elapsed="0.110142"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:25.214702" elapsed="0.110726"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.213721" elapsed="0.111827"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:25.213268" elapsed="0.112408"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.326815" level="INFO">${next} = 17948</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.326032" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.328099" level="INFO">${current_port} = 17948</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:25.327225" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.209698" elapsed="0.118618"/>
</kw>
<msg time="2026-04-11T23:22:25.328399" level="INFO">Repeating keyword, round 119/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:25.330998" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:25.330761" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.330719" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.331898" level="INFO">${current_Date} = 2026-04-11 23:22:25.332</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:25.331520" elapsed="0.000437"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.333062" level="INFO">${ellapsed_seconds} = 2686.536</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:25.332278" elapsed="0.000842"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.333814" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:25.333275" elapsed="0.000660"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.333235" elapsed="0.000752"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:25.330202" elapsed="0.003936"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.335000" level="INFO">${number} = 119</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.334458" elapsed="0.000568"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.336403" level="INFO">${number} = 119</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.336071" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.338059" level="INFO">${device-port} = 17948</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.337415" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.340646" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:25.375565" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.375809" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.340534" elapsed="0.035332"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.376753" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:25.376891" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:25.376026" elapsed="0.000970">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:25.375982" elapsed="0.001103">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:25.340264" elapsed="0.037082">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:25.339707" elapsed="0.037852"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.378634" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17948 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:25.433633" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.434035" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.378111" elapsed="0.055992"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:25.434388" elapsed="0.000309"/>
</return>
<msg time="2026-04-11T23:22:25.435493" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:25.338916" elapsed="0.096882"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:25.436520" elapsed="0.002129"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:25.338290" elapsed="0.100621"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:25.337081" elapsed="0.101989"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:25.336597" elapsed="0.102578"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.335634" elapsed="0.103673"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:25.335178" elapsed="0.104232"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.440687" level="INFO">${next} = 17949</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.439821" elapsed="0.000931"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.442136" level="INFO">${current_port} = 17949</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:25.441124" elapsed="0.001115"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.328935" elapsed="0.113442"/>
</kw>
<msg time="2026-04-11T23:22:25.442468" level="INFO">Repeating keyword, round 120/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:25.444012" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:25.443891" elapsed="0.000165"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.443865" elapsed="0.000215"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.444411" level="INFO">${current_Date} = 2026-04-11 23:22:25.444</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:25.444232" elapsed="0.000209"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.444964" level="INFO">${ellapsed_seconds} = 2686.424</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:25.444606" elapsed="0.000385"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.445322" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:25.445063" elapsed="0.000314"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.445044" elapsed="0.000357"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:25.443545" elapsed="0.001903"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.446010" level="INFO">${number} = 120</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.445610" elapsed="0.000428"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.447485" level="INFO">${number} = 120</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.447133" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.449276" level="INFO">${device-port} = 17949</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.448617" elapsed="0.000686"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.452130" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:25.488023" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.488244" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.452024" elapsed="0.036279"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.489261" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:25.489398" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:25.488479" elapsed="0.001208">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:25.488425" elapsed="0.001369">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:25.451721" elapsed="0.038397">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:25.451078" elapsed="0.039190"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.491311" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17949 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:25.549358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.549651" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.490807" elapsed="0.058902"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:25.549948" elapsed="0.000167"/>
</return>
<msg time="2026-04-11T23:22:25.550888" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:25.450212" elapsed="0.100900"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:25.551790" elapsed="0.001878"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:25.449519" elapsed="0.104387"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:25.448250" elapsed="0.105835"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:25.447706" elapsed="0.106481"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.446666" elapsed="0.107645"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:25.446194" elapsed="0.108211"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.555726" level="INFO">${next} = 17950</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.554808" elapsed="0.000985"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.557046" level="INFO">${current_port} = 17950</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:25.556155" elapsed="0.000983"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.442893" elapsed="0.114372"/>
</kw>
<msg time="2026-04-11T23:22:25.557352" level="INFO">Repeating keyword, round 121/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:25.559337" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:25.559225" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.559205" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.559872" level="INFO">${current_Date} = 2026-04-11 23:22:25.560</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:25.559696" elapsed="0.000203"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.560381" level="INFO">${ellapsed_seconds} = 2686.308</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:25.560046" elapsed="0.000361"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.560743" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:25.560477" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.560459" elapsed="0.000359"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:25.558980" elapsed="0.001883"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.561363" level="INFO">${number} = 121</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.561005" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.562865" level="INFO">${number} = 121</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.562476" elapsed="0.000416"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.564610" level="INFO">${device-port} = 17950</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.563952" elapsed="0.000692"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.567417" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:25.598978" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.599189" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.567314" elapsed="0.031933"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.600173" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:25.600305" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:25.599408" elapsed="0.001001">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:25.599364" elapsed="0.001133">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:25.567020" elapsed="0.033788">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:25.566403" elapsed="0.034614"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.602065" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17950 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:25.657193" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.657400" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.601477" elapsed="0.055978"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:25.657705" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:22:25.658613" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:25.565489" elapsed="0.093364"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:25.659460" elapsed="0.001909"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:25.564859" elapsed="0.096800"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:25.563566" elapsed="0.098265"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:25.563052" elapsed="0.098906"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.562025" elapsed="0.100059"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:25.561540" elapsed="0.100641"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.663321" level="INFO">${next} = 17951</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.662522" elapsed="0.000859"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.664689" level="INFO">${current_port} = 17951</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:25.663785" elapsed="0.001140"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.557823" elapsed="0.107251"/>
</kw>
<msg time="2026-04-11T23:22:25.665166" level="INFO">Repeating keyword, round 122/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:25.667285" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:25.667175" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.667153" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.667665" level="INFO">${current_Date} = 2026-04-11 23:22:25.668</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:25.667491" elapsed="0.000201"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.668162" level="INFO">${ellapsed_seconds} = 2686.2</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:25.667853" elapsed="0.000336"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.668489" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:25.668261" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.668242" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:25.666929" elapsed="0.001702"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.669139" level="INFO">${number} = 122</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.668776" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.670667" level="INFO">${number} = 122</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.670264" elapsed="0.000430"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.672359" level="INFO">${device-port} = 17951</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.671723" elapsed="0.000663"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.675151" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:25.707918" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.708335" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.675052" elapsed="0.033352"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.709652" elapsed="0.000067"/>
</kw>
<msg time="2026-04-11T23:22:25.709800" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:25.708716" elapsed="0.001366">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:25.708634" elapsed="0.001553">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:25.674774" elapsed="0.035720">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:25.674187" elapsed="0.036488"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.711798" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17951 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:25.765425" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.765675" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.711217" elapsed="0.054516"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:25.765963" elapsed="0.000153"/>
</return>
<msg time="2026-04-11T23:22:25.766824" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:25.673326" elapsed="0.093722"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:25.767685" elapsed="0.001855"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:25.672608" elapsed="0.097211"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:25.671347" elapsed="0.098642"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:25.670851" elapsed="0.099240"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.669797" elapsed="0.100419"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:25.669317" elapsed="0.100995"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.771466" level="INFO">${next} = 17952</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.770690" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.772855" level="INFO">${current_port} = 17952</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:25.771950" elapsed="0.001001"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.665638" elapsed="0.107442"/>
</kw>
<msg time="2026-04-11T23:22:25.773168" level="INFO">Repeating keyword, round 123/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:25.775233" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:25.775122" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.775101" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.775729" level="INFO">${current_Date} = 2026-04-11 23:22:25.776</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:25.775487" elapsed="0.000270"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.776245" level="INFO">${ellapsed_seconds} = 2686.092</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:25.775905" elapsed="0.000365"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.776609" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:25.776340" elapsed="0.000323"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.776322" elapsed="0.000364"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:25.774880" elapsed="0.001852"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.777236" level="INFO">${number} = 123</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.776875" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.778676" level="INFO">${number} = 123</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.778322" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.780368" level="INFO">${device-port} = 17952</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.779748" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.783111" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:25.815013" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.815228" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.783015" elapsed="0.032270"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.816193" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:25.816324" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:25.815449" elapsed="0.000980">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:25.815404" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:25.782742" elapsed="0.034079">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:25.782140" elapsed="0.034888"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.818068" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17952 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:25.873252" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.873462" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.817490" elapsed="0.056026"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:25.873741" elapsed="0.000170"/>
</return>
<msg time="2026-04-11T23:22:25.874548" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:25.781296" elapsed="0.093515"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:25.875407" elapsed="0.001808"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:25.780677" elapsed="0.096772"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:25.779361" elapsed="0.098260"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:25.778858" elapsed="0.098863"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.777885" elapsed="0.099974"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:25.777412" elapsed="0.100542"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.879052" level="INFO">${next} = 17953</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.878288" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.880372" level="INFO">${current_port} = 17953</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:25.879461" elapsed="0.001003"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.773629" elapsed="0.106991"/>
</kw>
<msg time="2026-04-11T23:22:25.880710" level="INFO">Repeating keyword, round 124/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:25.883009" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:25.882904" elapsed="0.000146"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.882884" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.883397" level="INFO">${current_Date} = 2026-04-11 23:22:25.883</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:25.883209" elapsed="0.000217"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.884010" level="INFO">${ellapsed_seconds} = 2685.985</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:25.883671" elapsed="0.000368"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.884392" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:25.884124" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.884103" elapsed="0.000374"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:25.882437" elapsed="0.002099"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.885156" level="INFO">${number} = 124</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.884754" elapsed="0.000431"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.889702" level="INFO">${number} = 124</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.888522" elapsed="0.001273"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.894690" level="INFO">${device-port} = 17953</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.892896" elapsed="0.001859"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.897626" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:25.923066" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.923172" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.897489" elapsed="0.025711"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.923676" elapsed="0.000028"/>
</kw>
<msg time="2026-04-11T23:22:25.923743" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:25.923291" elapsed="0.000586">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:25.923262" elapsed="0.000663">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:25.897209" elapsed="0.026858">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:25.896445" elapsed="0.027689"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:25.924597" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17953 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:25.981906" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:25.982220" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:25.924352" elapsed="0.057928"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:25.982526" elapsed="0.000241"/>
</return>
<msg time="2026-04-11T23:22:25.983533" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:25.895627" elapsed="0.088168"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:25.984544" elapsed="0.002320"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:25.894972" elapsed="0.092190"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:25.891837" elapsed="0.095479"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:25.890305" elapsed="0.097113"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.885931" elapsed="0.101613"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:25.885361" elapsed="0.102325"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.988872" level="INFO">${next} = 17954</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.988044" elapsed="0.000889"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.990307" level="INFO">${current_port} = 17954</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:25.989318" elapsed="0.001085"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.881120" elapsed="0.109414"/>
</kw>
<msg time="2026-04-11T23:22:25.990656" level="INFO">Repeating keyword, round 125/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:25.992099" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:25.991977" elapsed="0.000176"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.991954" elapsed="0.000223"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.992590" level="INFO">${current_Date} = 2026-04-11 23:22:25.992</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:25.992387" elapsed="0.000234"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:25.993113" level="INFO">${ellapsed_seconds} = 2685.876</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:25.992772" elapsed="0.000373"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:25.993474" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:25.993220" elapsed="0.000309"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:25.993201" elapsed="0.000352"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:25.991712" elapsed="0.001907"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.994179" level="INFO">${number} = 125</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.993768" elapsed="0.000439"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.995723" level="INFO">${number} = 125</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.995303" elapsed="0.000448"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:25.997473" level="INFO">${device-port} = 17954</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:25.996816" elapsed="0.000686"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.002105" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:26.031929" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.032183" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.001993" elapsed="0.030251"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.033275" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:26.033410" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:26.032439" elapsed="0.001084">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:26.032381" elapsed="0.001268">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.001675" elapsed="0.032318">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:25.999303" elapsed="0.034926"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.035294" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17954 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:26.089646" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.089958" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.034780" elapsed="0.055236"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:26.090251" elapsed="0.000182"/>
</return>
<msg time="2026-04-11T23:22:26.091169" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:25.998438" elapsed="0.092950"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:26.092102" elapsed="0.002014"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:25.997731" elapsed="0.096625"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:25.996432" elapsed="0.098076"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:25.995912" elapsed="0.098745"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.994841" elapsed="0.099947"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:25.994363" elapsed="0.100525"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.096076" level="INFO">${next} = 17955</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.095230" elapsed="0.000906"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.097542" level="INFO">${current_port} = 17955</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:26.096492" elapsed="0.001194"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:25.990967" elapsed="0.106910"/>
</kw>
<msg time="2026-04-11T23:22:26.097966" level="INFO">Repeating keyword, round 126/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:26.099722" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:26.099594" elapsed="0.000172"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.099557" elapsed="0.000233"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.100117" level="INFO">${current_Date} = 2026-04-11 23:22:26.100</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:26.099939" elapsed="0.000205"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.100645" level="INFO">${ellapsed_seconds} = 2685.768</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:26.100289" elapsed="0.000388"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.101015" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:26.100754" elapsed="0.000314"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.100734" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:26.099326" elapsed="0.001811"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.101666" level="INFO">${number} = 126</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.101281" elapsed="0.000419"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.103161" level="INFO">${number} = 126</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.102816" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.105145" level="INFO">${device-port} = 17955</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.104467" elapsed="0.000706"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.107931" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:26.143814" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.144087" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.107820" elapsed="0.036328"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.145205" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:26.145357" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:26.144361" elapsed="0.001266">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:26.144298" elapsed="0.001480">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.107305" elapsed="0.038784">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:26.106909" elapsed="0.039327"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.147303" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17955 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:26.201734" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.202048" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.146791" elapsed="0.055315"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:26.202406" elapsed="0.000239"/>
</return>
<msg time="2026-04-11T23:22:26.203441" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:26.106056" elapsed="0.097658"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:26.204442" elapsed="0.002029"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:26.105382" elapsed="0.101366"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:26.103988" elapsed="0.102908"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:26.103346" elapsed="0.103652"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.102340" elapsed="0.104784"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:26.101879" elapsed="0.105343"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.208411" level="INFO">${next} = 17956</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.207624" elapsed="0.000857"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.209901" level="INFO">${current_port} = 17956</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:26.208932" elapsed="0.001068"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.098434" elapsed="0.111694"/>
</kw>
<msg time="2026-04-11T23:22:26.210215" level="INFO">Repeating keyword, round 127/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:26.212289" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:26.212118" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.212087" elapsed="0.000300"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.212978" level="INFO">${current_Date} = 2026-04-11 23:22:26.213</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:26.212715" elapsed="0.000303"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.213775" level="INFO">${ellapsed_seconds} = 2685.655</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:26.213236" elapsed="0.000580"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.214465" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:26.213923" elapsed="0.000623"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.213895" elapsed="0.000718"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:26.211743" elapsed="0.002943"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.215450" level="INFO">${number} = 127</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.214905" elapsed="0.000584"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.217745" level="INFO">${number} = 127</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.217181" elapsed="0.000606"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.220350" level="INFO">${device-port} = 17956</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.219380" elapsed="0.001012"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.224140" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:26.255985" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.256255" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.223829" elapsed="0.032486"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.257460" elapsed="0.000095"/>
</kw>
<msg time="2026-04-11T23:22:26.257725" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:26.256629" elapsed="0.001222">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:26.256518" elapsed="0.001430">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.223524" elapsed="0.034719">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:26.223123" elapsed="0.035383"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.259698" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17956 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:26.314000" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.314296" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.259085" elapsed="0.055269"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:26.314650" elapsed="0.000185"/>
</return>
<msg time="2026-04-11T23:22:26.315663" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:26.221747" elapsed="0.094170"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:26.316687" elapsed="0.002147"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:26.220743" elapsed="0.098401"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:26.218868" elapsed="0.100449"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:26.218070" elapsed="0.101350"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.216484" elapsed="0.103062"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:26.215812" elapsed="0.103869"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.320898" level="INFO">${next} = 17957</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.320052" elapsed="0.000905"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.322292" level="INFO">${current_port} = 17957</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:26.321336" elapsed="0.001052"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.210735" elapsed="0.111781"/>
</kw>
<msg time="2026-04-11T23:22:26.322638" level="INFO">Repeating keyword, round 128/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:26.325720" elapsed="0.000038"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:26.325388" elapsed="0.000434"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.325342" elapsed="0.000530"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.326595" level="INFO">${current_Date} = 2026-04-11 23:22:26.326</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:26.326196" elapsed="0.000462"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.327223" level="INFO">${ellapsed_seconds} = 2685.542</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:26.326879" elapsed="0.000375"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.327624" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:26.327327" elapsed="0.000352"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.327307" elapsed="0.000396"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:26.324825" elapsed="0.002922"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.328267" level="INFO">${number} = 128</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.327891" elapsed="0.000408"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.329838" level="INFO">${number} = 128</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.329395" elapsed="0.000471"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.331602" level="INFO">${device-port} = 17957</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.330931" elapsed="0.000700"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.334164" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:26.367786" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.368174" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.334058" elapsed="0.034179"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.369487" elapsed="0.000065"/>
</kw>
<msg time="2026-04-11T23:22:26.369722" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:26.368487" elapsed="0.001500">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:26.368413" elapsed="0.001684">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.333779" elapsed="0.036633">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:26.333347" elapsed="0.037216"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.371739" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17957 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:26.425963" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.426177" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.371153" elapsed="0.055079"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:26.426434" elapsed="0.000204"/>
</return>
<msg time="2026-04-11T23:22:26.427334" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:26.332501" elapsed="0.095057"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:26.428243" elapsed="0.001989"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:26.331850" elapsed="0.098629"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:26.330553" elapsed="0.100114"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:26.330027" elapsed="0.100743"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.328937" elapsed="0.101981"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:26.328457" elapsed="0.102561"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.432218" level="INFO">${next} = 17958</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.431367" elapsed="0.000911"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.433641" level="INFO">${current_port} = 17958</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:26.432682" elapsed="0.001059"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.323337" elapsed="0.110535"/>
</kw>
<msg time="2026-04-11T23:22:26.433976" level="INFO">Repeating keyword, round 129/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:26.436974" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:26.436724" elapsed="0.000346"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.436680" elapsed="0.000438"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.437996" level="INFO">${current_Date} = 2026-04-11 23:22:26.438</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:26.437527" elapsed="0.000529"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.439051" level="INFO">${ellapsed_seconds} = 2685.43</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:26.438406" elapsed="0.000672"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.439419" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:26.439149" elapsed="0.000325"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.439130" elapsed="0.000368"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:26.435991" elapsed="0.003553"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.440124" level="INFO">${number} = 129</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.439748" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.441652" level="INFO">${number} = 129</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.441263" elapsed="0.000417"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.443399" level="INFO">${device-port} = 17958</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.442747" elapsed="0.000679"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.445958" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:26.476248" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.476540" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.445858" elapsed="0.030783"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.477692" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:26.477837" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:26.476851" elapsed="0.001097">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:26.476791" elapsed="0.001252">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.445549" elapsed="0.032784">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:26.445142" elapsed="0.033468"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.479680" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17958 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:26.533899" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.534124" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.479122" elapsed="0.055059"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:26.534379" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:26.535233" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:26.444290" elapsed="0.091162"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:26.536107" elapsed="0.001891"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:26.443655" elapsed="0.094583"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:26.442372" elapsed="0.096013"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:26.441841" elapsed="0.096643"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.440807" elapsed="0.097834"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:26.440327" elapsed="0.098415"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.539891" level="INFO">${next} = 17959</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.539082" elapsed="0.000868"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.541306" level="INFO">${current_port} = 17959</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:26.540395" elapsed="0.001005"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.434429" elapsed="0.107099"/>
</kw>
<msg time="2026-04-11T23:22:26.541662" level="INFO">Repeating keyword, round 130/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:26.544297" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:26.544054" elapsed="0.000336"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.544010" elapsed="0.000428"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.545148" level="INFO">${current_Date} = 2026-04-11 23:22:26.545</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:26.544791" elapsed="0.000416"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.546206" level="INFO">${ellapsed_seconds} = 2685.323</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:26.545530" elapsed="0.000702"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.546544" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:26.546302" elapsed="0.000311"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.546283" elapsed="0.000354"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:26.543390" elapsed="0.003292"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.547189" level="INFO">${number} = 130</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.546825" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.548674" level="INFO">${number} = 130</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.548315" elapsed="0.000385"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.550370" level="INFO">${device-port} = 17959</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.549753" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.553064" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:26.583679" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.583900" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.552776" elapsed="0.031184"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.584875" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:26.585009" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:26.584125" elapsed="0.001069">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:26.584081" elapsed="0.001209">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.552488" elapsed="0.033075">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:26.552101" elapsed="0.033657"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.586754" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17959 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:26.641667" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.641872" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.586220" elapsed="0.055707"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:26.642118" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:26.642957" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:26.551242" elapsed="0.091934"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:26.643824" elapsed="0.001841"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:26.550621" elapsed="0.095283"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:26.549375" elapsed="0.096672"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:26.548859" elapsed="0.097282"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.547871" elapsed="0.098392"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:26.547368" elapsed="0.098987"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.647449" level="INFO">${next} = 17960</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.646718" elapsed="0.000791"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.648786" level="INFO">${current_port} = 17960</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:26.647913" elapsed="0.000968"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.542097" elapsed="0.106911"/>
</kw>
<msg time="2026-04-11T23:22:26.649092" level="INFO">Repeating keyword, round 131/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:26.650726" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:26.650541" elapsed="0.000228"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.650521" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.651120" level="INFO">${current_Date} = 2026-04-11 23:22:26.651</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:26.650964" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.651649" level="INFO">${ellapsed_seconds} = 2685.217</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:26.651288" elapsed="0.000389"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.651976" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:26.651747" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.651729" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:26.650301" elapsed="0.001796"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.652634" level="INFO">${number} = 131</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.652238" elapsed="0.000423"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.654066" level="INFO">${number} = 131</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.653730" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.655729" level="INFO">${device-port} = 17960</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.655092" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.658289" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:26.691598" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.691826" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.658192" elapsed="0.033693"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.692926" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:26.693059" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:26.692193" elapsed="0.000972">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:26.692148" elapsed="0.001105">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.657778" elapsed="0.035743">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:26.657367" elapsed="0.036439"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.694810" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17960 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:26.753914" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.754120" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.694274" elapsed="0.059899"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:26.754360" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:26.755194" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:26.656563" elapsed="0.098843"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:26.756032" elapsed="0.001813"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:26.655958" elapsed="0.102125"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:26.654755" elapsed="0.103473"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:26.654246" elapsed="0.104076"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.653260" elapsed="0.105184"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:26.652814" elapsed="0.105725"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.759699" level="INFO">${next} = 17961</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.758917" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.760982" level="INFO">${current_port} = 17961</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:26.760111" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.649506" elapsed="0.111695"/>
</kw>
<msg time="2026-04-11T23:22:26.761286" level="INFO">Repeating keyword, round 132/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:26.763098" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:26.762949" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.762921" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.763672" level="INFO">${current_Date} = 2026-04-11 23:22:26.763</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:26.763382" elapsed="0.000329"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.764384" level="INFO">${ellapsed_seconds} = 2685.105</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:26.763942" elapsed="0.000477"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.764869" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:26.764517" elapsed="0.000426"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.764490" elapsed="0.000485"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:26.762606" elapsed="0.002433"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.765766" level="INFO">${number} = 132</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.765234" elapsed="0.000568"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.767801" level="INFO">${number} = 132</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.767265" elapsed="0.000573"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.770119" level="INFO">${device-port} = 17961</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.769229" elapsed="0.000928"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.773554" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:26.807559" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.807806" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.773444" elapsed="0.034421"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.808755" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:26.808886" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:26.808028" elapsed="0.001043">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:26.807984" elapsed="0.001184">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.773035" elapsed="0.036399">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:26.772520" elapsed="0.037130"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.810649" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17961 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:26.865690" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.865904" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.810131" elapsed="0.055828"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:26.866151" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:26.866998" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:26.771310" elapsed="0.095910"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:26.867859" elapsed="0.001833"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:26.770443" elapsed="0.099486"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:26.768760" elapsed="0.101309"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:26.768052" elapsed="0.102114"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.766648" elapsed="0.103638"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:26.766012" elapsed="0.104366"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.871472" level="INFO">${next} = 17962</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.870742" elapsed="0.000789"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.872799" level="INFO">${current_port} = 17962</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:26.871934" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.761783" elapsed="0.111235"/>
</kw>
<msg time="2026-04-11T23:22:26.873101" level="INFO">Repeating keyword, round 133/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:26.875732" elapsed="0.000039"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:26.875368" elapsed="0.000464"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.875326" elapsed="0.000555"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.876663" level="INFO">${current_Date} = 2026-04-11 23:22:26.876</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:26.876288" elapsed="0.000436"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.877810" level="INFO">${ellapsed_seconds} = 2684.992</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:26.877048" elapsed="0.000820"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.878321" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:26.878024" elapsed="0.000350"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.877984" elapsed="0.000413"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:26.874834" elapsed="0.003608"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.878969" level="INFO">${number} = 133</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.878597" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.880401" level="INFO">${number} = 133</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.880064" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.882169" level="INFO">${device-port} = 17962</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.881538" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.884774" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:26.915722" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.915941" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.884676" elapsed="0.031324"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.916901" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:26.917034" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:26.916162" elapsed="0.000977">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:26.916117" elapsed="0.001110">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.884391" elapsed="0.033157">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:26.883837" elapsed="0.033962"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.918960" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17962 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:26.977856" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:26.978085" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.918346" elapsed="0.059794"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:26.978343" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:22:26.979202" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:26.883025" elapsed="0.096395"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:26.980059" elapsed="0.001884"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:26.882395" elapsed="0.099785"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:26.881095" elapsed="0.101228"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:26.880597" elapsed="0.101823"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.879623" elapsed="0.102920"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:26.879147" elapsed="0.103530"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.983820" level="INFO">${next} = 17963</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.983019" elapsed="0.000861"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.985116" level="INFO">${current_port} = 17963</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:26.984236" elapsed="0.000973"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.873544" elapsed="0.111791"/>
</kw>
<msg time="2026-04-11T23:22:26.985422" level="INFO">Repeating keyword, round 134/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:26.987459" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:26.987348" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.987326" elapsed="0.000198"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.987893" level="INFO">${current_Date} = 2026-04-11 23:22:26.988</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:26.987726" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:26.988396" level="INFO">${ellapsed_seconds} = 2684.88</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:26.988062" elapsed="0.000360"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:26.988750" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:26.988491" elapsed="0.000311"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:26.988472" elapsed="0.000353"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:26.987105" elapsed="0.001764"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.989369" level="INFO">${number} = 134</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.989014" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.990821" level="INFO">${number} = 134</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.990466" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:26.992516" level="INFO">${device-port} = 17963</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:26.991896" elapsed="0.000647"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:26.995185" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:27.031279" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.031497" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:26.995087" elapsed="0.036468"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.032460" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:27.032623" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:27.031760" elapsed="0.001060">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:27.031715" elapsed="0.001202">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:26.994808" elapsed="0.038387">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:26.994216" elapsed="0.039119"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.034376" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17963 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:27.093844" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.094051" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.033891" elapsed="0.060216"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:27.094298" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:27.095134" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:26.993386" elapsed="0.101968"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:27.095988" elapsed="0.001859"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:26.992771" elapsed="0.105311"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:26.991504" elapsed="0.106718"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:26.991002" elapsed="0.107316"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.990024" elapsed="0.108414"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:26.989564" elapsed="0.108967"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.099687" level="INFO">${next} = 17964</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.098905" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.100971" level="INFO">${current_port} = 17964</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:27.100105" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:26.985904" elapsed="0.115287"/>
</kw>
<msg time="2026-04-11T23:22:27.101276" level="INFO">Repeating keyword, round 135/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:27.103899" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:27.103532" elapsed="0.000461"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.103489" elapsed="0.000551"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.104819" level="INFO">${current_Date} = 2026-04-11 23:22:27.105</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:27.104440" elapsed="0.000437"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.105902" level="INFO">${ellapsed_seconds} = 2684.763</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:27.105207" elapsed="0.000721"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.106348" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:27.105998" elapsed="0.000403"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.105980" elapsed="0.000443"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:27.103000" elapsed="0.003469"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.106987" level="INFO">${number} = 135</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.106626" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.108426" level="INFO">${number} = 135</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.108094" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.110252" level="INFO">${device-port} = 17964</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.109622" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.112869" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:27.148009" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.148230" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.112774" elapsed="0.035517"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.149192" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:27.149324" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:27.148454" elapsed="0.001005">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:27.148408" elapsed="0.001142">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:27.112489" elapsed="0.037359">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:27.111931" elapsed="0.038121"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.151050" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17964 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:27.205196" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.205437" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.150517" elapsed="0.054977"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:27.205717" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:27.206692" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:27.111113" elapsed="0.095798"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:27.207504" elapsed="0.001808"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:27.110484" elapsed="0.099109"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:27.109128" elapsed="0.100613"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:27.108621" elapsed="0.101218"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.107657" elapsed="0.102303"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:27.107165" elapsed="0.102890"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.211165" level="INFO">${next} = 17965</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.210393" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.212478" level="INFO">${current_port} = 17965</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:27.211637" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.101748" elapsed="0.110987"/>
</kw>
<msg time="2026-04-11T23:22:27.212821" level="INFO">Repeating keyword, round 136/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:27.214951" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:27.214674" elapsed="0.000336"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.214646" elapsed="0.000393"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.215444" level="INFO">${current_Date} = 2026-04-11 23:22:27.215</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:27.215236" elapsed="0.000244"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.216182" level="INFO">${ellapsed_seconds} = 2684.653</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:27.215760" elapsed="0.000457"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.216649" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:27.216314" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.216288" elapsed="0.000467"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:27.214325" elapsed="0.002492"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.217528" level="INFO">${number} = 136</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.217015" elapsed="0.000550"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.219493" level="INFO">${number} = 136</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.219035" elapsed="0.000495"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.221858" level="INFO">${device-port} = 17965</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.220965" elapsed="0.000930"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.225487" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:27.255290" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.255505" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.225317" elapsed="0.030246"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.256465" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:27.256626" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:27.255772" elapsed="0.001046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:27.255721" elapsed="0.001194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:27.224938" elapsed="0.032244">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:27.224144" elapsed="0.033177"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.258337" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17965 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:27.313250" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.313501" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.257854" elapsed="0.055704"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:27.313799" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:27.314636" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:27.223034" elapsed="0.091826"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:27.315483" elapsed="0.001855"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:27.222176" elapsed="0.095436"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:27.220479" elapsed="0.097285"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:27.219798" elapsed="0.098067"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.218407" elapsed="0.099584"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:27.217797" elapsed="0.100290"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.319208" level="INFO">${next} = 17966</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.318426" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.320637" level="INFO">${current_port} = 17966</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:27.319678" elapsed="0.001058"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.213231" elapsed="0.107634"/>
</kw>
<msg time="2026-04-11T23:22:27.320952" level="INFO">Repeating keyword, round 137/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:27.322990" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:27.322839" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.322812" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.323542" level="INFO">${current_Date} = 2026-04-11 23:22:27.323</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:27.323324" elapsed="0.000275"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.324230" level="INFO">${ellapsed_seconds} = 2684.545</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:27.323808" elapsed="0.000458"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.324704" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:27.324365" elapsed="0.000415"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.324339" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:27.322429" elapsed="0.002448"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.325617" level="INFO">${number} = 137</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.325078" elapsed="0.000577"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.327638" level="INFO">${number} = 137</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.327149" elapsed="0.000527"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.329981" level="INFO">${device-port} = 17966</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.329081" elapsed="0.000937"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.339381" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:27.363262" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.363484" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.339169" elapsed="0.024375"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.364444" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:27.364607" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:27.363745" elapsed="0.000972">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:27.363699" elapsed="0.001108">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:27.338318" elapsed="0.026785">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:27.333396" elapsed="0.031939"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.366344" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17966 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:27.421405" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.421645" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.365855" elapsed="0.055850"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:27.421895" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:27.422734" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:27.331448" elapsed="0.091507"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:27.423548" elapsed="0.001843"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:27.330304" elapsed="0.095355"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:27.328607" elapsed="0.097201"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:27.327894" elapsed="0.098015"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.326492" elapsed="0.099539"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:27.325868" elapsed="0.100256"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.427263" level="INFO">${next} = 17967</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.426458" elapsed="0.000864"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.428634" level="INFO">${current_port} = 17967</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:27.427730" elapsed="0.001000"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.321412" elapsed="0.107447"/>
</kw>
<msg time="2026-04-11T23:22:27.428957" level="INFO">Repeating keyword, round 138/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:27.430880" elapsed="0.000025"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:27.430719" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.430693" elapsed="0.000296"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.431422" level="INFO">${current_Date} = 2026-04-11 23:22:27.431</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:27.431205" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.432209" level="INFO">${ellapsed_seconds} = 2684.437</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:27.431737" elapsed="0.000507"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.432678" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:27.432341" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.432315" elapsed="0.000469"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:27.430372" elapsed="0.002480"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.433640" level="INFO">${number} = 138</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.433095" elapsed="0.000582"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.435688" level="INFO">${number} = 138</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.435177" elapsed="0.000547"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.438198" level="INFO">${device-port} = 17967</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.437237" elapsed="0.000999"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.441968" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:27.479806" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.480052" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.441834" elapsed="0.038283"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.481035" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:27.481168" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:27.480280" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:27.480236" elapsed="0.001238">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:27.441156" elapsed="0.040658">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:27.440555" elapsed="0.041428"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.483012" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17967 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:27.537695" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.537913" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.482459" elapsed="0.055516"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:27.538181" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:27.539013" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:27.439435" elapsed="0.099796"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:27.539867" elapsed="0.001900"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:27.438517" elapsed="0.103486"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:27.436767" elapsed="0.105379"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:27.435968" elapsed="0.106276"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.434544" elapsed="0.107822"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:27.433898" elapsed="0.108561"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.543669" level="INFO">${next} = 17968</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.542837" elapsed="0.000895"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.544969" level="INFO">${current_port} = 17968</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:27.544084" elapsed="0.000996"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.429429" elapsed="0.115784"/>
</kw>
<msg time="2026-04-11T23:22:27.545349" level="INFO">Repeating keyword, round 139/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:27.547123" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:27.546943" elapsed="0.000238"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.546910" elapsed="0.000301"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.547765" level="INFO">${current_Date} = 2026-04-11 23:22:27.548</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:27.547468" elapsed="0.000334"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.548478" level="INFO">${ellapsed_seconds} = 2684.32</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:27.548053" elapsed="0.000461"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.548978" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:27.548638" elapsed="0.000431"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.548611" elapsed="0.000497"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:27.546598" elapsed="0.002576"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.549935" level="INFO">${number} = 139</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.549386" elapsed="0.000594"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.552025" level="INFO">${number} = 139</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.551464" elapsed="0.000606"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.554405" level="INFO">${device-port} = 17968</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.553632" elapsed="0.000800"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.557029" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:27.587837" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.588059" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.556762" elapsed="0.031355"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.589017" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:27.589150" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:27.588283" elapsed="0.000995">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:27.588239" elapsed="0.001130">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:27.556451" elapsed="0.033215">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:27.556072" elapsed="0.033804"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.590884" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17968 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:27.649372" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.649607" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.590344" elapsed="0.059322"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:27.649855" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:27.650734" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:27.555255" elapsed="0.095774"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:27.651682" elapsed="0.001847"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:27.554653" elapsed="0.099145"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:27.553100" elapsed="0.100843"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:27.552292" elapsed="0.101750"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.550853" elapsed="0.103311"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:27.550210" elapsed="0.104049"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.655417" level="INFO">${next} = 17969</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.654627" elapsed="0.000849"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.656797" level="INFO">${current_port} = 17969</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:27.655896" elapsed="0.001009"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.545793" elapsed="0.111260"/>
</kw>
<msg time="2026-04-11T23:22:27.657149" level="INFO">Repeating keyword, round 140/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:27.659851" elapsed="0.000038"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:27.659492" elapsed="0.000467"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.659451" elapsed="0.000564"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.660714" level="INFO">${current_Date} = 2026-04-11 23:22:27.661</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:27.660343" elapsed="0.000430"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.661845" level="INFO">${ellapsed_seconds} = 2684.207</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:27.661094" elapsed="0.000818"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.662296" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:27.662066" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.662042" elapsed="0.000329"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:27.658968" elapsed="0.003448"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.662930" level="INFO">${number} = 140</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.662556" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.664345" level="INFO">${number} = 140</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.664014" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.666013" level="INFO">${device-port} = 17969</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.665377" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.668402" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:27.695267" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.695483" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.668306" elapsed="0.027235"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.696477" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:27.696638" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:27.695747" elapsed="0.001083">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:27.695701" elapsed="0.001226">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:27.668039" elapsed="0.029174">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:27.667661" elapsed="0.029695"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.698390" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17969 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:27.753354" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.753612" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.697877" elapsed="0.055792"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:27.753866" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:27.754682" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:27.666861" elapsed="0.088041"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:27.755510" elapsed="0.001847"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:27.666241" elapsed="0.091382"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:27.665030" elapsed="0.092740"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:27.664524" elapsed="0.093344"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.663541" elapsed="0.094449"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:27.663106" elapsed="0.094977"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.759207" level="INFO">${next} = 17970</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.758420" elapsed="0.000847"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.760524" level="INFO">${current_port} = 17970</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:27.759678" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.657608" elapsed="0.103170"/>
</kw>
<msg time="2026-04-11T23:22:27.760863" level="INFO">Repeating keyword, round 141/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:27.763505" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:27.763255" elapsed="0.000471"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.763206" elapsed="0.000572"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.764196" level="INFO">${current_Date} = 2026-04-11 23:22:27.764</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:27.764034" elapsed="0.000189"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.764709" level="INFO">${ellapsed_seconds} = 2684.104</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:27.764370" elapsed="0.000365"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.765043" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:27.764805" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.764787" elapsed="0.000332"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:27.762625" elapsed="0.002555"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.765706" level="INFO">${number} = 141</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.765325" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.767128" level="INFO">${number} = 141</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.766788" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.768806" level="INFO">${device-port} = 17970</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.768175" elapsed="0.000658"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.771264" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:27.802884" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.803106" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.771163" elapsed="0.032003"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.804115" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:27.804250" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:27.803332" elapsed="0.001025">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:27.803287" elapsed="0.001159">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:27.770889" elapsed="0.033871">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:27.770480" elapsed="0.034493"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.806027" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17970 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:27.861653" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.861847" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.805474" elapsed="0.056401"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:27.862014" elapsed="0.000098"/>
</return>
<msg time="2026-04-11T23:22:27.862447" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:27.769682" elapsed="0.092869"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:27.862906" elapsed="0.000925"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:27.769037" elapsed="0.094905"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:27.767836" elapsed="0.096179"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:27.767310" elapsed="0.096754"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.766334" elapsed="0.097791"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:27.765884" elapsed="0.098286"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.864717" level="INFO">${next} = 17971</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.864328" elapsed="0.000415"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.865333" level="INFO">${current_port} = 17971</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:27.864915" elapsed="0.000461"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.761322" elapsed="0.104114"/>
</kw>
<msg time="2026-04-11T23:22:27.865478" level="INFO">Repeating keyword, round 142/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:27.866738" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:27.866622" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.866598" elapsed="0.000204"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.867123" level="INFO">${current_Date} = 2026-04-11 23:22:27.867</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:27.866947" elapsed="0.000202"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.867680" level="INFO">${ellapsed_seconds} = 2684.001</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:27.867296" elapsed="0.000410"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.868077" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:27.867777" elapsed="0.000352"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.867758" elapsed="0.000395"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:27.866360" elapsed="0.001838"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.868793" level="INFO">${number} = 142</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.868340" elapsed="0.000485"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.870264" level="INFO">${number} = 142</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.869922" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.872000" level="INFO">${device-port} = 17971</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.871314" elapsed="0.000713"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.874459" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:27.914819" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.914917" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.874358" elapsed="0.040586"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.915341" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:22:27.915401" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:27.915017" elapsed="0.000488">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:27.914997" elapsed="0.000552">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:27.874087" elapsed="0.041622">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:27.873699" elapsed="0.042076"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.916203" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17971 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:27.973091" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:27.973186" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.915984" elapsed="0.057226"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:27.973296" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:22:27.973674" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:27.872861" elapsed="0.100914"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:27.974044" elapsed="0.000852"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:27.872231" elapsed="0.102773"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:27.870971" elapsed="0.104097"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:27.870448" elapsed="0.104663"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.869463" elapsed="0.105703"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:27.869004" elapsed="0.106203"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.975707" level="INFO">${next} = 17972</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.975357" elapsed="0.000378"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.976262" level="INFO">${current_port} = 17972</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:27.975891" elapsed="0.000413"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.865728" elapsed="0.110632"/>
</kw>
<msg time="2026-04-11T23:22:27.976398" level="INFO">Repeating keyword, round 143/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:27.977504" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:27.977395" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.977376" elapsed="0.000205"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.977914" level="INFO">${current_Date} = 2026-04-11 23:22:27.978</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:27.977760" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:27.978384" level="INFO">${ellapsed_seconds} = 2683.89</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:27.978084" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:27.978737" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:27.978480" elapsed="0.000310"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:27.978461" elapsed="0.000352"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:27.977159" elapsed="0.001699"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.979359" level="INFO">${number} = 143</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.979000" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.980776" level="INFO">${number} = 143</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.980428" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:27.982444" level="INFO">${device-port} = 17972</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:27.981826" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:27.985092" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:28.023700" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.023927" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:27.984838" elapsed="0.039147"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.024911" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:28.025054" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:28.024153" elapsed="0.001038">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:28.024103" elapsed="0.001180">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:27.984553" elapsed="0.041007">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:27.984168" elapsed="0.041646"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.026818" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17972 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:28.085823" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.086024" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.026289" elapsed="0.059789"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:28.086265" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:28.087100" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:27.983362" elapsed="0.103952"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:28.087939" elapsed="0.001958"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:27.982755" elapsed="0.107374"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:27.981470" elapsed="0.108800"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:27.980960" elapsed="0.109407"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.979995" elapsed="0.110493"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:27.979536" elapsed="0.111078"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.091759" level="INFO">${next} = 17973</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.090972" elapsed="0.000846"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.093069" level="INFO">${current_port} = 17973</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:28.092171" elapsed="0.000994"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:27.976598" elapsed="0.116694"/>
</kw>
<msg time="2026-04-11T23:22:28.093377" level="INFO">Repeating keyword, round 144/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:28.096071" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:28.095833" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.095790" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.096910" level="INFO">${current_Date} = 2026-04-11 23:22:28.097</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:28.096528" elapsed="0.000444"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.097978" level="INFO">${ellapsed_seconds} = 2683.771</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:28.097338" elapsed="0.000666"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.098308" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:28.098075" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.098056" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:28.095279" elapsed="0.003150"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.098943" level="INFO">${number} = 144</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.098583" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.100345" level="INFO">${number} = 144</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.100012" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.102016" level="INFO">${device-port} = 17973</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.101383" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.104596" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:28.131108" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.131322" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.104335" elapsed="0.027044"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.132264" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:28.132391" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:28.131540" elapsed="0.001056">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:28.131497" elapsed="0.001197">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:28.104069" elapsed="0.028894">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:28.103686" elapsed="0.029466"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.134123" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17973 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:28.189977" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.190178" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.133644" elapsed="0.056588"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:28.190415" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:28.191229" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:28.102873" elapsed="0.088568"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:28.192068" elapsed="0.001797"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:28.102244" elapsed="0.091856"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:28.101032" elapsed="0.093210"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:28.100523" elapsed="0.093816"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.099559" elapsed="0.094899"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:28.099119" elapsed="0.095432"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.195694" level="INFO">${next} = 17974</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.194919" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.196988" level="INFO">${current_port} = 17974</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:28.196135" elapsed="0.000994"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.093990" elapsed="0.103263"/>
</kw>
<msg time="2026-04-11T23:22:28.197337" level="INFO">Repeating keyword, round 145/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:28.199193" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:28.198961" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.198933" elapsed="0.000354"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.199854" level="INFO">${current_Date} = 2026-04-11 23:22:28.200</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:28.199542" elapsed="0.000350"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.200549" level="INFO">${ellapsed_seconds} = 2683.668</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:28.200108" elapsed="0.000505"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.201068" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:28.200719" elapsed="0.000429"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.200692" elapsed="0.000490"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:28.198614" elapsed="0.002635"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.202011" level="INFO">${number} = 145</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.201458" elapsed="0.000591"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.204118" level="INFO">${number} = 145</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.203648" elapsed="0.000507"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.206438" level="INFO">${device-port} = 17974</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.205555" elapsed="0.000921"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.210017" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:28.239862" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.240085" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.209921" elapsed="0.030222"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.241081" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:28.241217" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:28.240311" elapsed="0.001010">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:28.240263" elapsed="0.001146">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:28.209337" elapsed="0.032373">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:28.208772" elapsed="0.033146"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.242913" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17974 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:28.297283" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.297484" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.242384" elapsed="0.055154"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:28.297763" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:28.298538" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:28.207647" elapsed="0.091148"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:28.299386" elapsed="0.001834"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:28.206784" elapsed="0.094671"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:28.205084" elapsed="0.096552"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:28.204368" elapsed="0.097370"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.202963" elapsed="0.098898"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:28.202270" elapsed="0.099690"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.303047" level="INFO">${next} = 17975</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.302290" elapsed="0.000815"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.304354" level="INFO">${current_port} = 17975</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:28.303452" elapsed="0.001087"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.197774" elapsed="0.106925"/>
</kw>
<msg time="2026-04-11T23:22:28.304792" level="INFO">Repeating keyword, round 146/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:28.307259" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:28.307025" elapsed="0.000325"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.306982" elapsed="0.000416"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.308168" level="INFO">${current_Date} = 2026-04-11 23:22:28.308</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:28.307828" elapsed="0.000398"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.309285" level="INFO">${ellapsed_seconds} = 2683.56</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:28.308542" elapsed="0.000802"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.309983" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:28.309497" elapsed="0.000539"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.309456" elapsed="0.000603"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:28.306473" elapsed="0.003631"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.310614" level="INFO">${number} = 146</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.310245" elapsed="0.000396"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.312026" level="INFO">${number} = 146</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.311691" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.313694" level="INFO">${device-port} = 17975</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.313063" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.316414" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:28.347456" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.347699" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.316318" elapsed="0.031441"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.348628" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:28.348761" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:28.347920" elapsed="0.001024">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:28.347876" elapsed="0.001190">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:28.315908" elapsed="0.033423">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:28.315344" elapsed="0.034126"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.350442" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17975 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:28.405453" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.405697" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.349969" elapsed="0.055786"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:28.405944" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:28.406775" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:28.314531" elapsed="0.092465"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:28.407623" elapsed="0.001806"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:28.313927" elapsed="0.095775"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:28.312712" elapsed="0.097136"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:28.312206" elapsed="0.097742"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.311227" elapsed="0.098844"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:28.310790" elapsed="0.099375"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.411290" level="INFO">${next} = 17976</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.410500" elapsed="0.000849"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.412650" level="INFO">${current_port} = 17976</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:28.411760" elapsed="0.000985"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.305231" elapsed="0.107641"/>
</kw>
<msg time="2026-04-11T23:22:28.413001" level="INFO">Repeating keyword, round 147/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:28.414927" elapsed="0.000025"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:28.414766" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.414740" elapsed="0.000295"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.415503" level="INFO">${current_Date} = 2026-04-11 23:22:28.415</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:28.415291" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.416411" level="INFO">${ellapsed_seconds} = 2683.453</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:28.415847" elapsed="0.000601"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.416880" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:28.416544" elapsed="0.000424"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.416519" elapsed="0.000481"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:28.414420" elapsed="0.002643"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.417777" level="INFO">${number} = 147</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.417261" elapsed="0.000552"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.419748" level="INFO">${number} = 147</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.419259" elapsed="0.000526"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.422060" level="INFO">${device-port} = 17976</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.421183" elapsed="0.000913"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.425730" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:28.455763" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.456006" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.425596" elapsed="0.030471"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.457038" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:28.457175" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:28.456242" elapsed="0.001040">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:28.456194" elapsed="0.001178">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:28.425202" elapsed="0.032475">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:28.424373" elapsed="0.033526"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.458935" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17976 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:28.513451" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.513717" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.458386" elapsed="0.055391"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:28.513978" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:28.514826" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:28.423263" elapsed="0.091783"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:28.515689" elapsed="0.001841"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:28.422404" elapsed="0.095397"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:28.420696" elapsed="0.097251"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:28.419999" elapsed="0.098046"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.418654" elapsed="0.099513"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:28.418021" elapsed="0.100242"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.519385" level="INFO">${next} = 17977</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.518633" elapsed="0.000810"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.520735" level="INFO">${current_port} = 17977</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:28.519859" elapsed="0.000972"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.413419" elapsed="0.107558"/>
</kw>
<msg time="2026-04-11T23:22:28.521063" level="INFO">Repeating keyword, round 148/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:28.523532" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:28.523294" elapsed="0.000459"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.523252" elapsed="0.000550"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.524457" level="INFO">${current_Date} = 2026-04-11 23:22:28.524</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:28.524117" elapsed="0.000398"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.525634" level="INFO">${ellapsed_seconds} = 2683.344</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:28.524870" elapsed="0.000824"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.526263" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:28.525852" elapsed="0.000463"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.525810" elapsed="0.000528"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:28.522769" elapsed="0.003614"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.526899" level="INFO">${number} = 148</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.526523" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.528324" level="INFO">${number} = 148</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.527994" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.529993" level="INFO">${device-port} = 17977</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.529368" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.532713" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:28.563878" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.564100" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.532616" elapsed="0.031542"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.565085" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:28.565215" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:28.564322" elapsed="0.001071">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:28.564277" elapsed="0.001212">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:28.532331" elapsed="0.033454">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:28.531766" elapsed="0.034164"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.566924" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17977 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:28.621497" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.621734" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.566390" elapsed="0.055399"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:28.621981" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:28.622813" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:28.530835" elapsed="0.092202"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:28.623658" elapsed="0.001789"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:28.530219" elapsed="0.095501"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:28.529034" elapsed="0.096829"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:28.528504" elapsed="0.097456"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.527514" elapsed="0.098568"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:28.527077" elapsed="0.099100"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.627282" level="INFO">${next} = 17978</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.626514" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.628625" level="INFO">${current_port} = 17978</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:28.627756" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.521479" elapsed="0.107368"/>
</kw>
<msg time="2026-04-11T23:22:28.628949" level="INFO">Repeating keyword, round 149/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:28.631388" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:28.631151" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.631109" elapsed="0.000420"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.632478" level="INFO">${current_Date} = 2026-04-11 23:22:28.632</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:28.632132" elapsed="0.000404"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.633278" level="INFO">${ellapsed_seconds} = 2683.236</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:28.632961" elapsed="0.000343"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.633616" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:28.633374" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.633356" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:28.630624" elapsed="0.003115"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.634236" level="INFO">${number} = 149</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.633882" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.635643" level="INFO">${number} = 149</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.635296" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.637300" level="INFO">${device-port} = 17978</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.636672" elapsed="0.000655"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.642045" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:28.675408" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.675668" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.641946" elapsed="0.033782"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.676670" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:28.676804" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:28.675907" elapsed="0.001053">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:28.675856" elapsed="0.001198">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:28.641667" elapsed="0.035667">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:28.639072" elapsed="0.038480"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.678542" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17978 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:28.733656" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.733865" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.678059" elapsed="0.055860"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:28.734111" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:28.734944" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:28.638156" elapsed="0.097005"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:28.735792" elapsed="0.001864"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:28.637530" elapsed="0.100365"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:28.636312" elapsed="0.101724"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:28.635823" elapsed="0.102308"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.634862" elapsed="0.103389"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:28.634411" elapsed="0.103932"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.739477" level="INFO">${next} = 17979</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.738731" elapsed="0.000804"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.740804" level="INFO">${current_port} = 17979</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:28.739922" elapsed="0.000996"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.629357" elapsed="0.111689"/>
</kw>
<msg time="2026-04-11T23:22:28.741132" level="INFO">Repeating keyword, round 150/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:28.743759" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:28.743488" elapsed="0.000476"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.743446" elapsed="0.000575"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.744721" level="INFO">${current_Date} = 2026-04-11 23:22:28.745</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:28.744337" elapsed="0.000445"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.745434" level="INFO">${ellapsed_seconds} = 2683.123</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:28.745117" elapsed="0.000342"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.745779" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:28.745528" elapsed="0.000303"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.745509" elapsed="0.000345"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:28.742962" elapsed="0.002937"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.746398" level="INFO">${number} = 150</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.746044" elapsed="0.000379"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.747835" level="INFO">${number} = 150</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.747487" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.749607" level="INFO">${device-port} = 17979</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.748863" elapsed="0.000772"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.752202" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:28.787220" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.787431" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.752107" elapsed="0.035382"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.788380" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:28.788507" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:28.787691" elapsed="0.001029">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:28.787645" elapsed="0.001202">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:28.751668" elapsed="0.037446">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:28.751270" elapsed="0.037982"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.790237" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17979 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:28.845613" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.845820" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.789758" elapsed="0.056115"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:28.846062" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:28.846904" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:28.750454" elapsed="0.096672"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:28.847754" elapsed="0.001799"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:28.749839" elapsed="0.099985"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:28.748503" elapsed="0.101462"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:28.748016" elapsed="0.102046"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.747054" elapsed="0.103130"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:28.746611" elapsed="0.103667"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.851404" level="INFO">${next} = 17980</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.850661" elapsed="0.000802"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.852873" level="INFO">${current_port} = 17980</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:28.851865" elapsed="0.001106"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.741546" elapsed="0.111550"/>
</kw>
<msg time="2026-04-11T23:22:28.853179" level="INFO">Repeating keyword, round 151/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:28.854808" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:28.854699" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.854678" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.855204" level="INFO">${current_Date} = 2026-04-11 23:22:28.855</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:28.855046" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.855696" level="INFO">${ellapsed_seconds} = 2683.013</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:28.855372" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.856022" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:28.855790" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.855772" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:28.854378" elapsed="0.001765"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.856682" level="INFO">${number} = 151</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.856285" elapsed="0.000424"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.858112" level="INFO">${number} = 151</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.857778" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.859772" level="INFO">${device-port} = 17980</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.859136" elapsed="0.000663"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.862363" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:28.899294" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.899508" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.862097" elapsed="0.037469"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.900459" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:28.900621" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:28.899770" elapsed="0.000959">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:28.899725" elapsed="0.001138">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:28.861831" elapsed="0.039302">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:28.861433" elapsed="0.039902"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.902325" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17980 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:28.957457" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:28.957700" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.901843" elapsed="0.055913"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:28.957945" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:28.958785" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:28.860627" elapsed="0.098382"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:28.959633" elapsed="0.001798"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:28.860007" elapsed="0.101694"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:28.858800" elapsed="0.103044"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:28.858295" elapsed="0.103646"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.857323" elapsed="0.104738"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:28.856876" elapsed="0.105279"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.963248" level="INFO">${next} = 17981</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.962486" elapsed="0.000821"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.964548" level="INFO">${current_port} = 17981</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:28.963719" elapsed="0.000956"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.853623" elapsed="0.111198"/>
</kw>
<msg time="2026-04-11T23:22:28.964907" level="INFO">Repeating keyword, round 152/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:28.967346" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:28.967108" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.967065" elapsed="0.000419"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.968261" level="INFO">${current_Date} = 2026-04-11 23:22:28.968</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:28.967924" elapsed="0.000396"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:28.969389" level="INFO">${ellapsed_seconds} = 2682.9</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:28.968674" elapsed="0.000771"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:28.970063" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:28.969631" elapsed="0.000485"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:28.969559" elapsed="0.000580"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:28.966551" elapsed="0.003632"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.970697" level="INFO">${number} = 152</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.970324" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.972127" level="INFO">${number} = 152</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.971794" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:28.973793" level="INFO">${device-port} = 17981</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:28.973160" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:28.976266" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:29.011326" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.011545" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:28.976171" elapsed="0.035472"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.012713" elapsed="0.000102"/>
</kw>
<msg time="2026-04-11T23:22:29.012890" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:29.011810" elapsed="0.001258">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:29.011766" elapsed="0.001397">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:28.975902" elapsed="0.037528">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:28.975436" elapsed="0.038162"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.014546" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17981 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:29.069794" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.070017" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.014066" elapsed="0.056006"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:29.070268" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:29.071125" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:28.974648" elapsed="0.096696"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:29.071991" elapsed="0.001860"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:28.974028" elapsed="0.100063"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:28.972823" elapsed="0.101411"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:28.972309" elapsed="0.102023"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.971313" elapsed="0.103143"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:28.970873" elapsed="0.103677"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.075733" level="INFO">${next} = 17982</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.074946" elapsed="0.000847"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.077055" level="INFO">${current_port} = 17982</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:29.076145" elapsed="0.001006"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:28.965318" elapsed="0.111961"/>
</kw>
<msg time="2026-04-11T23:22:29.077366" level="INFO">Repeating keyword, round 153/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:29.079208" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:29.079060" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.079033" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.079794" level="INFO">${current_Date} = 2026-04-11 23:22:29.080</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:29.079554" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.080457" level="INFO">${ellapsed_seconds} = 2682.788</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:29.080032" elapsed="0.000462"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.080950" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:29.080612" elapsed="0.000413"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.080566" elapsed="0.000491"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:29.078729" elapsed="0.002391"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.081843" level="INFO">${number} = 153</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.081317" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.083883" level="INFO">${number} = 153</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.083396" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.086212" level="INFO">${device-port} = 17982</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.085426" elapsed="0.000813"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.088650" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:29.124193" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.124444" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.088536" elapsed="0.035975"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.125524" elapsed="0.000092"/>
</kw>
<msg time="2026-04-11T23:22:29.125705" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:29.124757" elapsed="0.001063">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:29.124707" elapsed="0.001210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:29.088267" elapsed="0.037941">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:29.087877" elapsed="0.038553"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.127699" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17982 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:29.186199" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.186437" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.126983" elapsed="0.059516"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:29.186751" elapsed="0.000160"/>
</return>
<msg time="2026-04-11T23:22:29.187655" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:29.087069" elapsed="0.100830"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:29.188551" elapsed="0.002009"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:29.086443" elapsed="0.104451"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:29.084952" elapsed="0.106115"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:29.084136" elapsed="0.107038"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.082785" elapsed="0.108520"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:29.082097" elapsed="0.109312"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.192746" level="INFO">${next} = 17983</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.191813" elapsed="0.001001"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.193710" level="INFO">${current_port} = 17983</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:29.193156" elapsed="0.000614"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.077819" elapsed="0.116031"/>
</kw>
<msg time="2026-04-11T23:22:29.193905" level="INFO">Repeating keyword, round 154/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:29.195434" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:29.195285" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.195258" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.195951" level="INFO">${current_Date} = 2026-04-11 23:22:29.196</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:29.195738" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.196695" level="INFO">${ellapsed_seconds} = 2682.672</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:29.196187" elapsed="0.000547"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.197153" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:29.196834" elapsed="0.000393"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.196807" elapsed="0.000451"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:29.194954" elapsed="0.002366"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.198038" level="INFO">${number} = 154</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.197516" elapsed="0.000558"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.200100" level="INFO">${number} = 154</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.199593" elapsed="0.000553"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.202462" level="INFO">${device-port} = 17983</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.201611" elapsed="0.000888"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.205703" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:29.239667" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.239880" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.205605" elapsed="0.034335"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.240851" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:29.240984" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:29.240101" elapsed="0.001093">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:29.240058" elapsed="0.001237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:29.205323" elapsed="0.036237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:29.204826" elapsed="0.036912"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.242753" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17983 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:29.297906" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.298186" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.242227" elapsed="0.056016"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:29.298477" elapsed="0.000224"/>
</return>
<msg time="2026-04-11T23:22:29.299366" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:29.203671" elapsed="0.095954"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:29.300269" elapsed="0.001905"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:29.202798" elapsed="0.099611"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:29.201112" elapsed="0.101439"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:29.200370" elapsed="0.102310"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.198922" elapsed="0.103880"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:29.198283" elapsed="0.104613"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.304027" level="INFO">${next} = 17984</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.303236" elapsed="0.000850"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.305217" level="INFO">${current_port} = 17984</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:29.304438" elapsed="0.000841"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.194167" elapsed="0.111197"/>
</kw>
<msg time="2026-04-11T23:22:29.305423" level="INFO">Repeating keyword, round 155/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:29.307147" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:29.306982" elapsed="0.000226"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.306951" elapsed="0.000289"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.307901" level="INFO">${current_Date} = 2026-04-11 23:22:29.308</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:29.307654" elapsed="0.000286"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.308657" level="INFO">${ellapsed_seconds} = 2682.56</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:29.308157" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.309148" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:29.308801" elapsed="0.000425"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.308774" elapsed="0.000486"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:29.306621" elapsed="0.002704"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.310088" level="INFO">${number} = 155</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.309535" elapsed="0.000590"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.312251" level="INFO">${number} = 155</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.311752" elapsed="0.000537"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.314731" level="INFO">${device-port} = 17984</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.313808" elapsed="0.000962"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.318089" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:29.351308" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.351540" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.317829" elapsed="0.033812"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.352597" elapsed="0.000113"/>
</kw>
<msg time="2026-04-11T23:22:29.352794" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:29.351817" elapsed="0.001092">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:29.351770" elapsed="0.001236">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:29.317543" elapsed="0.035757">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:29.317153" elapsed="0.036366"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.354615" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17984 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:29.409289" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.409490" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.354051" elapsed="0.055493"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:29.409766" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:29.410547" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:29.315989" elapsed="0.094821"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:29.411403" elapsed="0.001823"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:29.315072" elapsed="0.098388"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:29.313282" elapsed="0.100384"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:29.312516" elapsed="0.101258"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.311025" elapsed="0.102872"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:29.310350" elapsed="0.103642"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.415096" level="INFO">${next} = 17985</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.414330" elapsed="0.000825"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.416403" level="INFO">${current_port} = 17985</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:29.415504" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.305749" elapsed="0.110947"/>
</kw>
<msg time="2026-04-11T23:22:29.416786" level="INFO">Repeating keyword, round 156/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:29.418356" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:29.418205" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.418177" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.418874" level="INFO">${current_Date} = 2026-04-11 23:22:29.419</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:29.418662" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.419523" level="INFO">${ellapsed_seconds} = 2682.449</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:29.419109" elapsed="0.000449"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.420053" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:29.419738" elapsed="0.000388"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.419711" elapsed="0.000447"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:29.417874" elapsed="0.002345"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.420957" level="INFO">${number} = 156</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.420415" elapsed="0.000579"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.422941" level="INFO">${number} = 156</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.422454" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.425281" level="INFO">${device-port} = 17985</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.424383" elapsed="0.000934"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.428870" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:29.459656" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.459873" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.428479" elapsed="0.031452"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.460845" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:29.460979" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:29.460095" elapsed="0.001074">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:29.460050" elapsed="0.001215">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:29.428110" elapsed="0.033421">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:29.427563" elapsed="0.034173"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.462732" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17985 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:29.517419" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.517675" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.462198" elapsed="0.055535"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:29.517930" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:22:29.518781" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:29.426452" elapsed="0.092550"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:29.519630" elapsed="0.001818"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:29.425619" elapsed="0.096099"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:29.423915" elapsed="0.097947"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:29.423192" elapsed="0.098768"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.421837" elapsed="0.100247"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:29.421203" elapsed="0.100974"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.523279" level="INFO">${next} = 17986</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.522512" elapsed="0.000826"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.524630" level="INFO">${current_port} = 17986</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:29.523749" elapsed="0.000979"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.417097" elapsed="0.107757"/>
</kw>
<msg time="2026-04-11T23:22:29.524939" level="INFO">Repeating keyword, round 157/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:29.527435" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:29.527198" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.527156" elapsed="0.000551"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.528452" level="INFO">${current_Date} = 2026-04-11 23:22:29.528</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:29.528104" elapsed="0.000406"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.529276" level="INFO">${ellapsed_seconds} = 2682.34</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:29.528957" elapsed="0.000346"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.529619" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:29.529373" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.529355" elapsed="0.000342"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:29.526645" elapsed="0.003097"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.530247" level="INFO">${number} = 157</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.529884" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.531659" level="INFO">${number} = 157</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.531311" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.533300" level="INFO">${device-port} = 17986</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.532696" elapsed="0.000631"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.535874" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:29.571445" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.571701" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.535631" elapsed="0.036131"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.572708" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:29.572844" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:29.571936" elapsed="0.001012">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:29.571890" elapsed="0.001147">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:29.535347" elapsed="0.037957">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:29.534964" elapsed="0.038550"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.574495" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17986 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:29.630100" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.630340" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.574009" elapsed="0.056391"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:29.630658" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:22:29.631516" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:29.534156" elapsed="0.097630"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:29.632439" elapsed="0.001964"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:29.533528" elapsed="0.101162"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:29.532326" elapsed="0.102521"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:29.531839" elapsed="0.103114"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.530877" elapsed="0.104211"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:29.530424" elapsed="0.104768"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.636406" level="INFO">${next} = 17987</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.635560" elapsed="0.000909"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.637851" level="INFO">${current_port} = 17987</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:29.636907" elapsed="0.001046"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.525359" elapsed="0.112730"/>
</kw>
<msg time="2026-04-11T23:22:29.638183" level="INFO">Repeating keyword, round 158/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:29.640965" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:29.640767" elapsed="0.000240"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.640720" elapsed="0.000309"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.641325" level="INFO">${current_Date} = 2026-04-11 23:22:29.641</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:29.641171" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.641890" level="INFO">${ellapsed_seconds} = 2682.227</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:29.641562" elapsed="0.000354"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.642219" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:29.641987" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.641968" elapsed="0.000327"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:29.640111" elapsed="0.002230"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.642862" level="INFO">${number} = 158</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.642484" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.644326" level="INFO">${number} = 158</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.643987" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.646010" level="INFO">${device-port} = 17987</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.645367" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.648598" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:29.679650" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.679883" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.648475" elapsed="0.031470"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.680936" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:29.681078" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:29.680119" elapsed="0.001156">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:29.680072" elapsed="0.001307">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:29.648054" elapsed="0.033652">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:29.647672" elapsed="0.034187"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.682926" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17987 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:29.737707" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.737916" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.682356" elapsed="0.055614"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:29.738159" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:29.738980" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:29.646865" elapsed="0.092328"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:29.739815" elapsed="0.001821"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:29.646240" elapsed="0.095637"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:29.645030" elapsed="0.096989"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:29.644520" elapsed="0.097595"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.643487" elapsed="0.098748"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:29.643045" elapsed="0.099282"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.743440" level="INFO">${next} = 17988</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.742717" elapsed="0.000782"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.744756" level="INFO">${current_port} = 17988</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:29.743877" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.638665" elapsed="0.106311"/>
</kw>
<msg time="2026-04-11T23:22:29.745061" level="INFO">Repeating keyword, round 159/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:29.747300" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:29.747192" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.747172" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.747706" level="INFO">${current_Date} = 2026-04-11 23:22:29.748</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:29.747533" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.748180" level="INFO">${ellapsed_seconds} = 2682.12</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:29.747876" elapsed="0.000329"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.748515" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:29.748274" elapsed="0.000308"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.748256" elapsed="0.000350"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:29.746930" elapsed="0.001722"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.749152" level="INFO">${number} = 159</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.748793" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.750544" level="INFO">${number} = 159</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.750212" elapsed="0.000394"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.752225" level="INFO">${device-port} = 17988</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.751606" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.754888" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:29.787381" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.787637" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.754792" elapsed="0.032907"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.788660" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:29.788799" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:29.787878" elapsed="0.001026">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:29.787829" elapsed="0.001163">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:29.754506" elapsed="0.034750">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:29.753905" elapsed="0.035558"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.790460" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17988 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:29.849416" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.849658" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.789976" elapsed="0.059740"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:29.849907" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:29.850734" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:29.753095" elapsed="0.097858"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:29.851543" elapsed="0.001832"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:29.752454" elapsed="0.101188"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:29.751249" elapsed="0.102544"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:29.750763" elapsed="0.103126"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.749780" elapsed="0.104228"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:29.749328" elapsed="0.104772"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.855213" level="INFO">${next} = 17989</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.854437" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.856564" level="INFO">${current_port} = 17989</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:29.855681" elapsed="0.001011"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.745471" elapsed="0.111348"/>
</kw>
<msg time="2026-04-11T23:22:29.856905" level="INFO">Repeating keyword, round 160/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:29.858441" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:29.858292" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.858265" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.858959" level="INFO">${current_Date} = 2026-04-11 23:22:29.859</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:29.858747" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.859827" level="INFO">${ellapsed_seconds} = 2682.009</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:29.859195" elapsed="0.000669"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.860279" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:29.859962" elapsed="0.000391"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.859936" elapsed="0.000450"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:29.857962" elapsed="0.002506"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.861186" level="INFO">${number} = 160</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.860689" elapsed="0.000534"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.863168" level="INFO">${number} = 160</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.862699" elapsed="0.000507"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.865548" level="INFO">${device-port} = 17989</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.864690" elapsed="0.000919"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.869248" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:29.903370" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.903623" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.869147" elapsed="0.034539"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.904561" elapsed="0.000085"/>
</kw>
<msg time="2026-04-11T23:22:29.904723" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:29.903850" elapsed="0.001049">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:29.903805" elapsed="0.001189">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:29.868731" elapsed="0.036529">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:29.867885" elapsed="0.037513"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.906393" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17989 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:29.961704" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:29.961907" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.905907" elapsed="0.056055"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:29.962154" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:29.963000" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:29.866763" elapsed="0.096457"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:29.963861" elapsed="0.001939"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:29.865895" elapsed="0.100144"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:29.864163" elapsed="0.102018"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:29.863420" elapsed="0.102860"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.862067" elapsed="0.104334"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:29.861431" elapsed="0.105063"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.967648" level="INFO">${next} = 17990</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.966862" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.968946" level="INFO">${current_port} = 17990</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:29.968062" elapsed="0.000980"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.857182" elapsed="0.111987"/>
</kw>
<msg time="2026-04-11T23:22:29.969253" level="INFO">Repeating keyword, round 161/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:29.971860" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:29.971495" elapsed="0.000460"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.971454" elapsed="0.000549"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.972812" level="INFO">${current_Date} = 2026-04-11 23:22:29.973</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:29.972431" elapsed="0.000441"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:29.973479" level="INFO">${ellapsed_seconds} = 2681.895</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:29.973180" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:29.973825" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:29.973594" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:29.973557" elapsed="0.000346"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:29.970968" elapsed="0.002980"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.974450" level="INFO">${number} = 161</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.974091" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.975926" level="INFO">${number} = 161</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.975539" elapsed="0.000414"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:29.977589" level="INFO">${device-port} = 17990</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:29.976965" elapsed="0.000653"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:29.982351" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.011493" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.011750" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:29.982254" elapsed="0.029558"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.012733" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:30.012869" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.011979" elapsed="0.000995">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.011933" elapsed="0.001132">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:29.981974" elapsed="0.031355">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:29.979322" elapsed="0.034220"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.014521" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17990 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:30.069280" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.069485" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.014037" elapsed="0.055502"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:30.069770" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:30.070555" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:29.978419" elapsed="0.092398"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:30.071411" elapsed="0.001830"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:29.977821" elapsed="0.095656"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:29.976629" elapsed="0.097021"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:29.976113" elapsed="0.097635"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.975099" elapsed="0.098769"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:29.974643" elapsed="0.099318"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.075061" level="INFO">${next} = 17991</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.074295" elapsed="0.000825"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.076436" level="INFO">${current_port} = 17991</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:30.075465" elapsed="0.001066"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:29.969723" elapsed="0.106970"/>
</kw>
<msg time="2026-04-11T23:22:30.076780" level="INFO">Repeating keyword, round 162/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:30.079225" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:30.078988" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.078945" elapsed="0.000423"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.080145" level="INFO">${current_Date} = 2026-04-11 23:22:30.080</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:30.079800" elapsed="0.000403"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.081113" level="INFO">${ellapsed_seconds} = 2681.788</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:30.080606" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.081437" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:30.081209" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.081191" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:30.078430" elapsed="0.003128"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.082071" level="INFO">${number} = 162</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.081714" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.083467" level="INFO">${number} = 162</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.083134" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.085168" level="INFO">${device-port} = 17991</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.084529" elapsed="0.000666"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.087780" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.119655" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.119869" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.087681" elapsed="0.032246"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.120834" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:30.120967" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.120088" elapsed="0.001054">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.120043" elapsed="0.001194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:30.087231" elapsed="0.034271">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:30.086849" elapsed="0.034824"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.122657" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17991 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:30.177240" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.177448" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.122137" elapsed="0.055365"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:30.177732" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:30.178507" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:30.086031" elapsed="0.092737"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:30.179357" elapsed="0.001749"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:30.085396" elapsed="0.095856"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:30.084167" elapsed="0.097173"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:30.083678" elapsed="0.097723"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.082699" elapsed="0.098777"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:30.082246" elapsed="0.099289"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.182230" level="INFO">${next} = 17992</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.181769" elapsed="0.000498"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.183026" level="INFO">${current_port} = 17992</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:30.182485" elapsed="0.000599"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.077193" elapsed="0.105969"/>
</kw>
<msg time="2026-04-11T23:22:30.183214" level="INFO">Repeating keyword, round 163/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:30.184794" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:30.184644" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.184616" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.185391" level="INFO">${current_Date} = 2026-04-11 23:22:30.185</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:30.185179" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.186070" level="INFO">${ellapsed_seconds} = 2681.683</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:30.185650" elapsed="0.000456"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.186517" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:30.186202" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.186177" elapsed="0.000467"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:30.184277" elapsed="0.002431"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.187404" level="INFO">${number} = 163</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.186908" elapsed="0.000532"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.189448" level="INFO">${number} = 163</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.188988" elapsed="0.000497"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.191793" level="INFO">${device-port} = 17992</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.190893" elapsed="0.000938"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.194959" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.227812" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.228032" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.194701" elapsed="0.033390"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.229022" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:30.229155" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.228254" elapsed="0.001006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.228209" elapsed="0.001139">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:30.194417" elapsed="0.035228">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:30.194000" elapsed="0.035858"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.230855" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17992 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:30.285475" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.285726" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.230324" elapsed="0.055459"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:30.285971" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:30.286792" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:30.193045" elapsed="0.093962"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:30.287629" elapsed="0.001814"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:30.192113" elapsed="0.097595"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:30.190401" elapsed="0.099452"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:30.189719" elapsed="0.100231"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.188358" elapsed="0.101713"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:30.187729" elapsed="0.102436"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.291314" level="INFO">${next} = 17993</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.290505" elapsed="0.000868"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.292720" level="INFO">${current_port} = 17993</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:30.291791" elapsed="0.001027"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.183472" elapsed="0.109472"/>
</kw>
<msg time="2026-04-11T23:22:30.293024" level="INFO">Repeating keyword, round 164/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:30.294559" elapsed="0.000042"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:30.294407" elapsed="0.000235"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.294380" elapsed="0.000293"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.295126" level="INFO">${current_Date} = 2026-04-11 23:22:30.295</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:30.294882" elapsed="0.000280"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.295866" level="INFO">${ellapsed_seconds} = 2681.573</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:30.295366" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.296333" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:30.296001" elapsed="0.000407"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.295975" elapsed="0.000466"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:30.294074" elapsed="0.002430"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.297230" level="INFO">${number} = 164</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.296725" elapsed="0.000542"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.299405" level="INFO">${number} = 164</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.298857" elapsed="0.000585"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.301811" level="INFO">${device-port} = 17993</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.300924" elapsed="0.000924"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.305211" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.339694" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.339923" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.305100" elapsed="0.034882"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.340901" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:30.341033" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.340148" elapsed="0.001069">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.340103" elapsed="0.001207">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:30.304698" elapsed="0.036904">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:30.304115" elapsed="0.037630"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.342737" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17993 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:30.397745" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.397964" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.342211" elapsed="0.055808"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:30.398213" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:30.399043" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:30.302996" elapsed="0.096265"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:30.399897" elapsed="0.001808"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:30.302130" elapsed="0.099806"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:30.300413" elapsed="0.101683"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:30.299716" elapsed="0.102493"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.298119" elapsed="0.104213"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:30.297477" elapsed="0.104949"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.403680" level="INFO">${next} = 17994</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.402829" elapsed="0.000912"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.405047" level="INFO">${current_port} = 17994</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:30.404191" elapsed="0.000918"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.293285" elapsed="0.111908"/>
</kw>
<msg time="2026-04-11T23:22:30.405249" level="INFO">Repeating keyword, round 165/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:30.406877" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:30.406719" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.406691" elapsed="0.000279"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.407451" level="INFO">${current_Date} = 2026-04-11 23:22:30.407</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:30.407227" elapsed="0.000263"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.408252" level="INFO">${ellapsed_seconds} = 2681.461</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:30.407788" elapsed="0.000503"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.408762" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:30.408396" elapsed="0.000446"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.408369" elapsed="0.000508"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:30.406352" elapsed="0.002592"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.409710" level="INFO">${number} = 165</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.409152" elapsed="0.000596"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.411868" level="INFO">${number} = 165</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.411331" elapsed="0.000574"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.413940" level="INFO">${device-port} = 17994</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.413310" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.416595" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.447477" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.447725" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.416485" elapsed="0.031299"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.448672" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:30.448804" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.447942" elapsed="0.000965">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.447899" elapsed="0.001099">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:30.416202" elapsed="0.033058">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:30.415816" elapsed="0.033657"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.450458" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17994 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:30.506074" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.506324" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.449977" elapsed="0.056403"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:30.506635" elapsed="0.000167"/>
</return>
<msg time="2026-04-11T23:22:30.507462" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:30.414911" elapsed="0.092814"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:30.508375" elapsed="0.001860"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:30.414288" elapsed="0.096182"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:30.412944" elapsed="0.097700"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:30.412163" elapsed="0.098584"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.410646" elapsed="0.100228"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:30.409972" elapsed="0.100999"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.512096" level="INFO">${next} = 17995</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.511310" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.513404" level="INFO">${current_port} = 17995</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:30.512526" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.405525" elapsed="0.108131"/>
</kw>
<msg time="2026-04-11T23:22:30.513746" level="INFO">Repeating keyword, round 166/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:30.516489" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:30.516242" elapsed="0.000369"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.516151" elapsed="0.000513"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.517151" level="INFO">${current_Date} = 2026-04-11 23:22:30.517</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:30.516979" elapsed="0.000198"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.517664" level="INFO">${ellapsed_seconds} = 2681.351</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:30.517320" elapsed="0.000369"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.518006" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:30.517759" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.517740" elapsed="0.000343"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:30.515662" elapsed="0.002467"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.518651" level="INFO">${number} = 166</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.518273" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.520077" level="INFO">${number} = 166</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.519736" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.521867" level="INFO">${device-port} = 17995</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.521225" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.524338" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.559839" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.560104" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.524233" elapsed="0.035930"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.561209" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:30.561341" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.560397" elapsed="0.001289">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.560339" elapsed="0.001452">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:30.523946" elapsed="0.038129">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:30.523540" elapsed="0.038677"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.563404" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17995 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:30.617628" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.617919" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.562758" elapsed="0.055218"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:30.618217" elapsed="0.000175"/>
</return>
<msg time="2026-04-11T23:22:30.619104" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:30.522736" elapsed="0.096585"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:30.620010" elapsed="0.001924"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:30.522102" elapsed="0.100070"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:30.520881" elapsed="0.101434"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:30.520273" elapsed="0.102142"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.519278" elapsed="0.103264"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:30.518830" elapsed="0.103839"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.623821" level="INFO">${next} = 17996</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.623011" elapsed="0.000870"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.625159" level="INFO">${current_port} = 17996</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:30.624283" elapsed="0.000946"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.514197" elapsed="0.111119"/>
</kw>
<msg time="2026-04-11T23:22:30.625375" level="INFO">Repeating keyword, round 167/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:30.627243" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:30.627076" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.627045" elapsed="0.000294"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.627952" level="INFO">${current_Date} = 2026-04-11 23:22:30.628</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:30.627705" elapsed="0.000285"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.628722" level="INFO">${ellapsed_seconds} = 2681.24</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:30.628224" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.629216" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:30.628864" elapsed="0.000430"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.628837" elapsed="0.000491"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:30.626713" elapsed="0.002682"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.630159" level="INFO">${number} = 167</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.629625" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.632341" level="INFO">${number} = 167</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.631826" elapsed="0.000554"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.634809" level="INFO">${device-port} = 17996</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.633885" elapsed="0.000963"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.638022" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.667951" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.668189" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.637906" elapsed="0.030343"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.669160" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:30.669291" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.668415" elapsed="0.000985">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.668368" elapsed="0.001122">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:30.637603" elapsed="0.032191">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:30.637184" elapsed="0.032824"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.671000" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17996 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:30.725498" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.725737" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.670473" elapsed="0.055319"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:30.725990" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:30.726817" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:30.636066" elapsed="0.090969"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:30.727650" elapsed="0.001780"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:30.635146" elapsed="0.094585"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:30.633358" elapsed="0.096514"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:30.632629" elapsed="0.097338"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.631105" elapsed="0.098981"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:30.630422" elapsed="0.099757"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.731364" level="INFO">${next} = 17997</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.730513" elapsed="0.000909"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.732729" level="INFO">${current_port} = 17997</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:30.731806" elapsed="0.001018"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.625721" elapsed="0.107228"/>
</kw>
<msg time="2026-04-11T23:22:30.733012" level="INFO">Repeating keyword, round 168/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:30.734716" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:30.734538" elapsed="0.000241"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.734508" elapsed="0.000303"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.735246" level="INFO">${current_Date} = 2026-04-11 23:22:30.735</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:30.735020" elapsed="0.000264"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.735968" level="INFO">${ellapsed_seconds} = 2681.133</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:30.735497" elapsed="0.000509"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.736460" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:30.736108" elapsed="0.000430"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.736082" elapsed="0.000510"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:30.734189" elapsed="0.002472"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.737399" level="INFO">${number} = 168</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.736870" elapsed="0.000567"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.739529" level="INFO">${number} = 168</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.739036" elapsed="0.000566"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.742024" level="INFO">${device-port} = 17997</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.741090" elapsed="0.000974"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.745587" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.775651" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.775863" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.745331" elapsed="0.030590"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.776845" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:30.776976" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.776125" elapsed="0.001035">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.776054" elapsed="0.001200">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:30.745064" elapsed="0.032458">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:30.744515" elapsed="0.033176"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.778664" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17997 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:30.833876" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.834078" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.778149" elapsed="0.055983"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:30.834323" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:30.835245" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:30.743278" elapsed="0.092183"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:30.836104" elapsed="0.001770"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:30.742361" elapsed="0.095746"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:30.740593" elapsed="0.097652"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:30.739836" elapsed="0.098504"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.738368" elapsed="0.100093"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:30.737715" elapsed="0.100838"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.839676" level="INFO">${next} = 17998</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.838914" elapsed="0.000823"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.840952" level="INFO">${current_port} = 17998</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:30.840097" elapsed="0.000948"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.733288" elapsed="0.107883"/>
</kw>
<msg time="2026-04-11T23:22:30.841254" level="INFO">Repeating keyword, round 169/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:30.843850" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:30.843493" elapsed="0.000451"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.843451" elapsed="0.000541"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.844784" level="INFO">${current_Date} = 2026-04-11 23:22:30.845</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:30.844414" elapsed="0.000428"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.845345" level="INFO">${ellapsed_seconds} = 2681.023</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:30.845046" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.845681" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:30.845440" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.845422" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:30.842976" elapsed="0.002829"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.846302" level="INFO">${number} = 169</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.845947" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.847755" level="INFO">${number} = 169</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.847370" elapsed="0.000411"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.849396" level="INFO">${device-port} = 17998</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.848793" elapsed="0.000630"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.852013" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.883669" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.883884" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.851772" elapsed="0.032171"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.884854" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:30.884985" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.884130" elapsed="0.000960">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.884083" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:30.851483" elapsed="0.033958">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:30.851098" elapsed="0.034573"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.886657" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17998 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:30.941620" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.941822" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.886135" elapsed="0.055741"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:30.942070" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:30.942898" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:30.850242" elapsed="0.092872"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:30.943744" elapsed="0.001783"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:30.849642" elapsed="0.096152"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:30.848435" elapsed="0.097503"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:30.847935" elapsed="0.098100"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.846936" elapsed="0.099221"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:30.846479" elapsed="0.099772"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.947344" level="INFO">${next} = 17999</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.946613" elapsed="0.000788"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.948716" level="INFO">${current_port} = 17999</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:30.947802" elapsed="0.001008"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.841726" elapsed="0.107208"/>
</kw>
<msg time="2026-04-11T23:22:30.949010" level="INFO">Repeating keyword, round 170/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:30.950528" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:30.950378" elapsed="0.000227"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.950351" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.951042" level="INFO">${current_Date} = 2026-04-11 23:22:30.951</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:30.950833" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:30.951802" level="INFO">${ellapsed_seconds} = 2680.917</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:30.951276" elapsed="0.000563"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.952267" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:30.951937" elapsed="0.000403"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:30.951911" elapsed="0.000462"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:30.950049" elapsed="0.002386"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.953161" level="INFO">${number} = 170</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.952654" elapsed="0.000543"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.955188" level="INFO">${number} = 170</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.954724" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:30.957598" level="INFO">${device-port} = 17999</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:30.956658" elapsed="0.000981"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.960301" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:30.991667" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:30.991880" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.960205" elapsed="0.031732"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:30.992839" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:30.992971" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:30.992116" elapsed="0.001030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:30.992071" elapsed="0.001168">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:30.959780" elapsed="0.033725">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:30.959382" elapsed="0.034295"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:30.994654" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":17999 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:31.049663" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.049865" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:30.994136" elapsed="0.055782"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:31.050106" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:31.050923" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:30.958588" elapsed="0.092561"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:31.051775" elapsed="0.001846"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:30.957925" elapsed="0.095933"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:30.956156" elapsed="0.097843"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:30.955437" elapsed="0.098658"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.954095" elapsed="0.100121"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:30.953406" elapsed="0.100903"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.055398" level="INFO">${next} = 18000</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.054667" elapsed="0.000790"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.056761" level="INFO">${current_port} = 18000</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:31.055858" elapsed="0.000997"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:30.949269" elapsed="0.107711"/>
</kw>
<msg time="2026-04-11T23:22:31.057064" level="INFO">Repeating keyword, round 171/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:31.058159" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:31.058053" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.058034" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.058553" level="INFO">${current_Date} = 2026-04-11 23:22:31.058</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:31.058402" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.059042" level="INFO">${ellapsed_seconds} = 2680.81</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:31.058741" elapsed="0.000327"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.059362" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:31.059137" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.059119" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:31.057817" elapsed="0.001666"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.060054" level="INFO">${number} = 171</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.059682" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.061464" level="INFO">${number} = 171</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.061133" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.063126" level="INFO">${device-port} = 18000</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.062496" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.065928" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:31.103600" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.103816" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.065833" elapsed="0.038040"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.104781" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:31.104912" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:31.104054" elapsed="0.000963">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:31.104008" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:31.065546" elapsed="0.039822">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:31.065000" elapsed="0.040616"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.106563" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18000 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:31.161772" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.161973" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.106083" elapsed="0.055944"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:31.162219" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:31.163037" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:31.064186" elapsed="0.099062"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:31.163892" elapsed="0.001831"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:31.063353" elapsed="0.102603"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:31.062143" elapsed="0.103976"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:31.061658" elapsed="0.104574"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.060687" elapsed="0.105666"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:31.060231" elapsed="0.106216"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.167535" level="INFO">${next} = 18001</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.166810" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.169091" level="INFO">${current_port} = 18001</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:31.168023" elapsed="0.001179"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.057259" elapsed="0.112071"/>
</kw>
<msg time="2026-04-11T23:22:31.169415" level="INFO">Repeating keyword, round 172/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:31.171342" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:31.171184" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.171151" elapsed="0.000281"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.171917" level="INFO">${current_Date} = 2026-04-11 23:22:31.172</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:31.171707" elapsed="0.000247"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.172659" level="INFO">${ellapsed_seconds} = 2680.696</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:31.172214" elapsed="0.000481"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.173107" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:31.172792" elapsed="0.000387"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.172766" elapsed="0.000445"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:31.170770" elapsed="0.002503"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.173987" level="INFO">${number} = 172</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.173468" elapsed="0.000556"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.176065" level="INFO">${number} = 172</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.175494" elapsed="0.000617"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.178446" level="INFO">${device-port} = 18001</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.177561" elapsed="0.000922"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.181873" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:31.211542" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.211785" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.181777" elapsed="0.030066"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.212740" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:31.212872" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:31.212023" elapsed="0.001023">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:31.211978" elapsed="0.001162">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:31.181492" elapsed="0.031911">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:31.180802" elapsed="0.032738"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.214499" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18001 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:31.269267" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.269468" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.214023" elapsed="0.055498"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:31.269753" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:31.270532" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:31.179652" elapsed="0.091144"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:31.271386" elapsed="0.001820"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:31.178787" elapsed="0.094654"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:31.177057" elapsed="0.096562"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:31.176344" elapsed="0.097401"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.174882" elapsed="0.098989"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:31.174232" elapsed="0.099731"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.275053" level="INFO">${next} = 18002</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.274293" elapsed="0.000817"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.276380" level="INFO">${current_port} = 18002</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:31.275455" elapsed="0.001018"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.169862" elapsed="0.106772"/>
</kw>
<msg time="2026-04-11T23:22:31.276720" level="INFO">Repeating keyword, round 173/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:31.279154" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:31.278918" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.278876" elapsed="0.000418"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.280174" level="INFO">${current_Date} = 2026-04-11 23:22:31.280</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:31.279791" elapsed="0.000441"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.281228" level="INFO">${ellapsed_seconds} = 2680.588</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:31.280551" elapsed="0.000703"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.281547" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:31.281323" elapsed="0.000293"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.281305" elapsed="0.000334"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:31.278364" elapsed="0.003320"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.282182" level="INFO">${number} = 173</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.281824" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.283609" level="INFO">${number} = 173</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.283245" elapsed="0.000391"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.285254" level="INFO">${device-port} = 18002</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.284646" elapsed="0.000635"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.289783" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:31.319726" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.319957" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.289684" elapsed="0.030332"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.320903" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:31.321034" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:31.320176" elapsed="0.000960">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:31.320132" elapsed="0.001092">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:31.289387" elapsed="0.032098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:31.286898" elapsed="0.034816"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.322693" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18002 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:31.377373" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.377615" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.322172" elapsed="0.055502"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:31.377861" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:31.378680" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:31.286104" elapsed="0.092795"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:31.379487" elapsed="0.001802"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:31.285481" elapsed="0.096038"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:31.284287" elapsed="0.097410"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:31.283791" elapsed="0.098003"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.282811" elapsed="0.099103"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:31.282357" elapsed="0.099652"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.383101" level="INFO">${next} = 18003</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.382337" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.384413" level="INFO">${current_port} = 18003</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:31.383500" elapsed="0.001006"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.277128" elapsed="0.107537"/>
</kw>
<msg time="2026-04-11T23:22:31.384751" level="INFO">Repeating keyword, round 174/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:31.387180" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:31.386944" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.386903" elapsed="0.000415"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.388137" level="INFO">${current_Date} = 2026-04-11 23:22:31.388</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:31.387749" elapsed="0.000447"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.389216" level="INFO">${ellapsed_seconds} = 2680.48</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:31.388513" elapsed="0.000732"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.389542" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:31.389314" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.389296" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:31.386390" elapsed="0.003289"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.390176" level="INFO">${number} = 174</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.389820" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.391600" level="INFO">${number} = 174</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.391240" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.393240" level="INFO">${device-port} = 18003</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.392636" elapsed="0.000630"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.395860" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:31.427362" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.427608" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.395764" elapsed="0.031908"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.428541" elapsed="0.000085"/>
</kw>
<msg time="2026-04-11T23:22:31.428703" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:31.427833" elapsed="0.001042">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:31.427788" elapsed="0.001180">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:31.395309" elapsed="0.033920">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:31.394924" elapsed="0.034442"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.430346" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18003 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:31.485273" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.485474" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.429869" elapsed="0.055659"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:31.485755" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:31.486521" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:31.394082" elapsed="0.092698"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:31.487364" elapsed="0.001805"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:31.393466" elapsed="0.095934"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:31.392280" elapsed="0.097258"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:31.391782" elapsed="0.097885"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.390806" elapsed="0.098983"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:31.390351" elapsed="0.099531"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.490970" level="INFO">${next} = 18004</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.490212" elapsed="0.000817"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.492300" level="INFO">${current_port} = 18004</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:31.491376" elapsed="0.001016"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.385163" elapsed="0.107353"/>
</kw>
<msg time="2026-04-11T23:22:31.492632" level="INFO">Repeating keyword, round 175/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:31.495051" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:31.494817" elapsed="0.000325"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.494775" elapsed="0.000414"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.496099" level="INFO">${current_Date} = 2026-04-11 23:22:31.496</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:31.495565" elapsed="0.000594"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.497116" level="INFO">${ellapsed_seconds} = 2680.372</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:31.496480" elapsed="0.000662"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.497441" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:31.497213" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.497195" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:31.494268" elapsed="0.003296"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.498080" level="INFO">${number} = 175</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.497723" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.499471" level="INFO">${number} = 175</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.499143" elapsed="0.000354"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.501139" level="INFO">${device-port} = 18004</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.500519" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.503693" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:31.535754" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.535995" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.503417" elapsed="0.032637"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.536948" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:31.537079" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:31.536218" elapsed="0.000965">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:31.536173" elapsed="0.001098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:31.503151" elapsed="0.034382">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:31.502771" elapsed="0.035008"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.538769" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18004 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:31.593192" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.593400" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.538244" elapsed="0.055210"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:31.593688" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:31.594462" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:31.501983" elapsed="0.092736"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:31.595314" elapsed="0.001807"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:31.501365" elapsed="0.095990"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:31.500188" elapsed="0.097311"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:31.499682" elapsed="0.097947"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.498709" elapsed="0.099044"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:31.498256" elapsed="0.099591"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.598956" level="INFO">${next} = 18005</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.598180" elapsed="0.000835"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.600262" level="INFO">${current_port} = 18005</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:31.599365" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.493042" elapsed="0.107439"/>
</kw>
<msg time="2026-04-11T23:22:31.600597" level="INFO">Repeating keyword, round 176/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:31.603138" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:31.602901" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.602858" elapsed="0.000421"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.604014" level="INFO">${current_Date} = 2026-04-11 23:22:31.604</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:31.603623" elapsed="0.000450"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.605042" level="INFO">${ellapsed_seconds} = 2680.264</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:31.604397" elapsed="0.000671"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.605364" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:31.605139" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.605120" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:31.602251" elapsed="0.003233"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.606001" level="INFO">${number} = 176</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.605642" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.607434" level="INFO">${number} = 176</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.607103" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.609160" level="INFO">${device-port} = 18005</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.608462" elapsed="0.000727"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.611587" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:31.643086" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.643302" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.611477" elapsed="0.031884"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.644290" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:31.644421" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:31.643526" elapsed="0.001106">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:31.643481" elapsed="0.001249">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:31.611213" elapsed="0.033784">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:31.610829" elapsed="0.034308"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.646130" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18005 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:31.701362" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.701567" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.645641" elapsed="0.056017"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:31.701847" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:31.702664" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:31.610026" elapsed="0.092857"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:31.703472" elapsed="0.001816"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:31.609399" elapsed="0.096125"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:31.608128" elapsed="0.097574"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:31.607629" elapsed="0.098171"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.606669" elapsed="0.099251"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:31.606177" elapsed="0.099836"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.707122" level="INFO">${next} = 18006</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.706349" elapsed="0.000832"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.708452" level="INFO">${current_port} = 18006</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:31.707532" elapsed="0.001013"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.601012" elapsed="0.107693"/>
</kw>
<msg time="2026-04-11T23:22:31.708792" level="INFO">Repeating keyword, round 177/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:31.711236" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:31.711002" elapsed="0.000326"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.710959" elapsed="0.000416"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.712184" level="INFO">${current_Date} = 2026-04-11 23:22:31.712</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:31.711924" elapsed="0.000286"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.712672" level="INFO">${ellapsed_seconds} = 2680.156</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:31.712354" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.712997" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:31.712768" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.712750" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:31.710444" elapsed="0.002673"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.713634" level="INFO">${number} = 177</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.713258" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.715030" level="INFO">${number} = 177</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.714699" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.716709" level="INFO">${device-port} = 18006</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.716079" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.719243" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:31.751627" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.751874" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.719148" elapsed="0.032789"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.752824" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:31.752958" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:31.752106" elapsed="0.000956">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:31.752061" elapsed="0.001091">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:31.718881" elapsed="0.034535">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:31.718478" elapsed="0.035174"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.754649" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18006 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:31.809660" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.809868" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.754120" elapsed="0.055803"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:31.810111" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:31.810935" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:31.717687" elapsed="0.093465"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:31.811794" elapsed="0.001761"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:31.716939" elapsed="0.096886"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:31.715730" elapsed="0.098262"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:31.715210" elapsed="0.098880"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.714249" elapsed="0.099965"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:31.713812" elapsed="0.100497"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.815417" level="INFO">${next} = 18007</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.814677" elapsed="0.000799"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.816782" level="INFO">${current_port} = 18007</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:31.815905" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.709210" elapsed="0.107797"/>
</kw>
<msg time="2026-04-11T23:22:31.817093" level="INFO">Repeating keyword, round 178/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:31.819540" elapsed="0.000152"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:31.819303" elapsed="0.000501"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.819261" elapsed="0.000597"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.820419" level="INFO">${current_Date} = 2026-04-11 23:22:31.820</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:31.820179" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.820903" level="INFO">${ellapsed_seconds} = 2680.048</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:31.820603" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.821223" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:31.820999" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.820980" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:31.818776" elapsed="0.002568"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.821931" level="INFO">${number} = 178</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.821485" elapsed="0.000474"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.823463" level="INFO">${number} = 178</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.823124" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.825161" level="INFO">${device-port} = 18007</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.824527" elapsed="0.000661"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.827587" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:31.859474" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.859747" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.827475" elapsed="0.032334"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.860700" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:31.860832" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:31.859972" elapsed="0.001048">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:31.859928" elapsed="0.001190">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:31.827208" elapsed="0.034177">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:31.826829" elapsed="0.034696"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.862626" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18007 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:31.918856" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.919007" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.862089" elapsed="0.056955"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:31.919168" elapsed="0.000093"/>
</return>
<msg time="2026-04-11T23:22:31.919692" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:31.826012" elapsed="0.093836"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:31.920227" elapsed="0.001117"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:31.825390" elapsed="0.096102"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:31.824192" elapsed="0.097416"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:31.823690" elapsed="0.097982"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.822550" elapsed="0.099199"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:31.822112" elapsed="0.099696"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.922484" level="INFO">${next} = 18008</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.922025" elapsed="0.000497"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.923304" level="INFO">${current_port} = 18008</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:31.922779" elapsed="0.000583"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.817506" elapsed="0.105935"/>
</kw>
<msg time="2026-04-11T23:22:31.923494" level="INFO">Repeating keyword, round 179/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:31.925144" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:31.924993" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.924966" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.925826" level="INFO">${current_Date} = 2026-04-11 23:22:31.926</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:31.925604" elapsed="0.000258"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:31.926494" level="INFO">${ellapsed_seconds} = 2679.942</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:31.926071" elapsed="0.000459"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.926973" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:31.926651" elapsed="0.000397"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:31.926625" elapsed="0.000455"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:31.924559" elapsed="0.002585"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.927889" level="INFO">${number} = 179</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.927344" elapsed="0.000582"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.929880" level="INFO">${number} = 179</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.929395" elapsed="0.000522"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:31.932193" level="INFO">${device-port} = 18008</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:31.931300" elapsed="0.000930"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.935561" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:31.972171" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:31.972407" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.935427" elapsed="0.037041"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:31.973395" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:31.973531" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:31.972680" elapsed="0.000987">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:31.972632" elapsed="0.001130">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:31.935057" elapsed="0.038977">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:31.934500" elapsed="0.039744"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:31.975262" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18008 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:32.029115" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.029340" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:31.974767" elapsed="0.054630"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:32.029644" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:22:32.030453" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:31.933375" elapsed="0.097341"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:32.031323" elapsed="0.001838"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:31.932510" elapsed="0.100888"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:31.930829" elapsed="0.102713"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:31.930133" elapsed="0.103540"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.928780" elapsed="0.105016"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:31.928139" elapsed="0.105752"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.035017" level="INFO">${next} = 18009</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.034230" elapsed="0.000850"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.036338" level="INFO">${current_port} = 18009</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:32.035435" elapsed="0.000997"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:31.923796" elapsed="0.112761"/>
</kw>
<msg time="2026-04-11T23:22:32.036678" level="INFO">Repeating keyword, round 180/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:32.039202" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:32.038964" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.038920" elapsed="0.000423"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.040051" level="INFO">${current_Date} = 2026-04-11 23:22:32.040</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:32.039753" elapsed="0.000324"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.040520" level="INFO">${ellapsed_seconds} = 2679.828</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:32.040221" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.040869" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:32.040641" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.040621" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:32.038343" elapsed="0.002645"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.041604" level="INFO">${number} = 180</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.041128" elapsed="0.000503"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.043058" level="INFO">${number} = 180</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.042721" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.044720" level="INFO">${device-port} = 18009</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.044087" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.047279" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:32.079689" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.079908" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.047029" elapsed="0.032938"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.080878" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:32.081011" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:32.080134" elapsed="0.001062">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:32.080088" elapsed="0.001204">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:32.046761" elapsed="0.034800">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:32.046362" elapsed="0.035375"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.082733" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18009 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:32.137835" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.138079" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.082202" elapsed="0.055932"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:32.138342" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:22:32.139197" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:32.045551" elapsed="0.093863"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:32.140088" elapsed="0.001825"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:32.044948" elapsed="0.097204"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:32.043747" elapsed="0.098549"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:32.043237" elapsed="0.099158"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.042226" elapsed="0.100295"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:32.041785" elapsed="0.100867"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.143792" level="INFO">${next} = 18010</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.142989" elapsed="0.000863"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.145079" level="INFO">${current_port} = 18010</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:32.144203" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.037095" elapsed="0.108202"/>
</kw>
<msg time="2026-04-11T23:22:32.145383" level="INFO">Repeating keyword, round 181/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:32.147855" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:32.147679" elapsed="0.000242"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.147545" elapsed="0.000409"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.148474" level="INFO">${current_Date} = 2026-04-11 23:22:32.148</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:32.148231" elapsed="0.000282"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.149227" level="INFO">${ellapsed_seconds} = 2679.72</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:32.148758" elapsed="0.000508"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.149741" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:32.149371" elapsed="0.000450"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.149344" elapsed="0.000512"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:32.147207" elapsed="0.002717"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.150696" level="INFO">${number} = 181</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.150137" elapsed="0.000598"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.152864" level="INFO">${number} = 181</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.152354" elapsed="0.000549"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.155304" level="INFO">${device-port} = 18010</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.154375" elapsed="0.000969"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.158255" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:32.187374" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.187541" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.157982" elapsed="0.029625"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.188266" elapsed="0.000038"/>
</kw>
<msg time="2026-04-11T23:22:32.188354" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:32.187753" elapsed="0.000676">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:32.187714" elapsed="0.000774">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:32.157715" elapsed="0.030986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:32.157313" elapsed="0.031547"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.189518" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18010 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:32.245507" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.245746" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.189188" elapsed="0.056598"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:32.245954" elapsed="0.000119"/>
</return>
<msg time="2026-04-11T23:22:32.246520" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:32.156507" elapsed="0.090190"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:32.247145" elapsed="0.001296"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:32.155700" elapsed="0.092923"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:32.153878" elapsed="0.094844"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:32.153131" elapsed="0.095659"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.151704" elapsed="0.097170"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:32.150961" elapsed="0.097980"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.249711" level="INFO">${next} = 18011</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.249174" elapsed="0.000576"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.250563" level="INFO">${current_port} = 18011</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:32.249985" elapsed="0.000661"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.145850" elapsed="0.104882"/>
</kw>
<msg time="2026-04-11T23:22:32.250791" level="INFO">Repeating keyword, round 182/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:32.252671" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:32.252484" elapsed="0.000250"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.252453" elapsed="0.000313"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.253214" level="INFO">${current_Date} = 2026-04-11 23:22:32.253</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:32.252977" elapsed="0.000276"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.253951" level="INFO">${ellapsed_seconds} = 2679.615</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:32.253465" elapsed="0.000525"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.254444" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:32.254093" elapsed="0.000428"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.254066" elapsed="0.000490"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:32.252115" elapsed="0.002530"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.255386" level="INFO">${number} = 182</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.254858" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.257611" level="INFO">${number} = 182</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.257099" elapsed="0.000551"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.260076" level="INFO">${device-port} = 18011</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.259129" elapsed="0.000987"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.263950" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:32.295417" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.295648" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.263802" elapsed="0.031890"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.296394" elapsed="0.000039"/>
</kw>
<msg time="2026-04-11T23:22:32.296485" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:32.295849" elapsed="0.000823">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:32.295804" elapsed="0.000937">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:32.263133" elapsed="0.033808">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:32.262550" elapsed="0.034489"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.297742" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18011 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:32.353410" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.353673" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.297367" elapsed="0.056345"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:32.353891" elapsed="0.000128"/>
</return>
<msg time="2026-04-11T23:22:32.354479" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:32.261342" elapsed="0.093320"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:32.355122" elapsed="0.001291"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:32.260418" elapsed="0.096172"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:32.258629" elapsed="0.098059"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:32.257879" elapsed="0.098876"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.256425" elapsed="0.100414"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:32.255764" elapsed="0.101138"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.357667" level="INFO">${next} = 18012</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.357132" elapsed="0.000575"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.358518" level="INFO">${current_port} = 18012</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:32.357942" elapsed="0.000663"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.251105" elapsed="0.107587"/>
</kw>
<msg time="2026-04-11T23:22:32.358751" level="INFO">Repeating keyword, round 183/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:32.360500" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:32.360338" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.360307" elapsed="0.000311"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.361145" level="INFO">${current_Date} = 2026-04-11 23:22:32.361</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:32.360902" elapsed="0.000281"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.361883" level="INFO">${ellapsed_seconds} = 2679.507</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:32.361398" elapsed="0.000524"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.362375" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:32.362024" elapsed="0.000427"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.361998" elapsed="0.000487"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:32.359980" elapsed="0.002571"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.363400" level="INFO">${number} = 183</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.362865" elapsed="0.000573"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.365054" level="INFO">${number} = 183</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.364716" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.366733" level="INFO">${device-port} = 18012</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.366092" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.369370" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:32.403894" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.404289" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.369268" elapsed="0.035085"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.405630" elapsed="0.000065"/>
</kw>
<msg time="2026-04-11T23:22:32.405779" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:32.404669" elapsed="0.001226">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:32.404543" elapsed="0.001451">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:32.368996" elapsed="0.037309">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:32.368408" elapsed="0.038157"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.407744" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18012 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:32.461746" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.461972" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.407134" elapsed="0.054894"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:32.462228" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:22:32.463086" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:32.367604" elapsed="0.095697"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:32.463971" elapsed="0.001887"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:32.366963" elapsed="0.099132"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:32.365748" elapsed="0.100496"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:32.365233" elapsed="0.101111"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.364260" elapsed="0.102207"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:32.363713" elapsed="0.102852"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.467845" level="INFO">${next} = 18013</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.466957" elapsed="0.000953"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.469165" level="INFO">${current_port} = 18013</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:32.468266" elapsed="0.000993"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.359065" elapsed="0.110322"/>
</kw>
<msg time="2026-04-11T23:22:32.469475" level="INFO">Repeating keyword, round 184/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:32.472188" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:32.471988" elapsed="0.000258"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.471943" elapsed="0.000333"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.472729" level="INFO">${current_Date} = 2026-04-11 23:22:32.473</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:32.472475" elapsed="0.000291"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.473417" level="INFO">${ellapsed_seconds} = 2679.395</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:32.472967" elapsed="0.000486"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.473906" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:32.473551" elapsed="0.000429"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.473525" elapsed="0.000487"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:32.471285" elapsed="0.002790"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.474802" level="INFO">${number} = 184</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.474273" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.476930" level="INFO">${number} = 184</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.476358" elapsed="0.000608"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.479262" level="INFO">${device-port} = 18013</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.478374" elapsed="0.000925"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.484031" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:32.512083" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.512461" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.483810" elapsed="0.028715"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.513741" elapsed="0.000066"/>
</kw>
<msg time="2026-04-11T23:22:32.513887" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:32.512833" elapsed="0.001482">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:32.512761" elapsed="0.001655">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:32.483124" elapsed="0.031625">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:32.481631" elapsed="0.033270"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.516034" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18013 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:32.569645" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.569860" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.515432" elapsed="0.054484"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:32.570112" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:32.570956" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:32.480474" elapsed="0.090703"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:32.571839" elapsed="0.001878"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:32.479619" elapsed="0.094338"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:32.477903" elapsed="0.096203"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:32.477182" elapsed="0.097025"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.475748" elapsed="0.098584"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:32.475049" elapsed="0.099379"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.575680" level="INFO">${next} = 18014</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.574802" elapsed="0.000942"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.576667" level="INFO">${current_port} = 18014</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:32.576088" elapsed="0.000639"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.469938" elapsed="0.106869"/>
</kw>
<msg time="2026-04-11T23:22:32.576863" level="INFO">Repeating keyword, round 185/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:32.578498" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:32.578348" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.578320" elapsed="0.000290"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.579133" level="INFO">${current_Date} = 2026-04-11 23:22:32.579</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:32.578897" elapsed="0.000272"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.579929" level="INFO">${ellapsed_seconds} = 2679.289</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:32.579371" elapsed="0.000595"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.580407" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:32.580064" elapsed="0.000417"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.580039" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:32.578011" elapsed="0.002584"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.581304" level="INFO">${number} = 185</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.580798" elapsed="0.000542"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.583297" level="INFO">${number} = 185</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.582826" elapsed="0.000508"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.585697" level="INFO">${device-port} = 18014</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.584822" elapsed="0.000913"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.591541" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:32.619381" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.619652" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.591431" elapsed="0.028283"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.620606" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:32.620741" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:32.619878" elapsed="0.000968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:32.619833" elapsed="0.001103">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:32.591150" elapsed="0.030055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:32.588127" elapsed="0.033283"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.622403" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18014 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:32.677041" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.677243" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.621920" elapsed="0.055377"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:32.677484" elapsed="0.000190"/>
</return>
<msg time="2026-04-11T23:22:32.678318" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:32.586895" elapsed="0.091639"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:32.679221" elapsed="0.001828"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:32.586022" elapsed="0.095260"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:32.584318" elapsed="0.097104"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:32.583615" elapsed="0.097904"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.582192" elapsed="0.099481"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:32.581553" elapsed="0.100217"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.682880" level="INFO">${next} = 18015</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.682104" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.684289" level="INFO">${current_port} = 18015</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:32.683285" elapsed="0.001102"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.577140" elapsed="0.107372"/>
</kw>
<msg time="2026-04-11T23:22:32.684715" level="INFO">Repeating keyword, round 186/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:32.687165" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:32.686929" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.686886" elapsed="0.000419"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.688029" level="INFO">${current_Date} = 2026-04-11 23:22:32.688</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:32.687690" elapsed="0.000383"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.688517" level="INFO">${ellapsed_seconds} = 2679.18</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:32.688217" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.688899" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:32.688671" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.688651" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:32.686373" elapsed="0.002647"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.689517" level="INFO">${number} = 186</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.689161" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.690925" level="INFO">${number} = 186</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.690592" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.692722" level="INFO">${device-port} = 18015</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.691960" elapsed="0.000794"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.695297" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:32.727143" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.727501" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.695202" elapsed="0.032392"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.728787" elapsed="0.000068"/>
</kw>
<msg time="2026-04-11T23:22:32.728937" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:32.727841" elapsed="0.001352">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:32.727771" elapsed="0.001529">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:32.694766" elapsed="0.034890">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:32.694371" elapsed="0.035446"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.730983" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18015 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:32.785392" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.785749" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.730376" elapsed="0.055433"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:32.786060" elapsed="0.000170"/>
</return>
<msg time="2026-04-11T23:22:32.786945" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:32.693557" elapsed="0.093605"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:32.787870" elapsed="0.001875"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:32.692962" elapsed="0.097017"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:32.691624" elapsed="0.098500"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:32.691109" elapsed="0.099114"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.690145" elapsed="0.100202"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:32.689709" elapsed="0.100732"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.791661" level="INFO">${next} = 18016</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.790812" elapsed="0.000910"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.792655" level="INFO">${current_port} = 18016</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:32.792052" elapsed="0.000664"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.685135" elapsed="0.107666"/>
</kw>
<msg time="2026-04-11T23:22:32.792858" level="INFO">Repeating keyword, round 187/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:32.794692" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:32.794504" elapsed="0.000250"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.794473" elapsed="0.000315"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.795322" level="INFO">${current_Date} = 2026-04-11 23:22:32.795</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:32.795077" elapsed="0.000284"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.796089" level="INFO">${ellapsed_seconds} = 2679.073</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:32.795611" elapsed="0.000516"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.796602" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:32.796230" elapsed="0.000451"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.796203" elapsed="0.000512"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:32.794147" elapsed="0.002635"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.797520" level="INFO">${number} = 187</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.796992" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.799709" level="INFO">${number} = 187</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.799173" elapsed="0.000575"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.801893" level="INFO">${device-port} = 18016</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.801255" elapsed="0.000665"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.804551" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:32.835353" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.835614" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.804269" elapsed="0.031405"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.836531" elapsed="0.000083"/>
</kw>
<msg time="2026-04-11T23:22:32.836691" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:32.835835" elapsed="0.000962">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:32.835791" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:32.803994" elapsed="0.033171">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:32.803604" elapsed="0.033946"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.838514" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18016 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:32.893360" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.893557" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.838035" elapsed="0.055610"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:32.893829" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:32.894638" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:32.802766" elapsed="0.092090"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:32.895465" elapsed="0.001765"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:32.802125" elapsed="0.095335"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:32.800862" elapsed="0.096766"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:32.799978" elapsed="0.097750"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.798502" elapsed="0.099348"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:32.797852" elapsed="0.100091"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.899037" level="INFO">${next} = 18017</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.898279" elapsed="0.000815"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.900354" level="INFO">${current_port} = 18017</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:32.899457" elapsed="0.000988"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.793184" elapsed="0.107413"/>
</kw>
<msg time="2026-04-11T23:22:32.900687" level="INFO">Repeating keyword, round 188/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:32.903110" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:32.902875" elapsed="0.000326"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.902834" elapsed="0.000416"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.904045" level="INFO">${current_Date} = 2026-04-11 23:22:32.904</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:32.903726" elapsed="0.000357"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:32.904766" level="INFO">${ellapsed_seconds} = 2678.964</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:32.904298" elapsed="0.000506"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.905243" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:32.904908" elapsed="0.000413"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:32.904881" elapsed="0.000561"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:32.902324" elapsed="0.003192"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.906297" level="INFO">${number} = 188</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.905755" elapsed="0.000580"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.908456" level="INFO">${number} = 188</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.907958" elapsed="0.000537"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:32.911029" level="INFO">${device-port} = 18017</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:32.909982" elapsed="0.001090"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.914690" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:32.943449" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:32.943702" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.914503" elapsed="0.029261"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:32.944653" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:32.944790" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:32.943926" elapsed="0.001045">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:32.943882" elapsed="0.001185">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:32.914102" elapsed="0.031232">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:32.913501" elapsed="0.031972"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:32.946480" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18017 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.001653" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.001859" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:32.945981" elapsed="0.055932"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.002101" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:33.002922" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:32.912309" elapsed="0.090831"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.003794" elapsed="0.001745"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:32.911388" elapsed="0.094433"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:32.909463" elapsed="0.096499"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:32.908747" elapsed="0.097311"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.907234" elapsed="0.098944"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:32.906561" elapsed="0.099710"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.007428" level="INFO">${next} = 18018</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.006640" elapsed="0.000850"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.008488" level="INFO">${current_port} = 18018</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.007899" elapsed="0.000648"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:32.901095" elapsed="0.107553"/>
</kw>
<msg time="2026-04-11T23:22:33.008701" level="INFO">Repeating keyword, round 189/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.010223" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.010073" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.010047" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.010863" level="INFO">${current_Date} = 2026-04-11 23:22:33.011</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.010567" elapsed="0.000333"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.011545" level="INFO">${ellapsed_seconds} = 2678.857</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.011104" elapsed="0.000498"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.012022" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.011704" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.011678" elapsed="0.000450"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.009746" elapsed="0.002445"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.012920" level="INFO">${number} = 189</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.012390" elapsed="0.000567"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.014954" level="INFO">${number} = 189</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.014430" elapsed="0.000561"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.017033" level="INFO">${device-port} = 18018</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.016388" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.019491" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:33.055506" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.055756" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.019392" elapsed="0.036424"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.056720" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:33.056855" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:33.055979" elapsed="0.000980">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:33.055935" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.019103" elapsed="0.038210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.018708" elapsed="0.038817"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.058514" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18018 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.113337" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.113542" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.058026" elapsed="0.055605"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.113822" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:33.114636" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.017901" elapsed="0.096953"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.115470" elapsed="0.001812"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.017263" elapsed="0.100257"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.016042" elapsed="0.101659"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.015208" elapsed="0.102590"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.013815" elapsed="0.104104"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.013170" elapsed="0.104843"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.119130" level="INFO">${next} = 18019</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.118351" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.120474" level="INFO">${current_port} = 18019</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.119565" elapsed="0.001033"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.008959" elapsed="0.111771"/>
</kw>
<msg time="2026-04-11T23:22:33.120816" level="INFO">Repeating keyword, round 190/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.122912" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.122763" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.122736" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.123422" level="INFO">${current_Date} = 2026-04-11 23:22:33.123</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.123196" elapsed="0.000263"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.124163" level="INFO">${ellapsed_seconds} = 2678.745</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.123738" elapsed="0.000461"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.124633" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.124297" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.124270" elapsed="0.000471"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.122407" elapsed="0.002396"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.125498" level="INFO">${number} = 190</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.125000" elapsed="0.000534"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.127503" level="INFO">${number} = 190</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.127021" elapsed="0.000519"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.129914" level="INFO">${device-port} = 18019</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.129020" elapsed="0.000932"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.132992" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:33.163110" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.163364" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.132895" elapsed="0.030534"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.164369" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:33.164501" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:33.163642" elapsed="0.001078">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:33.163551" elapsed="0.001269">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.132619" elapsed="0.032470">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.132213" elapsed="0.033015"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.166230" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18019 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.221691" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.221903" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.165741" elapsed="0.056217"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.222151" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:33.222993" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.131109" elapsed="0.092103"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.223899" elapsed="0.001821"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.130235" elapsed="0.095723"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.128518" elapsed="0.097586"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.127804" elapsed="0.098397"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.126384" elapsed="0.099938"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.125766" elapsed="0.100649"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.227546" level="INFO">${next} = 18020</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.226783" elapsed="0.000882"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.228904" level="INFO">${current_port} = 18020</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.228023" elapsed="0.000977"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.121350" elapsed="0.107776"/>
</kw>
<msg time="2026-04-11T23:22:33.229211" level="INFO">Repeating keyword, round 191/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.231827" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.231460" elapsed="0.000461"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.231416" elapsed="0.000554"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.232746" level="INFO">${current_Date} = 2026-04-11 23:22:33.233</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.232362" elapsed="0.000442"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.233833" level="INFO">${ellapsed_seconds} = 2678.635</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.233125" elapsed="0.000766"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.234559" elapsed="0.000079"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.234049" elapsed="0.000664"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.234008" elapsed="0.000756"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.230907" elapsed="0.003960"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.236111" level="INFO">${number} = 191</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.235185" elapsed="0.000953"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.237530" level="INFO">${number} = 191</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.237196" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.239271" level="INFO">${device-port} = 18020</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.238555" elapsed="0.000744"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.241711" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:33.272027" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.272243" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.241604" elapsed="0.030697"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.273202" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:33.273335" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:33.272464" elapsed="0.000979">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:33.272419" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.241321" elapsed="0.032512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.240936" elapsed="0.033107"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.275035" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18020 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.329956" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.330162" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.274508" elapsed="0.055709"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.330405" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:33.331266" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.240128" elapsed="0.091359"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.332117" elapsed="0.001785"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.239502" elapsed="0.094632"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.238217" elapsed="0.096058"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.237727" elapsed="0.096645"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.236756" elapsed="0.097736"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.236291" elapsed="0.098325"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.335763" level="INFO">${next} = 18021</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.334956" elapsed="0.000868"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.337045" level="INFO">${current_port} = 18021</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.336176" elapsed="0.000966"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.229657" elapsed="0.107611"/>
</kw>
<msg time="2026-04-11T23:22:33.337353" level="INFO">Repeating keyword, round 192/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.339964" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.339719" elapsed="0.000337"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.339554" elapsed="0.000550"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.340782" level="INFO">${current_Date} = 2026-04-11 23:22:33.341</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.340413" elapsed="0.000428"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.341852" level="INFO">${ellapsed_seconds} = 2678.527</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.341159" elapsed="0.000753"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.342596" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.342066" elapsed="0.000652"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.342025" elapsed="0.000745"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.339049" elapsed="0.003821"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.344145" level="INFO">${number} = 192</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.343184" elapsed="0.000987"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.345565" level="INFO">${number} = 192</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.345227" elapsed="0.000382"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.347224" level="INFO">${device-port} = 18021</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.346605" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.349783" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:33.379850" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.380066" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.349527" elapsed="0.030598"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.381034" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:33.381168" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:33.380289" elapsed="0.001061">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:33.380244" elapsed="0.001203">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.349258" elapsed="0.032491">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.348868" elapsed="0.033025"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.382889" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18021 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.437649" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.437852" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.382358" elapsed="0.055548"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.438098" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:33.438916" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.348076" elapsed="0.091054"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.439803" elapsed="0.001747"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.347456" elapsed="0.094368"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.346249" elapsed="0.095718"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.345764" elapsed="0.096300"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.344789" elapsed="0.097395"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.344323" elapsed="0.097953"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.443401" level="INFO">${next} = 18022</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.442644" elapsed="0.000816"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.444737" level="INFO">${current_port} = 18022</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.443868" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.337797" elapsed="0.107162"/>
</kw>
<msg time="2026-04-11T23:22:33.445044" level="INFO">Repeating keyword, round 193/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.447516" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.447276" elapsed="0.000497"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.447232" elapsed="0.000592"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.448599" level="INFO">${current_Date} = 2026-04-11 23:22:33.448</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.448225" elapsed="0.000436"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.449686" level="INFO">${ellapsed_seconds} = 2678.42</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.448984" elapsed="0.000762"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.450403" elapsed="0.000046"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.449905" elapsed="0.000617"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.449865" elapsed="0.000736"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.446726" elapsed="0.003981"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.451908" level="INFO">${number} = 193</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.451022" elapsed="0.000944"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.453462" level="INFO">${number} = 193</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.453084" elapsed="0.000404"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.455128" level="INFO">${device-port} = 18022</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.454494" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.457704" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:33.491800" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.492017" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.457444" elapsed="0.034631"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.492983" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:33.493116" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:33.492239" elapsed="0.000983">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:33.492194" elapsed="0.001117">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.457177" elapsed="0.036455">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.456792" elapsed="0.037065"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.494852" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18022 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.549670" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.549874" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.494321" elapsed="0.055607"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.550115" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:33.550932" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.455991" elapsed="0.095174"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.551794" elapsed="0.001749"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.455370" elapsed="0.098443"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.454156" elapsed="0.099800"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.453665" elapsed="0.100386"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.452642" elapsed="0.101530"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.452185" elapsed="0.102080"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.555393" level="INFO">${next} = 18023</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.554630" elapsed="0.000821"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.556729" level="INFO">${current_port} = 18023</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.555858" elapsed="0.000966"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.445455" elapsed="0.111496"/>
</kw>
<msg time="2026-04-11T23:22:33.557036" level="INFO">Repeating keyword, round 194/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.559375" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.559268" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.559248" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.559794" level="INFO">${current_Date} = 2026-04-11 23:22:33.560</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.559641" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.560266" level="INFO">${ellapsed_seconds} = 2678.308</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.559962" elapsed="0.000329"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.560605" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.560360" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.560341" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.558920" elapsed="0.001806"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.561225" level="INFO">${number} = 194</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.560866" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.562645" level="INFO">${number} = 194</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.562294" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.564329" level="INFO">${device-port} = 18023</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.563715" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.566900" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:33.599628" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.599843" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.566804" elapsed="0.033096"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.600783" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:33.600914" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:33.600060" elapsed="0.001032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:33.600015" elapsed="0.001172">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.566374" elapsed="0.035081">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.565991" elapsed="0.035632"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.602564" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18023 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.657306" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.657516" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.602080" elapsed="0.055528"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.657799" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:33.658605" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.565176" elapsed="0.093670"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.659464" elapsed="0.001803"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.564556" elapsed="0.096944"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.563324" elapsed="0.098351"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.562825" elapsed="0.098949"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.561856" elapsed="0.100036"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.561402" elapsed="0.100581"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.663084" level="INFO">${next} = 18024</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.662321" elapsed="0.000841"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.664519" level="INFO">${current_port} = 18024</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.663510" elapsed="0.001147"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.557529" elapsed="0.107256"/>
</kw>
<msg time="2026-04-11T23:22:33.664870" level="INFO">Repeating keyword, round 195/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.667376" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.667090" elapsed="0.000379"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.667048" elapsed="0.000470"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.668274" level="INFO">${current_Date} = 2026-04-11 23:22:33.668</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.668027" elapsed="0.000283"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.668959" level="INFO">${ellapsed_seconds} = 2678.2</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.668513" elapsed="0.000481"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.669408" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.669092" elapsed="0.000389"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.669067" elapsed="0.000446"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.666524" elapsed="0.003071"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.670294" level="INFO">${number} = 195</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.669800" elapsed="0.000530"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.672311" level="INFO">${number} = 195</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.671847" elapsed="0.000501"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.674638" level="INFO">${device-port} = 18024</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.673760" elapsed="0.000916"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.678253" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:33.707701" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.707913" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.678121" elapsed="0.029850"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.708863" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:33.708997" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:33.708132" elapsed="0.000973">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:33.708088" elapsed="0.001107">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.677743" elapsed="0.031715">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.676954" elapsed="0.032745"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.710697" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18024 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.766056" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.766262" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.710169" elapsed="0.056147"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.766506" elapsed="0.000196"/>
</return>
<msg time="2026-04-11T23:22:33.767369" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.675839" elapsed="0.091788"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.768222" elapsed="0.001806"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.674960" elapsed="0.095301"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.673255" elapsed="0.097147"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.672561" elapsed="0.097935"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.671193" elapsed="0.099456"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.670541" elapsed="0.100205"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.771875" level="INFO">${next} = 18025</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.771097" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.773151" level="INFO">${current_port} = 18025</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.772285" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.665287" elapsed="0.108079"/>
</kw>
<msg time="2026-04-11T23:22:33.773450" level="INFO">Repeating keyword, round 196/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.776058" elapsed="0.000026"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.775816" elapsed="0.000307"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.775771" elapsed="0.000382"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.776555" level="INFO">${current_Date} = 2026-04-11 23:22:33.776</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.776347" elapsed="0.000265"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.777228" level="INFO">${ellapsed_seconds} = 2678.092</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.776814" elapsed="0.000449"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.777700" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.777360" elapsed="0.000415"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.777334" elapsed="0.000473"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.775163" elapsed="0.002706"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.778561" level="INFO">${number} = 196</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.778069" elapsed="0.000549"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.780633" level="INFO">${number} = 196</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.780142" elapsed="0.000529"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.782928" level="INFO">${device-port} = 18025</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.782048" elapsed="0.000918"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.786609" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:33.815716" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.815930" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.786456" elapsed="0.029532"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.816885" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:33.817016" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:33.816153" elapsed="0.001050">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:33.816108" elapsed="0.001189">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.786083" elapsed="0.031478">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.785253" elapsed="0.032482"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.818710" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18025 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.873731" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.873936" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.818190" elapsed="0.055801"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.874180" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:33.875019" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.784129" elapsed="0.091132"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.875898" elapsed="0.001812"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.783260" elapsed="0.094687"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.781559" elapsed="0.096529"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.780888" elapsed="0.097295"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.779452" elapsed="0.098849"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.778829" elapsed="0.099563"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.880251" level="INFO">${next} = 18026</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.878755" elapsed="0.001574"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.881608" level="INFO">${current_port} = 18026</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.880739" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.773887" elapsed="0.107948"/>
</kw>
<msg time="2026-04-11T23:22:33.881919" level="INFO">Repeating keyword, round 197/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.883834" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.883727" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.883708" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.884233" level="INFO">${current_Date} = 2026-04-11 23:22:33.884</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.884076" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.884718" level="INFO">${ellapsed_seconds} = 2677.984</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.884403" elapsed="0.000341"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.885040" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.884814" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.884796" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.883426" elapsed="0.001741"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.885682" level="INFO">${number} = 197</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.885310" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.887112" level="INFO">${number} = 197</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.886751" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.888813" level="INFO">${device-port} = 18026</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.888188" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.893233" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:33.923885" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.924104" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.893138" elapsed="0.031024"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.925070" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:33.925208" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:33.924335" elapsed="0.000976">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:33.924289" elapsed="0.001110">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.892862" elapsed="0.032833">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.890441" elapsed="0.035459"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.926889" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18026 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:33.981651" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:33.981854" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.926361" elapsed="0.055546"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:33.982095" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:33.982929" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.889667" elapsed="0.093507"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:33.983800" elapsed="0.001795"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.889042" elapsed="0.096796"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.887850" elapsed="0.098131"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.887299" elapsed="0.098778"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.886301" elapsed="0.099896"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.885860" elapsed="0.100429"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.987403" level="INFO">${next} = 18027</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.986649" elapsed="0.000812"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.988734" level="INFO">${current_port} = 18027</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:33.987867" elapsed="0.000962"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.882327" elapsed="0.106627"/>
</kw>
<msg time="2026-04-11T23:22:33.989038" level="INFO">Repeating keyword, round 198/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:33.991540" elapsed="0.000150"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:33.991305" elapsed="0.000452"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.991262" elapsed="0.000543"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.992248" level="INFO">${current_Date} = 2026-04-11 23:22:33.992</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:33.992098" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:33.992733" level="INFO">${ellapsed_seconds} = 2677.876</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:33.992414" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:33.993077" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:33.992828" elapsed="0.000302"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:33.992809" elapsed="0.000344"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:33.990724" elapsed="0.002474"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.993706" level="INFO">${number} = 198</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.993335" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.995114" level="INFO">${number} = 198</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.994769" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:33.996777" level="INFO">${device-port} = 18027</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:33.996152" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:33.999393" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:34.031406" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.031652" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:33.999298" elapsed="0.032415"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.032564" elapsed="0.000087"/>
</kw>
<msg time="2026-04-11T23:22:34.032727" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:34.031876" elapsed="0.001026">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:34.031830" elapsed="0.001168">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:33.998852" elapsed="0.034407">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:33.998455" elapsed="0.034943"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.034393" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18027 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:34.089831" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.090036" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.033908" elapsed="0.056182"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:34.090276" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:34.091130" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:33.997614" elapsed="0.093733"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:34.091974" elapsed="0.001779"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:33.997004" elapsed="0.096983"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:33.995813" elapsed="0.098319"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:33.995291" elapsed="0.098936"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.994319" elapsed="0.100028"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:33.993881" elapsed="0.100560"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.095558" level="INFO">${next} = 18028</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.094805" elapsed="0.000863"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.096887" level="INFO">${current_port} = 18028</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:34.096018" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:33.989449" elapsed="0.107656"/>
</kw>
<msg time="2026-04-11T23:22:34.097187" level="INFO">Repeating keyword, round 199/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:34.099844" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:34.099479" elapsed="0.000459"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.099436" elapsed="0.000549"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.100383" level="INFO">${current_Date} = 2026-04-11 23:22:34.100</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:34.100229" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.100868" level="INFO">${ellapsed_seconds} = 2677.768</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:34.100552" elapsed="0.000342"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.101195" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:34.100964" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.100946" elapsed="0.000325"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:34.098908" elapsed="0.002408"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.101829" level="INFO">${number} = 199</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.101457" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.103246" level="INFO">${number} = 199</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.102892" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.104931" level="INFO">${device-port} = 18028</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.104307" elapsed="0.000650"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.107479" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:34.143355" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.143603" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.107222" elapsed="0.036444"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.144514" elapsed="0.000084"/>
</kw>
<msg time="2026-04-11T23:22:34.144678" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:34.143829" elapsed="0.000952">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:34.143785" elapsed="0.001084">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:34.106940" elapsed="0.038189">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:34.106541" elapsed="0.038793"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.146323" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18028 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:34.205934" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.206137" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.145839" elapsed="0.060352"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:34.206379" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:34.207235" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:34.105768" elapsed="0.101678"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:34.208076" elapsed="0.001777"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:34.105157" elapsed="0.104931"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:34.103962" elapsed="0.106268"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:34.103425" elapsed="0.106903"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.102442" elapsed="0.108007"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:34.102004" elapsed="0.108539"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.211740" level="INFO">${next} = 18029</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.210947" elapsed="0.000851"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.212665" level="INFO">${current_port} = 18029</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:34.212123" elapsed="0.000602"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.097623" elapsed="0.115180"/>
</kw>
<msg time="2026-04-11T23:22:34.212855" level="INFO">Repeating keyword, round 200/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:34.214373" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:34.214220" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.214194" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.214887" level="INFO">${current_Date} = 2026-04-11 23:22:34.215</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:34.214675" elapsed="0.000264"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.215555" level="INFO">${ellapsed_seconds} = 2677.653</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:34.215140" elapsed="0.000527"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.216084" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:34.215768" elapsed="0.000389"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.215742" elapsed="0.000447"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:34.213891" elapsed="0.002361"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.216975" level="INFO">${number} = 200</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.216448" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.218969" level="INFO">${number} = 200</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.218461" elapsed="0.000545"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.221317" level="INFO">${device-port} = 18029</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.220441" elapsed="0.000913"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.224382" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:34.259762" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.259979" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.224288" elapsed="0.035750"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.260948" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:34.261080" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:34.260202" elapsed="0.001066">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:34.260158" elapsed="0.001205">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:34.224020" elapsed="0.037638">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:34.223634" elapsed="0.038168"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.262797" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18029 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:34.317915" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.318122" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.262263" elapsed="0.055913"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:34.318368" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:34.319223" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:34.222494" elapsed="0.096943"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:34.320067" elapsed="0.001802"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:34.221659" elapsed="0.100446"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:34.219971" elapsed="0.102279"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:34.219221" elapsed="0.103126"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.217854" elapsed="0.104616"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:34.217222" elapsed="0.105342"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.323742" level="INFO">${next} = 18030</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.322953" elapsed="0.000849"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.325022" level="INFO">${current_port} = 18030</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:34.324155" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.213113" elapsed="0.112129"/>
</kw>
<msg time="2026-04-11T23:22:34.325327" level="INFO">Repeating keyword, round 201/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:34.327422" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:34.327316" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.327297" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.327883" level="INFO">${current_Date} = 2026-04-11 23:22:34.328</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:34.327727" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.328358" level="INFO">${ellapsed_seconds} = 2677.54</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:34.328055" elapsed="0.000329"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.328735" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:34.328454" elapsed="0.000337"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.328435" elapsed="0.000379"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:34.327062" elapsed="0.001799"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.329365" level="INFO">${number} = 201</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.329003" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.331006" level="INFO">${number} = 201</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.330650" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.332656" level="INFO">${device-port} = 18030</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.332025" elapsed="0.000658"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.335072" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:34.371312" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.371528" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.334976" elapsed="0.036643"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.372476" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:34.372639" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:34.371784" elapsed="0.000962">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:34.371740" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:34.334699" elapsed="0.038399">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:34.334298" elapsed="0.039006"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.374314" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18030 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:34.429155" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.429365" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.373822" elapsed="0.055598"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:34.429650" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:34.430454" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:34.333495" elapsed="0.097216"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:34.431326" elapsed="0.001805"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:34.332886" elapsed="0.100487"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:34.331688" elapsed="0.101828"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:34.331186" elapsed="0.102461"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.330005" elapsed="0.103768"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:34.329543" elapsed="0.104323"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.434999" level="INFO">${next} = 18031</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.434201" elapsed="0.000860"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.436461" level="INFO">${current_port} = 18031</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:34.435414" elapsed="0.001146"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.325775" elapsed="0.111043"/>
</kw>
<msg time="2026-04-11T23:22:34.436904" level="INFO">Repeating keyword, round 202/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:34.439362" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:34.439190" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.439148" elapsed="0.000277"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.439734" level="INFO">${current_Date} = 2026-04-11 23:22:34.440</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:34.439565" elapsed="0.000196"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.440201" level="INFO">${ellapsed_seconds} = 2677.428</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:34.439903" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.440527" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:34.440297" elapsed="0.000308"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.440278" elapsed="0.000352"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:34.438605" elapsed="0.002070"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.441178" level="INFO">${number} = 202</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.440816" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.442592" level="INFO">${number} = 202</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.442249" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.444233" level="INFO">${device-port} = 18031</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.443627" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.446698" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:34.483260" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.483476" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.446601" elapsed="0.036932"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.484431" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:34.484561" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:34.483736" elapsed="0.001043">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:34.483689" elapsed="0.001188">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:34.446317" elapsed="0.038827">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:34.445933" elapsed="0.039349"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.486278" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18031 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:34.541740" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.542036" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.485790" elapsed="0.056305"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:34.542329" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:22:34.543250" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:34.445080" elapsed="0.098386"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:34.544150" elapsed="0.001873"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:34.444461" elapsed="0.101796"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:34.443275" elapsed="0.103124"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:34.442776" elapsed="0.103723"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.441811" elapsed="0.104842"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:34.441354" elapsed="0.105397"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.547918" level="INFO">${next} = 18032</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.547110" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.549222" level="INFO">${current_port} = 18032</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:34.548334" elapsed="0.000979"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.437326" elapsed="0.112115"/>
</kw>
<msg time="2026-04-11T23:22:34.549526" level="INFO">Repeating keyword, round 203/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:34.551931" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:34.551763" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.551731" elapsed="0.000295"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.552546" level="INFO">${current_Date} = 2026-04-11 23:22:34.552</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:34.552305" elapsed="0.000306"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.553298" level="INFO">${ellapsed_seconds} = 2677.316</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:34.552829" elapsed="0.000508"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.553813" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:34.553440" elapsed="0.000452"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.553414" elapsed="0.000513"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:34.551318" elapsed="0.002676"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.554760" level="INFO">${number} = 203</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.554206" elapsed="0.000624"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.556415" level="INFO">${number} = 203</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.556077" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.558114" level="INFO">${device-port} = 18032</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.557479" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.560585" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:34.591770" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.592017" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.560467" elapsed="0.031609"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.593043" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:34.593176" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:34.592255" elapsed="0.001031">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:34.592202" elapsed="0.001173">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:34.560196" elapsed="0.033490">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:34.559800" elapsed="0.034117"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.594954" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18032 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:34.649725" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.650024" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.594396" elapsed="0.055685"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:34.650317" elapsed="0.000168"/>
</return>
<msg time="2026-04-11T23:22:34.651219" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:34.558981" elapsed="0.092456"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:34.652112" elapsed="0.001873"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:34.558344" elapsed="0.095874"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:34.557117" elapsed="0.097243"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:34.556611" elapsed="0.097849"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.555631" elapsed="0.098997"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:34.555059" elapsed="0.099670"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.655887" level="INFO">${next} = 18033</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.655090" elapsed="0.000856"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.657351" level="INFO">${current_port} = 18033</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:34.656300" elapsed="0.001327"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.550009" elapsed="0.107747"/>
</kw>
<msg time="2026-04-11T23:22:34.657844" level="INFO">Repeating keyword, round 204/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:34.660064" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:34.659902" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.659872" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.660630" level="INFO">${current_Date} = 2026-04-11 23:22:34.660</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:34.660368" elapsed="0.000303"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.661349" level="INFO">${ellapsed_seconds} = 2677.208</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:34.660886" elapsed="0.000502"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.661866" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:34.661492" elapsed="0.000453"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.661465" elapsed="0.000515"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:34.659524" elapsed="0.002522"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.662825" level="INFO">${number} = 204</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.662257" elapsed="0.000608"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.664938" level="INFO">${number} = 204</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.664420" elapsed="0.000557"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.667456" level="INFO">${device-port} = 18033</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.666501" elapsed="0.000995"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.671482" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:34.699823" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.700069" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.671149" elapsed="0.028980"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.701115" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:34.701249" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:34.700309" elapsed="0.001150">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:34.700257" elapsed="0.001298">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:34.670547" elapsed="0.031351">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:34.669960" elapsed="0.032081"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.703085" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18033 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:34.757994" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.758294" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.702527" elapsed="0.055827"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:34.758631" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:22:34.759483" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:34.668748" elapsed="0.090997"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:34.760378" elapsed="0.001846"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:34.667819" elapsed="0.094640"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:34.666000" elapsed="0.096632"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:34.665208" elapsed="0.097539"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.663769" elapsed="0.099109"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:34.663091" elapsed="0.099885"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.764102" level="INFO">${next} = 18034</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.763313" elapsed="0.000848"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.765393" level="INFO">${current_port} = 18034</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:34.764513" elapsed="0.000973"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.658295" elapsed="0.107346"/>
</kw>
<msg time="2026-04-11T23:22:34.765731" level="INFO">Repeating keyword, round 205/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:34.767824" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:34.767711" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.767688" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.768268" level="INFO">${current_Date} = 2026-04-11 23:22:34.768</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:34.768092" elapsed="0.000202"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.768782" level="INFO">${ellapsed_seconds} = 2677.1</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:34.768441" elapsed="0.000368"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.769123" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:34.768881" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.768862" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:34.767387" elapsed="0.001860"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.769778" level="INFO">${number} = 205</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.769391" elapsed="0.000413"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.771216" level="INFO">${number} = 205</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.770877" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.772920" level="INFO">${device-port} = 18034</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.772279" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.775530" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:34.807465" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.807663" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.775269" elapsed="0.032433"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.808333" elapsed="0.000037"/>
</kw>
<msg time="2026-04-11T23:22:34.808419" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:34.807836" elapsed="0.000655">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:34.807793" elapsed="0.000761">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:34.775002" elapsed="0.033766">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:34.774599" elapsed="0.034325"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.809595" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18034 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:34.866380" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.866756" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.809255" elapsed="0.057562"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:34.867063" elapsed="0.000170"/>
</return>
<msg time="2026-04-11T23:22:34.867945" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:34.773782" elapsed="0.094382"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:34.868839" elapsed="0.001890"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:34.773150" elapsed="0.097817"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:34.771940" elapsed="0.099169"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:34.771405" elapsed="0.099803"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.770403" elapsed="0.100931"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:34.769958" elapsed="0.101475"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.872614" level="INFO">${next} = 18035</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.871806" elapsed="0.000870"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.873916" level="INFO">${current_port} = 18035</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:34.873029" elapsed="0.000980"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.766176" elapsed="0.107962"/>
</kw>
<msg time="2026-04-11T23:22:34.874227" level="INFO">Repeating keyword, round 206/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:34.875974" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:34.875863" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.875842" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.876351" level="INFO">${current_Date} = 2026-04-11 23:22:34.876</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:34.876182" elapsed="0.000196"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.876905" level="INFO">${ellapsed_seconds} = 2676.992</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:34.876522" elapsed="0.000409"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.877246" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:34.877002" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.876983" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:34.875616" elapsed="0.001752"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.877892" level="INFO">${number} = 206</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.877511" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.879323" level="INFO">${number} = 206</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.878981" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.881018" level="INFO">${device-port} = 18035</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.880357" elapsed="0.000689"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.883854" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:34.915738" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.916036" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.883751" elapsed="0.032355"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.917125" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:34.917259" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:34.916324" elapsed="0.001144">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:34.916266" elapsed="0.001299">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:34.883287" elapsed="0.034592">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:34.882898" elapsed="0.035125"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.919093" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18035 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:34.973930" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:34.974204" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.918508" elapsed="0.055752"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:34.974490" elapsed="0.000226"/>
</return>
<msg time="2026-04-11T23:22:34.975372" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:34.882022" elapsed="0.093602"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:34.976265" elapsed="0.001852"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:34.881387" elapsed="0.096966"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:34.880019" elapsed="0.098475"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:34.879505" elapsed="0.099118"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.878513" elapsed="0.100251"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:34.878070" elapsed="0.100790"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.979997" level="INFO">${next} = 18036</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.979201" elapsed="0.000855"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.981298" level="INFO">${current_port} = 18036</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:34.980408" elapsed="0.000983"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.874740" elapsed="0.106777"/>
</kw>
<msg time="2026-04-11T23:22:34.981636" level="INFO">Repeating keyword, round 207/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:34.983703" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:34.983530" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.983509" elapsed="0.000260"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.984154" level="INFO">${current_Date} = 2026-04-11 23:22:34.984</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:34.983979" elapsed="0.000201"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:34.984672" level="INFO">${ellapsed_seconds} = 2676.884</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:34.984329" elapsed="0.000369"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:34.985013" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:34.984770" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:34.984752" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:34.983285" elapsed="0.001852"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.985659" level="INFO">${number} = 207</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.985281" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.987268" level="INFO">${number} = 207</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.986926" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:34.989001" level="INFO">${device-port} = 18036</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:34.988357" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:34.991655" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:35.023542" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.023820" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:34.991537" elapsed="0.032342"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.024828" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:35.024961" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:35.024061" elapsed="0.001008">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:35.024011" elapsed="0.001147">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:34.991265" elapsed="0.034171">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:34.990694" elapsed="0.035001"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.026729" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18036 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:35.081545" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.081851" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.026176" elapsed="0.055730"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:35.082136" elapsed="0.000161"/>
</return>
<msg time="2026-04-11T23:22:35.083010" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:34.989868" elapsed="0.093421"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:35.083974" elapsed="0.001857"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:34.989235" elapsed="0.096827"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:34.988017" elapsed="0.098189"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:34.987449" elapsed="0.098855"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.986287" elapsed="0.100138"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:34.985837" elapsed="0.100685"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.087714" level="INFO">${next} = 18037</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.086906" elapsed="0.000868"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.089004" level="INFO">${current_port} = 18037</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:35.088122" elapsed="0.000976"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:34.982083" elapsed="0.107140"/>
</kw>
<msg time="2026-04-11T23:22:35.089310" level="INFO">Repeating keyword, round 208/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:35.091624" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:35.091497" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.091475" elapsed="0.000214"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.092183" level="INFO">${current_Date} = 2026-04-11 23:22:35.092</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:35.092006" elapsed="0.000204"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.092702" level="INFO">${ellapsed_seconds} = 2676.776</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:35.092356" elapsed="0.000372"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.093040" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:35.092799" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.092780" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:35.091241" elapsed="0.001921"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.093681" level="INFO">${number} = 208</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.093305" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.095113" level="INFO">${number} = 208</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.094775" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.096794" level="INFO">${device-port} = 18037</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.096154" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.099476" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:35.131882" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.132182" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.099371" elapsed="0.032872"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.133419" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:22:35.133558" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:35.132449" elapsed="0.001358">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:35.132394" elapsed="0.001510">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:35.099092" elapsed="0.035098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:35.098472" elapsed="0.035861"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.135400" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18037 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:35.189634" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.189925" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.134895" elapsed="0.055086"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:35.190216" elapsed="0.000174"/>
</return>
<msg time="2026-04-11T23:22:35.191126" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:35.097667" elapsed="0.093678"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:35.192017" elapsed="0.001937"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:35.097026" elapsed="0.097171"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:35.095811" elapsed="0.098536"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:35.095294" elapsed="0.099155"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.094302" elapsed="0.100320"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:35.093858" elapsed="0.100867"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.195895" level="INFO">${next} = 18038</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.195067" elapsed="0.000889"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.197209" level="INFO">${current_port} = 18038</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:35.196310" elapsed="0.000993"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.089781" elapsed="0.107651"/>
</kw>
<msg time="2026-04-11T23:22:35.197738" level="INFO">Repeating keyword, round 209/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:35.199199" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:35.199085" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.199064" elapsed="0.000199"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.199651" level="INFO">${current_Date} = 2026-04-11 23:22:35.200</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:35.199464" elapsed="0.000214"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.200153" level="INFO">${ellapsed_seconds} = 2676.668</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:35.199824" elapsed="0.000357"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.200492" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:35.200251" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.200233" elapsed="0.000355"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:35.198838" elapsed="0.001798"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.201142" level="INFO">${number} = 209</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.200783" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.202630" level="INFO">${number} = 209</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.202229" elapsed="0.000430"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.204324" level="INFO">${device-port} = 18038</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.203681" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.209238" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:35.239632" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.239852" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.209135" elapsed="0.030775"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.240820" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:35.240953" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:35.240076" elapsed="0.000983">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:35.240030" elapsed="0.001118">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:35.208852" elapsed="0.032574">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:35.206029" elapsed="0.035643"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.242695" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18038 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:35.297376" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.297639" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.242142" elapsed="0.055558"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:35.297904" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:22:35.298863" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:35.205191" elapsed="0.093910"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:35.299775" elapsed="0.001971"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:35.204555" elapsed="0.097444"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:35.203320" elapsed="0.098829"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:35.202815" elapsed="0.099437"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.201783" elapsed="0.100597"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:35.201320" elapsed="0.101161"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.303952" level="INFO">${next} = 18039</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.302893" elapsed="0.001122"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.305337" level="INFO">${current_port} = 18039</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:35.304386" elapsed="0.001051"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.198160" elapsed="0.107437"/>
</kw>
<msg time="2026-04-11T23:22:35.305695" level="INFO">Repeating keyword, round 210/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:35.307694" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:35.307528" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.307510" elapsed="0.000247"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.308058" level="INFO">${current_Date} = 2026-04-11 23:22:35.308</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:35.307896" elapsed="0.000189"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.308544" level="INFO">${ellapsed_seconds} = 2676.56</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:35.308228" elapsed="0.000360"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.308897" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:35.308661" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.308642" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:35.307294" elapsed="0.001723"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.309541" level="INFO">${number} = 210</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.309157" elapsed="0.000421"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.310966" level="INFO">${number} = 210</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.310631" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.312654" level="INFO">${device-port} = 18039</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.312015" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.315311" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:35.353357" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.353606" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.315215" elapsed="0.038455"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.354558" elapsed="0.000088"/>
</kw>
<msg time="2026-04-11T23:22:35.354724" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:35.353834" elapsed="0.001083">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:35.353789" elapsed="0.001223">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:35.314772" elapsed="0.040512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:35.314325" elapsed="0.041098"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.356413" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18039 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:35.413487" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.413731" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.355927" elapsed="0.057860"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:35.413978" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:35.414884" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:35.313501" elapsed="0.101606"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:35.415736" elapsed="0.001918"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:35.312887" elapsed="0.105021"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:35.311680" elapsed="0.106376"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:35.311148" elapsed="0.107017"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.310172" elapsed="0.108154"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:35.309732" elapsed="0.108692"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.419436" level="INFO">${next} = 18040</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.418844" elapsed="0.000629"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.420322" level="INFO">${current_port} = 18040</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:35.419728" elapsed="0.000652"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.306141" elapsed="0.114318"/>
</kw>
<msg time="2026-04-11T23:22:35.420511" level="INFO">Repeating keyword, round 211/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:35.422041" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:35.421892" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.421865" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.422628" level="INFO">${current_Date} = 2026-04-11 23:22:35.422</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:35.422374" elapsed="0.000293"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.423289" level="INFO">${ellapsed_seconds} = 2676.446</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:35.422869" elapsed="0.000457"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.423819" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:35.423423" elapsed="0.000472"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.423398" elapsed="0.000530"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:35.421543" elapsed="0.002448"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.424718" level="INFO">${number} = 211</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.424195" elapsed="0.000559"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.426700" level="INFO">${number} = 211</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.426204" elapsed="0.000533"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.429099" level="INFO">${device-port} = 18040</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.428155" elapsed="0.000982"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.432468" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:35.463331" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.463549" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.432205" elapsed="0.031441"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.464501" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:35.464665" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:35.463809" elapsed="0.000960">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:35.463765" elapsed="0.001133">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:35.431929" elapsed="0.033278">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:35.431512" elapsed="0.033905"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.466421" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18040 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:35.521627" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.521841" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.465937" elapsed="0.055958"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:35.522087" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:35.522947" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:35.430390" elapsed="0.092778"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:35.523806" elapsed="0.001812"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:35.429427" elapsed="0.096431"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:35.427683" elapsed="0.098319"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:35.426954" elapsed="0.099144"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.425595" elapsed="0.100625"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:35.424964" elapsed="0.101350"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.527359" level="INFO">${next} = 18041</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.526735" elapsed="0.000661"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.528175" level="INFO">${current_port} = 18041</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:35.527652" elapsed="0.000582"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.420789" elapsed="0.107521"/>
</kw>
<msg time="2026-04-11T23:22:35.528363" level="INFO">Repeating keyword, round 212/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:35.529979" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:35.529830" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.529803" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.530556" level="INFO">${current_Date} = 2026-04-11 23:22:35.530</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:35.530289" elapsed="0.000326"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.531307" level="INFO">${ellapsed_seconds} = 2676.338</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:35.530826" elapsed="0.000520"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.531799" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:35.531448" elapsed="0.000428"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.531420" elapsed="0.000490"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:35.529415" elapsed="0.002559"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.532707" level="INFO">${number} = 212</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.532173" elapsed="0.000571"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.534863" level="INFO">${number} = 212</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.534332" elapsed="0.000570"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.537245" level="INFO">${device-port} = 18041</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.536334" elapsed="0.000949"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.540566" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:35.571701" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.571942" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.540443" elapsed="0.031560"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.572955" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:35.573094" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:35.572180" elapsed="0.001106">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:35.572132" elapsed="0.001251">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:35.540104" elapsed="0.033603">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:35.539647" elapsed="0.034220"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.574930" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18041 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:35.629539" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.629781" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.574342" elapsed="0.055494"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:35.630031" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:35.630899" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:35.538551" elapsed="0.092568"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:35.631764" elapsed="0.001848"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:35.537595" elapsed="0.096263"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:35.535843" elapsed="0.098161"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:35.535125" elapsed="0.098976"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.533646" elapsed="0.100577"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:35.532962" elapsed="0.101354"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.635469" level="INFO">${next} = 18042</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.634709" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.636829" level="INFO">${current_port} = 18042</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:35.635945" elapsed="0.000980"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.528652" elapsed="0.108402"/>
</kw>
<msg time="2026-04-11T23:22:35.637139" level="INFO">Repeating keyword, round 213/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:35.639477" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:35.639365" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.639345" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.639952" level="INFO">${current_Date} = 2026-04-11 23:22:35.640</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:35.639784" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.640448" level="INFO">${ellapsed_seconds} = 2676.228</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:35.640126" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.640802" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:35.640545" elapsed="0.000311"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.640527" elapsed="0.000352"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:35.639023" elapsed="0.001902"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.641435" level="INFO">${number} = 213</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.641069" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.642906" level="INFO">${number} = 213</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.642549" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.644597" level="INFO">${device-port} = 18042</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.643969" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.647187" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:35.679080" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.679195" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.647088" elapsed="0.032134"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.679661" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:22:35.679726" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:35.679304" elapsed="0.000473">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:35.679280" elapsed="0.000539">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:35.646815" elapsed="0.033157">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:35.646268" elapsed="0.033811"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.681088" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18042 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:35.737983" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.738200" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.680472" elapsed="0.057785"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:35.738478" elapsed="0.000193"/>
</return>
<msg time="2026-04-11T23:22:35.739364" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:35.645450" elapsed="0.094175"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:35.740271" elapsed="0.001914"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:35.644830" elapsed="0.097646"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:35.643627" elapsed="0.099091"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:35.643089" elapsed="0.099732"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.642076" elapsed="0.100891"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:35.641630" elapsed="0.101436"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.743830" level="INFO">${next} = 18043</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.743322" elapsed="0.000547"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.744673" level="INFO">${current_port} = 18043</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:35.744105" elapsed="0.000630"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.637564" elapsed="0.107251"/>
</kw>
<msg time="2026-04-11T23:22:35.744870" level="INFO">Repeating keyword, round 214/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:35.746526" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:35.746331" elapsed="0.000333"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.746302" elapsed="0.000397"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.747139" level="INFO">${current_Date} = 2026-04-11 23:22:35.747</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:35.746903" elapsed="0.000274"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.747850" level="INFO">${ellapsed_seconds} = 2676.121</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:35.747382" elapsed="0.000504"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.748329" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:35.747995" elapsed="0.000410"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.747964" elapsed="0.000475"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:35.745983" elapsed="0.002522"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.749252" level="INFO">${number} = 214</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.748731" elapsed="0.000559"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.751353" level="INFO">${number} = 214</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.750858" elapsed="0.000533"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.753383" level="INFO">${device-port} = 18043</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.752739" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.755943" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:35.791821" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.792044" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.755844" elapsed="0.036261"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.793048" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:35.793185" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:35.792270" elapsed="0.001121">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:35.792226" elapsed="0.001265">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:35.755549" elapsed="0.038278">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:35.755150" elapsed="0.038833"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.795075" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18043 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:35.853744" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.853962" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.794515" elapsed="0.059506"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:35.854218" elapsed="0.000191"/>
</return>
<msg time="2026-04-11T23:22:35.855142" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:35.754279" elapsed="0.101089"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:35.856048" elapsed="0.001916"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:35.753639" elapsed="0.104571"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:35.752367" elapsed="0.106017"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:35.751635" elapsed="0.106868"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.750171" elapsed="0.108518"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:35.749506" elapsed="0.109282"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.859935" level="INFO">${next} = 18044</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.859127" elapsed="0.000872"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.861266" level="INFO">${current_port} = 18044</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:35.860355" elapsed="0.001007"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.745154" elapsed="0.116339"/>
</kw>
<msg time="2026-04-11T23:22:35.861673" level="INFO">Repeating keyword, round 215/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:35.863734" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:35.863616" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.863591" elapsed="0.000208"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.864134" level="INFO">${current_Date} = 2026-04-11 23:22:35.864</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:35.863975" elapsed="0.000185"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.864636" level="INFO">${ellapsed_seconds} = 2676.004</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:35.864306" elapsed="0.000359"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.864972" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:35.864739" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.864719" elapsed="0.000332"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:35.863353" elapsed="0.001743"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.865633" level="INFO">${number} = 215</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.865245" elapsed="0.000420"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.867160" level="INFO">${number} = 215</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.866810" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.868876" level="INFO">${device-port} = 18044</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.868219" elapsed="0.000684"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.871394" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:35.903248" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.903475" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.871295" elapsed="0.032239"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.904474" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:35.904643" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:35.903745" elapsed="0.001006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:35.903697" elapsed="0.001146">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:35.871018" elapsed="0.034117">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:35.870613" elapsed="0.034751"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.906469" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18044 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:35.965810" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:35.966034" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.905885" elapsed="0.060210"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:35.966290" elapsed="0.000186"/>
</return>
<msg time="2026-04-11T23:22:35.967210" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:35.869764" elapsed="0.097673"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:35.968110" elapsed="0.001879"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:35.869110" elapsed="0.101140"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:35.867865" elapsed="0.102567"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:35.867342" elapsed="0.103194"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.866279" elapsed="0.104418"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:35.865821" elapsed="0.104980"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.972037" level="INFO">${next} = 18045</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.971169" elapsed="0.000928"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.973450" level="INFO">${current_port} = 18045</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:35.972484" elapsed="0.001066"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.862112" elapsed="0.111606"/>
</kw>
<msg time="2026-04-11T23:22:35.973807" level="INFO">Repeating keyword, round 216/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:35.975797" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:35.975685" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.975665" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.976151" level="INFO">${current_Date} = 2026-04-11 23:22:35.976</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:35.975999" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:35.976641" level="INFO">${ellapsed_seconds} = 2675.892</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:35.976319" elapsed="0.000348"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:35.976965" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:35.976737" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:35.976718" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:35.975387" elapsed="0.001698"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.977599" level="INFO">${number} = 216</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.977225" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.979029" level="INFO">${number} = 216</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.978692" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:35.980744" level="INFO">${device-port} = 18045</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:35.980104" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:35.983329" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:36.019423" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.019521" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:35.983086" elapsed="0.036461"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.019959" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:36.020021" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:36.019640" elapsed="0.000637">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:36.019619" elapsed="0.000705">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:35.982817" elapsed="0.037630">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:35.982417" elapsed="0.038093"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.020967" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18045 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:36.078600" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.079119" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.020748" elapsed="0.058433"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:36.079552" elapsed="0.000292"/>
</return>
<msg time="2026-04-11T23:22:36.080660" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:35.981597" elapsed="0.099301"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:36.081738" elapsed="0.002171"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:35.980975" elapsed="0.103189"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:35.979766" elapsed="0.104556"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:35.979216" elapsed="0.105214"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.978219" elapsed="0.106347"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:35.977778" elapsed="0.106939"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.085952" level="INFO">${next} = 18046</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.085080" elapsed="0.000931"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.087361" level="INFO">${current_port} = 18046</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:36.086413" elapsed="0.001041"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:35.974229" elapsed="0.113389"/>
</kw>
<msg time="2026-04-11T23:22:36.087716" level="INFO">Repeating keyword, round 217/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:36.090768" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:36.090466" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.090412" elapsed="0.000506"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.091453" level="INFO">${current_Date} = 2026-04-11 23:22:36.091</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:36.091241" elapsed="0.000239"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.092050" level="INFO">${ellapsed_seconds} = 2675.777</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:36.091647" elapsed="0.000429"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.092437" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:36.092146" elapsed="0.000344"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.092128" elapsed="0.000385"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:36.089837" elapsed="0.002721"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.093152" level="INFO">${number} = 217</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.092778" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.094645" level="INFO">${number} = 217</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.094269" elapsed="0.000406"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.096399" level="INFO">${device-port} = 18046</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.095776" elapsed="0.000650"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.099156" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:36.131606" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.131830" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.098849" elapsed="0.033040"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.132831" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:36.132968" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:36.132055" elapsed="0.001024">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:36.132009" elapsed="0.001162">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:36.098552" elapsed="0.034930">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:36.098134" elapsed="0.035599"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.134806" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18046 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:36.189501" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.189750" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.134204" elapsed="0.055602"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:36.189998" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:36.190878" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:36.097280" elapsed="0.093824"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:36.191737" elapsed="0.001813"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:36.096655" elapsed="0.097162"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:36.095401" elapsed="0.098558"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:36.094847" elapsed="0.099210"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.093808" elapsed="0.100369"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:36.093334" elapsed="0.100959"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.195413" level="INFO">${next} = 18047</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.194674" elapsed="0.000797"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.196752" level="INFO">${current_port} = 18047</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:36.195877" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.088276" elapsed="0.108693"/>
</kw>
<msg time="2026-04-11T23:22:36.197053" level="INFO">Repeating keyword, round 218/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:36.199317" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:36.199201" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.199181" elapsed="0.000216"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.199792" level="INFO">${current_Date} = 2026-04-11 23:22:36.200</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:36.199553" elapsed="0.000269"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.200292" level="INFO">${ellapsed_seconds} = 2675.668</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:36.199973" elapsed="0.000345"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.200637" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:36.200388" elapsed="0.000303"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.200369" elapsed="0.000346"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:36.198795" elapsed="0.001964"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.201264" level="INFO">${number} = 218</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.200903" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.202720" level="INFO">${number} = 218</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.202358" elapsed="0.000389"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.204465" level="INFO">${device-port} = 18047</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.203846" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.207111" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:36.239660" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.239878" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.207015" elapsed="0.032922"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.240833" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:36.240964" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:36.240100" elapsed="0.001051">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:36.240055" elapsed="0.001192">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:36.206588" elapsed="0.034926">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:36.206165" elapsed="0.035525"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.242741" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18047 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:36.297749" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.297979" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.242157" elapsed="0.055877"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:36.298282" elapsed="0.000159"/>
</return>
<msg time="2026-04-11T23:22:36.299162" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:36.205334" elapsed="0.094048"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:36.300034" elapsed="0.001901"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:36.204711" elapsed="0.097461"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:36.203444" elapsed="0.098915"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:36.202902" elapsed="0.099557"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.201893" elapsed="0.100720"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:36.201440" elapsed="0.101274"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.303867" level="INFO">${next} = 18048</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.303056" elapsed="0.000872"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.305183" level="INFO">${current_port} = 18048</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:36.304287" elapsed="0.000989"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.197468" elapsed="0.107938"/>
</kw>
<msg time="2026-04-11T23:22:36.305492" level="INFO">Repeating keyword, round 219/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:36.307651" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:36.307469" elapsed="0.000227"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.307449" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.308077" level="INFO">${current_Date} = 2026-04-11 23:22:36.308</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:36.307911" elapsed="0.000192"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.308618" level="INFO">${ellapsed_seconds} = 2675.56</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:36.308249" elapsed="0.000397"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.308964" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:36.308718" elapsed="0.000299"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.308699" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:36.307223" elapsed="0.001863"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.309607" level="INFO">${number} = 219</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.309228" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.311069" level="INFO">${number} = 219</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.310723" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.312837" level="INFO">${device-port} = 18048</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.312179" elapsed="0.000686"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.315709" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:36.351603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.351996" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.315607" elapsed="0.036454"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.353316" elapsed="0.000066"/>
</kw>
<msg time="2026-04-11T23:22:36.353466" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:36.352331" elapsed="0.001291">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:36.352244" elapsed="0.001484">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:36.315313" elapsed="0.038755">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:36.314715" elapsed="0.039828"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.355534" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18048 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:36.409745" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.409981" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.355154" elapsed="0.054887"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:36.410294" elapsed="0.000165"/>
</return>
<msg time="2026-04-11T23:22:36.411242" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:36.313843" elapsed="0.097646"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:36.412235" elapsed="0.002754"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:36.313180" elapsed="0.102160"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:36.311825" elapsed="0.103687"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:36.311257" elapsed="0.104432"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.310261" elapsed="0.105568"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:36.309788" elapsed="0.106148"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.417652" level="INFO">${next} = 18049</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.416435" elapsed="0.001282"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.419150" level="INFO">${current_port} = 18049</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:36.418102" elapsed="0.001142"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.305973" elapsed="0.113402"/>
</kw>
<msg time="2026-04-11T23:22:36.419468" level="INFO">Repeating keyword, round 220/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:36.422602" elapsed="0.000044"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:36.422287" elapsed="0.000433"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.422208" elapsed="0.000566"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.423370" level="INFO">${current_Date} = 2026-04-11 23:22:36.423</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:36.423110" elapsed="0.000287"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.424135" level="INFO">${ellapsed_seconds} = 2675.445</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:36.423749" elapsed="0.000413"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.424513" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:36.424236" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.424218" elapsed="0.000388"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:36.421635" elapsed="0.003016"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.425174" level="INFO">${number} = 220</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.424795" elapsed="0.000412"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.426674" level="INFO">${number} = 220</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.426314" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.428409" level="INFO">${device-port} = 18049</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.427779" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.431255" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:36.459605" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.459819" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.431137" elapsed="0.028739"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.460776" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:36.460909" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:36.460035" elapsed="0.001091">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:36.459992" elapsed="0.001231">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:36.430860" elapsed="0.030657">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:36.430155" elapsed="0.031536"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.462688" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18049 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:36.517011" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.517212" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.462170" elapsed="0.055096"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:36.517678" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:36.518483" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:36.429299" elapsed="0.089445"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:36.519345" elapsed="0.001828"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:36.428664" elapsed="0.092746"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:36.427414" elapsed="0.094135"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:36.426860" elapsed="0.094815"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.425850" elapsed="0.095945"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:36.425377" elapsed="0.096509"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.522999" level="INFO">${next} = 18050</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.522238" elapsed="0.000818"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.524374" level="INFO">${current_port} = 18050</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:36.523404" elapsed="0.001031"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.420172" elapsed="0.104347"/>
</kw>
<msg time="2026-04-11T23:22:36.524596" level="INFO">Repeating keyword, round 221/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:36.526249" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:36.526069" elapsed="0.000242"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.526041" elapsed="0.000302"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.526912" level="INFO">${current_Date} = 2026-04-11 23:22:36.527</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:36.526676" elapsed="0.000274"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.527632" level="INFO">${ellapsed_seconds} = 2675.341</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:36.527162" elapsed="0.000509"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.528108" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:36.527775" elapsed="0.000422"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.527748" elapsed="0.000484"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:36.525718" elapsed="0.002579"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.529131" level="INFO">${number} = 221</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.528508" elapsed="0.000662"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.531358" level="INFO">${number} = 221</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.530859" elapsed="0.000537"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.533846" level="INFO">${device-port} = 18050</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.532897" elapsed="0.000997"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.541140" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:36.571202" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.571387" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.541014" elapsed="0.030401"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.572076" elapsed="0.000030"/>
</kw>
<msg time="2026-04-11T23:22:36.572147" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:36.571560" elapsed="0.000648">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:36.571512" elapsed="0.000746">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:36.540675" elapsed="0.031754">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:36.536278" elapsed="0.036288"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.573091" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18050 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:36.629027" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.629121" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.572837" elapsed="0.056308"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:36.629238" elapsed="0.000263"/>
</return>
<msg time="2026-04-11T23:22:36.629835" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:36.535322" elapsed="0.094612"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:36.630232" elapsed="0.000947"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:36.534326" elapsed="0.096962"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:36.532367" elapsed="0.098989"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:36.531644" elapsed="0.099759"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.530189" elapsed="0.101276"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:36.529496" elapsed="0.102017"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.632058" level="INFO">${next} = 18051</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.631688" elapsed="0.000397"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.632681" level="INFO">${current_port} = 18051</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:36.632254" elapsed="0.000469"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.524876" elapsed="0.107911"/>
</kw>
<msg time="2026-04-11T23:22:36.632829" level="INFO">Repeating keyword, round 222/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:36.634026" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:36.633914" elapsed="0.000181"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.633894" elapsed="0.000225"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.634448" level="INFO">${current_Date} = 2026-04-11 23:22:36.634</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:36.634267" elapsed="0.000207"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.635005" level="INFO">${ellapsed_seconds} = 2675.234</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:36.634642" elapsed="0.000389"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.635354" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:36.635101" elapsed="0.000305"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.635082" elapsed="0.000347"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:36.633673" elapsed="0.001801"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.635994" level="INFO">${number} = 222</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.635632" elapsed="0.000388"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.637427" level="INFO">${number} = 222</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.637085" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.639223" level="INFO">${device-port} = 18051</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.638504" elapsed="0.000745"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.641897" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:36.679128" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.679223" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.641801" elapsed="0.037448"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.679652" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:22:36.679713" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:36.679323" elapsed="0.000472">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:36.679303" elapsed="0.000535">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:36.641334" elapsed="0.038624">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:36.640944" elapsed="0.039075"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.680444" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18051 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:36.736995" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.737087" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.680230" elapsed="0.056880"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:36.737195" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:22:36.737541" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:36.640104" elapsed="0.097564"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:36.737937" elapsed="0.000831"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:36.639456" elapsed="0.099416"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:36.638152" elapsed="0.100783"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:36.637627" elapsed="0.101351"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.636641" elapsed="0.102391"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:36.636171" elapsed="0.102902"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.739549" level="INFO">${next} = 18052</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.739221" elapsed="0.000370"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.740122" level="INFO">${current_port} = 18052</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:36.739751" elapsed="0.000413"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.633034" elapsed="0.107189"/>
</kw>
<msg time="2026-04-11T23:22:36.740260" level="INFO">Repeating keyword, round 223/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:36.741344" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:36.741237" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.741219" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.741747" level="INFO">${current_Date} = 2026-04-11 23:22:36.742</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:36.741593" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.742246" level="INFO">${ellapsed_seconds} = 2675.126</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:36.741914" elapsed="0.000358"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.742601" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:36.742342" elapsed="0.000315"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.742324" elapsed="0.000356"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:36.740996" elapsed="0.001729"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.743233" level="INFO">${number} = 223</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.742869" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.744657" level="INFO">${number} = 223</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.744306" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.746317" level="INFO">${device-port} = 18052</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.745687" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.748972" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:36.787073" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.787197" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.748707" elapsed="0.038517"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.787682" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:22:36.787744" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:36.787319" elapsed="0.000475">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:36.787287" elapsed="0.000547">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:36.748417" elapsed="0.039544">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:36.748029" elapsed="0.040030"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.788511" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18052 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:36.844862" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.844960" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.788279" elapsed="0.056706"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:36.845073" elapsed="0.000067"/>
</return>
<msg time="2026-04-11T23:22:36.845428" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:36.747216" elapsed="0.098311"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:36.845826" elapsed="0.000870"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:36.746543" elapsed="0.100261"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:36.745330" elapsed="0.101540"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:36.744840" elapsed="0.102074"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.743867" elapsed="0.103103"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:36.743410" elapsed="0.103604"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.847513" level="INFO">${next} = 18053</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.847167" elapsed="0.000372"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.848105" level="INFO">${current_port} = 18053</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:36.847717" elapsed="0.000430"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.740443" elapsed="0.107764"/>
</kw>
<msg time="2026-04-11T23:22:36.848250" level="INFO">Repeating keyword, round 224/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:36.849402" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:36.849294" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.849273" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.849797" level="INFO">${current_Date} = 2026-04-11 23:22:36.850</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:36.849629" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.850312" level="INFO">${ellapsed_seconds} = 2675.018</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:36.849968" elapsed="0.000369"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.850706" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:36.850408" elapsed="0.000353"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.850389" elapsed="0.000396"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:36.849051" elapsed="0.001779"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.851340" level="INFO">${number} = 224</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.850972" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.852780" level="INFO">${number} = 224</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.852427" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.854479" level="INFO">${device-port} = 18053</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.853830" elapsed="0.000675"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.857007" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:36.898825" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.898921" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.856907" elapsed="0.042040"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.899336" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:36.899395" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:36.899020" elapsed="0.000464">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:36.899001" elapsed="0.000526">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:36.856626" elapsed="0.043041">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:36.856217" elapsed="0.043515"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.900161" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18053 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:36.957035" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:36.957128" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.899942" elapsed="0.057210"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:36.957238" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:22:36.957623" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:36.855394" elapsed="0.102330"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:36.958009" elapsed="0.000814"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:36.854780" elapsed="0.104150"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:36.853470" elapsed="0.105523"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:36.852973" elapsed="0.106065"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.851983" elapsed="0.107110"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:36.851519" elapsed="0.107617"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.959634" level="INFO">${next} = 18054</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.959286" elapsed="0.000375"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.960191" level="INFO">${current_port} = 18054</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:36.959819" elapsed="0.000413"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.848444" elapsed="0.111844"/>
</kw>
<msg time="2026-04-11T23:22:36.960326" level="INFO">Repeating keyword, round 225/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:36.961418" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:36.961311" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.961293" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.961831" level="INFO">${current_Date} = 2026-04-11 23:22:36.962</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:36.961677" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:36.962344" level="INFO">${ellapsed_seconds} = 2674.906</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:36.962016" elapsed="0.000355"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:36.962725" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:36.962447" elapsed="0.000333"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:36.962427" elapsed="0.000378"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:36.961071" elapsed="0.001783"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.963369" level="INFO">${number} = 225</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.962998" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.964819" level="INFO">${number} = 225</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.964462" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:36.966513" level="INFO">${device-port} = 18054</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:36.965868" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:36.969187" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:37.007436" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.007535" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:36.969082" elapsed="0.038479"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.007971" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:37.008030" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:37.007652" elapsed="0.000430">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:37.007632" elapsed="0.000490">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:36.968808" elapsed="0.039449">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:36.968397" elapsed="0.039961"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.008807" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18054 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:37.064979" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.065073" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.008585" elapsed="0.056513"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:37.065184" elapsed="0.000069"/>
</return>
<msg time="2026-04-11T23:22:37.065540" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:36.967566" elapsed="0.098097"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:37.065951" elapsed="0.000810"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:36.966947" elapsed="0.099920"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:36.965505" elapsed="0.101430"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:36.965000" elapsed="0.101979"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.964013" elapsed="0.103022"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:36.963547" elapsed="0.103530"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.067557" level="INFO">${next} = 18055</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.067228" elapsed="0.000373"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.068142" level="INFO">${current_port} = 18055</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:37.067762" elapsed="0.000422"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:36.960513" elapsed="0.107727"/>
</kw>
<msg time="2026-04-11T23:22:37.068279" level="INFO">Repeating keyword, round 226/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:37.069402" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:37.069293" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.069272" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.069780" level="INFO">${current_Date} = 2026-04-11 23:22:37.070</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:37.069622" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.070269" level="INFO">${ellapsed_seconds} = 2674.798</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:37.069963" elapsed="0.000332"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.070625" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:37.070365" elapsed="0.000314"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.070346" elapsed="0.000357"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:37.069045" elapsed="0.001703"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.071250" level="INFO">${number} = 226</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.070892" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.072772" level="INFO">${number} = 226</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.072414" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.074448" level="INFO">${device-port} = 18055</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.073801" elapsed="0.000674"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.076974" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:37.114935" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.115035" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.076876" elapsed="0.038186"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.115448" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:22:37.115506" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:37.115136" elapsed="0.000476">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:37.115115" elapsed="0.000542">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:37.076596" elapsed="0.039185">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:37.076192" elapsed="0.039652"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.116277" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18055 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:37.172837" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.172962" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.116053" elapsed="0.056934"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:37.173092" elapsed="0.000083"/>
</return>
<msg time="2026-04-11T23:22:37.173486" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:37.075368" elapsed="0.098245"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:37.173923" elapsed="0.000880"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:37.074753" elapsed="0.100161"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:37.073444" elapsed="0.101538"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:37.072953" elapsed="0.102073"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.071887" elapsed="0.103196"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:37.071429" elapsed="0.103697"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.175653" level="INFO">${next} = 18056</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.175279" elapsed="0.000400"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.176240" level="INFO">${current_port} = 18056</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:37.175841" elapsed="0.000440"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.068467" elapsed="0.107873"/>
</kw>
<msg time="2026-04-11T23:22:37.176379" level="INFO">Repeating keyword, round 227/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:37.177588" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:37.177460" elapsed="0.000173"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.177439" elapsed="0.000216"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.178035" level="INFO">${current_Date} = 2026-04-11 23:22:37.178</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:37.177850" elapsed="0.000212"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.178540" level="INFO">${ellapsed_seconds} = 2674.69</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:37.178209" elapsed="0.000357"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.178923" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:37.178673" elapsed="0.000303"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.178655" elapsed="0.000344"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:37.177213" elapsed="0.001832"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.179549" level="INFO">${number} = 227</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.179188" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.180995" level="INFO">${number} = 227</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.180652" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.182764" level="INFO">${device-port} = 18056</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.182067" elapsed="0.000724"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.185293" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:37.218995" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.219096" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.185192" elapsed="0.033931"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.219521" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:37.219601" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:37.219197" elapsed="0.000456">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:37.219176" elapsed="0.000518">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:37.184917" elapsed="0.034911">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:37.184509" elapsed="0.035419"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.220356" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18056 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:37.276794" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.276887" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.220138" elapsed="0.056774"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:37.276998" elapsed="0.000066"/>
</return>
<msg time="2026-04-11T23:22:37.277354" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:37.183703" elapsed="0.093752"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:37.277751" elapsed="0.000838"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:37.183064" elapsed="0.095636"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:37.181696" elapsed="0.097070"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:37.181177" elapsed="0.097632"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.180196" elapsed="0.098668"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:37.179745" elapsed="0.099162"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.279389" level="INFO">${next} = 18057</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.279059" elapsed="0.000357"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.279972" level="INFO">${current_port} = 18057</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:37.279591" elapsed="0.000423"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.176604" elapsed="0.103466"/>
</kw>
<msg time="2026-04-11T23:22:37.280109" level="INFO">Repeating keyword, round 228/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:37.281226" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:37.281113" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.281092" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.281597" level="INFO">${current_Date} = 2026-04-11 23:22:37.282</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:37.281430" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.282084" level="INFO">${ellapsed_seconds} = 2674.586</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:37.281769" elapsed="0.000341"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.282406" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:37.282180" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.282161" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:37.280867" elapsed="0.001660"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.283069" level="INFO">${number} = 228</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.282708" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.284482" level="INFO">${number} = 228</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.284142" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.286167" level="INFO">${device-port} = 18057</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.285502" elapsed="0.000691"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.288880" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:37.322736" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.322832" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.288631" elapsed="0.034228"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.323246" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:37.323305" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:37.322932" elapsed="0.000460">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:37.322912" elapsed="0.000523">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:37.288340" elapsed="0.035216">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:37.287907" elapsed="0.035733"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.324065" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18057 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:37.381065" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.381258" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.323848" elapsed="0.057438"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:37.381424" elapsed="0.000113"/>
</return>
<msg time="2026-04-11T23:22:37.381922" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:37.287082" elapsed="0.094941"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:37.382365" elapsed="0.000968"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:37.286396" elapsed="0.097052"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:37.285163" elapsed="0.098357"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:37.284676" elapsed="0.098909"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.283701" elapsed="0.099947"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:37.283245" elapsed="0.100447"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.384219" level="INFO">${next} = 18058</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.383856" elapsed="0.000389"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.384829" level="INFO">${current_port} = 18058</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:37.384410" elapsed="0.000461"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.280297" elapsed="0.104633"/>
</kw>
<msg time="2026-04-11T23:22:37.384972" level="INFO">Repeating keyword, round 229/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:37.386284" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:37.386168" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.386144" elapsed="0.000207"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.386756" level="INFO">${current_Date} = 2026-04-11 23:22:37.387</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:37.386552" elapsed="0.000230"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.387262" level="INFO">${ellapsed_seconds} = 2674.481</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:37.386928" elapsed="0.000360"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.387629" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:37.387359" elapsed="0.000324"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.387341" elapsed="0.000365"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:37.385910" elapsed="0.001844"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.388264" level="INFO">${number} = 229</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.387898" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.389697" level="INFO">${number} = 229</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.389346" elapsed="0.000377"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.391476" level="INFO">${device-port} = 18058</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.390850" elapsed="0.000653"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.394199" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:37.430998" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.431159" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.393925" elapsed="0.037262"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.431752" elapsed="0.000032"/>
</kw>
<msg time="2026-04-11T23:22:37.431824" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:37.431309" elapsed="0.000572">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:37.431266" elapsed="0.000660">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:37.393636" elapsed="0.038450">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:37.393175" elapsed="0.039039"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.432735" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18058 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:37.489436" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.489692" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.432463" elapsed="0.057258"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:37.489903" elapsed="0.000125"/>
</return>
<msg time="2026-04-11T23:22:37.490383" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:37.392347" elapsed="0.098140"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:37.490877" elapsed="0.000959"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:37.391724" elapsed="0.100225"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:37.390419" elapsed="0.101602"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:37.389903" elapsed="0.102166"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.388906" elapsed="0.103221"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:37.388442" elapsed="0.103734"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.492729" level="INFO">${next} = 18059</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.492335" elapsed="0.000420"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.493326" level="INFO">${current_port} = 18059</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:37.492918" elapsed="0.000450"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.385220" elapsed="0.108208"/>
</kw>
<msg time="2026-04-11T23:22:37.493469" level="INFO">Repeating keyword, round 230/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:37.494748" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:37.494629" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.494604" elapsed="0.000211"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.495137" level="INFO">${current_Date} = 2026-04-11 23:22:37.495</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:37.494961" elapsed="0.000202"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.495684" level="INFO">${ellapsed_seconds} = 2674.373</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:37.495306" elapsed="0.000403"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.496031" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:37.495779" elapsed="0.000305"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.495761" elapsed="0.000345"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:37.494363" elapsed="0.001788"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.496671" level="INFO">${number} = 230</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.496293" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.498122" level="INFO">${number} = 230</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.497752" elapsed="0.000396"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.499915" level="INFO">${device-port} = 18059</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.499215" elapsed="0.000727"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.502557" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:37.539049" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.539222" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.502451" elapsed="0.036800"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.539830" elapsed="0.000030"/>
</kw>
<msg time="2026-04-11T23:22:37.539898" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:37.539374" elapsed="0.000659">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:37.539333" elapsed="0.000747">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:37.502007" elapsed="0.038236">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:37.501597" elapsed="0.038716"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.540842" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18059 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:37.597308" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.597540" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.540563" elapsed="0.057029"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:37.597872" elapsed="0.000121"/>
</return>
<msg time="2026-04-11T23:22:37.598349" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:37.500771" elapsed="0.097682"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:37.598838" elapsed="0.000945"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:37.500145" elapsed="0.099754"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:37.498872" elapsed="0.101098"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:37.498303" elapsed="0.101715"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.497295" elapsed="0.102784"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:37.496847" elapsed="0.103277"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.600677" level="INFO">${next} = 18060</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.600286" elapsed="0.000418"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.601277" level="INFO">${current_port} = 18060</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:37.600869" elapsed="0.000450"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.493730" elapsed="0.107648"/>
</kw>
<msg time="2026-04-11T23:22:37.601420" level="INFO">Repeating keyword, round 231/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:37.603296" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:37.603051" elapsed="0.000340"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.603006" elapsed="0.000434"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.604313" level="INFO">${current_Date} = 2026-04-11 23:22:37.604</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:37.603948" elapsed="0.000422"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.605445" level="INFO">${ellapsed_seconds} = 2674.264</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:37.604741" elapsed="0.000762"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.606375" elapsed="0.000047"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:37.605843" elapsed="0.000653"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.605797" elapsed="0.000750"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:37.602477" elapsed="0.004207"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.607854" level="INFO">${number} = 231</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.607007" elapsed="0.000907"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.611103" level="INFO">${number} = 231</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.610330" elapsed="0.000831"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.614531" level="INFO">${device-port} = 18060</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.613391" elapsed="0.001168"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.617244" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:37.651986" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.652254" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.617136" elapsed="0.035178"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.653379" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:37.653523" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:37.652516" elapsed="0.001148">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:37.652456" elapsed="0.001324">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:37.616858" elapsed="0.037205">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:37.616249" elapsed="0.038053"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.655378" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18060 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:37.709733" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.710025" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.654876" elapsed="0.055204"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:37.710320" elapsed="0.000168"/>
</return>
<msg time="2026-04-11T23:22:37.711223" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:37.615411" elapsed="0.096032"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:37.712132" elapsed="0.001940"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:37.614786" elapsed="0.099531"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:37.612646" elapsed="0.101819"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:37.611501" elapsed="0.103065"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.609288" elapsed="0.105469"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:37.608254" elapsed="0.106602"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.715998" level="INFO">${next} = 18061</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.715194" elapsed="0.000862"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.717290" level="INFO">${current_port} = 18061</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:37.716405" elapsed="0.000978"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.601673" elapsed="0.115834"/>
</kw>
<msg time="2026-04-11T23:22:37.717623" level="INFO">Repeating keyword, round 232/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:37.719175" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:37.719061" elapsed="0.000157"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.719039" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.719554" level="INFO">${current_Date} = 2026-04-11 23:22:37.719</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:37.719386" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.720115" level="INFO">${ellapsed_seconds} = 2674.149</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:37.719788" elapsed="0.000353"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.720456" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:37.720212" elapsed="0.000297"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.720193" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:37.718813" elapsed="0.001780"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.721097" level="INFO">${number} = 232</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.720738" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.722542" level="INFO">${number} = 232</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.722198" elapsed="0.000390"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.724333" level="INFO">${device-port} = 18061</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.723696" elapsed="0.000666"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.727128" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:37.759277" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.759537" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.727023" elapsed="0.032622"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.760651" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:37.760786" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:37.759862" elapsed="0.001133">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:37.759802" elapsed="0.001290">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:37.726740" elapsed="0.034634">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:37.726106" elapsed="0.035410"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.762548" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18061 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:37.817780" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.818103" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.762051" elapsed="0.056109"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:37.818409" elapsed="0.000227"/>
</return>
<msg time="2026-04-11T23:22:37.819342" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:37.725224" elapsed="0.094338"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:37.820275" elapsed="0.001919"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:37.724585" elapsed="0.097845"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:37.723281" elapsed="0.099330"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:37.722765" elapsed="0.099973"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.721748" elapsed="0.101116"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:37.721274" elapsed="0.101684"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.824097" level="INFO">${next} = 18062</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.823296" elapsed="0.000861"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.825382" level="INFO">${current_port} = 18062</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:37.824505" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.718130" elapsed="0.107497"/>
</kw>
<msg time="2026-04-11T23:22:37.825781" level="INFO">Repeating keyword, round 233/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:37.827249" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:37.827119" elapsed="0.000173"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.827097" elapsed="0.000218"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.827797" level="INFO">${current_Date} = 2026-04-11 23:22:37.828</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:37.827621" elapsed="0.000203"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.828295" level="INFO">${ellapsed_seconds} = 2674.04</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:37.827972" elapsed="0.000350"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.828652" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:37.828392" elapsed="0.000314"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.828374" elapsed="0.000355"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:37.826869" elapsed="0.001905"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.829280" level="INFO">${number} = 233</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.828918" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.830774" level="INFO">${number} = 233</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.830390" elapsed="0.000411"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.832516" level="INFO">${device-port} = 18062</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.831899" elapsed="0.000643"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.837718" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:37.875955" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.876231" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.837560" elapsed="0.038733"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.877415" elapsed="0.000070"/>
</kw>
<msg time="2026-04-11T23:22:37.877602" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:37.876508" elapsed="0.001238">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:37.876449" elapsed="0.001394">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:37.837265" elapsed="0.040867">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:37.834337" elapsed="0.044026"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:37.879522" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18062 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:37.937942" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:37.938236" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:37.878969" elapsed="0.059330"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:37.938523" elapsed="0.000234"/>
</return>
<msg time="2026-04-11T23:22:37.939500" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:37.833396" elapsed="0.106429"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:37.940641" elapsed="0.002327"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:37.832774" elapsed="0.110425"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:37.831473" elapsed="0.111823"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:37.830961" elapsed="0.112402"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.829938" elapsed="0.113509"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:37.829456" elapsed="0.114055"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.944294" level="INFO">${next} = 18063</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.943770" elapsed="0.000562"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.945172" level="INFO">${current_port} = 18063</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:37.944590" elapsed="0.000643"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.826228" elapsed="0.119089"/>
</kw>
<msg time="2026-04-11T23:22:37.945374" level="INFO">Repeating keyword, round 234/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:37.946846" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:37.946735" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.946715" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.947229" level="INFO">${current_Date} = 2026-04-11 23:22:37.947</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:37.947055" elapsed="0.000200"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:37.947795" level="INFO">${ellapsed_seconds} = 2673.921</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:37.947399" elapsed="0.000422"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:37.948140" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:37.947891" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:37.947873" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:37.946477" elapsed="0.001782"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.948776" level="INFO">${number} = 234</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.948399" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.950211" level="INFO">${number} = 234</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.949864" elapsed="0.000377"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:37.951935" level="INFO">${device-port} = 18063</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:37.951256" elapsed="0.000706"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.001451" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.013852" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.014136" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.001283" elapsed="0.012919"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.015331" elapsed="0.000064"/>
</kw>
<msg time="2026-04-11T23:22:38.015479" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:38.014421" elapsed="0.001317">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:38.014357" elapsed="0.001490">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:37.954002" elapsed="0.062153">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:37.953615" elapsed="0.062699"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.017485" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18063 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:38.073362" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.073497" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.016937" elapsed="0.056594"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:38.073692" elapsed="0.000098"/>
</return>
<msg time="2026-04-11T23:22:38.074198" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:37.952796" elapsed="0.121539"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:38.074746" elapsed="0.001167"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:37.952164" elapsed="0.123900"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:37.950918" elapsed="0.125237"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:37.950398" elapsed="0.125820"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.949396" elapsed="0.126901"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:37.948952" elapsed="0.127405"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.077081" level="INFO">${next} = 18064</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.076592" elapsed="0.000527"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.077918" level="INFO">${current_port} = 18064</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:38.077342" elapsed="0.000636"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:37.945734" elapsed="0.132325"/>
</kw>
<msg time="2026-04-11T23:22:38.078113" level="INFO">Repeating keyword, round 235/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:38.079760" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:38.079535" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.079509" elapsed="0.000342"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.080325" level="INFO">${current_Date} = 2026-04-11 23:22:38.080</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:38.080096" elapsed="0.000267"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.081028" level="INFO">${ellapsed_seconds} = 2673.788</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:38.080567" elapsed="0.000497"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.081492" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:38.081163" elapsed="0.000452"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.081137" elapsed="0.000515"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:38.079199" elapsed="0.002518"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.082376" level="INFO">${number} = 235</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.081920" elapsed="0.000482"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.083873" level="INFO">${number} = 235</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.083464" elapsed="0.000436"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.085534" level="INFO">${device-port} = 18064</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.084923" elapsed="0.000668"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.088185" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.123414" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.123698" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.088089" elapsed="0.035679"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.124752" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:38.124899" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:38.123950" elapsed="0.001064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:38.123901" elapsed="0.001212">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:38.087815" elapsed="0.037595">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:38.087403" elapsed="0.038292"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.126798" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18064 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:38.181144" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.181367" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.126213" elapsed="0.055214"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:38.181693" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:22:38.182544" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:38.086417" elapsed="0.096404"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:38.183467" elapsed="0.001942"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:38.085799" elapsed="0.099918"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:38.084582" elapsed="0.101289"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:38.084059" elapsed="0.101920"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.083022" elapsed="0.103088"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:38.082556" elapsed="0.103656"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.187442" level="INFO">${next} = 18065</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.186624" elapsed="0.000882"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.188880" level="INFO">${current_port} = 18065</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:38.187929" elapsed="0.001053"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.078382" elapsed="0.110737"/>
</kw>
<msg time="2026-04-11T23:22:38.189210" level="INFO">Repeating keyword, round 236/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:38.190986" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:38.190877" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.190857" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.191345" level="INFO">${current_Date} = 2026-04-11 23:22:38.191</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:38.191191" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.191835" level="INFO">${ellapsed_seconds} = 2673.677</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:38.191516" elapsed="0.000345"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.192160" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:38.191932" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.191913" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:38.190634" elapsed="0.001647"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.192803" level="INFO">${number} = 236</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.192422" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.194232" level="INFO">${number} = 236</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.193893" elapsed="0.000370"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.195938" level="INFO">${device-port} = 18065</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.195304" elapsed="0.000661"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.198622" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.231859" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.232118" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.198510" elapsed="0.033672"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.233211" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:22:38.233355" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:38.232377" elapsed="0.001240">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:38.232324" elapsed="0.001403">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:38.198237" elapsed="0.035790">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:38.197842" elapsed="0.036338"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.235371" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18065 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:38.289868" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.290293" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.234825" elapsed="0.055531"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:38.290716" elapsed="0.000204"/>
</return>
<msg time="2026-04-11T23:22:38.291690" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:38.196995" elapsed="0.094918"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:38.292633" elapsed="0.001886"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:38.196169" elapsed="0.098548"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:38.194965" elapsed="0.099854"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:38.194418" elapsed="0.100473"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.193422" elapsed="0.101558"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:38.192981" elapsed="0.102065"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.295863" level="INFO">${next} = 18066</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.295285" elapsed="0.000619"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.296776" level="INFO">${current_port} = 18066</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:38.296151" elapsed="0.000688"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.189732" elapsed="0.107195"/>
</kw>
<msg time="2026-04-11T23:22:38.296987" level="INFO">Repeating keyword, round 237/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:38.298893" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:38.298715" elapsed="0.000242"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.298681" elapsed="0.000311"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.299548" level="INFO">${current_Date} = 2026-04-11 23:22:38.299</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:38.299292" elapsed="0.000375"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.300379" level="INFO">${ellapsed_seconds} = 2673.569</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:38.299893" elapsed="0.000525"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.300917" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:38.300522" elapsed="0.000475"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.300495" elapsed="0.000537"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:38.298320" elapsed="0.002779"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.301898" level="INFO">${number} = 237</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.301311" elapsed="0.000626"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.304099" level="INFO">${number} = 237</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.303503" elapsed="0.000635"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.306648" level="INFO">${device-port} = 18066</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.305711" elapsed="0.000965"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.309447" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.344172" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.344443" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.309341" elapsed="0.035164"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.345529" elapsed="0.000088"/>
</kw>
<msg time="2026-04-11T23:22:38.345701" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:38.344738" elapsed="0.001073">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:38.344682" elapsed="0.001224">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:38.309067" elapsed="0.037121">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:38.308666" elapsed="0.037756"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.347468" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18066 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:38.402049" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.402278" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.346951" elapsed="0.055390"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:38.402556" elapsed="0.000209"/>
</return>
<msg time="2026-04-11T23:22:38.403454" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:38.307807" elapsed="0.095900"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:38.404312" elapsed="0.002381"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:38.306889" elapsed="0.100091"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:38.305145" elapsed="0.102007"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:38.304372" elapsed="0.102891"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.302849" elapsed="0.104546"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:38.302164" elapsed="0.105330"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.408745" level="INFO">${next} = 18067</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.407894" elapsed="0.000911"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.410183" level="INFO">${current_port} = 18067</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:38.409173" elapsed="0.001091"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.297347" elapsed="0.112999"/>
</kw>
<msg time="2026-04-11T23:22:38.410403" level="INFO">Repeating keyword, round 238/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:38.412221" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:38.412069" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.412042" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.412765" level="INFO">${current_Date} = 2026-04-11 23:22:38.413</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:38.412511" elapsed="0.000292"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.413464" level="INFO">${ellapsed_seconds} = 2673.455</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:38.413006" elapsed="0.000495"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.414019" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:38.413635" elapsed="0.000460"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.413607" elapsed="0.000521"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:38.411589" elapsed="0.002603"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.414982" level="INFO">${number} = 238</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.414390" elapsed="0.000629"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.416999" level="INFO">${number} = 238</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.416505" elapsed="0.000531"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.419387" level="INFO">${device-port} = 18067</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.418484" elapsed="0.000942"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.422986" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.451975" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.452188" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.422881" elapsed="0.029365"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.453153" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:38.453283" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:38.452412" elapsed="0.001124">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:38.452366" elapsed="0.001302">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:38.422610" elapsed="0.031343">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:38.422163" elapsed="0.031930"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.455079" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18067 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:38.509367" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.509625" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.454555" elapsed="0.055128"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:38.509873" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:38.510726" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:38.420969" elapsed="0.089992"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:38.511609" elapsed="0.001843"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:38.419734" elapsed="0.094012"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:38.417995" elapsed="0.095904"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:38.417258" elapsed="0.096747"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.415877" elapsed="0.098259"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:38.415232" elapsed="0.099006"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.515421" level="INFO">${next} = 18068</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.514635" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.516814" level="INFO">${current_port} = 18068</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:38.515897" elapsed="0.001019"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.410751" elapsed="0.106300"/>
</kw>
<msg time="2026-04-11T23:22:38.517235" level="INFO">Repeating keyword, round 239/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:38.518940" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:38.518832" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.518812" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.519343" level="INFO">${current_Date} = 2026-04-11 23:22:38.519</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:38.519177" elapsed="0.000192"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.519901" level="INFO">${ellapsed_seconds} = 2673.349</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:38.519514" elapsed="0.000414"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.520239" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:38.519998" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.519980" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:38.518592" elapsed="0.001775"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.520892" level="INFO">${number} = 239</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.520510" elapsed="0.000408"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.522327" level="INFO">${number} = 239</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.521983" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.524024" level="INFO">${device-port} = 18068</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.523366" elapsed="0.000685"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.526694" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.559949" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.560319" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.526596" elapsed="0.033788"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.561633" elapsed="0.000068"/>
</kw>
<msg time="2026-04-11T23:22:38.561787" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:38.560674" elapsed="0.001233">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:38.560557" elapsed="0.001452">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:38.526314" elapsed="0.036008">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:38.525918" elapsed="0.036682"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.563701" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18068 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:38.617654" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.617951" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.563127" elapsed="0.054883"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:38.618260" elapsed="0.000164"/>
</return>
<msg time="2026-04-11T23:22:38.619137" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:38.525075" elapsed="0.094287"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:38.620038" elapsed="0.001900"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:38.524255" elapsed="0.097922"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:38.523029" elapsed="0.099295"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:38.522510" elapsed="0.099914"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.521528" elapsed="0.101023"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:38.521071" elapsed="0.101612"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.623833" level="INFO">${next} = 18069</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.623028" elapsed="0.000864"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.625134" level="INFO">${current_port} = 18069</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:38.624246" elapsed="0.000980"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.517736" elapsed="0.107677"/>
</kw>
<msg time="2026-04-11T23:22:38.625514" level="INFO">Repeating keyword, round 240/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:38.627197" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:38.627082" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.627059" elapsed="0.000210"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.627637" level="INFO">${current_Date} = 2026-04-11 23:22:38.627</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:38.627414" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.628140" level="INFO">${ellapsed_seconds} = 2673.241</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:38.627812" elapsed="0.000354"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.628479" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:38.628237" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.628218" elapsed="0.000338"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:38.626832" elapsed="0.001791"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.629133" level="INFO">${number} = 240</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.628767" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.630591" level="INFO">${number} = 240</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.630235" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.632260" level="INFO">${device-port} = 18069</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.631642" elapsed="0.000649"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.635002" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.667263" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.667491" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.634898" elapsed="0.032866"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.668732" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:22:38.668875" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:38.667943" elapsed="0.001145">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:38.667895" elapsed="0.001297">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:38.634627" elapsed="0.034914">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:38.634217" elapsed="0.035513"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.670801" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18069 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:38.725515" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.725771" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.670231" elapsed="0.055600"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:38.726036" elapsed="0.000154"/>
</return>
<msg time="2026-04-11T23:22:38.726883" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:38.633385" elapsed="0.093715"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:38.727723" elapsed="0.001783"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:38.632497" elapsed="0.097305"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:38.631280" elapsed="0.098663"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:38.630775" elapsed="0.099265"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.629792" elapsed="0.100369"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:38.629312" elapsed="0.100943"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.731358" level="INFO">${next} = 18070</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.730624" elapsed="0.000797"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.732741" level="INFO">${current_port} = 18070</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:38.731835" elapsed="0.001000"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.626029" elapsed="0.106930"/>
</kw>
<msg time="2026-04-11T23:22:38.733043" level="INFO">Repeating keyword, round 241/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:38.735627" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:38.735361" elapsed="0.000364"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.735320" elapsed="0.000452"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.736489" level="INFO">${current_Date} = 2026-04-11 23:22:38.736</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:38.736154" elapsed="0.000393"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.737710" level="INFO">${ellapsed_seconds} = 2673.132</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:38.736919" elapsed="0.000851"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.738340" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:38.737928" elapsed="0.000464"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.737887" elapsed="0.000528"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:38.734835" elapsed="0.003625"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.738976" level="INFO">${number} = 241</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.738616" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.740375" level="INFO">${number} = 241</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.740044" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.742151" level="INFO">${device-port} = 18070</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.741410" elapsed="0.000768"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.744798" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.775557" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.775797" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.744701" elapsed="0.031155"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.776730" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:38.776861" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:38.776016" elapsed="0.000949">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:38.775972" elapsed="0.001081">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:38.744419" elapsed="0.032922">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:38.744023" elapsed="0.033521"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.778514" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18070 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:38.833444" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.833677" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.778033" elapsed="0.055701"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:38.833923" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:38.834766" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:38.743205" elapsed="0.091783"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:38.835719" elapsed="0.002379"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:38.742383" elapsed="0.096005"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:38.741057" elapsed="0.097438"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:38.740557" elapsed="0.098002"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.739608" elapsed="0.099050"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:38.739153" elapsed="0.099566"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.839453" level="INFO">${next} = 18071</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.838965" elapsed="0.000525"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.840299" level="INFO">${current_port} = 18071</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:38.839752" elapsed="0.000606"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.733469" elapsed="0.106969"/>
</kw>
<msg time="2026-04-11T23:22:38.840493" level="INFO">Repeating keyword, round 242/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:38.842103" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:38.841943" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.841916" elapsed="0.000276"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.842624" level="INFO">${current_Date} = 2026-04-11 23:22:38.842</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:38.842389" elapsed="0.000273"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.843286" level="INFO">${ellapsed_seconds} = 2673.026</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:38.842862" elapsed="0.000460"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.843816" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:38.843419" elapsed="0.000472"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.843393" elapsed="0.000531"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:38.841608" elapsed="0.002379"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.844706" level="INFO">${number} = 242</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.844185" elapsed="0.000557"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.846755" level="INFO">${number} = 242</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.846262" elapsed="0.000530"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.848989" level="INFO">${device-port} = 18071</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.848349" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.851671" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.883682" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.883893" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.851556" elapsed="0.032395"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.884836" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:38.884967" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:38.884111" elapsed="0.001077">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:38.884067" elapsed="0.001239">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:38.851286" elapsed="0.034326">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:38.850895" elapsed="0.034863"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.886735" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18071 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:38.945334" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.945540" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.886212" elapsed="0.059425"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:38.945826" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:38.946640" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:38.850080" elapsed="0.096779"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:38.947501" elapsed="0.001840"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:38.849220" elapsed="0.100391"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:38.847893" elapsed="0.101866"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:38.847021" elapsed="0.102834"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.845645" elapsed="0.104330"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:38.844952" elapsed="0.105115"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.950841" level="INFO">${next} = 18072</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.950361" elapsed="0.000517"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.951665" level="INFO">${current_port} = 18072</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:38.951100" elapsed="0.000624"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.840787" elapsed="0.111016"/>
</kw>
<msg time="2026-04-11T23:22:38.951857" level="INFO">Repeating keyword, round 243/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:38.953617" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:38.953446" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.953420" elapsed="0.000287"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.954163" level="INFO">${current_Date} = 2026-04-11 23:22:38.954</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:38.953950" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:38.954841" level="INFO">${ellapsed_seconds} = 2672.914</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:38.954400" elapsed="0.000478"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:38.955291" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:38.954976" elapsed="0.000388"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:38.954950" elapsed="0.000446"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:38.953094" elapsed="0.002365"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.956239" level="INFO">${number} = 243</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.955738" elapsed="0.000537"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.958234" level="INFO">${number} = 243</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.957769" elapsed="0.000501"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:38.960594" level="INFO">${device-port} = 18072</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:38.959723" elapsed="0.000910"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:38.963738" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:38.999684" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:38.999896" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:38.963642" elapsed="0.036312"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.000829" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:39.000959" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.000113" elapsed="0.000949">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.000069" elapsed="0.001082">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:38.963359" elapsed="0.038077">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:38.962968" elapsed="0.038704"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.002654" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18072 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:39.057823" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.058037" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.002130" elapsed="0.055962"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:39.058284" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:39.059124" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:38.962093" elapsed="0.097249"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:39.059980" elapsed="0.001837"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:38.960918" elapsed="0.101137"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:38.959192" elapsed="0.103007"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:38.958491" elapsed="0.103805"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.957123" elapsed="0.105294"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:38.956485" elapsed="0.106026"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.063658" level="INFO">${next} = 18073</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.062877" elapsed="0.000841"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.064940" level="INFO">${current_port} = 18073</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:39.064070" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:38.952115" elapsed="0.113045"/>
</kw>
<msg time="2026-04-11T23:22:39.065267" level="INFO">Repeating keyword, round 244/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:39.067852" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:39.067489" elapsed="0.000458"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.067446" elapsed="0.000550"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.068684" level="INFO">${current_Date} = 2026-04-11 23:22:39.068</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:39.068310" elapsed="0.000435"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.069821" level="INFO">${ellapsed_seconds} = 2672.8</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:39.069068" elapsed="0.000812"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.070409" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:39.070036" elapsed="0.000426"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.069995" elapsed="0.000491"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:39.066961" elapsed="0.003571"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.071050" level="INFO">${number} = 244</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.070690" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.072503" level="INFO">${number} = 244</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.072166" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.074335" level="INFO">${device-port} = 18073</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.073669" elapsed="0.000693"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.077028" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:39.107532" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.107773" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.076931" elapsed="0.030900"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.108710" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:39.108840" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.107993" elapsed="0.001036">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.107950" elapsed="0.001174">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:39.076661" elapsed="0.032760">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:39.076257" elapsed="0.033305"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.110530" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18073 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:39.165596" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.165804" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.110048" elapsed="0.055811"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:39.166045" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:39.166859" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:39.075429" elapsed="0.091646"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:39.167693" elapsed="0.001788"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:39.074594" elapsed="0.095153"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:39.073278" elapsed="0.096611"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:39.072718" elapsed="0.097269"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.071724" elapsed="0.098385"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:39.071228" elapsed="0.098974"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.170933" level="INFO">${next} = 18074</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.170448" elapsed="0.000523"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.171758" level="INFO">${current_port} = 18074</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:39.171189" elapsed="0.000630"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.065714" elapsed="0.106184"/>
</kw>
<msg time="2026-04-11T23:22:39.171952" level="INFO">Repeating keyword, round 245/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:39.173478" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:39.173329" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.173302" elapsed="0.000284"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.174043" level="INFO">${current_Date} = 2026-04-11 23:22:39.174</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:39.173830" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.174719" level="INFO">${ellapsed_seconds} = 2672.694</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:39.174280" elapsed="0.000476"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.175166" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:39.174854" elapsed="0.000387"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.174829" elapsed="0.000444"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:39.172983" elapsed="0.002353"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.176140" level="INFO">${number} = 245</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.175535" elapsed="0.000641"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.178138" level="INFO">${number} = 245</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.177674" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.180432" level="INFO">${device-port} = 18074</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.179564" elapsed="0.000905"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.183608" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:39.215367" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.215609" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.183497" elapsed="0.032174"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.216518" elapsed="0.000083"/>
</kw>
<msg time="2026-04-11T23:22:39.216681" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.215833" elapsed="0.000951">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.215789" elapsed="0.001083">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:39.183231" elapsed="0.033902">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:39.182843" elapsed="0.034557"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.218417" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18074 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:39.273603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.273824" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.217906" elapsed="0.055973"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:39.274074" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:39.274913" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:39.181934" elapsed="0.093200"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:39.275773" elapsed="0.001845"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:39.180772" elapsed="0.097088"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:39.179093" elapsed="0.098910"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:39.178394" elapsed="0.099707"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.177032" elapsed="0.101193"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:39.176389" elapsed="0.101929"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.279419" level="INFO">${next} = 18075</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.278683" elapsed="0.000794"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.280748" level="INFO">${current_port} = 18075</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:39.279880" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.172208" elapsed="0.108757"/>
</kw>
<msg time="2026-04-11T23:22:39.281050" level="INFO">Repeating keyword, round 246/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:39.283528" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:39.283295" elapsed="0.000449"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.283252" elapsed="0.000541"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.284436" level="INFO">${current_Date} = 2026-04-11 23:22:39.284</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:39.284104" elapsed="0.000390"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.285850" level="INFO">${ellapsed_seconds} = 2672.584</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:39.284841" elapsed="0.001069"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.286460" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:39.286094" elapsed="0.000420"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.286051" elapsed="0.000485"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:39.282772" elapsed="0.003822"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.287103" level="INFO">${number} = 246</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.286739" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.288555" level="INFO">${number} = 246</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.288212" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.290241" level="INFO">${device-port} = 18075</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.289621" elapsed="0.000647"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.294235" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:39.323405" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.323651" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.294138" elapsed="0.029574"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.324561" elapsed="0.000084"/>
</kw>
<msg time="2026-04-11T23:22:39.324721" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.323874" elapsed="0.001038">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.323829" elapsed="0.001179">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:39.293872" elapsed="0.031429">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:39.293468" elapsed="0.031974"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.326423" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18075 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:39.381259" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.381462" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.325944" elapsed="0.055573"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:39.381749" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:39.382533" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:39.292644" elapsed="0.090154"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:39.383389" elapsed="0.001819"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:39.290474" elapsed="0.094971"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:39.289259" elapsed="0.096358"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:39.288751" elapsed="0.096967"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.287762" elapsed="0.098078"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:39.287280" elapsed="0.098653"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.387023" level="INFO">${next} = 18076</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.386262" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.388338" level="INFO">${current_port} = 18076</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:39.387428" elapsed="0.001002"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.281488" elapsed="0.107068"/>
</kw>
<msg time="2026-04-11T23:22:39.388677" level="INFO">Repeating keyword, round 247/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:39.390848" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:39.390698" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.390672" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.391390" level="INFO">${current_Date} = 2026-04-11 23:22:39.391</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:39.391177" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.392131" level="INFO">${ellapsed_seconds} = 2672.477</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:39.391707" elapsed="0.000460"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.392601" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:39.392266" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.392240" elapsed="0.000470"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:39.390348" elapsed="0.002426"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.393500" level="INFO">${number} = 247</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.392973" elapsed="0.000564"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.395491" level="INFO">${number} = 247</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.395024" elapsed="0.000503"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.397876" level="INFO">${device-port} = 18076</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.396974" elapsed="0.000939"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.401651" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:39.435630" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.435842" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.401472" elapsed="0.034428"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.436778" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:39.436910" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.436061" elapsed="0.000952">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.436017" elapsed="0.001126">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:39.401025" elapsed="0.036391">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:39.400460" elapsed="0.037189"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.438640" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18076 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:39.493783" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.493995" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.438112" elapsed="0.055940"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:39.494243" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:39.495079" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:39.399063" elapsed="0.096233"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:39.495919" elapsed="0.001822"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:39.398197" elapsed="0.099776"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:39.396481" elapsed="0.101636"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:39.395792" elapsed="0.102422"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.394393" elapsed="0.103945"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:39.393772" elapsed="0.104662"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.499540" level="INFO">${next} = 18077</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.498802" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.500879" level="INFO">${current_port} = 18077</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:39.500005" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.389086" elapsed="0.112032"/>
</kw>
<msg time="2026-04-11T23:22:39.501207" level="INFO">Repeating keyword, round 248/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:39.503799" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:39.503435" elapsed="0.000460"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.503392" elapsed="0.000552"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.504624" level="INFO">${current_Date} = 2026-04-11 23:22:39.504</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:39.504257" elapsed="0.000428"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.505503" level="INFO">${ellapsed_seconds} = 2672.364</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:39.505006" elapsed="0.000523"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.505847" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:39.505618" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.505598" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:39.502905" elapsed="0.003064"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.506479" level="INFO">${number} = 248</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.506112" elapsed="0.000393"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.507945" level="INFO">${number} = 248</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.507557" elapsed="0.000414"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.509607" level="INFO">${device-port} = 18077</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.508969" elapsed="0.000666"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.512231" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:39.547640" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.547850" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.512136" elapsed="0.035772"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.548787" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:39.548920" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.548069" elapsed="0.001064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.548025" elapsed="0.001205">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:39.511867" elapsed="0.037637">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:39.511456" elapsed="0.038219"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.550654" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18077 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:39.605678" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.605881" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.550131" elapsed="0.055805"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:39.606122" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:39.606939" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:39.510444" elapsed="0.096708"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:39.607776" elapsed="0.001768"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:39.509837" elapsed="0.099971"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:39.508634" elapsed="0.101314"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:39.508128" elapsed="0.101915"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.507116" elapsed="0.103046"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:39.506673" elapsed="0.103581"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.611344" level="INFO">${next} = 18078</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.610612" elapsed="0.000791"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.612668" level="INFO">${current_port} = 18078</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:39.611804" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.501653" elapsed="0.111234"/>
</kw>
<msg time="2026-04-11T23:22:39.612971" level="INFO">Repeating keyword, round 249/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:39.615422" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:39.615186" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.615144" elapsed="0.000420"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.616411" level="INFO">${current_Date} = 2026-04-11 23:22:39.616</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:39.616074" elapsed="0.000395"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.617416" level="INFO">${ellapsed_seconds} = 2672.252</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:39.616821" elapsed="0.000621"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.617754" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:39.617512" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.617494" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:39.614666" elapsed="0.003210"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.618376" level="INFO">${number} = 249</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.618018" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.619826" level="INFO">${number} = 249</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.619445" elapsed="0.000408"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.621486" level="INFO">${device-port} = 18078</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.620862" elapsed="0.000651"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.624107" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:39.663820" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.664031" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.624013" elapsed="0.040078"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.664981" elapsed="0.000078"/>
</kw>
<msg time="2026-04-11T23:22:39.665138" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.664252" elapsed="0.000989">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.664208" elapsed="0.001122">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:39.623743" elapsed="0.041878">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:39.623152" elapsed="0.042685"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.666832" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18078 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:39.721369" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.721606" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.666305" elapsed="0.055359"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:39.721850" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:39.722666" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:39.622343" elapsed="0.100538"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:39.723466" elapsed="0.001820"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:39.621738" elapsed="0.103782"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:39.620499" elapsed="0.105196"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:39.620009" elapsed="0.105782"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.619009" elapsed="0.106902"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:39.618553" elapsed="0.107452"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.727104" level="INFO">${next} = 18079</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.726342" elapsed="0.000820"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.728417" level="INFO">${current_port} = 18079</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:39.727514" elapsed="0.000996"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.613402" elapsed="0.115279"/>
</kw>
<msg time="2026-04-11T23:22:39.728769" level="INFO">Repeating keyword, round 250/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:39.731480" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:39.731244" elapsed="0.000358"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.731201" elapsed="0.000454"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.732300" level="INFO">${current_Date} = 2026-04-11 23:22:39.732</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:39.731970" elapsed="0.000389"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.733603" level="INFO">${ellapsed_seconds} = 2672.136</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:39.732716" elapsed="0.000916"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.733935" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:39.733704" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.733685" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:39.730710" elapsed="0.003347"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.734559" level="INFO">${number} = 250</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.734200" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.735980" level="INFO">${number} = 250</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.735647" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.737670" level="INFO">${device-port} = 18079</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.737032" elapsed="0.000666"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.740277" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:39.775466" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.775712" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.740182" elapsed="0.035591"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.776652" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:39.776783" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.775934" elapsed="0.001064">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.775890" elapsed="0.001206">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:39.739910" elapsed="0.037451">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:39.739314" elapsed="0.038183"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.778482" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18079 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:39.833314" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.833516" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.778000" elapsed="0.055610"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:39.833800" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:39.834618" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:39.738510" elapsed="0.096332"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:39.835429" elapsed="0.001892"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:39.737902" elapsed="0.099653"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:39.736663" elapsed="0.101102"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:39.736161" elapsed="0.101700"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.735195" elapsed="0.102788"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:39.734753" elapsed="0.103323"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.839175" level="INFO">${next} = 18080</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.838412" elapsed="0.000823"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.840439" level="INFO">${current_port} = 18080</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:39.839610" elapsed="0.000920"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.729202" elapsed="0.111486"/>
</kw>
<msg time="2026-04-11T23:22:39.840773" level="INFO">Repeating keyword, round 251/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:39.842559" elapsed="0.000060"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:39.842411" elapsed="0.000248"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.842383" elapsed="0.000306"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.843143" level="INFO">${current_Date} = 2026-04-11 23:22:39.843</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:39.842932" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.843829" level="INFO">${ellapsed_seconds} = 2672.025</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:39.843380" elapsed="0.000486"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.844282" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:39.843965" elapsed="0.000390"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.843939" elapsed="0.000449"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:39.842079" elapsed="0.002372"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.845194" level="INFO">${number} = 251</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.844672" elapsed="0.000558"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.847215" level="INFO">${number} = 251</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.846750" elapsed="0.000503"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.849528" level="INFO">${device-port} = 18080</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.848668" elapsed="0.000897"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.853215" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:39.883496" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.883742" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.853080" elapsed="0.030721"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.884680" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:39.884812" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.883962" elapsed="0.000953">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.883918" elapsed="0.001110">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:39.852670" elapsed="0.032621">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:39.851839" elapsed="0.033655"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.886475" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18080 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:39.941608" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.941816" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.885991" elapsed="0.055880"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:39.942060" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:39.942897" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:39.850729" elapsed="0.092387"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:39.943753" elapsed="0.001725"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:39.849869" elapsed="0.095779"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:39.848167" elapsed="0.097572"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:39.847467" elapsed="0.098332"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.846116" elapsed="0.099758"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:39.845442" elapsed="0.100490"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.946625" level="INFO">${next} = 18081</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.946144" elapsed="0.000519"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.947408" level="INFO">${current_port} = 18081</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:39.946883" elapsed="0.000583"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.841222" elapsed="0.106323"/>
</kw>
<msg time="2026-04-11T23:22:39.947637" level="INFO">Repeating keyword, round 252/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:39.949184" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:39.949035" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.949007" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.949705" level="INFO">${current_Date} = 2026-04-11 23:22:39.950</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:39.949475" elapsed="0.000267"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:39.950359" level="INFO">${ellapsed_seconds} = 2671.918</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:39.949945" elapsed="0.000450"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.950828" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:39.950491" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:39.950466" elapsed="0.000469"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:39.948681" elapsed="0.002317"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.951808" level="INFO">${number} = 252</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.951197" elapsed="0.000648"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.953806" level="INFO">${number} = 252</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.953319" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:39.956129" level="INFO">${device-port} = 18081</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:39.955248" elapsed="0.000918"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.959121" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:39.991504" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:39.991753" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.959026" elapsed="0.032787"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:39.992707" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:39.992841" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:39.991977" elapsed="0.001080">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:39.991934" elapsed="0.001222">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:39.958757" elapsed="0.034667">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:39.958154" elapsed="0.035409"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:39.994547" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18081 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:40.049468" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.049711" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:39.994062" elapsed="0.055707"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:40.049958" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:40.050792" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:39.957347" elapsed="0.093664"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:40.051652" elapsed="0.001783"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:39.956447" elapsed="0.097294"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:39.954778" elapsed="0.099108"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:39.954057" elapsed="0.099924"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.952695" elapsed="0.101410"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:39.952056" elapsed="0.102141"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.055305" level="INFO">${next} = 18082</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.054534" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.056614" level="INFO">${current_port} = 18082</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:40.055746" elapsed="0.000964"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:39.947898" elapsed="0.108940"/>
</kw>
<msg time="2026-04-11T23:22:40.056944" level="INFO">Repeating keyword, round 253/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:40.059510" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:40.059271" elapsed="0.000366"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.059228" elapsed="0.000460"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.060432" level="INFO">${current_Date} = 2026-04-11 23:22:40.060</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:40.060200" elapsed="0.000258"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.060934" level="INFO">${ellapsed_seconds} = 2671.808</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:40.060620" elapsed="0.000340"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.061256" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:40.061030" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.061013" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:40.058738" elapsed="0.002640"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.061917" level="INFO">${number} = 253</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.061520" elapsed="0.000423"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.063326" level="INFO">${number} = 253</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.062989" elapsed="0.000367"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.064998" level="INFO">${device-port} = 18082</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.064354" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.067619" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:40.099438" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.099690" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.067507" elapsed="0.032245"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.100634" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:40.100770" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:40.099915" elapsed="0.000979">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:40.099871" elapsed="0.001116">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:40.067237" elapsed="0.034017">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:40.066656" elapsed="0.034803"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.102455" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18082 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:40.157260" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.157464" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.101970" elapsed="0.055549"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:40.157751" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:40.158521" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:40.065849" elapsed="0.092930"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:40.159368" elapsed="0.001842"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:40.065227" elapsed="0.096218"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:40.064016" elapsed="0.097603"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:40.063510" elapsed="0.098210"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.062536" elapsed="0.099306"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:40.062094" elapsed="0.099843"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.163048" level="INFO">${next} = 18083</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.162272" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.164374" level="INFO">${current_port} = 18083</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:40.163452" elapsed="0.001015"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.057358" elapsed="0.107269"/>
</kw>
<msg time="2026-04-11T23:22:40.164717" level="INFO">Repeating keyword, round 254/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:40.166534" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:40.166386" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.166359" elapsed="0.000284"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.167049" level="INFO">${current_Date} = 2026-04-11 23:22:40.167</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:40.166840" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.167784" level="INFO">${ellapsed_seconds} = 2671.701</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:40.167283" elapsed="0.000537"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.168231" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:40.167917" elapsed="0.000387"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.167891" elapsed="0.000444"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:40.166056" elapsed="0.002341"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.169127" level="INFO">${number} = 254</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.168613" elapsed="0.000550"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.171189" level="INFO">${number} = 254</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.170725" elapsed="0.000501"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.173523" level="INFO">${device-port} = 18083</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.172655" elapsed="0.000904"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.177226" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:40.207608" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.207821" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.177092" elapsed="0.030788"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.208766" elapsed="0.000079"/>
</kw>
<msg time="2026-04-11T23:22:40.208922" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:40.208043" elapsed="0.001058">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:40.207998" elapsed="0.001198">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:40.176685" elapsed="0.032777">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:40.175856" elapsed="0.033775"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.210626" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18083 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:40.265405" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.265653" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.210095" elapsed="0.055616"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:40.265900" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:40.266736" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:40.174731" elapsed="0.092225"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:40.267550" elapsed="0.001835"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:40.173865" elapsed="0.095789"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:40.172160" elapsed="0.097641"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:40.171439" elapsed="0.098459"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.170001" elapsed="0.100021"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:40.169372" elapsed="0.100743"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.271546" level="INFO">${next} = 18084</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.270447" elapsed="0.001248"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.273083" level="INFO">${current_port} = 18084</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:40.272096" elapsed="0.001093"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.165232" elapsed="0.108099"/>
</kw>
<msg time="2026-04-11T23:22:40.273425" level="INFO">Repeating keyword, round 255/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:40.276346" elapsed="0.000037"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:40.276081" elapsed="0.000369"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.276032" elapsed="0.000471"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.277362" level="INFO">${current_Date} = 2026-04-11 23:22:40.277</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:40.276989" elapsed="0.000438"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.278541" level="INFO">${ellapsed_seconds} = 2671.591</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:40.277812" elapsed="0.000823"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.279354" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:40.278807" elapsed="0.000676"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.278763" elapsed="0.000776"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:40.275278" elapsed="0.004448"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.281029" level="INFO">${number} = 255</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.280077" elapsed="0.001016"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.282644" level="INFO">${number} = 255</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.282289" elapsed="0.000382"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.284300" level="INFO">${device-port} = 18084</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.283682" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.286970" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:40.315412" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.315678" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.286873" elapsed="0.028872"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.316709" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:40.316878" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:40.315924" elapsed="0.001068">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:40.315875" elapsed="0.001214">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:40.286600" elapsed="0.030780">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:40.285992" elapsed="0.031638"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.318707" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18084 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:40.402554" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.402793" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.318136" elapsed="0.084712"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:40.403035" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:40.403855" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:40.285178" elapsed="0.118893"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:40.404696" elapsed="0.001779"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:40.284537" elapsed="0.122202"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:40.283320" elapsed="0.123562"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:40.282826" elapsed="0.124154"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.281847" elapsed="0.125256"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:40.281385" elapsed="0.125816"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.408303" level="INFO">${next} = 18085</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.407538" elapsed="0.000824"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.409666" level="INFO">${current_port} = 18085</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:40.408790" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.273915" elapsed="0.135973"/>
</kw>
<msg time="2026-04-11T23:22:40.409975" level="INFO">Repeating keyword, round 256/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:40.412518" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:40.412282" elapsed="0.000362"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.412240" elapsed="0.000455"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.413367" level="INFO">${current_Date} = 2026-04-11 23:22:40.413</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:40.413051" elapsed="0.000343"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.413856" level="INFO">${ellapsed_seconds} = 2671.455</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:40.413538" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.414178" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:40.413953" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.413934" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:40.411755" elapsed="0.002545"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.414841" level="INFO">${number} = 256</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.414443" elapsed="0.000425"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.416252" level="INFO">${number} = 256</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.415918" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.417917" level="INFO">${device-port} = 18085</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.417281" elapsed="0.000663"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.420521" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:40.451534" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.451777" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.420424" elapsed="0.031412"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.452720" elapsed="0.000079"/>
</kw>
<msg time="2026-04-11T23:22:40.452878" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:40.451998" elapsed="0.001066">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:40.451955" elapsed="0.001206">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:40.420153" elapsed="0.033277">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:40.419553" elapsed="0.034046"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.454548" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18085 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:40.509777" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.509980" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.454065" elapsed="0.055971"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:40.510224" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:40.511054" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:40.418772" elapsed="0.092497"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:40.511899" elapsed="0.001817"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:40.418146" elapsed="0.095807"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:40.416945" elapsed="0.097152"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:40.416430" elapsed="0.097765"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.415461" elapsed="0.098858"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:40.415019" elapsed="0.099395"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.515528" level="INFO">${next} = 18086</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.514797" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.517069" level="INFO">${current_port} = 18086</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:40.515972" elapsed="0.001200"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.410389" elapsed="0.106914"/>
</kw>
<msg time="2026-04-11T23:22:40.517362" level="INFO">Repeating keyword, round 257/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:40.518976" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:40.518824" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.518797" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.519528" level="INFO">${current_Date} = 2026-04-11 23:22:40.519</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:40.519310" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.520212" level="INFO">${ellapsed_seconds} = 2671.349</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:40.519791" elapsed="0.000457"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.520690" elapsed="0.000047"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:40.520349" elapsed="0.000435"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.520322" elapsed="0.000495"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:40.518410" elapsed="0.002472"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.521608" level="INFO">${number} = 257</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.521083" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.523633" level="INFO">${number} = 257</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.523147" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.525954" level="INFO">${device-port} = 18086</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.525075" elapsed="0.000917"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.529605" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:40.559188" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.559399" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.529492" elapsed="0.029966"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.560364" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:40.560497" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:40.559661" elapsed="0.000971">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:40.559614" elapsed="0.001134">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:40.529161" elapsed="0.031859">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:40.528266" elapsed="0.032957"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.562218" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18086 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:40.617364" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.617601" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.561730" elapsed="0.055931"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:40.617845" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:40.618654" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:40.527147" elapsed="0.091724"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:40.619452" elapsed="0.001787"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:40.526274" elapsed="0.095194"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:40.524589" elapsed="0.097054"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:40.523887" elapsed="0.097855"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.522476" elapsed="0.099389"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:40.521858" elapsed="0.100100"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.623050" level="INFO">${next} = 18087</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.622290" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.624354" level="INFO">${current_port} = 18087</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:40.623456" elapsed="0.000989"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.517643" elapsed="0.106953"/>
</kw>
<msg time="2026-04-11T23:22:40.624730" level="INFO">Repeating keyword, round 258/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:40.626537" elapsed="0.000019"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:40.626390" elapsed="0.000224"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.626364" elapsed="0.000282"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.627048" level="INFO">${current_Date} = 2026-04-11 23:22:40.627</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:40.626841" elapsed="0.000243"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.627798" level="INFO">${ellapsed_seconds} = 2671.241</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:40.627281" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.628244" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:40.627931" elapsed="0.000385"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.627905" elapsed="0.000443"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:40.626066" elapsed="0.002343"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.629945" level="INFO">${number} = 258</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.628631" elapsed="0.001352"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.631950" level="INFO">${number} = 258</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.631465" elapsed="0.000521"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.634255" level="INFO">${device-port} = 18087</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.633375" elapsed="0.000918"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.638951" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:40.667477" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.667721" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.638855" elapsed="0.028925"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.668671" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:40.668804" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:40.667939" elapsed="0.001044">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:40.667895" elapsed="0.001184">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:40.638582" elapsed="0.030762">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:40.636662" elapsed="0.032820"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.670453" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18087 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:40.725308" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.725506" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.669978" elapsed="0.055583"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:40.725781" elapsed="0.000139"/>
</return>
<msg time="2026-04-11T23:22:40.726543" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:40.635440" elapsed="0.091362"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:40.727386" elapsed="0.001802"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:40.634594" elapsed="0.094826"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:40.632909" elapsed="0.096650"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:40.632198" elapsed="0.097534"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.630829" elapsed="0.099024"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:40.630192" elapsed="0.099752"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.731033" level="INFO">${next} = 18088</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.730274" elapsed="0.000818"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.732300" level="INFO">${current_port} = 18088</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:40.731440" elapsed="0.000952"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.625147" elapsed="0.107370"/>
</kw>
<msg time="2026-04-11T23:22:40.732671" level="INFO">Repeating keyword, round 259/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:40.734504" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:40.734357" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.734331" elapsed="0.000282"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.735062" level="INFO">${current_Date} = 2026-04-11 23:22:40.735</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:40.734850" elapsed="0.000247"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.735742" level="INFO">${ellapsed_seconds} = 2671.133</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:40.735296" elapsed="0.000481"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.736187" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:40.735874" elapsed="0.000387"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.735849" elapsed="0.000444"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:40.734030" elapsed="0.002325"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.737108" level="INFO">${number} = 259</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.736552" elapsed="0.000593"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.739126" level="INFO">${number} = 259</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.738663" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.741428" level="INFO">${device-port} = 18088</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.740537" elapsed="0.000928"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.747411" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:40.779770" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.779997" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.747198" elapsed="0.032859"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.780977" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:40.781110" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:40.780220" elapsed="0.000994">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:40.780177" elapsed="0.001126">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:40.746565" elapsed="0.035032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:40.745268" elapsed="0.036538"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.782809" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18088 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:40.838213" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.838432" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.782276" elapsed="0.056213"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:40.838715" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:40.839492" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:40.743412" elapsed="0.096337"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:40.840345" elapsed="0.001860"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:40.741953" elapsed="0.100488"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:40.740071" elapsed="0.102538"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:40.739376" elapsed="0.103333"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.738038" elapsed="0.104796"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:40.737354" elapsed="0.105575"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.844036" level="INFO">${next} = 18089</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.843269" elapsed="0.000826"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.845368" level="INFO">${current_port} = 18089</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:40.844447" elapsed="0.001012"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.733088" elapsed="0.112524"/>
</kw>
<msg time="2026-04-11T23:22:40.845701" level="INFO">Repeating keyword, round 260/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:40.848229" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:40.847994" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.847953" elapsed="0.000417"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.849174" level="INFO">${current_Date} = 2026-04-11 23:22:40.849</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:40.848836" elapsed="0.000398"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.849743" level="INFO">${ellapsed_seconds} = 2671.019</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:40.849426" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.850070" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:40.849841" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.849822" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:40.847444" elapsed="0.002750"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.850717" level="INFO">${number} = 260</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.850337" elapsed="0.000407"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.852127" level="INFO">${number} = 260</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.851793" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.853883" level="INFO">${device-port} = 18089</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.853246" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.856475" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:40.887603" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.887816" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.856379" elapsed="0.031495"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.888773" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:40.888904" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:40.888035" elapsed="0.001046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:40.887991" elapsed="0.001185">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:40.856109" elapsed="0.033334">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:40.855520" elapsed="0.034092"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.890561" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18089 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:40.945608" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.945811" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.890079" elapsed="0.055786"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:40.946052" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:40.946862" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:40.854734" elapsed="0.092342"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:40.947742" elapsed="0.001748"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:40.854114" elapsed="0.095641"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:40.852909" elapsed="0.096985"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:40.852372" elapsed="0.097619"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.851340" elapsed="0.098773"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:40.850898" elapsed="0.099307"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.951294" level="INFO">${next} = 18090</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.950537" elapsed="0.000816"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.952731" level="INFO">${current_port} = 18090</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:40.951761" elapsed="0.001066"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.846114" elapsed="0.106837"/>
</kw>
<msg time="2026-04-11T23:22:40.953036" level="INFO">Repeating keyword, round 261/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:40.955471" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:40.955236" elapsed="0.000326"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.955195" elapsed="0.000540"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.956467" level="INFO">${current_Date} = 2026-04-11 23:22:40.956</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:40.956131" elapsed="0.000393"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:40.957473" level="INFO">${ellapsed_seconds} = 2670.912</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:40.956919" elapsed="0.000579"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:40.957810" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:40.957581" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:40.957550" elapsed="0.000336"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:40.954714" elapsed="0.003216"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.958434" level="INFO">${number} = 261</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.958071" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.959874" level="INFO">${number} = 261</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.959503" elapsed="0.000397"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:40.961657" level="INFO">${device-port} = 18090</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:40.960903" elapsed="0.000782"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:40.964242" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:40.999265" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:40.999476" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:40.964145" elapsed="0.035389"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.000423" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:41.000617" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:40.999736" elapsed="0.000991">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:40.999690" elapsed="0.001128">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:40.963702" elapsed="0.037379">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:40.963303" elapsed="0.037980"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.002283" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18090 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:41.057652" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.057854" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.001796" elapsed="0.056114"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:41.058095" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:41.058910" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:40.962496" elapsed="0.096628"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:41.059742" elapsed="0.001769"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:40.961891" elapsed="0.099889"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:40.960538" elapsed="0.101384"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:40.960055" elapsed="0.101964"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.959069" elapsed="0.103073"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:40.958628" elapsed="0.103609"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.063336" level="INFO">${next} = 18091</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.062604" elapsed="0.000791"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.064713" level="INFO">${current_port} = 18091</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:41.063799" elapsed="0.001009"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:40.953444" elapsed="0.111490"/>
</kw>
<msg time="2026-04-11T23:22:41.065019" level="INFO">Repeating keyword, round 262/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:41.066750" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:41.066599" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.066551" elapsed="0.000287"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.067238" level="INFO">${current_Date} = 2026-04-11 23:22:41.067</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:41.067032" elapsed="0.000243"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.067998" level="INFO">${ellapsed_seconds} = 2670.801</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:41.067474" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.068446" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:41.068132" elapsed="0.000401"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.068106" elapsed="0.000483"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:41.066169" elapsed="0.002488"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.069353" level="INFO">${number} = 262</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.068854" elapsed="0.000535"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.071325" level="INFO">${number} = 262</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.070863" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.073697" level="INFO">${device-port} = 18091</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.072823" elapsed="0.000912"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.077417" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:41.107240" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.107454" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.076976" elapsed="0.030536"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.108408" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:41.108562" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:41.107716" elapsed="0.001054">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:41.107669" elapsed="0.001198">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:41.076598" elapsed="0.032534">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:41.076009" elapsed="0.033262"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.110256" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18091 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:41.165885" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.166085" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.109773" elapsed="0.056366"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:41.166323" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:41.167154" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:41.074884" elapsed="0.092487"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:41.167994" elapsed="0.001830"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:41.074016" elapsed="0.096044"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:41.072309" elapsed="0.097892"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:41.071603" elapsed="0.098693"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.070231" elapsed="0.100185"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:41.069619" elapsed="0.100889"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.171648" level="INFO">${next} = 18092</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.170888" elapsed="0.000864"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.172981" level="INFO">${current_port} = 18092</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:41.172103" elapsed="0.000972"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.065397" elapsed="0.107802"/>
</kw>
<msg time="2026-04-11T23:22:41.173283" level="INFO">Repeating keyword, round 263/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:41.175875" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:41.175631" elapsed="0.000338"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.175560" elapsed="0.000458"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.176819" level="INFO">${current_Date} = 2026-04-11 23:22:41.177</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:41.176398" elapsed="0.000479"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.177615" level="INFO">${ellapsed_seconds} = 2670.691</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:41.177200" elapsed="0.000442"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.177941" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:41.177713" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.177695" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:41.175078" elapsed="0.002985"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.178566" level="INFO">${number} = 263</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.178206" elapsed="0.000411"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.180004" level="INFO">${number} = 263</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.179670" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.181663" level="INFO">${device-port} = 18092</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.181032" elapsed="0.000658"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.184235" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:41.215389" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.215637" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.184138" elapsed="0.031561"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.216601" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:41.216736" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:41.215860" elapsed="0.000981">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:41.215816" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:41.183875" elapsed="0.033319">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:41.183465" elapsed="0.033970"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.218426" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18092 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:41.273641" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.273844" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.217939" elapsed="0.055960"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:41.274085" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:41.274914" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:41.182497" elapsed="0.092635"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:41.275755" elapsed="0.001794"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:41.181894" elapsed="0.095927"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:41.180696" elapsed="0.097267"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:41.180185" elapsed="0.097874"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.179212" elapsed="0.098970"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:41.178770" elapsed="0.099506"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.279370" level="INFO">${next} = 18093</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.278640" elapsed="0.000788"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.280743" level="INFO">${current_port} = 18093</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:41.279833" elapsed="0.001006"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.173721" elapsed="0.107242"/>
</kw>
<msg time="2026-04-11T23:22:41.281049" level="INFO">Repeating keyword, round 264/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:41.282701" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:41.282531" elapsed="0.000228"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.282504" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.283189" level="INFO">${current_Date} = 2026-04-11 23:22:41.283</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:41.282982" elapsed="0.000243"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.283928" level="INFO">${ellapsed_seconds} = 2670.585</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:41.283431" elapsed="0.000534"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.284377" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:41.284064" elapsed="0.000401"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.284038" elapsed="0.000460"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:41.282203" elapsed="0.002358"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.285287" level="INFO">${number} = 264</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.284786" elapsed="0.000538"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.287257" level="INFO">${number} = 264</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.286797" elapsed="0.000497"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.289716" level="INFO">${device-port} = 18093</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.288846" elapsed="0.000908"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.293405" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:41.327473" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.327714" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.292971" elapsed="0.034803"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.328705" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:41.328839" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:41.327934" elapsed="0.001086">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:41.327891" elapsed="0.001224">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:41.292597" elapsed="0.036784">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:41.292015" elapsed="0.037503"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.330489" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18093 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:41.385608" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.385811" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.330007" elapsed="0.055859"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:41.386053" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:41.386875" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:41.290898" elapsed="0.096194"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:41.387713" elapsed="0.001889"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:41.290035" elapsed="0.099807"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:41.288324" elapsed="0.101661"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:41.287506" elapsed="0.102577"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.286166" elapsed="0.104038"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:41.285532" elapsed="0.104766"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.391393" level="INFO">${next} = 18094</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.390669" elapsed="0.000782"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.392743" level="INFO">${current_port} = 18094</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:41.391856" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.281428" elapsed="0.111537"/>
</kw>
<msg time="2026-04-11T23:22:41.393051" level="INFO">Repeating keyword, round 265/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:41.395697" elapsed="0.000038"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:41.395344" elapsed="0.000454"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.395303" elapsed="0.000543"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.396662" level="INFO">${current_Date} = 2026-04-11 23:22:41.396</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:41.396246" elapsed="0.000477"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.397541" level="INFO">${ellapsed_seconds} = 2670.472</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:41.397046" elapsed="0.000521"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.397882" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:41.397654" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.397635" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:41.394825" elapsed="0.003177"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.398503" level="INFO">${number} = 265</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.398145" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.399943" level="INFO">${number} = 265</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.399609" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.401681" level="INFO">${device-port} = 18094</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.400980" elapsed="0.000729"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.404228" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:41.435949" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.436160" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.404129" elapsed="0.032089"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.437129" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:41.437261" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:41.436378" elapsed="0.000986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:41.436334" elapsed="0.001120">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:41.403719" elapsed="0.034028">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:41.403317" elapsed="0.034635"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.438936" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18094 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:41.493865" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.494067" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.438409" elapsed="0.055711"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:41.494307" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:41.495169" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:41.402512" elapsed="0.092873"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:41.496011" elapsed="0.001815"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:41.401911" elapsed="0.096146"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:41.400641" elapsed="0.097557"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:41.400124" elapsed="0.098169"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.399135" elapsed="0.099276"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:41.398697" elapsed="0.099807"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.499637" level="INFO">${next} = 18095</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.498866" elapsed="0.000832"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.500942" level="INFO">${current_port} = 18095</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:41.500044" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.393550" elapsed="0.107610"/>
</kw>
<msg time="2026-04-11T23:22:41.501245" level="INFO">Repeating keyword, round 266/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:41.502815" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:41.502668" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.502641" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.503304" level="INFO">${current_Date} = 2026-04-11 23:22:41.503</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:41.503097" elapsed="0.000243"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.504028" level="INFO">${ellapsed_seconds} = 2670.365</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:41.503536" elapsed="0.000527"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.504531" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:41.504159" elapsed="0.000499"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.504134" elapsed="0.000557"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:41.502323" elapsed="0.002432"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.505452" level="INFO">${number} = 266</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.504953" elapsed="0.000535"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.507509" level="INFO">${number} = 266</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.507046" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.509773" level="INFO">${device-port} = 18095</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.509045" elapsed="0.000755"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.512307" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:41.543792" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.544002" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.512212" elapsed="0.031848"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.544971" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:41.545100" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:41.544217" elapsed="0.001066">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:41.544174" elapsed="0.001205">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:41.511806" elapsed="0.033867">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:41.511410" elapsed="0.034406"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.546787" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18095 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:41.601258" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.601457" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.546269" elapsed="0.055242"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:41.601733" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:41.602509" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:41.510619" elapsed="0.092153"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:41.603363" elapsed="0.001812"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:41.510001" elapsed="0.095406"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:41.508554" elapsed="0.096993"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:41.507842" elapsed="0.097837"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.506328" elapsed="0.099473"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:41.505719" elapsed="0.100173"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.606976" level="INFO">${next} = 18096</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.606223" elapsed="0.000811"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.608295" level="INFO">${current_port} = 18096</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:41.607382" elapsed="0.001049"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.501551" elapsed="0.107006"/>
</kw>
<msg time="2026-04-11T23:22:41.608674" level="INFO">Repeating keyword, round 267/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:41.610154" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:41.610047" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.610028" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.610552" level="INFO">${current_Date} = 2026-04-11 23:22:41.610</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:41.610399" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.611038" level="INFO">${ellapsed_seconds} = 2670.258</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:41.610739" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.611359" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:41.611133" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.611115" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:41.609812" elapsed="0.001667"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.612034" level="INFO">${number} = 267</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.611677" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.613448" level="INFO">${number} = 267</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.613117" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.615080" level="INFO">${device-port} = 18096</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.614458" elapsed="0.000648"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.617831" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:41.655487" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.655738" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.617736" elapsed="0.038061"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.656726" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:41.656859" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:41.655959" elapsed="0.001004">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:41.655914" elapsed="0.001137">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:41.617448" elapsed="0.039865">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:41.616893" elapsed="0.040622"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.658498" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18096 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:41.713811" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.714016" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.658012" elapsed="0.056057"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:41.714256" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:41.715085" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:41.616071" elapsed="0.099226"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:41.715948" elapsed="0.001805"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:41.615305" elapsed="0.102682"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:41.614124" elapsed="0.104005"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:41.613643" elapsed="0.104581"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.612681" elapsed="0.105661"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:41.612209" elapsed="0.106226"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.719526" level="INFO">${next} = 18097</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.718799" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.720980" level="INFO">${current_port} = 18097</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:41.719988" elapsed="0.001090"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.609087" elapsed="0.112118"/>
</kw>
<msg time="2026-04-11T23:22:41.721291" level="INFO">Repeating keyword, round 268/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:41.722845" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:41.722698" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.722672" elapsed="0.000260"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.723331" level="INFO">${current_Date} = 2026-04-11 23:22:41.723</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:41.723125" elapsed="0.000242"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.724063" level="INFO">${ellapsed_seconds} = 2670.145</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:41.723643" elapsed="0.000456"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.724526" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:41.724195" elapsed="0.000425"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.724170" elapsed="0.000483"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:41.722350" elapsed="0.002365"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.725405" level="INFO">${number} = 268</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.724912" elapsed="0.000529"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.727373" level="INFO">${number} = 268</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.726914" elapsed="0.000496"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.729746" level="INFO">${device-port} = 18097</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.728882" elapsed="0.000902"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.733355" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:41.767729" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.767940" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.733225" elapsed="0.034773"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.768912" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:41.769043" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:41.768158" elapsed="0.001063">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:41.768114" elapsed="0.001202">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:41.732851" elapsed="0.036757">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:41.732024" elapsed="0.037728"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.770730" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18097 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:41.825681" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.825881" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.770209" elapsed="0.055727"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:41.826125" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:41.826954" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:41.730917" elapsed="0.096257"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:41.827807" elapsed="0.001819"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:41.730064" elapsed="0.099803"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:41.728383" elapsed="0.101627"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:41.727696" elapsed="0.102411"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.726281" elapsed="0.103948"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:41.725670" elapsed="0.104652"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.831414" level="INFO">${next} = 18098</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.830686" elapsed="0.000788"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.832783" level="INFO">${current_port} = 18098</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:41.831878" elapsed="0.001000"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.721595" elapsed="0.111409"/>
</kw>
<msg time="2026-04-11T23:22:41.833089" level="INFO">Repeating keyword, round 269/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:41.834721" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:41.834551" elapsed="0.000229"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.834525" elapsed="0.000284"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.835261" level="INFO">${current_Date} = 2026-04-11 23:22:41.835</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:41.835050" elapsed="0.000246"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.836042" level="INFO">${ellapsed_seconds} = 2670.033</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:41.835498" elapsed="0.000581"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.836514" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:41.836178" elapsed="0.000433"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.836153" elapsed="0.000491"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:41.834227" elapsed="0.002480"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.837404" level="INFO">${number} = 269</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.836906" elapsed="0.000534"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.839368" level="INFO">${number} = 269</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.838905" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.841720" level="INFO">${device-port} = 18098</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.840860" elapsed="0.000898"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.845335" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:41.879848" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.880062" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.845202" elapsed="0.034918"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.881055" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:41.881186" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:41.880333" elapsed="0.000957">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:41.880286" elapsed="0.001091">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:41.844826" elapsed="0.036844">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:41.844003" elapsed="0.037873"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.882879" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18098 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:41.941397" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.941637" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.882346" elapsed="0.059349"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:41.941883" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:41.942699" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:41.842897" elapsed="0.100019"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:41.943500" elapsed="0.001807"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:41.842039" elapsed="0.103501"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:41.840361" elapsed="0.105356"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:41.839671" elapsed="0.106143"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.838280" elapsed="0.107653"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:41.837671" elapsed="0.108356"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.947132" level="INFO">${next} = 18099</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.946363" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.948482" level="INFO">${current_port} = 18099</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:41.947540" elapsed="0.001066"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.833456" elapsed="0.115280"/>
</kw>
<msg time="2026-04-11T23:22:41.948821" level="INFO">Repeating keyword, round 270/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:41.950535" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:41.950388" elapsed="0.000226"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.950362" elapsed="0.000283"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.951046" level="INFO">${current_Date} = 2026-04-11 23:22:41.951</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:41.950839" elapsed="0.000244"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:41.951777" level="INFO">${ellapsed_seconds} = 2669.917</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:41.951281" elapsed="0.000533"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.952233" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:41.951909" elapsed="0.000399"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:41.951884" elapsed="0.000456"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:41.950061" elapsed="0.002341"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.953121" level="INFO">${number} = 270</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.952624" elapsed="0.000534"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.955129" level="INFO">${number} = 270</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.954666" elapsed="0.000499"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:41.957426" level="INFO">${device-port} = 18099</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:41.956559" elapsed="0.000904"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.965220" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:41.991785" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:41.992013" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.965003" elapsed="0.027069"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:41.993011" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:41.993141" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:41.992265" elapsed="0.001057">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:41.992218" elapsed="0.001198">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:41.964350" elapsed="0.029364">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:41.960182" elapsed="0.033672"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:41.994878" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18099 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:42.050198" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.050414" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:41.994348" elapsed="0.056122"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:42.050702" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:42.051487" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:41.958625" elapsed="0.093120"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:42.052365" elapsed="0.001809"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:41.957769" elapsed="0.096640"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:41.956074" elapsed="0.098473"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:41.955379" elapsed="0.099296"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.954013" elapsed="0.100784"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:41.953365" elapsed="0.101523"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.055984" level="INFO">${next} = 18100</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.055218" elapsed="0.000825"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.056981" level="INFO">${current_port} = 18100</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:42.056403" elapsed="0.000640"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:41.949233" elapsed="0.107894"/>
</kw>
<msg time="2026-04-11T23:22:42.057182" level="INFO">Repeating keyword, round 271/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:42.058803" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:42.058644" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.058615" elapsed="0.000281"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.059368" level="INFO">${current_Date} = 2026-04-11 23:22:42.059</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:42.059145" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.060141" level="INFO">${ellapsed_seconds} = 2669.809</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:42.059696" elapsed="0.000499"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.060654" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:42.060298" elapsed="0.000435"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.060272" elapsed="0.000495"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:42.058277" elapsed="0.002557"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.061588" level="INFO">${number} = 271</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.061043" elapsed="0.000585"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.063733" level="INFO">${number} = 271</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.063162" elapsed="0.000610"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.066002" level="INFO">${device-port} = 18100</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.065357" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.068609" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:42.099729" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.099944" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.068496" elapsed="0.031507"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.100917" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:42.101048" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:42.100188" elapsed="0.000963">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:42.100119" elapsed="0.001121">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:42.068042" elapsed="0.033460">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:42.067657" elapsed="0.034075"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.102717" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18100 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:42.158230" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.158432" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.102193" elapsed="0.056293"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:42.158704" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:42.159476" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:42.066858" elapsed="0.092874"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:42.160341" elapsed="0.001760"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:42.066231" elapsed="0.096100"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:42.064854" elapsed="0.097617"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:42.064000" elapsed="0.098634"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.062499" elapsed="0.100264"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:42.061849" elapsed="0.101007"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.163941" level="INFO">${next} = 18101</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.163184" elapsed="0.000814"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.165220" level="INFO">${current_port} = 18101</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:42.164358" elapsed="0.000953"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.057457" elapsed="0.107976"/>
</kw>
<msg time="2026-04-11T23:22:42.165517" level="INFO">Repeating keyword, round 272/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:42.168051" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:42.167817" elapsed="0.000368"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.167775" elapsed="0.000462"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.168642" level="INFO">${current_Date} = 2026-04-11 23:22:42.169</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:42.168478" elapsed="0.000190"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.169105" level="INFO">${ellapsed_seconds} = 2669.699</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:42.168810" elapsed="0.000320"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.169423" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:42.169200" elapsed="0.000274"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.169181" elapsed="0.000316"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:42.167269" elapsed="0.002273"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.170156" level="INFO">${number} = 272</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.169696" elapsed="0.000491"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.171590" level="INFO">${number} = 272</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.171245" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.173240" level="INFO">${device-port} = 18101</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.172630" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.175836" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:42.211559" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.211800" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.175558" elapsed="0.036300"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.212755" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:42.212885" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:42.212016" elapsed="0.001042">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:42.211972" elapsed="0.001180">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:42.175289" elapsed="0.038126">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:42.174911" elapsed="0.038641"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.214515" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18101 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:42.269147" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.269346" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.214039" elapsed="0.055361"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:42.269631" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:42.270403" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:42.174108" elapsed="0.096551"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:42.271250" elapsed="0.001822"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:42.173471" elapsed="0.099832"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:42.172267" elapsed="0.101177"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:42.171772" elapsed="0.101767"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.170809" elapsed="0.102885"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:42.170340" elapsed="0.103448"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.274874" level="INFO">${next} = 18102</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.274118" elapsed="0.000815"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.276203" level="INFO">${current_port} = 18102</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:42.275275" elapsed="0.001020"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.165954" elapsed="0.110465"/>
</kw>
<msg time="2026-04-11T23:22:42.276504" level="INFO">Repeating keyword, round 273/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:42.279033" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:42.278795" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.278752" elapsed="0.000420"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.279930" level="INFO">${current_Date} = 2026-04-11 23:22:42.280</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:42.279563" elapsed="0.000426"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.280707" level="INFO">${ellapsed_seconds} = 2669.588</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:42.280356" elapsed="0.000377"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.281029" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:42.280804" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.280785" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:42.278159" elapsed="0.002991"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.281665" level="INFO">${number} = 273</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.281292" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.283107" level="INFO">${number} = 273</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.282777" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.284863" level="INFO">${device-port} = 18102</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.284127" elapsed="0.000763"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.287263" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:42.319129" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.319342" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.287169" elapsed="0.032231"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.320311" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:42.320445" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:42.319558" elapsed="0.000992">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:42.319514" elapsed="0.001157">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:42.286905" elapsed="0.034032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:42.286503" elapsed="0.034642"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.322131" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18102 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:42.376998" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.377199" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.321645" elapsed="0.055608"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:42.377442" elapsed="0.000186"/>
</return>
<msg time="2026-04-11T23:22:42.378271" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:42.285716" elapsed="0.092769"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:42.379112" elapsed="0.001823"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:42.285092" elapsed="0.096075"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:42.283781" elapsed="0.097527"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:42.283286" elapsed="0.098117"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.282279" elapsed="0.099245"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:42.281842" elapsed="0.099810"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.382768" level="INFO">${next} = 18103</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.381991" elapsed="0.000835"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.384036" level="INFO">${current_port} = 18103</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:42.383177" elapsed="0.000999"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.276940" elapsed="0.107359"/>
</kw>
<msg time="2026-04-11T23:22:42.384384" level="INFO">Repeating keyword, round 274/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:42.385924" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:42.385778" elapsed="0.000204"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.385751" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.386417" level="INFO">${current_Date} = 2026-04-11 23:22:42.386</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:42.386209" elapsed="0.000244"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.387155" level="INFO">${ellapsed_seconds} = 2669.482</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:42.386733" elapsed="0.000458"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.387626" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:42.387290" elapsed="0.000411"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.387263" elapsed="0.000470"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:42.385426" elapsed="0.002370"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.388754" level="INFO">${number} = 274</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.387995" elapsed="0.000797"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.390854" level="INFO">${number} = 274</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.390299" elapsed="0.000592"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.393196" level="INFO">${device-port} = 18103</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.392311" elapsed="0.000922"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.396631" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:42.427562" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.427807" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.396479" elapsed="0.031388"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.428776" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:42.428908" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:42.428029" elapsed="0.001089">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:42.427985" elapsed="0.001231">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:42.396103" elapsed="0.033380">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:42.395516" elapsed="0.034138"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.430645" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18103 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:42.485525" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.485758" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.430123" elapsed="0.055690"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:42.486001" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:42.486827" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:42.394379" elapsed="0.092667"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:42.487674" elapsed="0.001788"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:42.393515" elapsed="0.096213"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:42.391809" elapsed="0.098061"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:42.391107" elapsed="0.098859"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.389638" elapsed="0.100449"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:42.389006" elapsed="0.101173"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.491266" level="INFO">${next} = 18104</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.490512" elapsed="0.000813"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.492545" level="INFO">${current_port} = 18104</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:42.491730" elapsed="0.000895"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.384677" elapsed="0.108027"/>
</kw>
<msg time="2026-04-11T23:22:42.492757" level="INFO">Repeating keyword, round 275/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:42.494270" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:42.494121" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.494095" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.494851" level="INFO">${current_Date} = 2026-04-11 23:22:42.495</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:42.494636" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.495510" level="INFO">${ellapsed_seconds} = 2669.373</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:42.495090" elapsed="0.000457"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.496061" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:42.495728" elapsed="0.000409"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.495701" elapsed="0.000469"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:42.493790" elapsed="0.002445"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.496963" level="INFO">${number} = 275</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.496437" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.498955" level="INFO">${number} = 275</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.498464" elapsed="0.000527"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.501463" level="INFO">${device-port} = 18104</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.500608" elapsed="0.000892"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.504762" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:42.539690" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.539905" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.504664" elapsed="0.035299"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.540875" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:42.541006" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:42.540152" elapsed="0.000958">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:42.540108" elapsed="0.001091">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:42.504375" elapsed="0.037085">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:42.503808" elapsed="0.037885"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.542678" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18104 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:42.597322" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.597522" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.542155" elapsed="0.055456"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:42.597803" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:42.598619" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:42.502679" elapsed="0.096162"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:42.599433" elapsed="0.001884"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:42.501811" elapsed="0.099735"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:42.500101" elapsed="0.101623"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:42.499207" elapsed="0.102615"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.497850" elapsed="0.104092"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:42.497213" elapsed="0.104822"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.603137" level="INFO">${next} = 18105</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.602370" elapsed="0.000825"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.604472" level="INFO">${current_port} = 18105</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:42.603544" elapsed="0.001021"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.493015" elapsed="0.111710"/>
</kw>
<msg time="2026-04-11T23:22:42.604811" level="INFO">Repeating keyword, round 276/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:42.606319" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:42.606211" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.606192" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.606688" level="INFO">${current_Date} = 2026-04-11 23:22:42.607</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:42.606521" elapsed="0.000193"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.607155" level="INFO">${ellapsed_seconds} = 2669.261</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:42.606859" elapsed="0.000321"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.607476" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:42.607250" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.607232" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:42.605973" elapsed="0.001682"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.608179" level="INFO">${number} = 276</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.607801" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.609607" level="INFO">${number} = 276</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.609258" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.611326" level="INFO">${device-port} = 18105</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.610709" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.613933" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:42.647098" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.647309" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.613690" elapsed="0.033678"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.648278" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:42.648408" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:42.647530" elapsed="0.001088">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:42.647485" elapsed="0.001232">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:42.613406" elapsed="0.035576">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:42.613026" elapsed="0.036094"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.650106" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18105 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:42.705096" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.705298" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.649621" elapsed="0.055731"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:42.705541" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:22:42.706370" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:42.612220" elapsed="0.094404"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:42.707219" elapsed="0.001824"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:42.611559" elapsed="0.097715"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:42.610271" elapsed="0.099142"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:42.609789" elapsed="0.099719"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.608820" elapsed="0.100860"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:42.608357" elapsed="0.101418"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.710995" level="INFO">${next} = 18106</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.710110" elapsed="0.000944"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.712419" level="INFO">${current_port} = 18106</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:42.711404" elapsed="0.001109"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.605383" elapsed="0.107287"/>
</kw>
<msg time="2026-04-11T23:22:42.712758" level="INFO">Repeating keyword, round 277/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:42.715184" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:42.714945" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.714903" elapsed="0.000420"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.716218" level="INFO">${current_Date} = 2026-04-11 23:22:42.716</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:42.715828" elapsed="0.000448"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.716887" level="INFO">${ellapsed_seconds} = 2669.152</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:42.716584" elapsed="0.000329"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.717210" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:42.716984" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.716965" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:42.714395" elapsed="0.002936"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.717852" level="INFO">${number} = 277</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.717473" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.719253" level="INFO">${number} = 277</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.718922" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.720913" level="INFO">${device-port} = 18106</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.720284" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.723455" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:42.754890" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.755104" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.723358" elapsed="0.031804"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.756084" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:42.756217" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:42.755324" elapsed="0.000997">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:42.755280" elapsed="0.001128">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:42.722947" elapsed="0.033755">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:42.722548" elapsed="0.034366"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.757909" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18106 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:42.813049" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.813254" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.757375" elapsed="0.055933"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:42.813497" elapsed="0.000191"/>
</return>
<msg time="2026-04-11T23:22:42.814346" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:42.721762" elapsed="0.092798"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:42.815194" elapsed="0.001826"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:42.721143" elapsed="0.096107"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:42.719936" elapsed="0.097454"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:42.719436" elapsed="0.098048"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.718467" elapsed="0.099170"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:42.718027" elapsed="0.099707"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.818837" level="INFO">${next} = 18107</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.818069" elapsed="0.000825"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.820113" level="INFO">${current_port} = 18107</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:42.819240" elapsed="0.000966"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.713164" elapsed="0.107166"/>
</kw>
<msg time="2026-04-11T23:22:42.820414" level="INFO">Repeating keyword, round 278/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:42.823067" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:42.822828" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.822785" elapsed="0.000422"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.823884" level="INFO">${current_Date} = 2026-04-11 23:22:42.824</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:42.823520" elapsed="0.000469"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.825010" level="INFO">${ellapsed_seconds} = 2669.044</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:42.824315" elapsed="0.000752"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.825384" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:42.825158" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.825139" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:42.822185" elapsed="0.003318"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.826020" level="INFO">${number} = 278</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.825661" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.827464" level="INFO">${number} = 278</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.827133" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.829247" level="INFO">${device-port} = 18107</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.828494" elapsed="0.000780"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.831816" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:42.863681" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.863912" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.831720" elapsed="0.032253"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.864865" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:42.864996" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:42.864133" elapsed="0.001038">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:42.864089" elapsed="0.001177">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:42.831295" elapsed="0.034234">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:42.830911" elapsed="0.034788"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.866679" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18107 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:42.921501" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.921740" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.866157" elapsed="0.055637"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:42.921983" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:42.922801" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:42.830102" elapsed="0.092917"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:42.923635" elapsed="0.001787"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:42.829481" elapsed="0.096206"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:42.828158" elapsed="0.097670"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:42.827659" elapsed="0.098264"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.826691" elapsed="0.099350"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:42.826195" elapsed="0.099937"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.927218" level="INFO">${next} = 18108</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.926464" elapsed="0.000812"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.928514" level="INFO">${current_port} = 18108</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:42.927676" elapsed="0.000925"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.820946" elapsed="0.107738"/>
</kw>
<msg time="2026-04-11T23:22:42.928738" level="INFO">Repeating keyword, round 279/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:42.930323" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:42.930174" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.930146" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.930899" level="INFO">${current_Date} = 2026-04-11 23:22:42.931</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:42.930683" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:42.931552" level="INFO">${ellapsed_seconds} = 2668.937</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:42.931138" elapsed="0.000470"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.932040" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:42.931708" elapsed="0.000406"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:42.931683" elapsed="0.000463"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:42.929840" elapsed="0.002368"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.932929" level="INFO">${number} = 279</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.932407" elapsed="0.000558"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.934931" level="INFO">${number} = 279</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.934442" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:42.937310" level="INFO">${device-port} = 18108</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:42.936426" elapsed="0.000921"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.940828" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:42.971660" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:42.971888" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.940732" elapsed="0.031216"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:42.972823" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:42.972954" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:42.972108" elapsed="0.000950">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:42.972065" elapsed="0.001080">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:42.940436" elapsed="0.032968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:42.939637" elapsed="0.034002"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:42.974619" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18108 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:43.029393" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.029632" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:42.974101" elapsed="0.055588"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:43.029875" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:43.030696" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:42.938504" elapsed="0.092410"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:43.031504" elapsed="0.001809"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:42.937663" elapsed="0.095882"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:42.935952" elapsed="0.097770"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:42.935178" elapsed="0.098639"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.933835" elapsed="0.100101"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:42.933175" elapsed="0.100852"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.035114" level="INFO">${next} = 18109</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.034358" elapsed="0.000813"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.036433" level="INFO">${current_port} = 18109</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:43.035519" elapsed="0.001005"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:42.928999" elapsed="0.107685"/>
</kw>
<msg time="2026-04-11T23:22:43.036770" level="INFO">Repeating keyword, round 280/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:43.039196" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:43.038964" elapsed="0.000323"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.038921" elapsed="0.000413"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.040150" level="INFO">${current_Date} = 2026-04-11 23:22:43.040</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:43.039765" elapsed="0.000443"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.040800" level="INFO">${ellapsed_seconds} = 2668.828</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:43.040482" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.041208" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:43.040895" elapsed="0.000366"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.040876" elapsed="0.000408"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:43.038409" elapsed="0.002920"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.041857" level="INFO">${number} = 280</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.041476" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.043253" level="INFO">${number} = 280</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.042921" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.044944" level="INFO">${device-port} = 18109</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.044305" elapsed="0.000666"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.047507" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:43.083362" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.083603" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.047413" elapsed="0.036252"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.084557" elapsed="0.000085"/>
</kw>
<msg time="2026-04-11T23:22:43.084717" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:43.083867" elapsed="0.001031">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:43.083781" elapsed="0.001211">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:43.047144" elapsed="0.038112">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:43.046588" elapsed="0.038805"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.086377" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18109 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:43.141666" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.141866" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.085898" elapsed="0.056021"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:43.142104" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:43.142923" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:43.045792" elapsed="0.097348"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:43.143764" elapsed="0.001780"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:43.045172" elapsed="0.100639"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:43.043969" elapsed="0.101981"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:43.043433" elapsed="0.102614"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.042467" elapsed="0.103699"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:43.042032" elapsed="0.104226"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.147338" level="INFO">${next} = 18110</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.146615" elapsed="0.000781"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.148591" level="INFO">${current_port} = 18110</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:43.147836" elapsed="0.000816"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.037177" elapsed="0.111553"/>
</kw>
<msg time="2026-04-11T23:22:43.148783" level="INFO">Repeating keyword, round 281/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:43.150290" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:43.150142" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.150116" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.150849" level="INFO">${current_Date} = 2026-04-11 23:22:43.151</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:43.150637" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.151496" level="INFO">${ellapsed_seconds} = 2668.717</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:43.151086" elapsed="0.000446"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.152041" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:43.151711" elapsed="0.000405"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.151685" elapsed="0.000463"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:43.149812" elapsed="0.002399"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.152933" level="INFO">${number} = 281</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.152409" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.154933" level="INFO">${number} = 281</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.154413" elapsed="0.000557"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.157242" level="INFO">${device-port} = 18110</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.156366" elapsed="0.000913"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.160762" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:43.191505" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.191754" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.160664" elapsed="0.031169"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.192722" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:43.192856" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:43.191997" elapsed="0.000964">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:43.191952" elapsed="0.001098">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:43.160350" elapsed="0.032965">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:43.159527" elapsed="0.033996"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.194505" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18110 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:43.249451" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.249694" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.194019" elapsed="0.055732"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:43.249940" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:43.250767" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:43.158417" elapsed="0.092569"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:43.251605" elapsed="0.001792"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:43.157561" elapsed="0.096104"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:43.155899" elapsed="0.097913"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:43.155184" elapsed="0.098725"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.153810" elapsed="0.100219"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:43.153177" elapsed="0.100946"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.255222" level="INFO">${next} = 18111</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.254456" elapsed="0.000824"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.256538" level="INFO">${current_port} = 18111</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:43.255686" elapsed="0.000979"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.149041" elapsed="0.107751"/>
</kw>
<msg time="2026-04-11T23:22:43.256877" level="INFO">Repeating keyword, round 282/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:43.259326" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:43.259090" elapsed="0.000328"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.259047" elapsed="0.000423"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.260290" level="INFO">${current_Date} = 2026-04-11 23:22:43.260</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:43.259948" elapsed="0.000400"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.260852" level="INFO">${ellapsed_seconds} = 2668.608</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:43.260536" elapsed="0.000341"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.261170" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:43.260946" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.260927" elapsed="0.000318"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:43.258532" elapsed="0.002759"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.261802" level="INFO">${number} = 282</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.261431" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.263204" level="INFO">${number} = 282</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.262873" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.264947" level="INFO">${device-port} = 18111</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.264320" elapsed="0.000654"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.269043" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:43.299117" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.299327" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.268944" elapsed="0.030442"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.300291" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:43.300423" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:43.299545" elapsed="0.001084">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:43.299501" elapsed="0.001226">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:43.268666" elapsed="0.032325">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:43.266584" elapsed="0.034544"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.302106" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18111 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:43.357353" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.357552" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.301624" elapsed="0.056024"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:43.357836" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:43.358646" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:43.265790" elapsed="0.093073"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:43.359447" elapsed="0.001805"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:43.265174" elapsed="0.096311"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:43.263984" elapsed="0.097676"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:43.263382" elapsed="0.098377"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.262417" elapsed="0.099463"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:43.261978" elapsed="0.099995"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.363070" level="INFO">${next} = 18112</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.362304" elapsed="0.000826"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.364389" level="INFO">${current_port} = 18112</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:43.363476" elapsed="0.001005"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.257293" elapsed="0.107349"/>
</kw>
<msg time="2026-04-11T23:22:43.364731" level="INFO">Repeating keyword, round 283/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:43.367179" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:43.366942" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.366899" elapsed="0.000420"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.368207" level="INFO">${current_Date} = 2026-04-11 23:22:43.368</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:43.367863" elapsed="0.000404"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.368826" level="INFO">${ellapsed_seconds} = 2668.5</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:43.368513" elapsed="0.000340"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.369147" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:43.368922" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.368904" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:43.366383" elapsed="0.002886"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.369784" level="INFO">${number} = 283</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.369410" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.371188" level="INFO">${number} = 283</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.370858" elapsed="0.000356"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.372857" level="INFO">${device-port} = 18112</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.372232" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.375413" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:43.411328" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.411544" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.375317" elapsed="0.036319"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.412532" elapsed="0.000086"/>
</kw>
<msg time="2026-04-11T23:22:43.412699" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:43.411844" elapsed="0.000959">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:43.411797" elapsed="0.001094">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:43.374885" elapsed="0.038270">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:43.374482" elapsed="0.038891"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.414375" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18112 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:43.469438" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.469675" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.413890" elapsed="0.055843"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:43.469919" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:43.470741" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:43.373706" elapsed="0.097249"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:43.471543" elapsed="0.001798"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:43.373085" elapsed="0.100527"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:43.371899" elapsed="0.101865"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:43.371369" elapsed="0.102493"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.370401" elapsed="0.103583"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:43.369961" elapsed="0.104117"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.475186" level="INFO">${next} = 18113</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.474411" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.476530" level="INFO">${current_port} = 18113</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:43.475724" elapsed="0.000885"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.365144" elapsed="0.111547"/>
</kw>
<msg time="2026-04-11T23:22:43.476744" level="INFO">Repeating keyword, round 284/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:43.478253" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:43.478104" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.478078" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.478766" level="INFO">${current_Date} = 2026-04-11 23:22:43.479</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:43.478533" elapsed="0.000270"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.479415" level="INFO">${ellapsed_seconds} = 2668.389</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:43.479002" elapsed="0.000450"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.479956" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:43.479548" elapsed="0.000483"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.479523" elapsed="0.000539"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:43.477777" elapsed="0.002348"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.480845" level="INFO">${number} = 284</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.480321" elapsed="0.000561"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.482808" level="INFO">${number} = 284</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.482324" elapsed="0.000521"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.485220" level="INFO">${device-port} = 18113</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.484333" elapsed="0.000924"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.488745" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:43.519926" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.520141" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.488467" elapsed="0.031731"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.521097" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:43.521227" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:43.520360" elapsed="0.001051">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:43.520316" elapsed="0.001191">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:43.488099" elapsed="0.033706">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:43.487517" elapsed="0.034431"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.522939" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18113 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:43.577859" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.578081" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.522410" elapsed="0.055728"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:43.578335" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:43.579175" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:43.486400" elapsed="0.092993"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:43.580060" elapsed="0.001811"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:43.485537" elapsed="0.096571"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:43.483867" elapsed="0.098384"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:43.483057" elapsed="0.099292"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.481717" elapsed="0.100756"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:43.481091" elapsed="0.101504"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.583764" level="INFO">${next} = 18114</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.582941" elapsed="0.000885"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.585051" level="INFO">${current_port} = 18114</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:43.584180" elapsed="0.000964"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.477001" elapsed="0.108270"/>
</kw>
<msg time="2026-04-11T23:22:43.585355" level="INFO">Repeating keyword, round 285/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:43.588000" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:43.587745" elapsed="0.000349"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.587543" elapsed="0.000599"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.588795" level="INFO">${current_Date} = 2026-04-11 23:22:43.589</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:43.588555" elapsed="0.000277"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.589453" level="INFO">${ellapsed_seconds} = 2668.279</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:43.589034" elapsed="0.000456"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.589927" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:43.589608" elapsed="0.000394"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.589562" elapsed="0.000472"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:43.587054" elapsed="0.003043"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.590821" level="INFO">${number} = 285</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.590294" elapsed="0.000564"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.592883" level="INFO">${number} = 285</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.592390" elapsed="0.000530"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.595198" level="INFO">${device-port} = 18114</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.594314" elapsed="0.000921"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.598599" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:43.631714" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.631932" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.598446" elapsed="0.033545"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.632896" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:43.633031" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:43.632155" elapsed="0.000980">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:43.632110" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:43.598075" elapsed="0.035416">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:43.597520" elapsed="0.036208"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.634733" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18114 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:43.689425" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.689667" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.634200" elapsed="0.055526"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:43.689917" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:43.690748" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:43.596398" elapsed="0.094570"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:43.691598" elapsed="0.001801"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:43.595516" elapsed="0.098154"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:43.593844" elapsed="0.099971"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:43.593135" elapsed="0.100777"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.591778" elapsed="0.102255"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:43.591071" elapsed="0.103057"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.695234" level="INFO">${next} = 18115</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.694462" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.696529" level="INFO">${current_port} = 18115</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:43.695739" elapsed="0.000870"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.585806" elapsed="0.110884"/>
</kw>
<msg time="2026-04-11T23:22:43.696744" level="INFO">Repeating keyword, round 286/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:43.698252" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:43.698103" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.698076" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.698768" level="INFO">${current_Date} = 2026-04-11 23:22:43.699</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:43.698536" elapsed="0.000269"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.699416" level="INFO">${ellapsed_seconds} = 2668.169</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:43.699003" elapsed="0.000448"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.699955" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:43.699547" elapsed="0.000482"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.699522" elapsed="0.000540"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:43.697774" elapsed="0.002351"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.700841" level="INFO">${number} = 286</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.700321" elapsed="0.000558"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.702815" level="INFO">${number} = 286</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.702331" elapsed="0.000521"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.705162" level="INFO">${device-port} = 18115</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.704276" elapsed="0.000924"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.708536" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:43.743706" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.743922" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.708427" elapsed="0.035554"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.744863" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:43.744994" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:43.744143" elapsed="0.001038">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:43.744097" elapsed="0.001179">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:43.708056" elapsed="0.037488">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:43.707467" elapsed="0.038252"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.746704" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18115 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:43.801891" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.802096" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.746185" elapsed="0.055966"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:43.802338" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:43.803172" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:43.706346" elapsed="0.097041"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:43.804029" elapsed="0.001782"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:43.705479" elapsed="0.100567"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:43.703807" elapsed="0.102380"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:43.703068" elapsed="0.103216"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.701720" elapsed="0.104685"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:43.701088" elapsed="0.105409"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.807659" level="INFO">${next} = 18116</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.806860" elapsed="0.000864"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.808947" level="INFO">${current_port} = 18116</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:43.808075" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.697001" elapsed="0.112167"/>
</kw>
<msg time="2026-04-11T23:22:43.809253" level="INFO">Repeating keyword, round 287/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:43.811879" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:43.811473" elapsed="0.000500"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.811431" elapsed="0.000590"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.812617" level="INFO">${current_Date} = 2026-04-11 23:22:43.813</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:43.812408" elapsed="0.000237"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.813092" level="INFO">${ellapsed_seconds} = 2668.055</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:43.812790" elapsed="0.000328"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.813416" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:43.813188" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.813170" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:43.810946" elapsed="0.002591"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.814064" level="INFO">${number} = 287</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.813694" elapsed="0.000397"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.815469" level="INFO">${number} = 287</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.815133" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.817173" level="INFO">${device-port} = 18116</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.816541" elapsed="0.000658"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.819590" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:43.855827" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.856063" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.819467" elapsed="0.036655"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.857038" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:43.857170" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:43.856292" elapsed="0.000983">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:43.856246" elapsed="0.001118">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:43.819206" elapsed="0.038455">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:43.818828" elapsed="0.039052"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.858902" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18116 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:43.914143" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.914367" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.858356" elapsed="0.056069"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:43.914666" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:43.915466" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:43.818024" elapsed="0.097725"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:43.916353" elapsed="0.001821"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:43.817400" elapsed="0.101010"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:43.816198" elapsed="0.102356"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:43.815711" elapsed="0.102975"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.814697" elapsed="0.104113"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:43.814241" elapsed="0.104666"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.920083" level="INFO">${next} = 18117</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.919245" elapsed="0.000900"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.921038" level="INFO">${current_port} = 18117</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:43.920483" elapsed="0.000614"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.809700" elapsed="0.111476"/>
</kw>
<msg time="2026-04-11T23:22:43.921230" level="INFO">Repeating keyword, round 288/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:43.922793" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:43.922641" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.922614" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.923288" level="INFO">${current_Date} = 2026-04-11 23:22:43.923</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:43.923077" elapsed="0.000247"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:43.924034" level="INFO">${ellapsed_seconds} = 2667.945</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:43.923538" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.924483" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:43.924167" elapsed="0.000389"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:43.924142" elapsed="0.000468"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:43.922288" elapsed="0.002387"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.925520" level="INFO">${number} = 288</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.924873" elapsed="0.000684"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.927501" level="INFO">${number} = 288</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.927042" elapsed="0.000607"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:43.929479" level="INFO">${device-port} = 18117</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:43.928878" elapsed="0.000628"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.932054" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:43.967687" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:43.967904" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.931806" elapsed="0.036158"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:43.968858" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:43.968991" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:43.968127" elapsed="0.001046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:43.968083" elapsed="0.001187">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:43.931497" elapsed="0.038040">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:43.931119" elapsed="0.038592"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:43.970704" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18117 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:44.026423" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.026664" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:43.970175" elapsed="0.056547"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:44.026914" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:44.027759" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:43.930325" elapsed="0.097656"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:44.028608" elapsed="0.001779"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:43.929728" elapsed="0.100928"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:43.928522" elapsed="0.102281"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:43.927873" elapsed="0.103027"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.926411" elapsed="0.104611"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:43.925796" elapsed="0.105319"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.032238" level="INFO">${next} = 18118</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.031453" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.033549" level="INFO">${current_port} = 18118</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:44.032712" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:43.921494" elapsed="0.112309"/>
</kw>
<msg time="2026-04-11T23:22:44.033887" level="INFO">Repeating keyword, round 289/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:44.036467" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:44.036230" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.036188" elapsed="0.000454"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.037249" level="INFO">${current_Date} = 2026-04-11 23:22:44.037</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:44.037029" elapsed="0.000246"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.037734" level="INFO">${ellapsed_seconds} = 2667.831</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:44.037419" elapsed="0.000341"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.038054" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:44.037830" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.037812" elapsed="0.000318"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:44.035704" elapsed="0.002472"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.038709" level="INFO">${number} = 289</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.038316" elapsed="0.000419"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.040118" level="INFO">${number} = 289</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.039786" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.041772" level="INFO">${device-port} = 18118</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.041138" elapsed="0.000661"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.044335" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:44.079333" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.079605" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.044095" elapsed="0.035575"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.080525" elapsed="0.000086"/>
</kw>
<msg time="2026-04-11T23:22:44.080691" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:44.079834" elapsed="0.000962">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:44.079790" elapsed="0.001095">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:44.043831" elapsed="0.037317">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:44.043412" elapsed="0.037939"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.082348" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18118 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:44.137770" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.137975" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.081862" elapsed="0.056168"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:44.138217" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:44.139044" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:44.042623" elapsed="0.096636"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:44.139939" elapsed="0.001780"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:44.042003" elapsed="0.099950"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:44.040803" elapsed="0.101293"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:44.040297" elapsed="0.101896"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.039321" elapsed="0.102994"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:44.038886" elapsed="0.103523"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.143530" level="INFO">${next} = 18119</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.142776" elapsed="0.000863"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.144867" level="INFO">${current_port} = 18119</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:44.143996" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.034296" elapsed="0.110790"/>
</kw>
<msg time="2026-04-11T23:22:44.145171" level="INFO">Repeating keyword, round 290/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:44.147756" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:44.147376" elapsed="0.000475"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.147333" elapsed="0.000565"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.148542" level="INFO">${current_Date} = 2026-04-11 23:22:44.148</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:44.148210" elapsed="0.000421"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.149642" level="INFO">${ellapsed_seconds} = 2667.72</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:44.148952" elapsed="0.000750"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.150467" elapsed="0.000045"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:44.149953" elapsed="0.000656"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.149816" elapsed="0.000818"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:44.146850" elapsed="0.003829"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.151176" level="INFO">${number} = 290</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.150819" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.152636" level="INFO">${number} = 290</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.152289" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.154260" level="INFO">${device-port} = 18119</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.153653" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.156879" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:44.187635" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.187850" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.156637" elapsed="0.031271"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.188797" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:44.188930" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:44.188071" elapsed="0.001041">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:44.188025" elapsed="0.001183">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:44.156350" elapsed="0.033122">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:44.155972" elapsed="0.033673"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.190632" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18119 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:44.245845" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.246050" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.190111" elapsed="0.055993"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:44.246290" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:44.247116" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:44.155113" elapsed="0.092217"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:44.247984" elapsed="0.001790"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:44.154490" elapsed="0.095521"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:44.153297" elapsed="0.096856"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:44.152816" elapsed="0.097433"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.151855" elapsed="0.098515"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:44.151352" elapsed="0.099109"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.251626" level="INFO">${next} = 18120</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.250828" elapsed="0.000861"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.252907" level="INFO">${current_port} = 18120</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:44.252043" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.145610" elapsed="0.107515"/>
</kw>
<msg time="2026-04-11T23:22:44.253209" level="INFO">Repeating keyword, round 291/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:44.255679" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:44.255516" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.255494" elapsed="0.000249"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.256065" level="INFO">${current_Date} = 2026-04-11 23:22:44.256</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:44.255913" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.256530" level="INFO">${ellapsed_seconds} = 2667.612</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:44.256235" elapsed="0.000321"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.256869" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:44.256643" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.256624" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:44.254892" elapsed="0.002096"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.257489" level="INFO">${number} = 291</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.257130" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.258918" level="INFO">${number} = 291</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.258566" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.260618" level="INFO">${device-port} = 18120</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.259987" elapsed="0.000659"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.263171" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:44.295710" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.295923" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.263076" elapsed="0.032905"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.296872" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:44.297007" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:44.296141" elapsed="0.000971">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:44.296097" elapsed="0.001103">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:44.262663" elapsed="0.034797">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:44.262266" elapsed="0.035433"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.298693" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18120 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:44.353656" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.353860" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.298168" elapsed="0.055747"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:44.354102" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:44.354924" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:44.261455" elapsed="0.093684"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:44.355792" elapsed="0.001766"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:44.260850" elapsed="0.096978"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:44.259647" elapsed="0.098325"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:44.259100" elapsed="0.098968"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.258123" elapsed="0.100065"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:44.257682" elapsed="0.100600"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.359403" level="INFO">${next} = 18121</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.358656" elapsed="0.000806"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.360783" level="INFO">${current_port} = 18121</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:44.359868" elapsed="0.001011"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.253649" elapsed="0.107357"/>
</kw>
<msg time="2026-04-11T23:22:44.361093" level="INFO">Repeating keyword, round 292/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:44.363699" elapsed="0.000038"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:44.363297" elapsed="0.000501"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.363254" elapsed="0.000593"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.364490" level="INFO">${current_Date} = 2026-04-11 23:22:44.364</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:44.364160" elapsed="0.000360"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.364975" level="INFO">${ellapsed_seconds} = 2667.504</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:44.364677" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.365292" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:44.365070" elapsed="0.000275"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.365051" elapsed="0.000316"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:44.362770" elapsed="0.002642"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.365923" level="INFO">${number} = 292</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.365553" elapsed="0.000396"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.367318" level="INFO">${number} = 292</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.366989" elapsed="0.000355"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.368996" level="INFO">${device-port} = 18121</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.368371" elapsed="0.000651"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.371555" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:44.403395" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.403646" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.371459" elapsed="0.032249"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.404562" elapsed="0.000087"/>
</kw>
<msg time="2026-04-11T23:22:44.404727" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:44.403871" elapsed="0.001036">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:44.403827" elapsed="0.001176">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:44.371177" elapsed="0.034092">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:44.370632" elapsed="0.034776"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.406393" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18121 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:44.461638" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.461841" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.405912" elapsed="0.055984"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:44.462087" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:44.462913" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:44.369842" elapsed="0.093291"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:44.463788" elapsed="0.001741"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:44.369223" elapsed="0.096573"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:44.368037" elapsed="0.097902"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:44.367510" elapsed="0.098526"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.366539" elapsed="0.099619"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:44.366100" elapsed="0.100151"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.467357" level="INFO">${next} = 18122</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.466609" elapsed="0.000810"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.468684" level="INFO">${current_port} = 18122</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:44.467819" elapsed="0.000960"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.361503" elapsed="0.107403"/>
</kw>
<msg time="2026-04-11T23:22:44.468992" level="INFO">Repeating keyword, round 293/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:44.471476" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:44.471189" elapsed="0.000500"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.471147" elapsed="0.000598"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.472471" level="INFO">${current_Date} = 2026-04-11 23:22:44.472</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:44.472130" elapsed="0.000386"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.472974" level="INFO">${ellapsed_seconds} = 2667.396</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:44.472675" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.473293" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:44.473070" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.473052" elapsed="0.000317"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:44.470664" elapsed="0.002749"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.473933" level="INFO">${number} = 293</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.473560" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.475344" level="INFO">${number} = 293</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.475001" elapsed="0.000370"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.477014" level="INFO">${device-port} = 18122</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.476383" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.479593" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:44.512049" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.512264" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.479479" elapsed="0.032844"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.513214" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:44.513344" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:44.512484" elapsed="0.000965">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:44.512440" elapsed="0.001097">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:44.479197" elapsed="0.034637">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:44.478646" elapsed="0.035391"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.515025" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18122 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:44.569651" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.569855" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.514497" elapsed="0.055413"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:44.570099" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:44.570913" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:44.477854" elapsed="0.093271"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:44.571771" elapsed="0.001745"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:44.477241" elapsed="0.096540"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:44.476049" elapsed="0.097874"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:44.475524" elapsed="0.098497"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.474547" elapsed="0.099597"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:44.474110" elapsed="0.100131"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.575382" level="INFO">${next} = 18123</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.574605" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.576302" level="INFO">${current_port} = 18123</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:44.575783" elapsed="0.000576"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.469400" elapsed="0.107037"/>
</kw>
<msg time="2026-04-11T23:22:44.576490" level="INFO">Repeating keyword, round 294/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:44.578021" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:44.577874" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.577847" elapsed="0.000261"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.578505" level="INFO">${current_Date} = 2026-04-11 23:22:44.578</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:44.578299" elapsed="0.000242"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.579173" level="INFO">${ellapsed_seconds} = 2667.29</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:44.578761" elapsed="0.000448"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.579715" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:44.579322" elapsed="0.000470"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.579278" elapsed="0.000546"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:44.577525" elapsed="0.002361"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.580597" level="INFO">${number} = 294</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.580081" elapsed="0.000555"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.582538" level="INFO">${number} = 294</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.582079" elapsed="0.000514"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.584883" level="INFO">${device-port} = 18123</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.584013" elapsed="0.000908"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.590148" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:44.619450" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.619697" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.590051" elapsed="0.029707"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.620637" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:44.620770" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:44.619920" elapsed="0.001034">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:44.619875" elapsed="0.001174">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:44.589769" elapsed="0.031540">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:44.587169" elapsed="0.034277"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.622424" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18123 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:44.677458" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.677696" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.621944" elapsed="0.055808"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:44.677938" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:44.678751" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:44.586057" elapsed="0.092910"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:44.679607" elapsed="0.001744"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:44.585199" elapsed="0.096411"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:44.583493" elapsed="0.098263"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:44.582808" elapsed="0.099042"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.581452" elapsed="0.100518"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:44.580844" elapsed="0.101219"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.683163" level="INFO">${next} = 18124</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.682392" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.684479" level="INFO">${current_port} = 18124</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:44.683648" elapsed="0.000953"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.576771" elapsed="0.107960"/>
</kw>
<msg time="2026-04-11T23:22:44.684816" level="INFO">Repeating keyword, round 295/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:44.687249" elapsed="0.000075"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:44.687013" elapsed="0.000373"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.686970" elapsed="0.000465"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.687992" level="INFO">${current_Date} = 2026-04-11 23:22:44.688</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:44.687778" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.688662" level="INFO">${ellapsed_seconds} = 2667.18</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:44.688227" elapsed="0.000472"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.689109" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:44.688796" elapsed="0.000386"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.688770" elapsed="0.000444"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:44.686459" elapsed="0.002817"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.689990" level="INFO">${number} = 295</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.689472" elapsed="0.000555"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.691999" level="INFO">${number} = 295</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.691514" elapsed="0.000522"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.694298" level="INFO">${device-port} = 18124</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.693417" elapsed="0.000919"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.697905" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:44.727669" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.727882" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.697809" elapsed="0.030131"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.728836" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:44.728968" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:44.728100" elapsed="0.000971">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:44.728056" elapsed="0.001104">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:44.697293" elapsed="0.032129">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:44.696642" elapsed="0.033012"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.730642" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18124 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:44.785430" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.785671" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.730120" elapsed="0.055608"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:44.785913" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:44.786729" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:44.695501" elapsed="0.091442"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:44.787555" elapsed="0.001777"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:44.694642" elapsed="0.094921"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:44.692947" elapsed="0.096794"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:44.692250" elapsed="0.097588"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.690891" elapsed="0.099068"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:44.690235" elapsed="0.099819"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.791151" level="INFO">${next} = 18125</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.790385" elapsed="0.000824"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.792467" level="INFO">${current_port} = 18125</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:44.791636" elapsed="0.000923"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.685224" elapsed="0.107494"/>
</kw>
<msg time="2026-04-11T23:22:44.792804" level="INFO">Repeating keyword, round 296/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:44.795270" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:44.794993" elapsed="0.000374"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.794951" elapsed="0.000464"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.795936" level="INFO">${current_Date} = 2026-04-11 23:22:44.796</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:44.795726" elapsed="0.000246"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.796603" level="INFO">${ellapsed_seconds} = 2667.072</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:44.796172" elapsed="0.000468"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.797049" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:44.796737" elapsed="0.000385"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.796711" elapsed="0.000444"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:44.794441" elapsed="0.002776"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.797937" level="INFO">${number} = 296</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.797414" elapsed="0.000558"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.799951" level="INFO">${number} = 296</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.799435" elapsed="0.000552"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.802244" level="INFO">${device-port} = 18125</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.801361" elapsed="0.000920"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.805303" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:44.835546" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.835878" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.805044" elapsed="0.030901"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.836832" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:44.836963" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:44.836110" elapsed="0.001026">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:44.836066" elapsed="0.001165">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:44.804775" elapsed="0.032721">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:44.804380" elapsed="0.033289"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.838654" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18125 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:44.893650" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.893854" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.838131" elapsed="0.055777"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:44.894097" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:44.894917" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:44.803583" elapsed="0.091548"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:44.895786" elapsed="0.001753"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:44.802702" elapsed="0.095104"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:44.800896" elapsed="0.097053"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:44.800200" elapsed="0.097847"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.798810" elapsed="0.099359"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:44.798179" elapsed="0.100082"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.899386" level="INFO">${next} = 18126</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.898631" elapsed="0.000814"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.900720" level="INFO">${current_port} = 18126</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:44.899853" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.793212" elapsed="0.107726"/>
</kw>
<msg time="2026-04-11T23:22:44.901023" level="INFO">Repeating keyword, round 297/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:44.903511" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:44.903269" elapsed="0.000379"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.903176" elapsed="0.000507"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.904152" level="INFO">${current_Date} = 2026-04-11 23:22:44.904</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:44.903938" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:44.904832" level="INFO">${ellapsed_seconds} = 2666.964</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:44.904390" elapsed="0.000478"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.905277" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:44.904965" elapsed="0.000386"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:44.904940" elapsed="0.000443"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:44.902692" elapsed="0.002754"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.906169" level="INFO">${number} = 297</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.905667" elapsed="0.000538"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.908197" level="INFO">${number} = 297</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.907729" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:44.910597" level="INFO">${device-port} = 18126</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:44.909719" elapsed="0.000917"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.913975" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:44.943881" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:44.944096" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.913843" elapsed="0.030311"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:44.945055" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:44.945186" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:44.944317" elapsed="0.000973">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:44.944272" elapsed="0.001107">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:44.913450" elapsed="0.032224">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:44.912918" elapsed="0.032960"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:44.946876" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18126 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.003944" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.004145" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:44.946342" elapsed="0.057857"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.004386" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:45.005206" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:44.911798" elapsed="0.093622"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.006053" elapsed="0.001802"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:44.910920" elapsed="0.097166"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:44.909215" elapsed="0.099012"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:44.908448" elapsed="0.099876"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.907049" elapsed="0.101395"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:44.906415" elapsed="0.102123"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.009692" level="INFO">${next} = 18127</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.008910" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.010981" level="INFO">${current_port} = 18127</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.010107" elapsed="0.000968"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:44.901433" elapsed="0.109785"/>
</kw>
<msg time="2026-04-11T23:22:45.011305" level="INFO">Repeating keyword, round 298/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.013869" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.013627" elapsed="0.000334"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.013555" elapsed="0.000454"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.014654" level="INFO">${current_Date} = 2026-04-11 23:22:45.015</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.014424" elapsed="0.000256"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.015124" level="INFO">${ellapsed_seconds} = 2666.853</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.014825" elapsed="0.000336"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.015457" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.015231" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.015213" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.013073" elapsed="0.002562"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.016140" level="INFO">${number} = 298</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.015782" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.017542" level="INFO">${number} = 298</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.017210" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.019261" level="INFO">${device-port} = 18127</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.018561" elapsed="0.000728"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.021713" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:45.051676" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.051893" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.021617" elapsed="0.030334"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.052841" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:45.052973" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:45.052115" elapsed="0.001045">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:45.052070" elapsed="0.001186">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.021334" elapsed="0.032188">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.020949" elapsed="0.032748"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.054686" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18127 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.109007" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.109105" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.054160" elapsed="0.054970"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.109219" elapsed="0.000066"/>
</return>
<msg time="2026-04-11T23:22:45.109593" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.020146" elapsed="0.089549"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.109963" elapsed="0.000799"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.019527" elapsed="0.091341"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.018224" elapsed="0.092708"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.017740" elapsed="0.093236"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.016773" elapsed="0.094258"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.016315" elapsed="0.094759"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.111586" level="INFO">${next} = 18128</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.111241" elapsed="0.000373"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.112147" level="INFO">${current_port} = 18128</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.111773" elapsed="0.000415"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.011835" elapsed="0.100409"/>
</kw>
<msg time="2026-04-11T23:22:45.112282" level="INFO">Repeating keyword, round 299/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.113380" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.113272" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.113253" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.113792" level="INFO">${current_Date} = 2026-04-11 23:22:45.114</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.113636" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.114269" level="INFO">${ellapsed_seconds} = 2666.754</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.113966" elapsed="0.000329"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.114630" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.114366" elapsed="0.000320"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.114348" elapsed="0.000361"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.113035" elapsed="0.001721"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.115272" level="INFO">${number} = 299</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.114899" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.116706" level="INFO">${number} = 299</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.116355" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.118336" level="INFO">${device-port} = 18128</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.117734" elapsed="0.000629"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.120940" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:45.158933" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.159041" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.120844" elapsed="0.038225"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.159490" elapsed="0.000027"/>
</kw>
<msg time="2026-04-11T23:22:45.159553" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:45.159160" elapsed="0.000463">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:45.159138" elapsed="0.000527">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.120556" elapsed="0.039235">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.120168" elapsed="0.039720"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.160328" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18128 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.217309" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.217516" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.160104" elapsed="0.057511"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.217790" elapsed="0.000124"/>
</return>
<msg time="2026-04-11T23:22:45.218451" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.119280" elapsed="0.099321"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.218875" elapsed="0.000845"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.118646" elapsed="0.101181"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.117376" elapsed="0.102518"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.116888" elapsed="0.103051"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.115914" elapsed="0.104082"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.115449" elapsed="0.104590"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.220533" level="INFO">${next} = 18129</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.220193" elapsed="0.000366"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.221118" level="INFO">${current_port} = 18129</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.220736" elapsed="0.000424"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.112470" elapsed="0.108748"/>
</kw>
<msg time="2026-04-11T23:22:45.221257" level="INFO">Repeating keyword, round 300/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.222364" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.222256" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.222236" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.222737" level="INFO">${current_Date} = 2026-04-11 23:22:45.223</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.222583" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.223226" level="INFO">${ellapsed_seconds} = 2666.645</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.222909" elapsed="0.000342"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.223552" elapsed="0.000057"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.223322" elapsed="0.000322"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.223303" elapsed="0.000364"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.222015" elapsed="0.001698"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.224213" level="INFO">${number} = 300</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.223854" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.225697" level="INFO">${number} = 300</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.225343" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.227352" level="INFO">${device-port} = 18129</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.226722" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.229880" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:45.267006" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.267117" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.229784" elapsed="0.037360"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.267532" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:22:45.267613" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:45.267217" elapsed="0.000480">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:45.267198" elapsed="0.000542">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.229501" elapsed="0.038361">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.229118" elapsed="0.038807"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.268350" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18129 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.325200" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.325292" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.268132" elapsed="0.057185"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.325403" elapsed="0.000066"/>
</return>
<msg time="2026-04-11T23:22:45.325783" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.228283" elapsed="0.097600"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.326152" elapsed="0.000803"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.227654" elapsed="0.099423"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.226365" elapsed="0.100778"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.225876" elapsed="0.101311"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.224905" elapsed="0.102337"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.224389" elapsed="0.102895"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.327788" level="INFO">${next} = 18130</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.327435" elapsed="0.000380"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.328343" level="INFO">${current_port} = 18130</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.327972" elapsed="0.000413"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.221447" elapsed="0.106994"/>
</kw>
<msg time="2026-04-11T23:22:45.328480" level="INFO">Repeating keyword, round 301/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.329613" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.329485" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.329464" elapsed="0.000213"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.330003" level="INFO">${current_Date} = 2026-04-11 23:22:45.330</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.329850" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.330512" level="INFO">${ellapsed_seconds} = 2666.538</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.330173" elapsed="0.000369"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.330853" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.330627" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.330608" elapsed="0.000322"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.329244" elapsed="0.001732"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.331490" level="INFO">${number} = 301</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.331131" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.332973" level="INFO">${number} = 301</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.332560" elapsed="0.000440"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.334619" level="INFO">${device-port} = 18130</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.333997" elapsed="0.000650"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.337271" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:45.375235" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.375331" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.337027" elapsed="0.038331"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.375795" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:45.375855" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:45.375431" elapsed="0.000471">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:45.375411" elapsed="0.000532">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.336760" elapsed="0.039301">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.336354" elapsed="0.039803"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.376634" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18130 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.436407" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.436498" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.376366" elapsed="0.060157"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.436630" elapsed="0.000067"/>
</return>
<msg time="2026-04-11T23:22:45.436986" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.335562" elapsed="0.101521"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.437351" elapsed="0.000807"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.334849" elapsed="0.103415"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.333659" elapsed="0.104669"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.333152" elapsed="0.105220"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.332122" elapsed="0.106304"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.331683" elapsed="0.106786"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.438966" level="INFO">${next} = 18131</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.438637" elapsed="0.000368"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.439536" level="INFO">${current_port} = 18131</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.439163" elapsed="0.000434"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.328700" elapsed="0.110955"/>
</kw>
<msg time="2026-04-11T23:22:45.439694" level="INFO">Repeating keyword, round 302/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.440786" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.440679" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.440659" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.441136" level="INFO">${current_Date} = 2026-04-11 23:22:45.441</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.440988" elapsed="0.000174"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.441622" level="INFO">${ellapsed_seconds} = 2666.427</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.441305" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.441944" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.441719" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.441700" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.440420" elapsed="0.001643"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.442558" level="INFO">${number} = 302</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.442204" elapsed="0.000395"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.443997" level="INFO">${number} = 302</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.443666" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.445718" level="INFO">${device-port} = 18131</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.445013" elapsed="0.000733"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.448274" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:45.487247" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.487343" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.448031" elapsed="0.039338"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.487774" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:45.487833" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:45.487442" elapsed="0.000472">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:45.487422" elapsed="0.000534">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.447765" elapsed="0.040310">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.447371" elapsed="0.040766"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.488564" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18131 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.545371" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.545462" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.488344" elapsed="0.057142"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.545592" elapsed="0.000067"/>
</return>
<msg time="2026-04-11T23:22:45.545944" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.446550" elapsed="0.099489"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.546303" elapsed="0.000810"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.445949" elapsed="0.101269"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.444675" elapsed="0.102607"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.444174" elapsed="0.103151"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.443214" elapsed="0.104164"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.442749" elapsed="0.104671"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.547914" level="INFO">${next} = 18132</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.547586" elapsed="0.000354"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.548465" level="INFO">${current_port} = 18132</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.548096" elapsed="0.000413"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.439879" elapsed="0.108706"/>
</kw>
<msg time="2026-04-11T23:22:45.548626" level="INFO">Repeating keyword, round 303/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.549716" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.549608" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.549586" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.550103" level="INFO">${current_Date} = 2026-04-11 23:22:45.550</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.549951" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.550590" level="INFO">${ellapsed_seconds} = 2666.318</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.550274" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.550914" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.550688" elapsed="0.000293"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.550670" elapsed="0.000335"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.549355" elapsed="0.001695"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.551554" level="INFO">${number} = 303</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.551190" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.552974" level="INFO">${number} = 303</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.552641" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.554679" level="INFO">${device-port} = 18132</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.553988" elapsed="0.000720"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.557233" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:45.595168" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.595265" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.557137" elapsed="0.038154"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.595701" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:45.595760" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:45.595364" elapsed="0.000444">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:45.595344" elapsed="0.000504">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.556727" elapsed="0.039238">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.556330" elapsed="0.039726"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.596478" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18132 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.653389" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.653481" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.596262" elapsed="0.057244"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.653611" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:22:45.653959" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.555534" elapsed="0.098520"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.654316" elapsed="0.000804"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.554909" elapsed="0.100316"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.553652" elapsed="0.101636"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.553154" elapsed="0.102177"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.552186" elapsed="0.103199"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.551749" elapsed="0.103677"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.655928" level="INFO">${next} = 18133</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.655598" elapsed="0.000356"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.656482" level="INFO">${current_port} = 18133</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.656111" elapsed="0.000412"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.548811" elapsed="0.107791"/>
</kw>
<msg time="2026-04-11T23:22:45.656643" level="INFO">Repeating keyword, round 304/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.657767" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.657658" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.657635" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.658120" level="INFO">${current_Date} = 2026-04-11 23:22:45.658</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.657970" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.658607" level="INFO">${ellapsed_seconds} = 2666.21</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.658288" elapsed="0.000346"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.658956" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.658704" elapsed="0.000307"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.658685" elapsed="0.000349"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.657362" elapsed="0.001717"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.659591" level="INFO">${number} = 304</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.659219" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.660983" level="INFO">${number} = 304</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.660652" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.662693" level="INFO">${device-port} = 18133</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.662035" elapsed="0.000685"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.665300" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:45.707221" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.707317" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.665204" elapsed="0.042139"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.707746" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:45.707804" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:45.707417" elapsed="0.000469">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:45.707397" elapsed="0.000532">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.664935" elapsed="0.043111">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.664375" elapsed="0.043733"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.708527" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18133 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.765308" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.765400" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.708313" elapsed="0.057111"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.765508" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:22:45.765893" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.663544" elapsed="0.102448"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.766259" elapsed="0.000810"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.662931" elapsed="0.104243"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.661697" elapsed="0.105541"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.661163" elapsed="0.106119"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.660202" elapsed="0.107134"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.659769" elapsed="0.107608"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.767874" level="INFO">${next} = 18134</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.767525" elapsed="0.000376"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.768426" level="INFO">${current_port} = 18134</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.768056" elapsed="0.000411"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.656827" elapsed="0.111695"/>
</kw>
<msg time="2026-04-11T23:22:45.768560" level="INFO">Repeating keyword, round 305/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.769660" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.769532" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.769513" elapsed="0.000211"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.770057" level="INFO">${current_Date} = 2026-04-11 23:22:45.770</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.769905" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.770523" level="INFO">${ellapsed_seconds} = 2666.098</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.770227" elapsed="0.000322"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.770868" elapsed="0.000051"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.770643" elapsed="0.000310"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.770624" elapsed="0.000352"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.769298" elapsed="0.001723"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.771517" level="INFO">${number} = 305</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.771161" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.772938" level="INFO">${number} = 305</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.772603" elapsed="0.000362"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.774565" level="INFO">${device-port} = 18134</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.773955" elapsed="0.000725"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.777339" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:45.815100" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.815197" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.777243" elapsed="0.037980"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.815628" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:22:45.815688" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:45.815296" elapsed="0.000439">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:45.815276" elapsed="0.000499">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.776976" elapsed="0.038917">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.776407" elapsed="0.039586"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.816414" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18134 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.873464" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.873558" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.816200" elapsed="0.057402"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.873688" elapsed="0.000063"/>
</return>
<msg time="2026-04-11T23:22:45.874033" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.775614" elapsed="0.098513"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.874389" elapsed="0.000810"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.774984" elapsed="0.100319"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.773614" elapsed="0.101752"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.773120" elapsed="0.102290"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.772149" elapsed="0.103315"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.771710" elapsed="0.103795"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.875999" level="INFO">${next} = 18135</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.875671" elapsed="0.000354"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.876550" level="INFO">${current_port} = 18135</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.876180" elapsed="0.000429"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.768759" elapsed="0.107906"/>
</kw>
<msg time="2026-04-11T23:22:45.876703" level="INFO">Repeating keyword, round 306/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.877796" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.877688" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.877668" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.878148" level="INFO">${current_Date} = 2026-04-11 23:22:45.878</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.877998" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.878630" level="INFO">${ellapsed_seconds} = 2665.99</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.878315" elapsed="0.000341"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.878974" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.878727" elapsed="0.000301"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.878707" elapsed="0.000344"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.877429" elapsed="0.001667"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.879653" level="INFO">${number} = 306</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.879237" elapsed="0.000444"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.881143" level="INFO">${number} = 306</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.880809" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.882786" level="INFO">${device-port} = 18135</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.882157" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.887155" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:45.923358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.923453" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.887058" elapsed="0.036422"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.923921" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:45.923980" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:45.923559" elapsed="0.000501">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:45.923535" elapsed="0.000567">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.886767" elapsed="0.037454">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.884489" elapsed="0.039794"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.924731" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18135 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:45.981295" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:45.981387" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.924487" elapsed="0.056925"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:45.981497" elapsed="0.000065"/>
</return>
<msg time="2026-04-11T23:22:45.981877" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.883701" elapsed="0.098274"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:45.982240" elapsed="0.000819"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.883030" elapsed="0.100135"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.881822" elapsed="0.101406"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.881322" elapsed="0.101951"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.880349" elapsed="0.102978"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.879832" elapsed="0.103537"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.983865" level="INFO">${next} = 18136</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.983519" elapsed="0.000373"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.984420" level="INFO">${current_port} = 18136</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:45.984050" elapsed="0.000411"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.876888" elapsed="0.107629"/>
</kw>
<msg time="2026-04-11T23:22:45.984558" level="INFO">Repeating keyword, round 307/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:45.985653" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:45.985531" elapsed="0.000164"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.985512" elapsed="0.000205"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.986037" level="INFO">${current_Date} = 2026-04-11 23:22:45.986</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:45.985887" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:45.986505" level="INFO">${ellapsed_seconds} = 2665.882</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:45.986207" elapsed="0.000330"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:45.986896" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:45.986653" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:45.986630" elapsed="0.000342"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:45.985298" elapsed="0.001719"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.987516" level="INFO">${number} = 307</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.987160" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.988973" level="INFO">${number} = 307</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.988624" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:45.990681" level="INFO">${device-port} = 18136</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:45.989986" elapsed="0.000723"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:45.993276" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:46.035153" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.035250" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:45.993180" elapsed="0.042097"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.035680" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:46.035740" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:46.035350" elapsed="0.000437">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:46.035331" elapsed="0.000495">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:45.992749" elapsed="0.043194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:45.992349" elapsed="0.043685"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.036479" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18136 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:46.093208" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.093300" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.036242" elapsed="0.057083"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:46.093411" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:22:46.093789" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:45.991540" elapsed="0.102348"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:46.094156" elapsed="0.000818"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:45.990936" elapsed="0.104144"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:45.989652" elapsed="0.105494"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:45.989153" elapsed="0.106037"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.988151" elapsed="0.107094"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:45.987714" elapsed="0.107573"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.095788" level="INFO">${next} = 18137</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.095437" elapsed="0.000377"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.096340" level="INFO">${current_port} = 18137</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:46.095970" elapsed="0.000411"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:45.984760" elapsed="0.111676"/>
</kw>
<msg time="2026-04-11T23:22:46.096475" level="INFO">Repeating keyword, round 308/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:46.097560" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:46.097455" elapsed="0.000163"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.097436" elapsed="0.000204"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.097930" level="INFO">${current_Date} = 2026-04-11 23:22:46.098</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:46.097780" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.098401" level="INFO">${ellapsed_seconds} = 2665.77</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:46.098103" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.098752" elapsed="0.000042"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:46.098497" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.098479" elapsed="0.000372"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:46.097221" elapsed="0.001675"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.099395" level="INFO">${number} = 308</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.099039" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.100808" level="INFO">${number} = 308</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.100461" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.102423" level="INFO">${device-port} = 18137</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.101817" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.105088" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:46.142971" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.143069" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.104827" elapsed="0.038268"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.143478" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:46.143537" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:46.143170" elapsed="0.000468">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:46.143149" elapsed="0.000534">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:46.104545" elapsed="0.039255">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:46.104165" elapsed="0.039698"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.144283" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18137 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:46.201239" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.201332" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.144069" elapsed="0.057287"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:46.201442" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:22:46.201820" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:46.103361" elapsed="0.098559"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:46.202185" elapsed="0.000841"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:46.102739" elapsed="0.100394"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:46.101465" elapsed="0.101732"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:46.100986" elapsed="0.102254"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.100029" elapsed="0.103266"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:46.099592" elapsed="0.103745"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.203834" level="INFO">${next} = 18138</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.203487" elapsed="0.000374"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.204390" level="INFO">${current_port} = 18138</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:46.204019" elapsed="0.000412"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.096680" elapsed="0.107808"/>
</kw>
<msg time="2026-04-11T23:22:46.204526" level="INFO">Repeating keyword, round 309/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:46.205624" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:46.205498" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.205479" elapsed="0.000209"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.206008" level="INFO">${current_Date} = 2026-04-11 23:22:46.206</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:46.205857" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.206473" level="INFO">${ellapsed_seconds} = 2665.662</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:46.206176" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.206828" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:46.206590" elapsed="0.000293"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.206550" elapsed="0.000357"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:46.205265" elapsed="0.001687"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.207466" level="INFO">${number} = 309</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.207093" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.208882" level="INFO">${number} = 309</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.208533" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.210513" level="INFO">${device-port} = 18138</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.209906" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.213009" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:46.255051" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.255149" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.212914" elapsed="0.042261"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.255558" elapsed="0.000046"/>
</kw>
<msg time="2026-04-11T23:22:46.255640" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:46.255248" elapsed="0.000439">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:46.255228" elapsed="0.000499">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:46.212650" elapsed="0.043195">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:46.212248" elapsed="0.043690"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.256364" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18138 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:46.313304" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.313397" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.256145" elapsed="0.057276"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:46.313506" elapsed="0.000098"/>
</return>
<msg time="2026-04-11T23:22:46.314048" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:46.211447" elapsed="0.102700"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:46.314413" elapsed="0.000831"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:46.210845" elapsed="0.104506"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:46.209548" elapsed="0.105867"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:46.209064" elapsed="0.106394"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.208099" elapsed="0.107413"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:46.207659" elapsed="0.107895"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.316050" level="INFO">${next} = 18139</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.315720" elapsed="0.000356"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.316629" level="INFO">${current_port} = 18139</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:46.316234" elapsed="0.000437"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.204726" elapsed="0.112002"/>
</kw>
<msg time="2026-04-11T23:22:46.316766" level="INFO">Repeating keyword, round 310/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:46.317852" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:46.317745" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.317726" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.318204" level="INFO">${current_Date} = 2026-04-11 23:22:46.318</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:46.318054" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.318707" level="INFO">${ellapsed_seconds} = 2665.55</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:46.318373" elapsed="0.000360"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.319027" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:46.318803" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.318785" elapsed="0.000317"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:46.317492" elapsed="0.001655"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.319667" level="INFO">${number} = 310</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.319288" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.321065" level="INFO">${number} = 310</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.320731" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.322806" level="INFO">${device-port} = 18139</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.322087" elapsed="0.000746"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.325335" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:46.363267" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.363363" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.325239" elapsed="0.038150"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.363794" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:46.363853" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:46.363462" elapsed="0.000473">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:46.363442" elapsed="0.000536">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:46.324973" elapsed="0.039125">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:46.324589" elapsed="0.039572"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.364610" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18139 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:46.421168" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.421260" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.364369" elapsed="0.056916"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:46.421369" elapsed="0.000064"/>
</return>
<msg time="2026-04-11T23:22:46.421749" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:46.323793" elapsed="0.098053"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:46.422108" elapsed="0.000804"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:46.323036" elapsed="0.099981"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:46.321752" elapsed="0.101330"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:46.321249" elapsed="0.101876"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.320278" elapsed="0.102903"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:46.319843" elapsed="0.103380"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.423852" level="INFO">${next} = 18140</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.423373" elapsed="0.000506"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.424414" level="INFO">${current_port} = 18140</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:46.424040" elapsed="0.000415"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.316952" elapsed="0.107559"/>
</kw>
<msg time="2026-04-11T23:22:46.424550" level="INFO">Repeating keyword, round 311/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:46.425648" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:46.425525" elapsed="0.000165"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.425506" elapsed="0.000206"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.426041" level="INFO">${current_Date} = 2026-04-11 23:22:46.426</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:46.425887" elapsed="0.000180"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.426510" level="INFO">${ellapsed_seconds} = 2665.442</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:46.426210" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.426873" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:46.426633" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.426613" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:46.425290" elapsed="0.001706"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.427494" level="INFO">${number} = 311</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.427135" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.428921" level="INFO">${number} = 311</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.428584" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.430676" level="INFO">${device-port} = 18140</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.429964" elapsed="0.000743"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.433189" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:46.475161" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.475259" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.433093" elapsed="0.042192"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.475689" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:46.475749" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:46.475358" elapsed="0.000437">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:46.475338" elapsed="0.000497">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:46.432827" elapsed="0.043126">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:46.432428" elapsed="0.043616"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.476468" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18140 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:46.533296" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.533393" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.476250" elapsed="0.057167"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:46.533502" elapsed="0.000085"/>
</return>
<msg time="2026-04-11T23:22:46.533881" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:46.431522" elapsed="0.102457"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:46.534243" elapsed="0.000816"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:46.430915" elapsed="0.104251"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:46.429623" elapsed="0.105617"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:46.429101" elapsed="0.106183"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.428133" elapsed="0.107206"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:46.427695" elapsed="0.107687"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.535881" level="INFO">${next} = 18141</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.535531" elapsed="0.000376"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.536441" level="INFO">${current_port} = 18141</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:46.536065" elapsed="0.000418"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.424750" elapsed="0.111789"/>
</kw>
<msg time="2026-04-11T23:22:46.536593" level="INFO">Repeating keyword, round 312/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:46.537705" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:46.537596" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.537561" elapsed="0.000206"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.538054" level="INFO">${current_Date} = 2026-04-11 23:22:46.538</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:46.537906" elapsed="0.000174"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.538518" level="INFO">${ellapsed_seconds} = 2665.33</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:46.538221" elapsed="0.000322"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.538874" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:46.538649" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.538629" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:46.537339" elapsed="0.001655"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.539487" level="INFO">${number} = 312</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.539132" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.540908" level="INFO">${number} = 312</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.540554" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.542534" level="INFO">${device-port} = 18141</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.541928" elapsed="0.000632"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.545312" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:46.583412" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.583510" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.545218" elapsed="0.038319"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.583957" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:46.584016" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:46.583644" elapsed="0.000460">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:46.583624" elapsed="0.000523">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:46.544953" elapsed="0.039315">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:46.544549" elapsed="0.039780"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.584791" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18141 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:46.641619" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.641713" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.584548" elapsed="0.057189"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:46.641822" elapsed="0.000066"/>
</return>
<msg time="2026-04-11T23:22:46.642177" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:46.543616" elapsed="0.098659"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:46.642541" elapsed="0.000878"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:46.542996" elapsed="0.100529"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:46.541586" elapsed="0.102020"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:46.541089" elapsed="0.102562"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.540118" elapsed="0.103588"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:46.539680" elapsed="0.104068"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.644225" level="INFO">${next} = 18142</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.643899" elapsed="0.000352"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.644799" level="INFO">${current_port} = 18142</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:46.644411" elapsed="0.000430"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.536781" elapsed="0.108117"/>
</kw>
<msg time="2026-04-11T23:22:46.644936" level="INFO">Repeating keyword, round 313/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:46.646034" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:46.645928" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.645909" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.646434" level="INFO">${current_Date} = 2026-04-11 23:22:46.646</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:46.646278" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.646936" level="INFO">${ellapsed_seconds} = 2665.222</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:46.646630" elapsed="0.000332"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.647259" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:46.647033" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.647015" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:46.645691" elapsed="0.001689"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.647937" level="INFO">${number} = 313</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.647521" elapsed="0.000442"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.649521" level="INFO">${number} = 313</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.649178" elapsed="0.000368"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.651165" level="INFO">${device-port} = 18142</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.650534" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.653946" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:46.695363" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.695463" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.653704" elapsed="0.041785"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.695900" elapsed="0.000024"/>
</kw>
<msg time="2026-04-11T23:22:46.695958" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:46.695584" elapsed="0.000422">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:46.695543" elapsed="0.000503">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:46.653397" elapsed="0.042768">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:46.653009" elapsed="0.043249"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.696706" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18142 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:46.753419" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.753516" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.696465" elapsed="0.057076"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:46.753644" elapsed="0.000065"/>
</return>
<msg time="2026-04-11T23:22:46.753996" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:46.652212" elapsed="0.101883"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:46.754362" elapsed="0.000827"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:46.651392" elapsed="0.103904"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:46.650200" elapsed="0.105161"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:46.649717" elapsed="0.105686"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.648743" elapsed="0.106715"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:46.648270" elapsed="0.107230"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.756001" level="INFO">${next} = 18143</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.755671" elapsed="0.000356"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.756557" level="INFO">${current_port} = 18143</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:46.756184" elapsed="0.000431"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.645123" elapsed="0.111549"/>
</kw>
<msg time="2026-04-11T23:22:46.756710" level="INFO">Repeating keyword, round 314/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:46.757797" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:46.757691" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.757670" elapsed="0.000189"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.758145" level="INFO">${current_Date} = 2026-04-11 23:22:46.758</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:46.757997" elapsed="0.000173"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.758647" level="INFO">${ellapsed_seconds} = 2665.11</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:46.758312" elapsed="0.000361"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.758968" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:46.758743" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.758724" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:46.757437" elapsed="0.001650"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.759643" level="INFO">${number} = 314</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.759226" elapsed="0.000444"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.761037" level="INFO">${number} = 314</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.760702" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.762691" level="INFO">${device-port} = 18143</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.762049" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.765310" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:46.807974" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.808203" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.765061" elapsed="0.043201"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.809174" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:46.809308" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:46.808430" elapsed="0.001056">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:46.808385" elapsed="0.001227">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:46.764791" elapsed="0.045096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:46.764391" elapsed="0.045635"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.811036" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18143 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:46.865686" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.865901" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.810487" elapsed="0.055471"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:46.866155" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:46.867017" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:46.763533" elapsed="0.103703"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:46.867875" elapsed="0.001810"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:46.762920" elapsed="0.107001"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:46.761713" elapsed="0.108347"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:46.761215" elapsed="0.108939"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.760255" elapsed="0.110020"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:46.759821" elapsed="0.110546"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.871509" level="INFO">${next} = 18144</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.870774" elapsed="0.000779"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.872386" level="INFO">${current_port} = 18144</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:46.871827" elapsed="0.000622"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.756894" elapsed="0.115638"/>
</kw>
<msg time="2026-04-11T23:22:46.872611" level="INFO">Repeating keyword, round 315/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:46.874230" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:46.874073" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.874045" elapsed="0.000278"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.874839" level="INFO">${current_Date} = 2026-04-11 23:22:46.875</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:46.874610" elapsed="0.000268"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.875540" level="INFO">${ellapsed_seconds} = 2664.993</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:46.875094" elapsed="0.000565"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.876102" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:46.875766" elapsed="0.000414"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.875740" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:46.873724" elapsed="0.002555"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.877043" level="INFO">${number} = 315</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.876489" elapsed="0.000593"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.879142" level="INFO">${number} = 315</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.878651" elapsed="0.000530"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.881625" level="INFO">${device-port} = 18144</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.880715" elapsed="0.000951"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.884833" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:46.919445" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.919689" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.884736" elapsed="0.035013"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.920616" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:46.920747" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:46.919910" elapsed="0.000940">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:46.919867" elapsed="0.001071">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:46.884301" elapsed="0.036899">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:46.883920" elapsed="0.037485"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.922384" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18144 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:46.977510" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:46.977752" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.921903" elapsed="0.055903"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:46.977995" elapsed="0.000140"/>
</return>
<msg time="2026-04-11T23:22:46.978829" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:46.882919" elapsed="0.096123"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:46.979653" elapsed="0.001731"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:46.881963" elapsed="0.099677"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:46.880190" elapsed="0.101593"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:46.879410" elapsed="0.102471"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.877973" elapsed="0.104027"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:46.877305" elapsed="0.104787"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.983195" level="INFO">${next} = 18145</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.982423" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.984482" level="INFO">${current_port} = 18145</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:46.983653" elapsed="0.000948"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.872892" elapsed="0.111836"/>
</kw>
<msg time="2026-04-11T23:22:46.984814" level="INFO">Repeating keyword, round 316/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:46.987270" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:46.987034" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.986992" elapsed="0.000419"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.987831" level="INFO">${current_Date} = 2026-04-11 23:22:46.988</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:46.987678" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:46.988312" level="INFO">${ellapsed_seconds} = 2664.88</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:46.988010" elapsed="0.000328"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:46.988662" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:46.988408" elapsed="0.000308"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:46.988389" elapsed="0.000349"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:46.986446" elapsed="0.002337"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.989278" level="INFO">${number} = 316</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.988923" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.990828" level="INFO">${number} = 316</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.990468" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:46.992493" level="INFO">${device-port} = 18145</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:46.991880" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:46.995138" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:47.026786" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.026882" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:46.995043" elapsed="0.031866"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.027288" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:22:47.027346" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:47.026982" elapsed="0.000449">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:47.026962" elapsed="0.000512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:46.994762" elapsed="0.032968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:46.994179" elapsed="0.033690"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.028833" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18145 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:47.085970" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.086176" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.028316" elapsed="0.057914"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:47.086444" elapsed="0.000196"/>
</return>
<msg time="2026-04-11T23:22:47.087282" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:46.993356" elapsed="0.094139"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:47.088127" elapsed="0.001795"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:46.992748" elapsed="0.097407"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:46.991506" elapsed="0.098790"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:46.991014" elapsed="0.099379"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.989922" elapsed="0.100621"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:46.989453" elapsed="0.101216"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.091790" level="INFO">${next} = 18146</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.091002" elapsed="0.000849"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.093066" level="INFO">${current_port} = 18146</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:47.092198" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:46.985222" elapsed="0.108061"/>
</kw>
<msg time="2026-04-11T23:22:47.093368" level="INFO">Repeating keyword, round 317/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:47.095851" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:47.095652" elapsed="0.000244"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.095631" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.096244" level="INFO">${current_Date} = 2026-04-11 23:22:47.096</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:47.096092" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.096736" level="INFO">${ellapsed_seconds} = 2664.772</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:47.096415" elapsed="0.000347"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.097058" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:47.096833" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.096815" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:47.095100" elapsed="0.002079"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.097701" level="INFO">${number} = 317</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.097322" elapsed="0.000406"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.099169" level="INFO">${number} = 317</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.098832" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.100867" level="INFO">${device-port} = 18146</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.100230" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.103456" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:47.139033" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.139250" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.103361" elapsed="0.035947"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.140218" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:47.140352" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:47.139471" elapsed="0.000986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:47.139426" elapsed="0.001120">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:47.103093" elapsed="0.037753">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:47.102520" elapsed="0.038532"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.142045" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18146 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:47.198065" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.198269" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.141516" elapsed="0.056807"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:47.198536" elapsed="0.000197"/>
</return>
<msg time="2026-04-11T23:22:47.199379" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:47.101721" elapsed="0.097916"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:47.200235" elapsed="0.001814"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:47.101096" elapsed="0.101190"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:47.099892" elapsed="0.102559"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:47.099350" elapsed="0.103200"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.098357" elapsed="0.104351"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:47.097890" elapsed="0.104913"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.203909" level="INFO">${next} = 18147</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.203137" elapsed="0.000831"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.205180" level="INFO">${current_port} = 18147</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:47.204311" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.093806" elapsed="0.111591"/>
</kw>
<msg time="2026-04-11T23:22:47.205480" level="INFO">Repeating keyword, round 318/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:47.207404" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:47.207298" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.207280" elapsed="0.000186"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.207809" level="INFO">${current_Date} = 2026-04-11 23:22:47.208</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:47.207658" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.208276" level="INFO">${ellapsed_seconds} = 2664.66</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:47.207977" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.208615" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:47.208370" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.208351" elapsed="0.000340"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:47.207063" elapsed="0.001673"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.209231" level="INFO">${number} = 318</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.208876" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.210653" level="INFO">${number} = 318</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.210292" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.212328" level="INFO">${device-port} = 18147</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.211720" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.216949" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:47.251346" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.251560" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.216850" elapsed="0.034811"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.252519" elapsed="0.000085"/>
</kw>
<msg time="2026-04-11T23:22:47.252682" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:47.251827" elapsed="0.001039">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:47.251781" elapsed="0.001180">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:47.216552" elapsed="0.036673">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:47.213985" elapsed="0.039377"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.254350" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18147 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:47.309628" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.309833" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.253867" elapsed="0.056020"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:47.310076" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:47.310932" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:47.213177" elapsed="0.097979"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:47.311783" elapsed="0.001779"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:47.212555" elapsed="0.101278"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:47.211317" elapsed="0.102656"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:47.210833" elapsed="0.103236"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.209856" elapsed="0.104332"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:47.209405" elapsed="0.104874"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.315400" level="INFO">${next} = 18148</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.314665" elapsed="0.000794"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.316731" level="INFO">${current_port} = 18148</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:47.315864" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.205921" elapsed="0.111028"/>
</kw>
<msg time="2026-04-11T23:22:47.317033" level="INFO">Repeating keyword, round 319/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:47.319161" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:47.319012" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.318986" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.319806" level="INFO">${current_Date} = 2026-04-11 23:22:47.320</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:47.319485" elapsed="0.000358"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.320459" level="INFO">${ellapsed_seconds} = 2664.548</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:47.320043" elapsed="0.000452"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.320934" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:47.320613" elapsed="0.000395"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.320566" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:47.318682" elapsed="0.002421"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.321825" level="INFO">${number} = 319</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.321299" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.323831" level="INFO">${number} = 319</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.323327" elapsed="0.000542"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.326286" level="INFO">${device-port} = 18148</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.325253" elapsed="0.001071"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.330127" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:47.363314" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.363529" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.329992" elapsed="0.033631"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.364480" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:47.364641" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:47.363790" elapsed="0.000957">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:47.363745" elapsed="0.001091">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:47.329334" elapsed="0.035765">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:47.328803" elapsed="0.036503"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.366296" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18148 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:47.422130" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.422351" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.365812" elapsed="0.056595"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:47.422640" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:47.423417" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:47.327474" elapsed="0.096200"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:47.424265" elapsed="0.001784"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:47.326643" elapsed="0.099636"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:47.324783" elapsed="0.101658"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:47.324083" elapsed="0.102455"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.322718" elapsed="0.103980"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:47.322071" elapsed="0.104722"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.427898" level="INFO">${next} = 18149</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.427127" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.429181" level="INFO">${current_port} = 18149</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:47.428303" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.317441" elapsed="0.111956"/>
</kw>
<msg time="2026-04-11T23:22:47.429481" level="INFO">Repeating keyword, round 320/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:47.431310" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:47.431204" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.431185" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.431717" level="INFO">${current_Date} = 2026-04-11 23:22:47.432</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:47.431511" elapsed="0.000232"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.432185" level="INFO">${ellapsed_seconds} = 2664.436</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:47.431886" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.432505" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:47.432280" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.432262" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:47.430970" elapsed="0.001677"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.433149" level="INFO">${number} = 320</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.432789" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.434563" level="INFO">${number} = 320</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.434218" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.436259" level="INFO">${device-port} = 18149</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.435647" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.438856" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:47.471452" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.471701" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.438594" elapsed="0.033168"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.472643" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:47.472776" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:47.471923" elapsed="0.001034">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:47.471879" elapsed="0.001174">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:47.438312" elapsed="0.035005">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:47.437919" elapsed="0.035535"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.474468" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18149 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:47.529409" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.529656" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.473958" elapsed="0.055757"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:47.529902" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:47.530746" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:47.437115" elapsed="0.093848"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:47.531550" elapsed="0.001792"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:47.436488" elapsed="0.097119"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:47.435245" elapsed="0.098512"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:47.434762" elapsed="0.099090"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.433782" elapsed="0.100190"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:47.433327" elapsed="0.100737"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.535193" level="INFO">${next} = 18150</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.534418" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.536495" level="INFO">${current_port} = 18150</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:47.535661" elapsed="0.000960"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.429920" elapsed="0.106830"/>
</kw>
<msg time="2026-04-11T23:22:47.536835" level="INFO">Repeating keyword, round 321/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:47.539035" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:47.538888" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.538862" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.539674" level="INFO">${current_Date} = 2026-04-11 23:22:47.539</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:47.539362" elapsed="0.000353"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.540339" level="INFO">${ellapsed_seconds} = 2664.329</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:47.539919" elapsed="0.000456"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.540813" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:47.540473" elapsed="0.000415"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.540447" elapsed="0.000473"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:47.538523" elapsed="0.002460"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.541708" level="INFO">${number} = 321</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.541182" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.543708" level="INFO">${number} = 321</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.543217" elapsed="0.000527"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.546097" level="INFO">${device-port} = 18150</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.545218" elapsed="0.000916"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.548673" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:47.579449" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.579702" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.548561" elapsed="0.031203"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.580652" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:47.580788" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:47.579929" elapsed="0.000962">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:47.579884" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:47.548295" elapsed="0.032954">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:47.547915" elapsed="0.033541"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.582485" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18150 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:47.637798" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.638029" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.581975" elapsed="0.056112"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:47.638314" elapsed="0.000171"/>
</return>
<msg time="2026-04-11T23:22:47.639209" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:47.547112" elapsed="0.092332"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:47.640120" elapsed="0.001912"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:47.546453" elapsed="0.095847"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:47.544746" elapsed="0.097710"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:47.543961" elapsed="0.098643"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.542604" elapsed="0.100138"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:47.541957" elapsed="0.100886"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.644034" level="INFO">${next} = 18151</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.643190" elapsed="0.000904"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.645383" level="INFO">${current_port} = 18151</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:47.644462" elapsed="0.001018"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.537247" elapsed="0.108409"/>
</kw>
<msg time="2026-04-11T23:22:47.645757" level="INFO">Repeating keyword, round 322/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:47.647480" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:47.647368" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.647349" elapsed="0.000198"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.647932" level="INFO">${current_Date} = 2026-04-11 23:22:47.648</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:47.647771" elapsed="0.000188"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.648415" level="INFO">${ellapsed_seconds} = 2664.22</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:47.648107" elapsed="0.000335"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.648780" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:47.648515" elapsed="0.000323"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.648494" elapsed="0.000368"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:47.647126" elapsed="0.001783"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.649430" level="INFO">${number} = 322</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.649057" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.651040" level="INFO">${number} = 322</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.650694" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.652790" level="INFO">${device-port} = 18151</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.652124" elapsed="0.000694"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.655313" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:47.687906" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.688121" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.655214" elapsed="0.032967"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.689071" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:47.689203" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:47.688340" elapsed="0.001050">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:47.688297" elapsed="0.001188">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:47.654940" elapsed="0.034840">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:47.654521" elapsed="0.035400"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.690931" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18151 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:47.745634" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.745838" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.690407" elapsed="0.055485"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:47.746077" elapsed="0.000164"/>
</return>
<msg time="2026-04-11T23:22:47.746915" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:47.653678" elapsed="0.093451"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:47.747744" elapsed="0.001737"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:47.653028" elapsed="0.096726"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:47.651777" elapsed="0.098116"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:47.651232" elapsed="0.098757"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.650178" elapsed="0.099932"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:47.649630" elapsed="0.100590"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.751338" level="INFO">${next} = 18152</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.750559" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.752789" level="INFO">${current_port} = 18152</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:47.751784" elapsed="0.001102"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.646189" elapsed="0.106822"/>
</kw>
<msg time="2026-04-11T23:22:47.753096" level="INFO">Repeating keyword, round 323/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:47.755326" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:47.755166" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.755137" elapsed="0.000282"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.755936" level="INFO">${current_Date} = 2026-04-11 23:22:47.756</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:47.755708" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.756658" level="INFO">${ellapsed_seconds} = 2664.112</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:47.756190" elapsed="0.000507"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.757139" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:47.756802" elapsed="0.000416"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.756775" elapsed="0.000477"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:47.754736" elapsed="0.002583"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.758085" level="INFO">${number} = 323</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.757531" elapsed="0.000593"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.760201" level="INFO">${number} = 323</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.759709" elapsed="0.000531"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.762780" level="INFO">${device-port} = 18152</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.761905" elapsed="0.000901"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.765205" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:47.799666" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.799881" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.765110" elapsed="0.034829"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.800832" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:47.800964" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:47.800100" elapsed="0.000967">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:47.800056" elapsed="0.001104">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:47.764842" elapsed="0.036581">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:47.764436" elapsed="0.037219"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.802651" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18152 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:47.857843" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.858048" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.802125" elapsed="0.055977"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:47.858312" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:47.859146" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:47.763645" elapsed="0.095717"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:47.859995" elapsed="0.001816"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:47.763012" elapsed="0.099033"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:47.761368" elapsed="0.100838"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:47.760469" elapsed="0.101833"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.759042" elapsed="0.103381"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:47.758366" elapsed="0.104151"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.863659" level="INFO">${next} = 18153</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.862884" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.864932" level="INFO">${current_port} = 18153</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:47.864068" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.753508" elapsed="0.111642"/>
</kw>
<msg time="2026-04-11T23:22:47.865234" level="INFO">Repeating keyword, round 324/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:47.867143" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:47.867037" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.867018" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.867494" level="INFO">${current_Date} = 2026-04-11 23:22:47.867</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:47.867345" elapsed="0.000175"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.868029" level="INFO">${ellapsed_seconds} = 2664.001</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:47.867724" elapsed="0.000331"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.868349" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:47.868124" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.868106" elapsed="0.000318"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:47.866800" elapsed="0.001669"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.868986" level="INFO">${number} = 324</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.868628" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.870399" level="INFO">${number} = 324</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.870050" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.872140" level="INFO">${device-port} = 18153</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.871410" elapsed="0.000757"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.874561" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:47.907949" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.908325" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.874466" elapsed="0.033923"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.909520" elapsed="0.000094"/>
</kw>
<msg time="2026-04-11T23:22:47.909697" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:47.908664" elapsed="0.001286">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:47.908560" elapsed="0.001491">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:47.874196" elapsed="0.036189">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:47.873802" elapsed="0.036734"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.911675" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18153 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:47.970302" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:47.970531" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.911094" elapsed="0.059534"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:47.970836" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:22:47.971731" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:47.872997" elapsed="0.098957"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:47.972614" elapsed="0.002245"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:47.872369" elapsed="0.102764"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:47.871076" elapsed="0.104252"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:47.870592" elapsed="0.104858"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.869612" elapsed="0.106044"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:47.869161" elapsed="0.106613"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.977285" level="INFO">${next} = 18154</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.976203" elapsed="0.001154"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.978818" level="INFO">${current_port} = 18154</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:47.977882" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.865674" elapsed="0.113253"/>
</kw>
<msg time="2026-04-11T23:22:47.978969" level="INFO">Repeating keyword, round 325/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:47.980180" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:47.980064" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.980042" elapsed="0.000202"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.980672" level="INFO">${current_Date} = 2026-04-11 23:22:47.981</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:47.980431" elapsed="0.000268"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:47.981197" level="INFO">${ellapsed_seconds} = 2663.887</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:47.980850" elapsed="0.000373"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:47.981546" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:47.981294" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:47.981275" elapsed="0.000369"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:47.979815" elapsed="0.001874"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.982212" level="INFO">${number} = 325</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.981833" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.983665" level="INFO">${number} = 325</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.983307" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:47.985380" level="INFO">${device-port} = 18154</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:47.984757" elapsed="0.000650"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:47.988231" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:48.024142" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.024370" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:47.987946" elapsed="0.036483"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.025364" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:48.025499" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:48.024644" elapsed="0.000999">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:48.024553" elapsed="0.001183">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:47.987669" elapsed="0.038346">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:47.987243" elapsed="0.039019"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.027259" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18154 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:48.081997" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.082230" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.026772" elapsed="0.055513"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:48.082474" elapsed="0.000200"/>
</return>
<msg time="2026-04-11T23:22:48.083317" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:47.986271" elapsed="0.097263"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:48.084171" elapsed="0.001817"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:47.985638" elapsed="0.100638"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:47.984363" elapsed="0.102057"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:47.983849" elapsed="0.102670"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.982858" elapsed="0.103791"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:47.982392" elapsed="0.104320"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.087390" level="INFO">${next} = 18155</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.086925" elapsed="0.000501"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.088212" level="INFO">${current_port} = 18155</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:48.087678" elapsed="0.000593"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:47.979187" elapsed="0.109161"/>
</kw>
<msg time="2026-04-11T23:22:48.088403" level="INFO">Repeating keyword, round 326/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:48.089981" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:48.089830" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.089801" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.090508" level="INFO">${current_Date} = 2026-04-11 23:22:48.090</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:48.090289" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.091208" level="INFO">${ellapsed_seconds} = 2663.778</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:48.090767" elapsed="0.000476"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.091756" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:48.091340" elapsed="0.000492"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.091314" elapsed="0.000549"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:48.089470" elapsed="0.002457"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.092644" level="INFO">${number} = 326</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.092124" elapsed="0.000557"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.094657" level="INFO">${number} = 326</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.094166" elapsed="0.000528"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.097035" level="INFO">${device-port} = 18155</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.096148" elapsed="0.000924"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.100144" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:48.136380" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.136636" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.099897" elapsed="0.036801"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.137558" elapsed="0.000085"/>
</kw>
<msg time="2026-04-11T23:22:48.137721" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:48.136864" elapsed="0.001042">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:48.136817" elapsed="0.001186">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:48.099625" elapsed="0.038673">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:48.099223" elapsed="0.039214"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.139420" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18155 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:48.193921" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.194170" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.138941" elapsed="0.055291"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:48.194427" elapsed="0.000189"/>
</return>
<msg time="2026-04-11T23:22:48.195269" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:48.098279" elapsed="0.097207"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:48.196156" elapsed="0.001815"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:48.097356" elapsed="0.100872"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:48.095673" elapsed="0.102697"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:48.094910" elapsed="0.103557"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.093512" elapsed="0.105105"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:48.092891" elapsed="0.105824"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.199830" level="INFO">${next} = 18156</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.199050" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.201110" level="INFO">${current_port} = 18156</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:48.200237" elapsed="0.000966"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.088700" elapsed="0.112630"/>
</kw>
<msg time="2026-04-11T23:22:48.201417" level="INFO">Repeating keyword, round 327/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:48.203235" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:48.203124" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.203105" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.203703" level="INFO">${current_Date} = 2026-04-11 23:22:48.204</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:48.203487" elapsed="0.000242"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.204187" level="INFO">${ellapsed_seconds} = 2663.664</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:48.203874" elapsed="0.000339"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.204520" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:48.204283" elapsed="0.000303"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.204264" elapsed="0.000347"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:48.202884" elapsed="0.001774"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.205160" level="INFO">${number} = 327</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.204802" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.206607" level="INFO">${number} = 327</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.206254" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.208297" level="INFO">${device-port} = 18156</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.207684" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.210979" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:48.247702" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.247916" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.210882" elapsed="0.037093"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.248877" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:48.249009" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:48.248139" elapsed="0.000976">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:48.248092" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:48.210436" elapsed="0.039039">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:48.210048" elapsed="0.039659"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.250721" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18156 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:48.306171" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.306380" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.250195" elapsed="0.056239"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:48.306673" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:48.307462" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:48.209217" elapsed="0.098505"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:48.308318" elapsed="0.001818"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:48.208600" elapsed="0.101769"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:48.207286" elapsed="0.103224"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:48.206790" elapsed="0.103851"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.205801" elapsed="0.104969"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:48.205336" elapsed="0.105526"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.311963" level="INFO">${next} = 18157</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.311194" elapsed="0.000827"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.313236" level="INFO">${current_port} = 18157</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:48.312369" elapsed="0.000959"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.201865" elapsed="0.111587"/>
</kw>
<msg time="2026-04-11T23:22:48.313536" level="INFO">Repeating keyword, round 328/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:48.315287" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:48.315180" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.315161" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.315695" level="INFO">${current_Date} = 2026-04-11 23:22:48.316</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:48.315489" elapsed="0.000233"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.316165" level="INFO">${ellapsed_seconds} = 2663.552</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:48.315866" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.316484" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:48.316260" elapsed="0.000276"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.316241" elapsed="0.000318"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:48.314944" elapsed="0.001677"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.317262" level="INFO">${number} = 328</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.316761" elapsed="0.000527"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.318700" level="INFO">${number} = 328</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.318336" elapsed="0.000390"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.320372" level="INFO">${device-port} = 18157</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.319765" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.322978" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:48.364098" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.364310" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.322882" elapsed="0.041485"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.365255" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:48.365383" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:48.364527" elapsed="0.001032">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:48.364483" elapsed="0.001202">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:48.322613" elapsed="0.043338">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:48.322051" elapsed="0.044064"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.367092" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18157 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:48.422340" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.422619" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.366605" elapsed="0.056077"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:48.422891" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:22:48.423747" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:48.321227" elapsed="0.102735"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:48.424564" elapsed="0.001868"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:48.320617" elapsed="0.106050"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:48.319366" elapsed="0.107393"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:48.318880" elapsed="0.107940"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.317885" elapsed="0.109011"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:48.317437" elapsed="0.109519"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.427665" level="INFO">${next} = 18158</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.427170" elapsed="0.000532"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.428448" level="INFO">${current_port} = 18158</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:48.427924" elapsed="0.000581"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.314091" elapsed="0.114531"/>
</kw>
<msg time="2026-04-11T23:22:48.428679" level="INFO">Repeating keyword, round 329/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:48.430256" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:48.430104" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.430077" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.430838" level="INFO">${current_Date} = 2026-04-11 23:22:48.431</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:48.430614" elapsed="0.000260"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.431510" level="INFO">${ellapsed_seconds} = 2663.437</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:48.431078" elapsed="0.000468"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.431990" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:48.431667" elapsed="0.000396"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.431641" elapsed="0.000454"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:48.429754" elapsed="0.002403"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.432946" level="INFO">${number} = 329</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.432355" elapsed="0.000627"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.434952" level="INFO">${number} = 329</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.434456" elapsed="0.000532"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.437281" level="INFO">${device-port} = 18158</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.436380" elapsed="0.000939"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.440324" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:48.471984" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.472200" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.440228" elapsed="0.032030"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.473158" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:48.473291" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:48.472421" elapsed="0.000973">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:48.472377" elapsed="0.001105">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:48.439958" elapsed="0.033824">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:48.439378" elapsed="0.034668"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.475039" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18158 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:48.530323" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.530525" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.474510" elapsed="0.056105"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:48.530805" elapsed="0.000138"/>
</return>
<msg time="2026-04-11T23:22:48.531566" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:48.438500" elapsed="0.093328"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:48.532409" elapsed="0.001798"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:48.437623" elapsed="0.096815"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:48.435912" elapsed="0.098690"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:48.435204" elapsed="0.099497"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.433833" elapsed="0.100987"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:48.433196" elapsed="0.101716"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.536004" level="INFO">${next} = 18159</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.535243" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.537302" level="INFO">${current_port} = 18159</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:48.536406" elapsed="0.000987"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.428949" elapsed="0.108566"/>
</kw>
<msg time="2026-04-11T23:22:48.537632" level="INFO">Repeating keyword, round 330/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:48.540077" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:48.539843" elapsed="0.000325"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.539801" elapsed="0.000415"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.540978" level="INFO">${current_Date} = 2026-04-11 23:22:48.541</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:48.540520" elapsed="0.000515"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.542090" level="INFO">${ellapsed_seconds} = 2663.327</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:48.541353" elapsed="0.000795"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.542766" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:48.542302" elapsed="0.000518"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.542260" elapsed="0.000583"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:48.539290" elapsed="0.003597"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.543381" level="INFO">${number} = 330</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.543027" elapsed="0.000380"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.544814" level="INFO">${number} = 330</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.544447" elapsed="0.000393"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.546458" level="INFO">${device-port} = 18159</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.545839" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.551643" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:48.580035" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.580253" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.551530" elapsed="0.028781"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.581315" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:48.581445" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:48.580471" elapsed="0.001178">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:48.580427" elapsed="0.001320">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:48.551252" elapsed="0.030780">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:48.548103" elapsed="0.034067"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.583140" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18159 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:48.637845" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.638096" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.582657" elapsed="0.055494"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:48.638347" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:48.639186" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:48.547302" elapsed="0.092101"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:48.640043" elapsed="0.001817"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:48.546702" elapsed="0.095409"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:48.545476" elapsed="0.096776"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:48.544994" elapsed="0.097355"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.544015" elapsed="0.098455"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:48.543557" elapsed="0.099005"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.643722" level="INFO">${next} = 18160</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.642939" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.644990" level="INFO">${current_port} = 18160</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:48.644127" elapsed="0.000955"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.538064" elapsed="0.107142"/>
</kw>
<msg time="2026-04-11T23:22:48.645290" level="INFO">Repeating keyword, round 331/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:48.647245" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:48.647135" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.647113" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.647714" level="INFO">${current_Date} = 2026-04-11 23:22:48.648</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:48.647490" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.648209" level="INFO">${ellapsed_seconds} = 2663.22</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:48.647885" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.648544" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:48.648304" elapsed="0.000308"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.648286" elapsed="0.000350"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:48.646893" elapsed="0.001788"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.649182" level="INFO">${number} = 331</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.648823" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.650622" level="INFO">${number} = 331</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.650271" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.652322" level="INFO">${device-port} = 18160</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.651709" elapsed="0.000640"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.654945" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:48.688503" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.688770" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.654847" elapsed="0.033984"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.689738" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:48.689898" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:48.688999" elapsed="0.001006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:48.688953" elapsed="0.001144">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:48.654386" elapsed="0.035983">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:48.654003" elapsed="0.036595"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.691559" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18160 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:48.746520" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.746786" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.691069" elapsed="0.055774"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:48.747037" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:48.747878" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:48.653180" elapsed="0.094917"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:48.748733" elapsed="0.001949"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:48.652552" elapsed="0.098279"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:48.651314" elapsed="0.099606"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:48.650815" elapsed="0.100165"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.649821" elapsed="0.101233"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:48.649359" elapsed="0.101753"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.751816" level="INFO">${next} = 18161</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.751324" elapsed="0.000529"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.752628" level="INFO">${current_port} = 18161</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:48.752075" elapsed="0.000613"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.645740" elapsed="0.107026"/>
</kw>
<msg time="2026-04-11T23:22:48.752818" level="INFO">Repeating keyword, round 332/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:48.754354" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:48.754205" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.754178" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.754873" level="INFO">${current_Date} = 2026-04-11 23:22:48.755</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:48.754661" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.755527" level="INFO">${ellapsed_seconds} = 2663.113</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:48.755110" elapsed="0.000452"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.755998" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:48.755682" elapsed="0.000389"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.755655" elapsed="0.000448"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:48.753874" elapsed="0.002291"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.756950" level="INFO">${number} = 332</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.756361" elapsed="0.000625"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.758943" level="INFO">${number} = 332</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.758452" elapsed="0.000528"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.761274" level="INFO">${device-port} = 18161</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.760358" elapsed="0.000953"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.764371" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:48.800347" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.800605" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.764090" elapsed="0.036582"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.801545" elapsed="0.000086"/>
</kw>
<msg time="2026-04-11T23:22:48.801710" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:48.800843" elapsed="0.001073">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:48.800796" elapsed="0.001218">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:48.763811" elapsed="0.038474">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:48.763407" elapsed="0.039019"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.803421" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18161 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:48.858184" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.858422" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.802934" elapsed="0.055543"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:48.858723" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:22:48.859536" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:48.762603" elapsed="0.097195"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:48.860412" elapsed="0.001866"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:48.761613" elapsed="0.100905"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:48.759886" elapsed="0.102812"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:48.759193" elapsed="0.103604"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.757831" elapsed="0.105089"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:48.757198" elapsed="0.105816"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.864149" level="INFO">${next} = 18162</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.863352" elapsed="0.000857"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.865491" level="INFO">${current_port} = 18162</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:48.864564" elapsed="0.001053"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.753078" elapsed="0.112670"/>
</kw>
<msg time="2026-04-11T23:22:48.865885" level="INFO">Repeating keyword, round 333/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:48.867926" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:48.867754" elapsed="0.000236"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.867667" elapsed="0.000354"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.868564" level="INFO">${current_Date} = 2026-04-11 23:22:48.868</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:48.868312" elapsed="0.000376"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.869390" level="INFO">${ellapsed_seconds} = 2663.0</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:48.868904" elapsed="0.000527"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.869934" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:48.869536" elapsed="0.000481"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.869509" elapsed="0.000544"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:48.867310" elapsed="0.002812"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.870904" level="INFO">${number} = 333</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.870333" elapsed="0.000610"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.872976" level="INFO">${number} = 333</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.872452" elapsed="0.000560"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.875259" level="INFO">${device-port} = 18162</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.874559" elapsed="0.000727"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.877716" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:48.912015" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.912235" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.877615" elapsed="0.034679"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.913205" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:48.913338" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:48.912458" elapsed="0.000987">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:48.912414" elapsed="0.001119">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:48.877328" elapsed="0.036582">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:48.876945" elapsed="0.037184"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.915160" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18162 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:48.969710" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:48.969940" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.914639" elapsed="0.055357"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:48.970187" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:48.971036" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:48.876125" elapsed="0.095132"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:48.971904" elapsed="0.001850"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:48.875491" elapsed="0.098519"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:48.874080" elapsed="0.100074"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:48.873231" elapsed="0.101020"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.871837" elapsed="0.102536"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:48.871175" elapsed="0.103291"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.975623" level="INFO">${next} = 18163</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.974833" elapsed="0.000853"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.976909" level="INFO">${current_port} = 18163</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:48.976040" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.866328" elapsed="0.110804"/>
</kw>
<msg time="2026-04-11T23:22:48.977217" level="INFO">Repeating keyword, round 334/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:48.979349" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:48.979240" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.979219" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.979785" level="INFO">${current_Date} = 2026-04-11 23:22:48.980</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:48.979555" elapsed="0.000257"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:48.980256" level="INFO">${ellapsed_seconds} = 2662.888</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:48.979956" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:48.980595" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:48.980352" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:48.980333" elapsed="0.000345"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:48.978993" elapsed="0.001732"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.981227" level="INFO">${number} = 334</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.980868" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.982682" level="INFO">${number} = 334</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.982327" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:48.984438" level="INFO">${device-port} = 18163</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:48.983735" elapsed="0.000730"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:48.986921" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:49.020150" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.020372" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:48.986822" elapsed="0.033609"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.021339" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:49.021472" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:49.020633" elapsed="0.001054">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:49.020551" elapsed="0.001286">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:48.986531" elapsed="0.035582">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:48.986141" elapsed="0.036111"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.023255" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18163 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:49.077796" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.078011" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.022770" elapsed="0.055296"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:49.078261" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:49.079116" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:48.985305" elapsed="0.094036"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:49.079989" elapsed="0.001969"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:48.984687" elapsed="0.097514"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:48.983357" elapsed="0.098989"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:48.982865" elapsed="0.099581"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.981880" elapsed="0.100717"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:48.981404" elapsed="0.101300"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.083838" level="INFO">${next} = 18164</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.083044" elapsed="0.000854"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.085227" level="INFO">${current_port} = 18164</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:49.084337" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:48.977662" elapsed="0.107785"/>
</kw>
<msg time="2026-04-11T23:22:49.085533" level="INFO">Repeating keyword, round 335/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:49.087375" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:49.087265" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.087245" elapsed="0.000195"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.087850" level="INFO">${current_Date} = 2026-04-11 23:22:49.088</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:49.087689" elapsed="0.000188"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.088328" level="INFO">${ellapsed_seconds} = 2662.78</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:49.088021" elapsed="0.000333"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.088685" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:49.088425" elapsed="0.000315"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.088406" elapsed="0.000357"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:49.087025" elapsed="0.001784"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.089312" level="INFO">${number} = 335</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.088953" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.090767" level="INFO">${number} = 335</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.090403" elapsed="0.000390"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.092463" level="INFO">${device-port} = 18164</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.091849" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.095018" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:49.131921" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.132138" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.094919" elapsed="0.037277"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.133102" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:49.133232" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:49.132358" elapsed="0.000980">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:49.132313" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:49.094646" elapsed="0.039126">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:49.094242" elapsed="0.039746"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.134988" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18164 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:49.189449" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.189711" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.134454" elapsed="0.055316"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:49.189960" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:49.190789" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:49.093413" elapsed="0.097594"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:49.191632" elapsed="0.001793"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:49.092788" elapsed="0.100923"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:49.091440" elapsed="0.102419"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:49.090948" elapsed="0.103007"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.089962" elapsed="0.104113"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:49.089490" elapsed="0.104678"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.195281" level="INFO">${next} = 18165</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.194504" elapsed="0.000835"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.196621" level="INFO">${current_port} = 18165</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:49.195750" elapsed="0.000968"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.086039" elapsed="0.110804"/>
</kw>
<msg time="2026-04-11T23:22:49.196928" level="INFO">Repeating keyword, round 336/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:49.199096" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:49.198988" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.198968" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.199450" level="INFO">${current_Date} = 2026-04-11 23:22:49.199</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:49.199299" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.199982" level="INFO">${ellapsed_seconds} = 2662.669</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:49.199677" elapsed="0.000330"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.200305" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:49.200077" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.200058" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:49.198740" elapsed="0.001684"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.200939" level="INFO">${number} = 336</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.200564" elapsed="0.000401"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.202359" level="INFO">${number} = 336</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.202026" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.204029" level="INFO">${device-port} = 18165</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.203378" elapsed="0.000678"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.206459" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:49.239557" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.239829" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.206363" elapsed="0.033527"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.240813" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:49.240947" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:49.240067" elapsed="0.001080">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:49.240016" elapsed="0.001228">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:49.206096" elapsed="0.035420">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:49.205709" elapsed="0.036001"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.242732" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18165 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:49.297466" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.297748" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.242185" elapsed="0.055623"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:49.298010" elapsed="0.000154"/>
</return>
<msg time="2026-04-11T23:22:49.298871" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:49.204892" elapsed="0.094203"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:49.299741" elapsed="0.001821"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:49.204264" elapsed="0.097604"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:49.203042" elapsed="0.098973"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:49.202537" elapsed="0.099577"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.201552" elapsed="0.100688"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:49.201114" elapsed="0.101222"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.303470" level="INFO">${next} = 18166</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.302711" elapsed="0.000947"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.305047" level="INFO">${current_port} = 18166</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:49.304033" elapsed="0.001113"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.197339" elapsed="0.107938"/>
</kw>
<msg time="2026-04-11T23:22:49.305365" level="INFO">Repeating keyword, round 337/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:49.307438" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:49.307286" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.307259" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.308017" level="INFO">${current_Date} = 2026-04-11 23:22:49.308</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:49.307795" elapsed="0.000259"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.308724" level="INFO">${ellapsed_seconds} = 2662.56</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:49.308257" elapsed="0.000504"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.309186" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:49.308862" elapsed="0.000401"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.308836" elapsed="0.000460"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:49.306953" elapsed="0.002407"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.310104" level="INFO">${number} = 337</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.309562" elapsed="0.000578"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.312100" level="INFO">${number} = 337</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.311633" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.314435" level="INFO">${device-port} = 18166</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.313530" elapsed="0.000942"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.318112" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:49.347794" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.348015" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.317763" elapsed="0.030311"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.348978" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:49.349110" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:49.348240" elapsed="0.000975">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:49.348195" elapsed="0.001109">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:49.317342" elapsed="0.032261">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:49.316804" elapsed="0.033038"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.350837" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18166 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:49.405346" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.405606" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.350304" elapsed="0.055385"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:49.405891" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:49.406743" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:49.315647" elapsed="0.091317"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:49.407601" elapsed="0.001881"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:49.314778" elapsed="0.094999"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:49.313060" elapsed="0.096863"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:49.312354" elapsed="0.097666"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.311001" elapsed="0.099142"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:49.310355" elapsed="0.099883"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.411370" level="INFO">${next} = 18167</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.410610" elapsed="0.000819"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.412866" level="INFO">${current_port} = 18167</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:49.411987" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.305866" elapsed="0.107222"/>
</kw>
<msg time="2026-04-11T23:22:49.413173" level="INFO">Repeating keyword, round 338/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:49.415127" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:49.415019" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.414999" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.415480" level="INFO">${current_Date} = 2026-04-11 23:22:49.415</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:49.415329" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.416012" level="INFO">${ellapsed_seconds} = 2662.453</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:49.415707" elapsed="0.000331"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.416333" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:49.416108" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.416089" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:49.414779" elapsed="0.001675"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.416978" level="INFO">${number} = 338</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.416613" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.418391" level="INFO">${number} = 338</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.418058" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.420060" level="INFO">${device-port} = 18167</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.419406" elapsed="0.000681"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.422650" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:49.459688" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.459919" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.422387" elapsed="0.037591"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.460895" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:49.461029" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:49.460148" elapsed="0.001072">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:49.460100" elapsed="0.001218">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:49.422117" elapsed="0.039549">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:49.421730" elapsed="0.040085"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.462768" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18167 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:49.518154" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.518358" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.462283" elapsed="0.056130"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:49.518645" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:22:49.519449" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:49.420909" elapsed="0.098802"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:49.520306" elapsed="0.001842"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:49.420288" elapsed="0.102097"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:49.419069" elapsed="0.103459"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:49.418583" elapsed="0.104076"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.417619" elapsed="0.105166"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:49.417155" elapsed="0.105723"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.523985" level="INFO">${next} = 18168</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.523215" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.525260" level="INFO">${current_port} = 18168</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:49.524393" elapsed="0.000959"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.413661" elapsed="0.111817"/>
</kw>
<msg time="2026-04-11T23:22:49.525563" level="INFO">Repeating keyword, round 339/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:49.527554" elapsed="0.000100"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:49.527404" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.527376" elapsed="0.000350"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.528189" level="INFO">${current_Date} = 2026-04-11 23:22:49.528</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:49.527971" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.528948" level="INFO">${ellapsed_seconds} = 2662.34</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:49.528433" elapsed="0.000551"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.529399" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:49.529081" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.529056" elapsed="0.000448"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:49.527075" elapsed="0.002518"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.530297" level="INFO">${number} = 339</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.529797" elapsed="0.000536"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.532280" level="INFO">${number} = 339</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.531813" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.534735" level="INFO">${device-port} = 18168</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.533849" elapsed="0.001057"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.538503" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:49.571925" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.572141" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.538370" elapsed="0.033829"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.573098" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:49.573230" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:49.572360" elapsed="0.000973">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:49.572316" elapsed="0.001106">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:49.537778" elapsed="0.035986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:49.537191" elapsed="0.036780"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.574963" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18168 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:49.629669" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.629870" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.574432" elapsed="0.055493"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:49.630110" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:49.630942" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:49.536066" elapsed="0.095088"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:49.631783" elapsed="0.002094"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:49.535189" elapsed="0.098995"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:49.533241" elapsed="0.101091"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:49.532533" elapsed="0.101895"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.531182" elapsed="0.103368"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:49.530545" elapsed="0.104135"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.636045" level="INFO">${next} = 18169</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.635234" elapsed="0.000869"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.637329" level="INFO">${current_port} = 18169</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:49.636455" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.526056" elapsed="0.111653"/>
</kw>
<msg time="2026-04-11T23:22:49.637808" level="INFO">Repeating keyword, round 340/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:49.639779" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:49.639626" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.639599" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.640268" level="INFO">${current_Date} = 2026-04-11 23:22:49.640</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:49.640059" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.640936" level="INFO">${ellapsed_seconds} = 2662.228</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:49.640502" elapsed="0.000470"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.641379" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:49.641069" elapsed="0.000383"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.641043" elapsed="0.000440"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:49.639274" elapsed="0.002291"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.642315" level="INFO">${number} = 340</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.641818" elapsed="0.000534"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.644415" level="INFO">${number} = 340</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.643953" elapsed="0.000498"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.646750" level="INFO">${device-port} = 18169</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.645878" elapsed="0.000909"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.650410" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:49.683785" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.684003" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.650253" elapsed="0.033810"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.684977" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:49.685137" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:49.684227" elapsed="0.001118">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:49.684182" elapsed="0.001272">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:49.649871" elapsed="0.035906">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:49.649055" elapsed="0.036867"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.686913" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18169 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:49.741659" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.741862" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.686386" elapsed="0.055531"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:49.742106" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:49.743073" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:49.647932" elapsed="0.095360"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:49.743919" elapsed="0.001846"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:49.647068" elapsed="0.098936"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:49.645362" elapsed="0.100784"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:49.644686" elapsed="0.101556"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.643322" elapsed="0.103042"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:49.642560" elapsed="0.103895"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.747548" level="INFO">${next} = 18170</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.746819" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.748919" level="INFO">${current_port} = 18170</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:49.748017" elapsed="0.000996"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.638226" elapsed="0.110912"/>
</kw>
<msg time="2026-04-11T23:22:49.749222" level="INFO">Repeating keyword, round 341/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:49.751281" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:49.751173" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.751154" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.751769" level="INFO">${current_Date} = 2026-04-11 23:22:49.752</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:49.751519" elapsed="0.000277"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.752251" level="INFO">${ellapsed_seconds} = 2662.116</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:49.751942" elapsed="0.000335"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.752591" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:49.752347" elapsed="0.000299"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.752329" elapsed="0.000341"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:49.750937" elapsed="0.001778"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.753214" level="INFO">${number} = 341</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.752857" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.754714" level="INFO">${number} = 341</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.754367" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.756343" level="INFO">${device-port} = 18170</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.755743" elapsed="0.000627"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.758934" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:49.796038" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.796255" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.758839" elapsed="0.037474"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.797206" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:49.797338" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:49.796474" elapsed="0.000967">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:49.796430" elapsed="0.001171">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:49.758556" elapsed="0.039317">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:49.758002" elapsed="0.040072"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.799070" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18170 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:49.854116" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.854322" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.798543" elapsed="0.055833"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:49.854564" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:22:49.855401" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:49.757195" elapsed="0.098466"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:49.856262" elapsed="0.001833"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:49.756588" elapsed="0.101752"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:49.755383" elapsed="0.103103"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:49.754896" elapsed="0.103729"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.753875" elapsed="0.104881"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:49.753391" elapsed="0.105464"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.859972" level="INFO">${next} = 18171</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.859193" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.861250" level="INFO">${current_port} = 18171</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:49.860375" elapsed="0.000968"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.749904" elapsed="0.111611"/>
</kw>
<msg time="2026-04-11T23:22:49.861642" level="INFO">Repeating keyword, round 342/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:49.863426" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:49.863269" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.863242" elapsed="0.000272"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.863969" level="INFO">${current_Date} = 2026-04-11 23:22:49.864</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:49.863757" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.864645" level="INFO">${ellapsed_seconds} = 2662.004</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:49.864204" elapsed="0.000478"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.865098" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:49.864779" elapsed="0.000392"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.864753" elapsed="0.000451"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:49.862926" elapsed="0.002341"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.865999" level="INFO">${number} = 342</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.865478" elapsed="0.000557"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.868036" level="INFO">${number} = 342</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.867548" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.870374" level="INFO">${device-port} = 18171</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.869475" elapsed="0.000937"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.876312" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:49.908021" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.908236" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.876212" elapsed="0.032082"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.909192" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:49.909322" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:49.908455" elapsed="0.001155">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:49.908411" elapsed="0.001306">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:49.875927" elapsed="0.034065">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:49.872726" elapsed="0.037405"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.911117" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18171 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:49.965966" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:49.966167" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.910634" elapsed="0.055587"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:49.966411" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:49.967245" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:49.871590" elapsed="0.095877"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:49.968103" elapsed="0.001850"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:49.870717" elapsed="0.099471"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:49.868984" elapsed="0.101346"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:49.868287" elapsed="0.102139"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.866930" elapsed="0.103618"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:49.866242" elapsed="0.104438"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.971804" level="INFO">${next} = 18172</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.971019" elapsed="0.000845"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.973078" level="INFO">${current_port} = 18172</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:49.972216" elapsed="0.000955"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.862100" elapsed="0.111196"/>
</kw>
<msg time="2026-04-11T23:22:49.973379" level="INFO">Repeating keyword, round 343/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:49.975158" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:49.975011" elapsed="0.000204"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.974985" elapsed="0.000259"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.975776" level="INFO">${current_Date} = 2026-04-11 23:22:49.976</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:49.975480" elapsed="0.000333"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:49.976430" level="INFO">${ellapsed_seconds} = 2661.892</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:49.976013" elapsed="0.000453"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:49.976906" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:49.976563" elapsed="0.000417"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:49.976538" elapsed="0.000473"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:49.974683" elapsed="0.002391"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.977808" level="INFO">${number} = 343</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.977270" elapsed="0.000574"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.979834" level="INFO">${number} = 343</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.979295" elapsed="0.000576"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:49.982385" level="INFO">${device-port} = 18172</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:49.981329" elapsed="0.001093"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:49.985997" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.020290" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.020508" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:49.985897" elapsed="0.034669"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.021481" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:50.021643" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.020771" elapsed="0.000978">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.020726" elapsed="0.001112">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:49.985238" elapsed="0.036862">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:49.984707" elapsed="0.037609"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.023310" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18172 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:50.082271" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.082480" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.022827" elapsed="0.059708"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:50.082773" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:50.083609" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:49.983591" elapsed="0.100244"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:50.084439" elapsed="0.001839"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:49.982727" elapsed="0.103785"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:49.980786" elapsed="0.105902"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:49.980086" elapsed="0.106698"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.978687" elapsed="0.108218"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:49.978052" elapsed="0.108946"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.088097" level="INFO">${next} = 18173</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.087331" elapsed="0.000824"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.089457" level="INFO">${current_port} = 18173</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:50.088503" elapsed="0.001050"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:49.973874" elapsed="0.115839"/>
</kw>
<msg time="2026-04-11T23:22:50.089798" level="INFO">Repeating keyword, round 344/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:50.091348" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:50.091200" elapsed="0.000205"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.091173" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.091865" level="INFO">${current_Date} = 2026-04-11 23:22:50.092</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:50.091653" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.092519" level="INFO">${ellapsed_seconds} = 2661.776</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:50.092101" elapsed="0.000454"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.093052" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:50.092734" elapsed="0.000391"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.092707" elapsed="0.000450"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:50.090872" elapsed="0.002347"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.094213" level="INFO">${number} = 344</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.093543" elapsed="0.000706"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.096195" level="INFO">${number} = 344</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.095733" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.098613" level="INFO">${device-port} = 18173</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.097686" elapsed="0.000965"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.102162" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.135923" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.136143" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.101892" elapsed="0.034309"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.137099" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:50.137230" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.136364" elapsed="0.001070">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.136321" elapsed="0.001209">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:50.101495" elapsed="0.036337">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:50.100927" elapsed="0.037048"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.138968" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18173 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:50.194173" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.194380" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.138438" elapsed="0.055996"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:50.194674" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:50.195463" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:50.099804" elapsed="0.095924"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:50.196325" elapsed="0.001831"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:50.098937" elapsed="0.099457"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:50.097173" elapsed="0.101367"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:50.096447" elapsed="0.102224"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.095103" elapsed="0.103694"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:50.094460" elapsed="0.104430"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.200003" level="INFO">${next} = 18174</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.199226" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.201294" level="INFO">${current_port} = 18174</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:50.200411" elapsed="0.001021"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.090090" elapsed="0.111471"/>
</kw>
<msg time="2026-04-11T23:22:50.201679" level="INFO">Repeating keyword, round 345/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:50.203285" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:50.203137" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.203111" elapsed="0.000262"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.203913" level="INFO">${current_Date} = 2026-04-11 23:22:50.204</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:50.203699" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.204589" level="INFO">${ellapsed_seconds} = 2661.664</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:50.204155" elapsed="0.000473"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.205176" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:50.204728" elapsed="0.000523"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.204702" elapsed="0.000581"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:50.202809" elapsed="0.002557"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.206090" level="INFO">${number} = 345</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.205586" elapsed="0.000540"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.208124" level="INFO">${number} = 345</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.207657" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.210592" level="INFO">${device-port} = 18174</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.209711" elapsed="0.000922"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.213932" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.247877" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.248096" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.213836" elapsed="0.034318"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.249055" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:50.249187" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.248318" elapsed="0.000973">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.248273" elapsed="0.001152">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:50.213470" elapsed="0.036258">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:50.212906" elapsed="0.037031"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.250941" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18174 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:50.305922" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.306129" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.250407" elapsed="0.055777"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:50.306377" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:50.307228" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:50.211786" elapsed="0.095661"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:50.308090" elapsed="0.001841"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:50.210918" elapsed="0.099247"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:50.209189" elapsed="0.101123"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:50.208376" elapsed="0.102033"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.206974" elapsed="0.103557"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:50.206335" elapsed="0.104325"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.311793" level="INFO">${next} = 18175</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.311000" elapsed="0.000852"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.313080" level="INFO">${current_port} = 18175</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:50.312205" elapsed="0.000970"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.202028" elapsed="0.111293"/>
</kw>
<msg time="2026-04-11T23:22:50.313412" level="INFO">Repeating keyword, round 346/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:50.315295" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:50.315188" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.315169" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.315708" level="INFO">${current_Date} = 2026-04-11 23:22:50.316</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:50.315497" elapsed="0.000238"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.316183" level="INFO">${ellapsed_seconds} = 2661.552</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:50.315879" elapsed="0.000329"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.316506" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:50.316278" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.316259" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:50.314949" elapsed="0.001694"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.317143" level="INFO">${number} = 346</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.316785" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.318590" level="INFO">${number} = 346</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.318239" elapsed="0.000379"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.320340" level="INFO">${device-port} = 18175</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.319723" elapsed="0.000643"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.322944" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.355968" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.356186" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.322846" elapsed="0.033398"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.357145" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:50.357275" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.356406" elapsed="0.001079">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.356362" elapsed="0.001251">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:50.322558" elapsed="0.035332">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:50.322019" elapsed="0.036010"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.359034" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18175 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:50.413456" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.413703" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.358500" elapsed="0.055259"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:50.413949" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:50.414776" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:50.321193" elapsed="0.093804"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:50.415630" elapsed="0.001809"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:50.320585" elapsed="0.097124"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:50.319268" elapsed="0.098585"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:50.318776" elapsed="0.099175"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.317796" elapsed="0.100276"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:50.317335" elapsed="0.100831"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.419278" level="INFO">${next} = 18176</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.418505" elapsed="0.000832"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.420715" level="INFO">${current_port} = 18176</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:50.419843" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.313858" elapsed="0.107080"/>
</kw>
<msg time="2026-04-11T23:22:50.421024" level="INFO">Repeating keyword, round 347/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:50.423733" elapsed="0.000038"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:50.423365" elapsed="0.000466"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.423324" elapsed="0.000556"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.424712" level="INFO">${current_Date} = 2026-04-11 23:22:50.425</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:50.424332" elapsed="0.000439"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.425791" level="INFO">${ellapsed_seconds} = 2661.443</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:50.425094" elapsed="0.000724"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.426114" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:50.425888" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.425869" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:50.422840" elapsed="0.003394"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.426750" level="INFO">${number} = 347</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.426376" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.428175" level="INFO">${number} = 347</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.427840" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.429929" level="INFO">${device-port} = 18176</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.429209" elapsed="0.000747"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.432335" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.463937" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.464156" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.432239" elapsed="0.031975"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.465117" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:50.465699" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.464377" elapsed="0.001568">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.464332" elapsed="0.001743">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:50.431970" elapsed="0.034437">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:50.431581" elapsed="0.035092"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.467734" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18176 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:50.521842" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.522053" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.467175" elapsed="0.054933"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:50.522305" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:50.523153" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:50.430783" elapsed="0.092591"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:50.524019" elapsed="0.001856"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:50.430159" elapsed="0.095950"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:50.428867" elapsed="0.097385"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:50.428357" elapsed="0.097993"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.427365" elapsed="0.099107"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:50.426927" elapsed="0.099674"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.527741" level="INFO">${next} = 18177</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.526949" elapsed="0.000852"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.529041" level="INFO">${current_port} = 18177</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:50.528154" elapsed="0.000982"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.421456" elapsed="0.107899"/>
</kw>
<msg time="2026-04-11T23:22:50.529451" level="INFO">Repeating keyword, round 348/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:50.532060" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:50.531822" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.531779" elapsed="0.000420"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.532884" level="INFO">${current_Date} = 2026-04-11 23:22:50.533</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:50.532511" elapsed="0.000431"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.533922" level="INFO">${ellapsed_seconds} = 2661.335</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:50.533312" elapsed="0.000636"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.534250" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:50.534019" elapsed="0.000284"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.534001" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:50.531261" elapsed="0.003111"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.534889" level="INFO">${number} = 348</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.534513" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.536296" level="INFO">${number} = 348</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.535965" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.537956" level="INFO">${device-port} = 18177</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.537327" elapsed="0.000656"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.540429" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.567854" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.568072" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.540332" elapsed="0.027799"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.569030" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:50.569160" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.568293" elapsed="0.001104">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.568250" elapsed="0.001248">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:50.540062" elapsed="0.029749">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:50.539675" elapsed="0.030277"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.570958" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18177 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:50.629789" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.629993" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.570419" elapsed="0.059628"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:50.630236" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:50.631071" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:50.538855" elapsed="0.092433"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:50.631919" elapsed="0.001846"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:50.538189" elapsed="0.095812"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:50.536978" elapsed="0.097166"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:50.536476" elapsed="0.097765"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.535503" elapsed="0.098861"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:50.535065" elapsed="0.099393"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.635561" level="INFO">${next} = 18178</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.634824" elapsed="0.000849"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.636894" level="INFO">${current_port} = 18178</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:50.636028" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.530002" elapsed="0.107116"/>
</kw>
<msg time="2026-04-11T23:22:50.637227" level="INFO">Repeating keyword, round 349/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:50.639840" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:50.639438" elapsed="0.000495"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.639397" elapsed="0.000585"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.640745" level="INFO">${current_Date} = 2026-04-11 23:22:50.641</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:50.640368" elapsed="0.000436"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.641861" level="INFO">${ellapsed_seconds} = 2661.227</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:50.641127" elapsed="0.000793"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.642618" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:50.642077" elapsed="0.000664"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.642037" elapsed="0.000755"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:50.638912" elapsed="0.003983"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.644070" level="INFO">${number} = 349</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.643211" elapsed="0.000918"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.646674" level="INFO">${number} = 349</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.646313" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.648323" level="INFO">${device-port} = 18178</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.647709" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.650931" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.675299" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.675437" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.650689" elapsed="0.024784"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.676037" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:50.676120" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.675599" elapsed="0.000586">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.675547" elapsed="0.000694">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:50.650404" elapsed="0.026001">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:50.650019" elapsed="0.026514"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.677149" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18178 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:50.733431" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.733593" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.676844" elapsed="0.056787"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:50.733755" elapsed="0.000095"/>
</return>
<msg time="2026-04-11T23:22:50.734248" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:50.649205" elapsed="0.085179"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:50.734790" elapsed="0.001115"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:50.648552" elapsed="0.087498"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:50.647345" elapsed="0.088795"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:50.646857" elapsed="0.089345"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.645541" elapsed="0.090737"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:50.644466" elapsed="0.091872"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.737034" level="INFO">${next} = 18179</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.736548" elapsed="0.000523"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.737861" level="INFO">${current_port} = 18179</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:50.737309" elapsed="0.000611"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.637669" elapsed="0.100330"/>
</kw>
<msg time="2026-04-11T23:22:50.738053" level="INFO">Repeating keyword, round 350/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:50.739661" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:50.739440" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.739413" elapsed="0.000340"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.740167" level="INFO">${current_Date} = 2026-04-11 23:22:50.740</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:50.739953" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.740847" level="INFO">${ellapsed_seconds} = 2661.128</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:50.740402" elapsed="0.000481"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.741312" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:50.740979" elapsed="0.000407"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.740954" elapsed="0.000464"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:50.739111" elapsed="0.002369"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.742197" level="INFO">${number} = 350</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.741697" elapsed="0.000536"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.744247" level="INFO">${number} = 350</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.743780" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.746339" level="INFO">${device-port} = 18179</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.745740" elapsed="0.000626"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.748902" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.782994" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.783131" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.748655" elapsed="0.034513"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.783735" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:50.783818" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.783269" elapsed="0.000668">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.783241" elapsed="0.000757">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:50.748372" elapsed="0.035798">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:50.747992" elapsed="0.036266"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.784881" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18179 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:50.841333" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.841465" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.784548" elapsed="0.056952"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:50.841646" elapsed="0.000090"/>
</return>
<msg time="2026-04-11T23:22:50.842130" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:50.747192" elapsed="0.095072"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:50.842666" elapsed="0.001106"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:50.746584" elapsed="0.097333"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:50.745241" elapsed="0.098765"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:50.744496" elapsed="0.099570"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.743079" elapsed="0.101062"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:50.742443" elapsed="0.101757"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.844888" level="INFO">${next} = 18180</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.844408" elapsed="0.000517"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.845708" level="INFO">${current_port} = 18180</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:50.845166" elapsed="0.000602"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.738317" elapsed="0.107529"/>
</kw>
<msg time="2026-04-11T23:22:50.845989" level="INFO">Repeating keyword, round 351/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:50.847504" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:50.847355" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.847328" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.848071" level="INFO">${current_Date} = 2026-04-11 23:22:50.848</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:50.847859" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.848746" level="INFO">${ellapsed_seconds} = 2661.02</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:50.848307" elapsed="0.000476"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.849210" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:50.848881" elapsed="0.000404"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.848855" elapsed="0.000461"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:50.847029" elapsed="0.002349"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.850098" level="INFO">${number} = 351</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.849595" elapsed="0.000539"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.852160" level="INFO">${number} = 351</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.851692" elapsed="0.000505"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.854269" level="INFO">${device-port} = 18180</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.853643" elapsed="0.000653"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.856954" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.891441" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.891598" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.856855" elapsed="0.034781"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.892172" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:50.892255" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.891739" elapsed="0.000580">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.891710" elapsed="0.000664">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:50.856424" elapsed="0.036114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:50.856045" elapsed="0.036641"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.893303" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18180 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:50.949611" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.949761" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.892977" elapsed="0.056819"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:50.949924" elapsed="0.000100"/>
</return>
<msg time="2026-04-11T23:22:50.950424" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:50.855236" elapsed="0.095321"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:50.951115" elapsed="0.001136"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:50.854628" elapsed="0.097768"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:50.853146" elapsed="0.099340"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:50.852410" elapsed="0.100138"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.851067" elapsed="0.101582"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:50.850344" elapsed="0.102366"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.953415" level="INFO">${next} = 18181</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.952922" elapsed="0.000529"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.954221" level="INFO">${current_port} = 18181</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:50.953695" elapsed="0.000584"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.846245" elapsed="0.108113"/>
</kw>
<msg time="2026-04-11T23:22:50.954413" level="INFO">Repeating keyword, round 352/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:50.956017" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:50.955866" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.955838" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.956522" level="INFO">${current_Date} = 2026-04-11 23:22:50.956</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:50.956305" elapsed="0.000253"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:50.957229" level="INFO">${ellapsed_seconds} = 2660.912</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:50.956781" elapsed="0.000484"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:50.957702" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:50.957362" elapsed="0.000415"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:50.957337" elapsed="0.000472"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:50.955482" elapsed="0.002390"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.958590" level="INFO">${number} = 352</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.958073" elapsed="0.000555"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.960727" level="INFO">${number} = 352</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.960227" elapsed="0.000540"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:50.962734" level="INFO">${device-port} = 18181</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:50.962101" elapsed="0.000660"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:50.965349" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:50.999621" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:50.999757" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:50.965251" elapsed="0.034541"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.000329" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:22:51.000410" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:50.999895" elapsed="0.000633">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:50.999867" elapsed="0.000741">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:50.964967" elapsed="0.035818">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:50.964389" elapsed="0.036485"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.001485" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18181 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:51.057643" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.057771" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.001183" elapsed="0.056622"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:51.057922" elapsed="0.000090"/>
</return>
<msg time="2026-04-11T23:22:51.058406" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:50.963591" elapsed="0.094950"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:51.058937" elapsed="0.001112"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:50.962965" elapsed="0.097231"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:50.961731" elapsed="0.098552"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:50.960983" elapsed="0.099360"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.959452" elapsed="0.100966"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:50.958843" elapsed="0.101633"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.061184" level="INFO">${next} = 18182</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.060707" elapsed="0.000514"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.061988" level="INFO">${current_port} = 18182</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:51.061437" elapsed="0.000609"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:50.954705" elapsed="0.107419"/>
</kw>
<msg time="2026-04-11T23:22:51.062177" level="INFO">Repeating keyword, round 353/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:51.063748" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:51.063541" elapsed="0.000265"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.063516" elapsed="0.000320"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.064299" level="INFO">${current_Date} = 2026-04-11 23:22:51.064</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:51.064085" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.064986" level="INFO">${ellapsed_seconds} = 2660.804</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:51.064535" elapsed="0.000487"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.065450" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:51.065138" elapsed="0.000386"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.065112" elapsed="0.000443"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:51.063214" elapsed="0.002426"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.066341" level="INFO">${number} = 353</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.065840" elapsed="0.000537"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.068390" level="INFO">${number} = 353</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.067925" elapsed="0.000502"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.070498" level="INFO">${device-port} = 18182</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.069888" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.073130" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:51.107530" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.107696" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.073015" elapsed="0.034722"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.108463" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:51.108546" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:51.107846" elapsed="0.000785">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:51.107813" elapsed="0.000877">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:51.072746" elapsed="0.036114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:51.072173" elapsed="0.036818"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.109643" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18182 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:51.165712" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.165844" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.109304" elapsed="0.056574"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:51.165994" elapsed="0.000090"/>
</return>
<msg time="2026-04-11T23:22:51.166481" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:51.071355" elapsed="0.095294"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:51.167020" elapsed="0.001105"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:51.070749" elapsed="0.097522"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:51.069454" elapsed="0.098907"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:51.068662" elapsed="0.099759"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.067226" elapsed="0.101270"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:51.066608" elapsed="0.101948"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.169269" level="INFO">${next} = 18183</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.168789" elapsed="0.000517"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.170070" level="INFO">${current_port} = 18183</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:51.169524" elapsed="0.000604"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.062433" elapsed="0.107772"/>
</kw>
<msg time="2026-04-11T23:22:51.170259" level="INFO">Repeating keyword, round 354/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:51.171846" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:51.171691" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.171664" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.172340" level="INFO">${current_Date} = 2026-04-11 23:22:51.172</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:51.172131" elapsed="0.000246"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.173031" level="INFO">${ellapsed_seconds} = 2660.696</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:51.172594" elapsed="0.000474"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.173480" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:51.173166" elapsed="0.000387"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.173140" elapsed="0.000467"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:51.171297" elapsed="0.002376"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.174405" level="INFO">${number} = 354</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.173870" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.176476" level="INFO">${number} = 354</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.176004" elapsed="0.000509"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.178522" level="INFO">${device-port} = 18183</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.177905" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.183366" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:51.215364" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.215499" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.183268" elapsed="0.032267"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.216101" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:51.216182" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:51.215664" elapsed="0.000636">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:51.215634" elapsed="0.000727">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:51.182985" elapsed="0.033542">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:51.180202" elapsed="0.036434"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.217248" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18183 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:51.273590" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.273719" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.216927" elapsed="0.056826"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:51.273871" elapsed="0.000090"/>
</return>
<msg time="2026-04-11T23:22:51.274355" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:51.179383" elapsed="0.095123"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:51.274906" elapsed="0.001137"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:51.178771" elapsed="0.097419"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:51.177459" elapsed="0.098821"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:51.176747" elapsed="0.099593"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.175291" elapsed="0.101124"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:51.174675" elapsed="0.101798"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.277189" level="INFO">${next} = 18184</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.276704" elapsed="0.000522"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.277994" level="INFO">${current_port} = 18184</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:51.277443" elapsed="0.000609"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.170517" elapsed="0.107613"/>
</kw>
<msg time="2026-04-11T23:22:51.278182" level="INFO">Repeating keyword, round 355/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:51.279846" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:51.279546" elapsed="0.000359"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.279520" elapsed="0.000414"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.280391" level="INFO">${current_Date} = 2026-04-11 23:22:51.280</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:51.280173" elapsed="0.000254"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.281106" level="INFO">${ellapsed_seconds} = 2660.588</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:51.280652" elapsed="0.000491"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.281562" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:51.281240" elapsed="0.000418"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.281215" elapsed="0.000475"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:51.279219" elapsed="0.002535"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.282448" level="INFO">${number} = 355</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.281951" elapsed="0.000533"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.284492" level="INFO">${number} = 355</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.284027" elapsed="0.000502"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.286536" level="INFO">${device-port} = 18184</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.285924" elapsed="0.000638"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.289244" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:51.323643" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.323788" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.289148" elapsed="0.034677"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.324381" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:22:51.324463" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:51.323935" elapsed="0.000595">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:51.323903" elapsed="0.000713">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:51.288607" elapsed="0.036191">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:51.288211" elapsed="0.036722"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.325553" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18184 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:51.381442" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.381594" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.325248" elapsed="0.056383"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:51.381751" elapsed="0.000092"/>
</return>
<msg time="2026-04-11T23:22:51.382245" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:51.287401" elapsed="0.094977"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:51.382776" elapsed="0.001114"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:51.286790" elapsed="0.097248"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:51.285497" elapsed="0.098631"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:51.284770" elapsed="0.099419"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.283326" elapsed="0.100940"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:51.282714" elapsed="0.101611"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.385040" level="INFO">${next} = 18185</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.384536" elapsed="0.000541"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.385842" level="INFO">${current_port} = 18185</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:51.385298" elapsed="0.000603"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.278440" elapsed="0.107539"/>
</kw>
<msg time="2026-04-11T23:22:51.386032" level="INFO">Repeating keyword, round 356/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:51.387553" elapsed="0.000088"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:51.387405" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.387379" elapsed="0.000333"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.388123" level="INFO">${current_Date} = 2026-04-11 23:22:51.388</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:51.387910" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.388803" level="INFO">${ellapsed_seconds} = 2660.48</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:51.388358" elapsed="0.000481"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.389271" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:51.388951" elapsed="0.000393"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.388910" elapsed="0.000466"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:51.387078" elapsed="0.002361"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.390164" level="INFO">${number} = 356</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.389660" elapsed="0.000540"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.392206" level="INFO">${number} = 356</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.391741" elapsed="0.000501"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.394404" level="INFO">${device-port} = 18185</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.393713" elapsed="0.000718"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.397039" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:51.431523" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.431685" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.396756" elapsed="0.034966"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.432259" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:51.432340" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:51.431825" elapsed="0.000625">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:51.431798" elapsed="0.000712">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:51.396471" elapsed="0.036228">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:51.396090" elapsed="0.036698"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.433393" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18185 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:51.489863" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.489990" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.433092" elapsed="0.056931"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:51.490140" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:22:51.490661" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:51.395263" elapsed="0.095539"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:51.491168" elapsed="0.001120"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:51.394656" elapsed="0.097778"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:51.393213" elapsed="0.099311"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:51.392458" elapsed="0.100149"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.391048" elapsed="0.101639"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:51.390412" elapsed="0.102333"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.493427" level="INFO">${next} = 18186</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.492967" elapsed="0.000497"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.494231" level="INFO">${current_port} = 18186</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:51.493703" elapsed="0.000586"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.386292" elapsed="0.108075"/>
</kw>
<msg time="2026-04-11T23:22:51.494420" level="INFO">Repeating keyword, round 357/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:51.495977" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:51.495827" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.495801" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.496528" level="INFO">${current_Date} = 2026-04-11 23:22:51.496</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:51.496315" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.497505" level="INFO">${ellapsed_seconds} = 2660.372</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:51.496791" elapsed="0.000757"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.498014" elapsed="0.000035"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:51.497677" elapsed="0.000418"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.497650" elapsed="0.000477"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:51.495455" elapsed="0.002737"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.498913" level="INFO">${number} = 357</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.498390" elapsed="0.000559"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.501027" level="INFO">${number} = 357</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.500504" elapsed="0.000560"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.503015" level="INFO">${device-port} = 18186</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.502378" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.505473" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:51.539659" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.539802" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.505371" elapsed="0.034468"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.540535" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:51.540646" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:51.540092" elapsed="0.000621">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:51.540061" elapsed="0.000708">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:51.505100" elapsed="0.035856">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:51.504691" elapsed="0.036418"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.541750" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18186 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:51.598332" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.598539" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.541408" elapsed="0.057224"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:51.598825" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:51.599652" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:51.503877" elapsed="0.095989"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:51.600451" elapsed="0.001853"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:51.503247" elapsed="0.099296"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:51.502036" elapsed="0.100720"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:51.501408" elapsed="0.101447"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.499888" elapsed="0.103090"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:51.499160" elapsed="0.103911"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.604203" level="INFO">${next} = 18187</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.603408" elapsed="0.000854"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.605633" level="INFO">${current_port} = 18187</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:51.604741" elapsed="0.000988"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.494699" elapsed="0.111156"/>
</kw>
<msg time="2026-04-11T23:22:51.605940" level="INFO">Repeating keyword, round 358/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:51.608126" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:51.608018" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.607997" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.608486" level="INFO">${current_Date} = 2026-04-11 23:22:51.608</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:51.608331" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.609012" level="INFO">${ellapsed_seconds} = 2660.26</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:51.608689" elapsed="0.000349"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.609339" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:51.609108" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.609089" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:51.607772" elapsed="0.001686"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.609977" level="INFO">${number} = 358</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.609617" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.611403" level="INFO">${number} = 358</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.611064" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.613089" level="INFO">${device-port} = 18187</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.612432" elapsed="0.000684"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.615539" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:51.651984" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.652202" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.615442" elapsed="0.036819"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.653181" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:51.653312" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:51.652422" elapsed="0.001080">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:51.652378" elapsed="0.001252">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:51.615168" elapsed="0.038738">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:51.614777" elapsed="0.039270"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.655044" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18187 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:51.709813" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.710023" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.654512" elapsed="0.055567"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:51.710272" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:51.711113" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:51.613951" elapsed="0.097383"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:51.711983" elapsed="0.001860"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:51.613319" elapsed="0.100763"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:51.612093" elapsed="0.102135"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:51.611598" elapsed="0.102729"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.610611" elapsed="0.103839"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:51.610156" elapsed="0.104387"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.715706" level="INFO">${next} = 18188</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.714912" elapsed="0.000857"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.717032" level="INFO">${current_port} = 18188</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:51.716122" elapsed="0.001007"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.606352" elapsed="0.110904"/>
</kw>
<msg time="2026-04-11T23:22:51.717340" level="INFO">Repeating keyword, round 359/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:51.718701" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:51.718591" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.718557" elapsed="0.000208"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.719102" level="INFO">${current_Date} = 2026-04-11 23:22:51.719</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:51.718946" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.719633" level="INFO">${ellapsed_seconds} = 2660.149</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:51.719272" elapsed="0.000389"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.719964" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:51.719733" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.719714" elapsed="0.000326"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:51.718340" elapsed="0.001746"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.720603" level="INFO">${number} = 359</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.720228" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.722036" level="INFO">${number} = 359</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.721696" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.723747" level="INFO">${device-port} = 18188</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.723071" elapsed="0.000703"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.726184" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:51.763696" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.763924" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.726086" elapsed="0.037898"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.764933" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:22:51.765070" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:51.764154" elapsed="0.001022">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:51.764105" elapsed="0.001161">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:51.725816" elapsed="0.039722">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:51.725416" elapsed="0.040376"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.766803" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18188 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:51.821223" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.821427" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.766263" elapsed="0.055219"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:51.821710" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:22:51.822493" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:51.724604" elapsed="0.098147"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:51.823345" elapsed="0.001817"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:51.723977" elapsed="0.101417"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:51.722729" elapsed="0.102811"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:51.722217" elapsed="0.103457"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.721240" elapsed="0.104558"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:51.720783" elapsed="0.105110"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.827001" level="INFO">${next} = 18189</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.826231" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.828336" level="INFO">${current_port} = 18189</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:51.827412" elapsed="0.001019"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.717787" elapsed="0.110770"/>
</kw>
<msg time="2026-04-11T23:22:51.828679" level="INFO">Repeating keyword, round 360/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:51.831179" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:51.830941" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.830898" elapsed="0.000421"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.832327" level="INFO">${current_Date} = 2026-04-11 23:22:51.832</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:51.831920" elapsed="0.000471"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.833483" level="INFO">${ellapsed_seconds} = 2660.036</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:51.832800" elapsed="0.000742"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.834245" elapsed="0.000047"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:51.833733" elapsed="0.000630"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.833689" elapsed="0.000727"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:51.830374" elapsed="0.004142"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.835745" level="INFO">${number} = 360</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.834870" elapsed="0.000935"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.839055" level="INFO">${number} = 360</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.838284" elapsed="0.000830"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.842253" level="INFO">${device-port} = 18189</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.841381" elapsed="0.000899"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.844841" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:51.871322" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.871538" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.844731" elapsed="0.026900"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.872484" elapsed="0.000053"/>
</kw>
<msg time="2026-04-11T23:22:51.872643" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:51.871800" elapsed="0.001048">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:51.871751" elapsed="0.001194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:51.844447" elapsed="0.028765">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:51.843926" elapsed="0.029425"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.874333" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18189 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:51.929439" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.929687" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.873852" elapsed="0.055893"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:51.929935" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:51.930759" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:51.843110" elapsed="0.087867"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:51.931567" elapsed="0.001849"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:51.842481" elapsed="0.091206"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:51.840562" elapsed="0.093272"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:51.839456" elapsed="0.094476"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.837277" elapsed="0.096777"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:51.836146" elapsed="0.098000"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.935262" level="INFO">${next} = 18190</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.934480" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.936618" level="INFO">${current_port} = 18190</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:51.935744" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.829117" elapsed="0.107775"/>
</kw>
<msg time="2026-04-11T23:22:51.936979" level="INFO">Repeating keyword, round 361/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:51.940248" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:51.940090" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.940063" elapsed="0.000280"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.940958" level="INFO">${current_Date} = 2026-04-11 23:22:51.941</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:51.940700" elapsed="0.000296"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:51.941647" level="INFO">${ellapsed_seconds} = 2659.927</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:51.941200" elapsed="0.000485"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.942110" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:51.941784" elapsed="0.000401"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:51.941759" elapsed="0.000458"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:51.939732" elapsed="0.002548"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.943048" level="INFO">${number} = 361</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.942478" elapsed="0.000606"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.945196" level="INFO">${number} = 361</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.944711" elapsed="0.000521"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:51.947548" level="INFO">${device-port} = 18190</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:51.946673" elapsed="0.000934"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.951042" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:51.979839" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:51.980059" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.950779" elapsed="0.029338"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:51.981062" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:51.981196" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:51.980281" elapsed="0.001030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:51.980236" elapsed="0.001166">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:51.950488" elapsed="0.031213">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:51.949942" elapsed="0.032066"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:51.983020" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18190 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:52.042000" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.042234" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:51.982483" elapsed="0.059808"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:52.042493" elapsed="0.000204"/>
</return>
<msg time="2026-04-11T23:22:52.043353" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:51.948800" elapsed="0.094813"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:52.044232" elapsed="0.001898"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:51.947892" elapsed="0.098478"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:51.946162" elapsed="0.100356"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:51.945449" elapsed="0.101202"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.944072" elapsed="0.102709"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:51.943297" elapsed="0.103581"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.048018" level="INFO">${next} = 18191</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.047220" elapsed="0.000859"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.049350" level="INFO">${current_port} = 18191</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:52.048439" elapsed="0.001006"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:51.937482" elapsed="0.112120"/>
</kw>
<msg time="2026-04-11T23:22:52.049696" level="INFO">Repeating keyword, round 362/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:52.052305" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:52.052048" elapsed="0.000351"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.052004" elapsed="0.000444"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.053190" level="INFO">${current_Date} = 2026-04-11 23:22:52.053</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:52.052840" elapsed="0.000409"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.054049" level="INFO">${ellapsed_seconds} = 2659.815</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:52.053600" elapsed="0.000475"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.054378" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:52.054146" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.054126" elapsed="0.000329"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:52.051392" elapsed="0.003108"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.055022" level="INFO">${number} = 362</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.054656" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.056471" level="INFO">${number} = 362</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.056137" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.058297" level="INFO">${device-port} = 18191</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.057506" elapsed="0.000818"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.060914" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:52.095769" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.096004" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.060646" elapsed="0.035420"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.097019" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:52.097153" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:52.096238" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:52.096191" elapsed="0.001256">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:52.060364" elapsed="0.037391">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:52.059980" elapsed="0.037920"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.098915" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18191 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:52.153773" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.153997" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.098368" elapsed="0.055687"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:52.154255" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:52.155118" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:52.059162" elapsed="0.096178"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:52.155990" elapsed="0.001885"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:52.058528" elapsed="0.099588"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:52.057171" elapsed="0.101087"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:52.056665" elapsed="0.101688"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.055698" elapsed="0.102776"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:52.055199" elapsed="0.103367"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.159744" level="INFO">${next} = 18192</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.158941" elapsed="0.000864"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.161091" level="INFO">${current_port} = 18192</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:52.160160" elapsed="0.001025"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.050128" elapsed="0.111182"/>
</kw>
<msg time="2026-04-11T23:22:52.161393" level="INFO">Repeating keyword, round 363/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:52.164085" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:52.163841" elapsed="0.000337"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.163796" elapsed="0.000431"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.165033" level="INFO">${current_Date} = 2026-04-11 23:22:52.165</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:52.164645" elapsed="0.000447"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.165932" level="INFO">${ellapsed_seconds} = 2659.703</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:52.165417" elapsed="0.000541"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.166256" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:52.166028" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.166010" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:52.163157" elapsed="0.003219"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.166895" level="INFO">${number} = 363</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.166519" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.168310" level="INFO">${number} = 363</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.167975" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.170135" level="INFO">${device-port} = 18192</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.169356" elapsed="0.000806"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.172717" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:52.203659" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.203878" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.172610" elapsed="0.031326"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.204847" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:52.204981" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:52.204098" elapsed="0.000988">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:52.204053" elapsed="0.001122">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:52.172179" elapsed="0.033259">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:52.171799" elapsed="0.033878"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.206679" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18192 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:52.265503" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.265749" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.206150" elapsed="0.059654"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:52.265995" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:52.266825" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:52.170991" elapsed="0.096053"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:52.267673" elapsed="0.001790"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:52.170364" elapsed="0.099366"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:52.169015" elapsed="0.100860"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:52.168491" elapsed="0.101479"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.167511" elapsed="0.102580"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:52.167072" elapsed="0.103113"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.271283" level="INFO">${next} = 18193</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.270519" elapsed="0.000822"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.272664" level="INFO">${current_port} = 18193</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:52.271756" elapsed="0.001007"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.161903" elapsed="0.110985"/>
</kw>
<msg time="2026-04-11T23:22:52.272973" level="INFO">Repeating keyword, round 364/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:52.274800" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:52.274651" elapsed="0.000206"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.274623" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.275289" level="INFO">${current_Date} = 2026-04-11 23:22:52.275</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:52.275082" elapsed="0.000243"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.276031" level="INFO">${ellapsed_seconds} = 2659.593</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:52.275522" elapsed="0.000545"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.276477" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:52.276165" elapsed="0.000384"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.276138" elapsed="0.000464"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:52.274302" elapsed="0.002379"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.277372" level="INFO">${number} = 364</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.276878" elapsed="0.000530"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.279344" level="INFO">${number} = 364</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.278879" elapsed="0.000501"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.281718" level="INFO">${device-port} = 18193</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.280844" elapsed="0.000911"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.285493" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:52.315552" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.315802" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.285360" elapsed="0.030500"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.316757" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:52.316890" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:52.316025" elapsed="0.001046">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:52.315980" elapsed="0.001187">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:52.284982" elapsed="0.032448">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:52.284164" elapsed="0.033434"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.318545" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18193 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:52.373342" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.373543" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.318065" elapsed="0.055573"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:52.373829" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:52.374653" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:52.282920" elapsed="0.091954"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:52.375467" elapsed="0.001814"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:52.282036" elapsed="0.095481"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:52.280330" elapsed="0.097363"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:52.279643" elapsed="0.098147"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.278250" elapsed="0.099660"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:52.277637" elapsed="0.100364"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.379104" level="INFO">${next} = 18194</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.378332" elapsed="0.000832"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.380414" level="INFO">${current_port} = 18194</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:52.379512" elapsed="0.000996"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.273388" elapsed="0.107761"/>
</kw>
<msg time="2026-04-11T23:22:52.381266" level="INFO">Repeating keyword, round 365/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:52.383991" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:52.383744" elapsed="0.000340"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.383697" elapsed="0.000435"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.384971" level="INFO">${current_Date} = 2026-04-11 23:22:52.385</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:52.384551" elapsed="0.000479"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.385898" level="INFO">${ellapsed_seconds} = 2659.483</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:52.385356" elapsed="0.000568"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.386223" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:52.385995" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.385976" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:52.383089" elapsed="0.003256"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.386897" level="INFO">${number} = 365</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.386500" elapsed="0.000423"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.388301" level="INFO">${number} = 365</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.387969" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.389966" level="INFO">${device-port} = 18194</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.389335" elapsed="0.000657"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.392682" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:52.419657" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.419874" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.392548" elapsed="0.027383"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.420971" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:52.421104" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:52.420203" elapsed="0.001004">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:52.420048" elapsed="0.001247">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:52.392270" elapsed="0.029286">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:52.391709" elapsed="0.030101"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.422805" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18194 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:52.481687" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.481889" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.422277" elapsed="0.059665"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:52.482131" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:52.482973" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:52.390820" elapsed="0.092372"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:52.483823" elapsed="0.001817"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:52.390196" elapsed="0.095680"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:52.388997" elapsed="0.097021"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:52.388481" elapsed="0.097633"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.387514" elapsed="0.098721"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:52.387074" elapsed="0.099255"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.487427" level="INFO">${next} = 18195</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.486698" elapsed="0.000787"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.488791" level="INFO">${current_port} = 18195</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:52.487890" elapsed="0.000963"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.381803" elapsed="0.107129"/>
</kw>
<msg time="2026-04-11T23:22:52.488984" level="INFO">Repeating keyword, round 366/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:52.490508" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:52.490351" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.490324" elapsed="0.000293"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.491028" level="INFO">${current_Date} = 2026-04-11 23:22:52.491</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:52.490813" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.491766" level="INFO">${ellapsed_seconds} = 2659.377</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:52.491264" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.492213" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:52.491899" elapsed="0.000386"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.491873" elapsed="0.000444"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:52.490017" elapsed="0.002362"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.493104" level="INFO">${number} = 366</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.492607" elapsed="0.000533"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.495074" level="INFO">${number} = 366</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.494598" elapsed="0.000512"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.497515" level="INFO">${device-port} = 18195</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.496651" elapsed="0.000902"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.503209" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:52.531851" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.532066" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.503112" elapsed="0.029013"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.533035" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:52.533165" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:52.532288" elapsed="0.001061">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:52.532242" elapsed="0.001203">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:52.502831" elapsed="0.030911">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:52.499870" elapsed="0.034014"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.534864" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18195 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:52.589426" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.589666" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.534338" elapsed="0.055386"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:52.589911" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:52.590728" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:52.498735" elapsed="0.092214"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:52.591533" elapsed="0.001801"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:52.497861" elapsed="0.095736"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:52.496048" elapsed="0.097700"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:52.495322" elapsed="0.098526"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.493977" elapsed="0.099995"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:52.493348" elapsed="0.100718"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.595174" level="INFO">${next} = 18196</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.594399" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.596475" level="INFO">${current_port} = 18196</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:52.595641" elapsed="0.001004"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.489244" elapsed="0.107526"/>
</kw>
<msg time="2026-04-11T23:22:52.596812" level="INFO">Repeating keyword, round 367/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:52.597892" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:52.597787" elapsed="0.000146"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.597768" elapsed="0.000186"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.598286" level="INFO">${current_Date} = 2026-04-11 23:22:52.598</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:52.598134" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.598768" level="INFO">${ellapsed_seconds} = 2659.27</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:52.598454" elapsed="0.000340"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.599087" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:52.598863" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.598845" elapsed="0.000317"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:52.597536" elapsed="0.001671"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.599777" level="INFO">${number} = 367</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.599348" elapsed="0.000455"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.601187" level="INFO">${number} = 367</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.600859" elapsed="0.000354"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.602841" level="INFO">${device-port} = 18196</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.602203" elapsed="0.000665"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.605502" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:52.647799" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.648015" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.605407" elapsed="0.042666"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.648979" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:52.649111" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:52.648237" elapsed="0.000977">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:52.648193" elapsed="0.001110">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:52.604970" elapsed="0.044627">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:52.604586" elapsed="0.045220"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.650803" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18196 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:52.709116" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.709322" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.650273" elapsed="0.059103"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:52.709610" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:22:52.710409" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:52.603767" elapsed="0.106901"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:52.711271" elapsed="0.001875"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:52.603072" elapsed="0.110223"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:52.601867" elapsed="0.111518"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:52.601364" elapsed="0.112082"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.600388" elapsed="0.113135"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:52.599952" elapsed="0.113651"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.714271" level="INFO">${next} = 18197</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.713814" elapsed="0.000493"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.715077" level="INFO">${current_port} = 18197</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:52.714523" elapsed="0.000612"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.596996" elapsed="0.118218"/>
</kw>
<msg time="2026-04-11T23:22:52.715268" level="INFO">Repeating keyword, round 368/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:52.716814" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:52.716661" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.716635" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.717302" level="INFO">${current_Date} = 2026-04-11 23:22:52.717</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:52.717095" elapsed="0.000243"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.717971" level="INFO">${ellapsed_seconds} = 2659.151</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:52.717536" elapsed="0.000471"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.718418" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:52.718103" elapsed="0.000389"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.718078" elapsed="0.000446"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:52.716300" elapsed="0.002363"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.719363" level="INFO">${number} = 368</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.718866" elapsed="0.000533"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.721340" level="INFO">${number} = 368</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.720880" elapsed="0.000497"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.723709" level="INFO">${device-port} = 18197</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.722839" elapsed="0.000907"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.726659" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:52.763924" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.764139" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.726381" elapsed="0.037816"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.765113" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:52.765244" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:52.764358" elapsed="0.001069">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:52.764314" elapsed="0.001207">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:52.726116" elapsed="0.039702">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:52.725736" elapsed="0.040223"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.766944" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18197 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:52.821549" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.821783" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.766417" elapsed="0.055420"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:52.822026" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:52.822852" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:52.724932" elapsed="0.098138"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:52.823693" elapsed="0.001792"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:52.724029" elapsed="0.101728"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:52.722282" elapsed="0.103620"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:52.721608" elapsed="0.104391"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.720236" elapsed="0.105885"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:52.719628" elapsed="0.106586"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.827318" level="INFO">${next} = 18198</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.826551" elapsed="0.000826"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.828699" level="INFO">${current_port} = 18198</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:52.827785" elapsed="0.001004"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.715523" elapsed="0.113346"/>
</kw>
<msg time="2026-04-11T23:22:52.828922" level="INFO">Repeating keyword, round 369/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:52.830439" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:52.830290" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.830264" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.831001" level="INFO">${current_Date} = 2026-04-11 23:22:52.831</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:52.830788" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.831741" level="INFO">${ellapsed_seconds} = 2659.037</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:52.831240" elapsed="0.000538"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.832195" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:52.831876" elapsed="0.000394"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.831850" elapsed="0.000451"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:52.829960" elapsed="0.002405"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.833114" level="INFO">${number} = 369</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.832605" elapsed="0.000545"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.835216" level="INFO">${number} = 369</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.834749" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.837679" level="INFO">${device-port} = 18198</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.836810" elapsed="0.000907"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.840975" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:52.871812" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.872026" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.840880" elapsed="0.031204"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.872998" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:52.873131" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:52.872246" elapsed="0.000989">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:52.872201" elapsed="0.001121">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:52.840523" elapsed="0.033091">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:52.839962" elapsed="0.033864"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.874836" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18198 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:52.933352" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.933560" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.874298" elapsed="0.059355"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:52.933844" elapsed="0.000243"/>
</return>
<msg time="2026-04-11T23:22:52.934764" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:52.838858" elapsed="0.096120"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:52.935563" elapsed="0.001799"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:52.838001" elapsed="0.099625"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:52.836203" elapsed="0.101572"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:52.835466" elapsed="0.102406"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.834114" elapsed="0.103879"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:52.833383" elapsed="0.104705"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.939204" level="INFO">${next} = 18199</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.938424" elapsed="0.000839"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.940535" level="INFO">${current_port} = 18199</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:52.939671" elapsed="0.000992"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.829181" elapsed="0.111616"/>
</kw>
<msg time="2026-04-11T23:22:52.940882" level="INFO">Repeating keyword, round 370/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:52.943391" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:52.943154" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.943112" elapsed="0.000421"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.944315" level="INFO">${current_Date} = 2026-04-11 23:22:52.944</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:52.943977" elapsed="0.000396"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:52.945082" level="INFO">${ellapsed_seconds} = 2658.924</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:52.944776" elapsed="0.000332"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.945403" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:52.945177" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:52.945158" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:52.942544" elapsed="0.002979"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.946039" level="INFO">${number} = 370</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.945680" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.947645" level="INFO">${number} = 370</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.947270" elapsed="0.000402"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:52.949298" level="INFO">${device-port} = 18199</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:52.948691" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.951714" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:52.984186" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:52.984420" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.951617" elapsed="0.032863"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:52.985373" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:52.985502" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:52.984679" elapsed="0.001055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:52.984632" elapsed="0.001201">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:52.951335" elapsed="0.034768">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:52.950952" elapsed="0.035289"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:52.987239" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18199 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:53.042120" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.042360" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:52.986755" elapsed="0.055666"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:53.042676" elapsed="0.000160"/>
</return>
<msg time="2026-04-11T23:22:53.043702" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:52.950148" elapsed="0.093790"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:53.044644" elapsed="0.001955"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:52.949528" elapsed="0.097332"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:52.948314" elapsed="0.098700"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:52.947826" elapsed="0.099295"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.946830" elapsed="0.100427"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:52.946214" elapsed="0.101147"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.048642" level="INFO">${next} = 18200</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.047770" elapsed="0.000940"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.050042" level="INFO">${current_port} = 18200</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:53.049092" elapsed="0.001054"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:52.941296" elapsed="0.108989"/>
</kw>
<msg time="2026-04-11T23:22:53.050378" level="INFO">Repeating keyword, round 371/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:53.052994" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:53.052884" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.052865" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.053401" level="INFO">${current_Date} = 2026-04-11 23:22:53.053</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:53.053245" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.053895" level="INFO">${ellapsed_seconds} = 2658.815</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:53.053589" elapsed="0.000332"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.054219" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:53.053991" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.053973" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:53.052401" elapsed="0.001941"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.054871" level="INFO">${number} = 371</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.054484" elapsed="0.000414"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.056333" level="INFO">${number} = 371</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.055998" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.058020" level="INFO">${device-port} = 18200</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.057376" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.060547" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:53.091816" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.092045" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.060450" elapsed="0.031658"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.093101" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:53.093243" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:53.092283" elapsed="0.001074">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:53.092235" elapsed="0.001219">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:53.060167" elapsed="0.033608">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:53.059784" elapsed="0.034214"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.095071" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18200 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:53.149912" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.150115" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.094500" elapsed="0.055670"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:53.150356" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:53.151172" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:53.058977" elapsed="0.092408"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:53.152013" elapsed="0.001817"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:53.058342" elapsed="0.095722"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:53.057036" elapsed="0.097171"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:53.056531" elapsed="0.097773"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.055496" elapsed="0.098930"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:53.055051" elapsed="0.099468"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.155663" level="INFO">${next} = 18201</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.154888" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.156973" level="INFO">${current_port} = 18201</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:53.156075" elapsed="0.000994"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.050865" elapsed="0.106416"/>
</kw>
<msg time="2026-04-11T23:22:53.157376" level="INFO">Repeating keyword, round 372/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:53.159073" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:53.158924" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.158897" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.159644" level="INFO">${current_Date} = 2026-04-11 23:22:53.159</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:53.159360" elapsed="0.000326"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.160329" level="INFO">${ellapsed_seconds} = 2658.709</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:53.159891" elapsed="0.000475"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.160810" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:53.160464" elapsed="0.000420"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.160438" elapsed="0.000478"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:53.158593" elapsed="0.002386"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.161701" level="INFO">${number} = 372</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.161176" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.163910" level="INFO">${number} = 372</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.163345" elapsed="0.000601"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.166240" level="INFO">${device-port} = 18201</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.165358" elapsed="0.000920"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.169426" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:53.200108" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.200341" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.169331" elapsed="0.031069"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.201287" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:53.201418" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:53.200563" elapsed="0.001075">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:53.200519" elapsed="0.001218">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:53.169064" elapsed="0.032937">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:53.168600" elapsed="0.033539"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.203121" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18201 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:53.257420" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.257603" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.202637" elapsed="0.055007"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:53.257784" elapsed="0.000107"/>
</return>
<msg time="2026-04-11T23:22:53.258367" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:53.167421" elapsed="0.091100"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:53.258973" elapsed="0.001262"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:53.166557" elapsed="0.093861"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:53.164889" elapsed="0.095623"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:53.164161" elapsed="0.096436"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.162734" elapsed="0.097949"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:53.162098" elapsed="0.098644"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.261979" level="INFO">${next} = 18202</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.261105" elapsed="0.000938"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.263543" level="INFO">${current_port} = 18202</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:53.262447" elapsed="0.001294"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.157812" elapsed="0.106071"/>
</kw>
<msg time="2026-04-11T23:22:53.263977" level="INFO">Repeating keyword, round 373/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:53.265825" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:53.265710" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.265689" elapsed="0.000203"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.266258" level="INFO">${current_Date} = 2026-04-11 23:22:53.266</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:53.266092" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.266778" level="INFO">${ellapsed_seconds} = 2658.602</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:53.266442" elapsed="0.000364"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.267115" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:53.266879" elapsed="0.000291"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.266859" elapsed="0.000335"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:53.265438" elapsed="0.001802"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.267836" level="INFO">${number} = 373</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.267391" elapsed="0.000472"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.269322" level="INFO">${number} = 373</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.268977" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.271130" level="INFO">${device-port} = 18202</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.270417" elapsed="0.000742"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.273850" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:53.311944" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.312184" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.273581" elapsed="0.038694"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.313303" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:53.313454" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:53.312461" elapsed="0.001154">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:53.312411" elapsed="0.001309">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:53.273286" elapsed="0.040747">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:53.272890" elapsed="0.041376"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.315386" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18202 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:53.369971" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.370182" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.314832" elapsed="0.055406"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:53.370433" elapsed="0.000192"/>
</return>
<msg time="2026-04-11T23:22:53.371320" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:53.272029" elapsed="0.099514"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:53.372213" elapsed="0.001943"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:53.271375" elapsed="0.103025"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:53.270057" elapsed="0.104491"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:53.269522" elapsed="0.105162"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.268504" elapsed="0.106307"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:53.268018" elapsed="0.106903"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.376108" level="INFO">${next} = 18203</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.375283" elapsed="0.000886"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.377559" level="INFO">${current_port} = 18203</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:53.376680" elapsed="0.001009"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.264795" elapsed="0.113025"/>
</kw>
<msg time="2026-04-11T23:22:53.377909" level="INFO">Repeating keyword, round 374/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:53.380625" elapsed="0.000037"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:53.380346" elapsed="0.000380"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.380298" elapsed="0.000478"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.381136" level="INFO">${current_Date} = 2026-04-11 23:22:53.381</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:53.380972" elapsed="0.000192"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.381638" level="INFO">${ellapsed_seconds} = 2658.487</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:53.381312" elapsed="0.000353"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.381969" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:53.381737" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.381717" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:53.379731" elapsed="0.002367"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.382632" level="INFO">${number} = 374</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.382245" elapsed="0.000414"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.384153" level="INFO">${number} = 374</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.383795" elapsed="0.000386"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.385885" level="INFO">${device-port} = 18203</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.385227" elapsed="0.000685"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.388550" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:53.420251" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.420490" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.388296" elapsed="0.032259"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.421500" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:53.421680" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:53.420791" elapsed="0.001078">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:53.420739" elapsed="0.001230">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:53.387996" elapsed="0.034240">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:53.387600" elapsed="0.034779"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.423415" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18203 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:53.477439" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.477685" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.422918" elapsed="0.054826"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:53.477944" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:53.478823" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:53.386765" elapsed="0.092280"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:53.479699" elapsed="0.001938"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:53.386118" elapsed="0.095764"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:53.384874" elapsed="0.097154"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:53.384356" elapsed="0.097769"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.383284" elapsed="0.098962"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:53.382815" elapsed="0.099526"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.483487" level="INFO">${next} = 18204</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.482727" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.484896" level="INFO">${current_port} = 18204</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:53.483986" elapsed="0.000973"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.378340" elapsed="0.106700"/>
</kw>
<msg time="2026-04-11T23:22:53.485095" level="INFO">Repeating keyword, round 375/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:53.486702" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:53.486510" elapsed="0.000253"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.486483" elapsed="0.000311"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.487273" level="INFO">${current_Date} = 2026-04-11 23:22:53.487</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:53.487045" elapsed="0.000265"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.488038" level="INFO">${ellapsed_seconds} = 2658.381</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:53.487515" elapsed="0.000560"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.488518" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:53.488177" elapsed="0.000458"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.488150" elapsed="0.000526"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:53.486174" elapsed="0.002569"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.489460" level="INFO">${number} = 375</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.488949" elapsed="0.000548"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.491528" level="INFO">${number} = 375</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.491048" elapsed="0.000518"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.494008" level="INFO">${device-port} = 18204</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.493081" elapsed="0.000965"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.497488" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:53.527735" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.527959" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.497388" elapsed="0.030629"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.528973" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:53.529110" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:53.528205" elapsed="0.001010">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:53.528137" elapsed="0.001185">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:53.496966" elapsed="0.032666">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:53.496434" elapsed="0.033414"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.530885" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18204 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:53.585504" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.585778" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.530323" elapsed="0.055517"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:53.586052" elapsed="0.000216"/>
</return>
<msg time="2026-04-11T23:22:53.587168" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:53.495240" elapsed="0.092241"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:53.588221" elapsed="0.001911"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:53.494338" elapsed="0.096052"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:53.492588" elapsed="0.097957"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:53.491853" elapsed="0.098830"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.490391" elapsed="0.100418"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:53.489760" elapsed="0.101148"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.592071" level="INFO">${next} = 18205</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.591248" elapsed="0.000884"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.593444" level="INFO">${current_port} = 18205</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:53.592539" elapsed="0.001006"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.485360" elapsed="0.108352"/>
</kw>
<msg time="2026-04-11T23:22:53.593804" level="INFO">Repeating keyword, round 376/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:53.596496" elapsed="0.000037"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:53.596232" elapsed="0.000399"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.596135" elapsed="0.000551"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.597062" level="INFO">${current_Date} = 2026-04-11 23:22:53.597</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:53.596904" elapsed="0.000184"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.597545" level="INFO">${ellapsed_seconds} = 2658.271</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:53.597232" elapsed="0.000355"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.597897" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:53.597663" elapsed="0.000287"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.597641" elapsed="0.000333"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:53.595544" elapsed="0.002476"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.598536" level="INFO">${number} = 376</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.598163" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.600043" level="INFO">${number} = 376</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.599696" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.601763" level="INFO">${device-port} = 18205</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.601104" elapsed="0.000688"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.604441" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:53.635807" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.636042" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.604340" elapsed="0.031769"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.637070" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:53.637211" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:53.636303" elapsed="0.001090">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:53.636256" elapsed="0.001235">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:53.604051" elapsed="0.033745">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:53.603453" elapsed="0.034493"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.638982" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18205 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:53.693669" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.693890" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.638429" elapsed="0.055518"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:53.694141" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:53.695010" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:53.602649" elapsed="0.092584"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:53.695893" elapsed="0.001918"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:53.601999" elapsed="0.096062"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:53.600763" elapsed="0.097444"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:53.600242" elapsed="0.098066"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.599181" elapsed="0.099250"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:53.598734" elapsed="0.099792"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.699757" level="INFO">${next} = 18206</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.698931" elapsed="0.000890"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.701126" level="INFO">${current_port} = 18206</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:53.700215" elapsed="0.001009"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.594227" elapsed="0.107127"/>
</kw>
<msg time="2026-04-11T23:22:53.701440" level="INFO">Repeating keyword, round 377/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:53.704227" elapsed="0.000037"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:53.703917" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.703873" elapsed="0.000505"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.704984" level="INFO">${current_Date} = 2026-04-11 23:22:53.705</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:53.704810" elapsed="0.000206"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.705474" level="INFO">${ellapsed_seconds} = 2658.163</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:53.705166" elapsed="0.000334"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.705823" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:53.705589" elapsed="0.000290"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.705554" elapsed="0.000348"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:53.703207" elapsed="0.002746"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.706483" level="INFO">${number} = 377</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.706112" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.707965" level="INFO">${number} = 377</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.707621" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.709710" level="INFO">${device-port} = 18206</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.709039" elapsed="0.000699"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.712646" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:53.744062" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.744307" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.712507" elapsed="0.031860"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.745302" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:53.745440" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:53.744546" elapsed="0.001006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:53.744490" elapsed="0.001200">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:53.712231" elapsed="0.033731">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:53.711607" elapsed="0.034595"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.747253" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18206 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:53.802166" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.802423" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.746745" elapsed="0.055741"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:53.802740" elapsed="0.000164"/>
</return>
<msg time="2026-04-11T23:22:53.803683" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:53.710767" elapsed="0.093157"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:53.804662" elapsed="0.002041"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:53.709950" elapsed="0.097017"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:53.708691" elapsed="0.098433"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:53.708174" elapsed="0.099059"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.707146" elapsed="0.100239"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:53.706682" elapsed="0.100813"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.808853" level="INFO">${next} = 18207</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.807908" elapsed="0.000983"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.809694" level="INFO">${current_port} = 18207</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:53.809120" elapsed="0.000636"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.701896" elapsed="0.107943"/>
</kw>
<msg time="2026-04-11T23:22:53.809893" level="INFO">Repeating keyword, round 378/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:53.811592" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:53.811400" elapsed="0.000257"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.811371" elapsed="0.000316"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.812142" level="INFO">${current_Date} = 2026-04-11 23:22:53.812</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:53.811893" elapsed="0.000290"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.812856" level="INFO">${ellapsed_seconds} = 2658.056</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:53.812389" elapsed="0.000504"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.813312" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:53.812993" elapsed="0.000395"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.812967" elapsed="0.000452"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:53.811041" elapsed="0.002452"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.814257" level="INFO">${number} = 378</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.813723" elapsed="0.000571"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.816621" level="INFO">${number} = 378</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.816062" elapsed="0.000600"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.819035" level="INFO">${device-port} = 18207</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.818105" elapsed="0.000969"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.824399" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:53.852198" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.852436" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.824296" elapsed="0.028206"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.853513" elapsed="0.000095"/>
</kw>
<msg time="2026-04-11T23:22:53.853698" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:53.852725" elapsed="0.001164">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:53.852675" elapsed="0.001320">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:53.823987" elapsed="0.030315">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:53.821299" elapsed="0.033163"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.855564" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18207 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:53.909834" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.910051" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.855013" elapsed="0.055096"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:53.910317" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:22:53.911189" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:53.820308" elapsed="0.091112"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:53.912087" elapsed="0.001899"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:53.819363" elapsed="0.094873"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:53.817616" elapsed="0.096786"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:53.816886" elapsed="0.097617"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.815201" elapsed="0.099463"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:53.814514" elapsed="0.100247"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.915943" level="INFO">${next} = 18208</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.915101" elapsed="0.000904"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.917335" level="INFO">${current_port} = 18208</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:53.916427" elapsed="0.001014"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.810159" elapsed="0.107441"/>
</kw>
<msg time="2026-04-11T23:22:53.917694" level="INFO">Repeating keyword, round 379/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:53.920370" elapsed="0.000038"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:53.920100" elapsed="0.000384"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.920004" elapsed="0.000531"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.921160" level="INFO">${current_Date} = 2026-04-11 23:22:53.921</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:53.920995" elapsed="0.000192"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:53.921677" level="INFO">${ellapsed_seconds} = 2657.947</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:53.921334" elapsed="0.000370"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.922007" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:53.921775" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:53.921757" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:53.919408" elapsed="0.002723"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.922667" level="INFO">${number} = 379</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.922274" elapsed="0.000419"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.924156" level="INFO">${number} = 379</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.923789" elapsed="0.000395"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:53.925904" level="INFO">${device-port} = 18208</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:53.925241" elapsed="0.000690"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.928603" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:53.959665" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:53.959898" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.928466" elapsed="0.031495"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:53.960904" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:53.961048" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:53.960156" elapsed="0.001000">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:53.960109" elapsed="0.001139">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:53.928008" elapsed="0.033510">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:53.927616" elapsed="0.034149"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:53.962802" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18208 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:54.017519" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.017779" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:53.962258" elapsed="0.055580"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:54.018031" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:54.018901" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:53.926785" elapsed="0.092339"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:54.019781" elapsed="0.001923"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:53.926139" elapsed="0.095827"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:53.924894" elapsed="0.097222"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:53.924340" elapsed="0.097879"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.923294" elapsed="0.099051"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:53.922847" elapsed="0.099594"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.023651" level="INFO">${next} = 18209</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.022829" elapsed="0.000885"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.024984" level="INFO">${current_port} = 18209</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:54.024151" elapsed="0.000895"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:53.918117" elapsed="0.107009"/>
</kw>
<msg time="2026-04-11T23:22:54.025181" level="INFO">Repeating keyword, round 380/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:54.026922" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:54.026764" elapsed="0.000223"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.026736" elapsed="0.000281"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.027434" level="INFO">${current_Date} = 2026-04-11 23:22:54.027</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:54.027217" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.028219" level="INFO">${ellapsed_seconds} = 2657.841</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:54.027759" elapsed="0.000497"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.028709" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:54.028356" elapsed="0.000432"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.028330" elapsed="0.000492"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:54.026400" elapsed="0.002491"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.029640" level="INFO">${number} = 380</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.029100" elapsed="0.000578"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.031747" level="INFO">${number} = 380</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.031186" elapsed="0.000599"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.034196" level="INFO">${device-port} = 18209</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.033260" elapsed="0.000974"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.037731" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:54.072184" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.072404" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.037399" elapsed="0.035065"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.073386" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:54.073522" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:54.072676" elapsed="0.001099">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:54.072618" elapsed="0.001266">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:54.037117" elapsed="0.037042">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:54.036680" elapsed="0.037622"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.075348" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18209 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:54.129790" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.130001" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.074848" elapsed="0.055209"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:54.130248" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:54.131133" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:54.035452" elapsed="0.095904"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:54.132267" elapsed="0.001882"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:54.034525" elapsed="0.099865"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:54.032769" elapsed="0.101770"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:54.032022" elapsed="0.102669"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.030535" elapsed="0.104290"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:54.029897" elapsed="0.105028"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.136160" level="INFO">${next} = 18210</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.135270" elapsed="0.000952"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.137264" level="INFO">${current_port} = 18210</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:54.136616" elapsed="0.000707"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.025442" elapsed="0.111962"/>
</kw>
<msg time="2026-04-11T23:22:54.137459" level="INFO">Repeating keyword, round 381/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:54.139101" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:54.138948" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.138919" elapsed="0.000272"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.139774" level="INFO">${current_Date} = 2026-04-11 23:22:54.140</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:54.139473" elapsed="0.000342"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.140468" level="INFO">${ellapsed_seconds} = 2657.728</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:54.140040" elapsed="0.000466"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.140976" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:54.140636" elapsed="0.000424"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.140607" elapsed="0.000485"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:54.138564" elapsed="0.002595"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.141916" level="INFO">${number} = 381</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.141360" elapsed="0.000593"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.144052" level="INFO">${number} = 381</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.143456" elapsed="0.000634"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.146441" level="INFO">${device-port} = 18210</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.145532" elapsed="0.000947"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.149684" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:54.184915" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.185137" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.149583" elapsed="0.035616"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.186148" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:54.186284" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:54.185371" elapsed="0.001020">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:54.185324" elapsed="0.001161">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:54.149295" elapsed="0.037514">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:54.148887" elapsed="0.038141"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.188101" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18210 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:54.246473" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.246860" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.187510" elapsed="0.059411"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:54.247197" elapsed="0.000179"/>
</return>
<msg time="2026-04-11T23:22:54.248151" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:54.147708" elapsed="0.100666"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:54.249111" elapsed="0.001928"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:54.146792" elapsed="0.104487"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:54.145042" elapsed="0.106386"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:54.144311" elapsed="0.107221"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.142821" elapsed="0.108871"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:54.142168" elapsed="0.109625"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.253000" level="INFO">${next} = 18211</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.252164" elapsed="0.000895"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.254406" level="INFO">${current_port} = 18211</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:54.253449" elapsed="0.001050"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.137755" elapsed="0.116902"/>
</kw>
<msg time="2026-04-11T23:22:54.254748" level="INFO">Repeating keyword, round 382/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:54.257397" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:54.257152" elapsed="0.000338"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.257106" elapsed="0.000434"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.258358" level="INFO">${current_Date} = 2026-04-11 23:22:54.258</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:54.257999" elapsed="0.000417"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.259465" level="INFO">${ellapsed_seconds} = 2657.61</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:54.258768" elapsed="0.000752"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.260290" elapsed="0.000046"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:54.259706" elapsed="0.000701"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.259663" elapsed="0.000797"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:54.256550" elapsed="0.004011"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.261237" level="INFO">${number} = 382</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.260865" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.262712" level="INFO">${number} = 382</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.262348" elapsed="0.000392"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.264483" level="INFO">${device-port} = 18211</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.263793" elapsed="0.000722"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.267477" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:54.304217" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.304503" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.267342" elapsed="0.037223"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.305657" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:54.305799" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:54.304822" elapsed="0.001216">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:54.304757" elapsed="0.001379">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:54.267015" elapsed="0.039416">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:54.266518" elapsed="0.040086"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.307689" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18211 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:54.361455" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.361777" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.307112" elapsed="0.054722"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:54.362077" elapsed="0.000171"/>
</return>
<msg time="2026-04-11T23:22:54.362965" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:54.265521" elapsed="0.097659"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:54.363854" elapsed="0.001933"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:54.264795" elapsed="0.101235"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:54.263416" elapsed="0.102760"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:54.262901" elapsed="0.103376"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.261891" elapsed="0.104516"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:54.261420" elapsed="0.105083"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.367703" level="INFO">${next} = 18212</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.366879" elapsed="0.000885"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.369080" level="INFO">${current_port} = 18212</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:54.368144" elapsed="0.001028"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.255219" elapsed="0.114084"/>
</kw>
<msg time="2026-04-11T23:22:54.369390" level="INFO">Repeating keyword, round 383/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:54.372183" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:54.371930" elapsed="0.000349"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.371844" elapsed="0.000484"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.373012" level="INFO">${current_Date} = 2026-04-11 23:22:54.373</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:54.372832" elapsed="0.000207"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.373522" level="INFO">${ellapsed_seconds} = 2657.495</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:54.373186" elapsed="0.000362"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.373891" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:54.373637" elapsed="0.000308"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.373617" elapsed="0.000351"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:54.371232" elapsed="0.002783"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.374527" level="INFO">${number} = 383</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.374159" elapsed="0.000395"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.376051" level="INFO">${number} = 383</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.375678" elapsed="0.000400"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.377758" level="INFO">${device-port} = 18212</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.377115" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.380272" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:54.412163" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.412414" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.380166" elapsed="0.032307"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.413485" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:54.413697" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:54.412724" elapsed="0.001089">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:54.412648" elapsed="0.001262">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:54.379888" elapsed="0.034314">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:54.379457" elapsed="0.034983"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.415470" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18212 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:54.470263" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.470623" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.414966" elapsed="0.055717"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:54.470943" elapsed="0.000173"/>
</return>
<msg time="2026-04-11T23:22:54.471833" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:54.378648" elapsed="0.093425"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:54.472808" elapsed="0.001890"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:54.377993" elapsed="0.096945"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:54.376770" elapsed="0.098314"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:54.376236" elapsed="0.098950"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.375176" elapsed="0.100139"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:54.374725" elapsed="0.100688"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.476657" level="INFO">${next} = 18213</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.475781" elapsed="0.000938"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.477611" level="INFO">${current_port} = 18213</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:54.476997" elapsed="0.000747"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.369914" elapsed="0.107921"/>
</kw>
<msg time="2026-04-11T23:22:54.477897" level="INFO">Repeating keyword, round 384/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:54.479686" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:54.479498" elapsed="0.000251"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.479465" elapsed="0.000318"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.480263" level="INFO">${current_Date} = 2026-04-11 23:22:54.480</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:54.480020" elapsed="0.000282"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.481093" level="INFO">${ellapsed_seconds} = 2657.388</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:54.480523" elapsed="0.000609"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.481618" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:54.481238" elapsed="0.000460"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.481210" elapsed="0.000524"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:54.479133" elapsed="0.002669"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.482548" level="INFO">${number} = 384</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.482012" elapsed="0.000597"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.484794" level="INFO">${number} = 384</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.484205" elapsed="0.000628"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.487198" level="INFO">${device-port} = 18213</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.486415" elapsed="0.000810"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.489726" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:54.524223" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.524540" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.489605" elapsed="0.035031"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.525717" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:54.525857" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:54.524864" elapsed="0.001237">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:54.524798" elapsed="0.001401">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:54.489314" elapsed="0.037182">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:54.488923" elapsed="0.037747"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.528748" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18213 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:54.586782" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.587137" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.527210" elapsed="0.059986"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:54.587472" elapsed="0.000225"/>
</return>
<msg time="2026-04-11T23:22:54.588407" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:54.488087" elapsed="0.100574"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:54.589342" elapsed="0.002029"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:54.487429" elapsed="0.104214"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:54.485825" elapsed="0.105968"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:54.485063" elapsed="0.106848"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.483496" elapsed="0.108544"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:54.482834" elapsed="0.109302"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.593308" level="INFO">${next} = 18214</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.592484" elapsed="0.000883"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.594643" level="INFO">${current_port} = 18214</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:54.593754" elapsed="0.000984"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.478228" elapsed="0.116636"/>
</kw>
<msg time="2026-04-11T23:22:54.594950" level="INFO">Repeating keyword, round 385/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:54.597223" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:54.597105" elapsed="0.000161"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.597081" elapsed="0.000208"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.597692" level="INFO">${current_Date} = 2026-04-11 23:22:54.598</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:54.597499" elapsed="0.000220"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.598200" level="INFO">${ellapsed_seconds} = 2657.27</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:54.597865" elapsed="0.000361"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.598550" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:54.598297" elapsed="0.000324"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.598279" elapsed="0.000366"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:54.596845" elapsed="0.001845"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.599227" level="INFO">${number} = 385</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.598859" elapsed="0.000394"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.600765" level="INFO">${number} = 385</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.600348" elapsed="0.000444"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.602448" level="INFO">${device-port} = 18214</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.601829" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.605143" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:54.644741" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.645060" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.604843" elapsed="0.040276"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.646208" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:22:54.646346" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:54.645342" elapsed="0.001114">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:54.645275" elapsed="0.001275">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:54.604555" elapsed="0.042328">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:54.604160" elapsed="0.043007"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.648269" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18214 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:54.720711" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.721022" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.647719" elapsed="0.073360"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:54.721339" elapsed="0.000176"/>
</return>
<msg time="2026-04-11T23:22:54.722261" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:54.603322" elapsed="0.119154"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:54.723179" elapsed="0.001938"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:54.602699" elapsed="0.122655"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:54.601460" elapsed="0.124038"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:54.600950" elapsed="0.124680"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.599906" elapsed="0.125852"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:54.599415" elapsed="0.126443"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.727009" level="INFO">${next} = 18215</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.726196" elapsed="0.000872"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.728375" level="INFO">${current_port} = 18215</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:54.727454" elapsed="0.001013"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.595410" elapsed="0.133266"/>
</kw>
<msg time="2026-04-11T23:22:54.728776" level="INFO">Repeating keyword, round 386/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:54.731548" elapsed="0.000060"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:54.731303" elapsed="0.000367"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.731256" elapsed="0.000465"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.732443" level="INFO">${current_Date} = 2026-04-11 23:22:54.732</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:54.732088" elapsed="0.000413"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.733171" level="INFO">${ellapsed_seconds} = 2657.136</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:54.732839" elapsed="0.000358"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.733518" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:54.733267" elapsed="0.000318"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.733248" elapsed="0.000362"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:54.730762" elapsed="0.002894"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.734157" level="INFO">${number} = 386</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.733799" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.735686" level="INFO">${number} = 386</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.735332" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.737363" level="INFO">${device-port} = 18215</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.736750" elapsed="0.000641"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.740054" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:54.768155" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.768414" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.739767" elapsed="0.028706"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.769479" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:54.769643" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:54.768708" elapsed="0.001161">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:54.768649" elapsed="0.001319">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:54.739464" elapsed="0.030788">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:54.739075" elapsed="0.031320"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.771424" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18215 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:54.826596" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.826925" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.770924" elapsed="0.056237"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:54.827421" elapsed="0.000216"/>
</return>
<msg time="2026-04-11T23:22:54.828340" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:54.738234" elapsed="0.090330"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:54.829259" elapsed="0.001900"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:54.737618" elapsed="0.093781"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:54.736387" elapsed="0.095155"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:54.735879" elapsed="0.095806"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.734891" elapsed="0.096968"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:54.734335" elapsed="0.097622"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.833026" level="INFO">${next} = 18216</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.832296" elapsed="0.000770"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.833913" level="INFO">${current_port} = 18216</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:54.833306" elapsed="0.000667"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.729250" elapsed="0.104809"/>
</kw>
<msg time="2026-04-11T23:22:54.834118" level="INFO">Repeating keyword, round 387/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:54.835970" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:54.835802" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.835769" elapsed="0.000297"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.836786" level="INFO">${current_Date} = 2026-04-11 23:22:54.837</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:54.836416" elapsed="0.000410"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.837519" level="INFO">${ellapsed_seconds} = 2657.031</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:54.837045" elapsed="0.000512"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.838041" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:54.837683" elapsed="0.000437"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.837655" elapsed="0.000500"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:54.835403" elapsed="0.002820"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.838992" level="INFO">${number} = 387</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.838435" elapsed="0.000596"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.841209" level="INFO">${number} = 387</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.840693" elapsed="0.000554"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.843760" level="INFO">${device-port} = 18216</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.842802" elapsed="0.001000"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.846847" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:54.880204" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.880513" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.846743" elapsed="0.033864"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.881690" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:22:54.881831" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:54.880834" elapsed="0.001108">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:54.880767" elapsed="0.001269">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:54.846272" elapsed="0.036055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:54.845879" elapsed="0.036683"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.883644" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18216 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:54.938917" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.939220" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.883101" elapsed="0.056189"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:54.939534" elapsed="0.000246"/>
</return>
<msg time="2026-04-11T23:22:54.940473" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:54.844963" elapsed="0.095772"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:54.941398" elapsed="0.001917"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:54.844106" elapsed="0.099443"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:54.842237" elapsed="0.101540"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:54.841476" elapsed="0.102404"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.839958" elapsed="0.104045"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:54.839257" elapsed="0.104844"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.945125" level="INFO">${next} = 18217</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.944445" elapsed="0.000716"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.945984" level="INFO">${current_port} = 18217</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:54.945390" elapsed="0.000653"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.834451" elapsed="0.111673"/>
</kw>
<msg time="2026-04-11T23:22:54.946180" level="INFO">Repeating keyword, round 388/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:54.947897" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:54.947740" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.947709" elapsed="0.000277"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.948413" level="INFO">${current_Date} = 2026-04-11 23:22:54.948</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:54.948189" elapsed="0.000260"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:54.949182" level="INFO">${ellapsed_seconds} = 2656.92</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:54.948727" elapsed="0.000490"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.949672" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:54.949314" elapsed="0.000433"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:54.949288" elapsed="0.000491"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:54.947362" elapsed="0.002478"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.950534" level="INFO">${number} = 388</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.950037" elapsed="0.000552"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.952666" level="INFO">${number} = 388</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.952122" elapsed="0.000584"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:54.954981" level="INFO">${device-port} = 18217</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:54.954109" elapsed="0.000909"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.958168" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:54.991610" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:54.991844" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.958067" elapsed="0.033836"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:54.992801" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:54.992933" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:54.992066" elapsed="0.001062">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:54.992023" elapsed="0.001201">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:54.957795" elapsed="0.035706">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:54.957201" elapsed="0.036474"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:54.994658" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18217 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:55.050139" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.050347" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:54.994134" elapsed="0.056267"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:55.050635" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:55.051413" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:54.956196" elapsed="0.095497"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:55.052341" elapsed="0.001786"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:54.955301" elapsed="0.099060"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:54.953641" elapsed="0.100860"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:54.952924" elapsed="0.101703"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.951412" elapsed="0.103340"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:54.950803" elapsed="0.104041"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.055962" level="INFO">${next} = 18218</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.055177" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.057338" level="INFO">${current_port} = 18218</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:55.056369" elapsed="0.001065"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:54.946491" elapsed="0.111068"/>
</kw>
<msg time="2026-04-11T23:22:55.057674" level="INFO">Repeating keyword, round 389/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:55.060064" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:55.059957" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.059937" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.060452" level="INFO">${current_Date} = 2026-04-11 23:22:55.060</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:55.060300" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.060937" level="INFO">${ellapsed_seconds} = 2656.808</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:55.060637" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.061259" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:55.061032" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.061014" elapsed="0.000320"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:55.059409" elapsed="0.001970"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.061895" level="INFO">${number} = 389</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.061520" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.063340" level="INFO">${number} = 389</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.063008" elapsed="0.000358"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.065014" level="INFO">${device-port} = 18218</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.064378" elapsed="0.000662"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.067598" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:55.104150" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.104367" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.067489" elapsed="0.036937"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.105326" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:55.105459" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:55.104626" elapsed="0.000938">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:55.104543" elapsed="0.001144">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:55.067221" elapsed="0.038735">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:55.066668" elapsed="0.039496"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.107156" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18218 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:55.162323" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.162538" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.106669" elapsed="0.055972"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:55.162836" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:22:55.163727" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:55.065859" elapsed="0.098089"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:55.164601" elapsed="0.001852"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:55.065241" elapsed="0.101488"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:55.064037" elapsed="0.102841"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:55.063520" elapsed="0.103457"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.062508" elapsed="0.104597"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:55.062072" elapsed="0.105128"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.168385" level="INFO">${next} = 18219</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.167561" elapsed="0.000886"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.169776" level="INFO">${current_port} = 18219</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:55.168874" elapsed="0.001002"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.058084" elapsed="0.111944"/>
</kw>
<msg time="2026-04-11T23:22:55.170120" level="INFO">Repeating keyword, round 390/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:55.172294" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:55.172177" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.172158" elapsed="0.000201"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.172727" level="INFO">${current_Date} = 2026-04-11 23:22:55.173</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:55.172508" elapsed="0.000247"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.173215" level="INFO">${ellapsed_seconds} = 2656.695</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:55.172905" elapsed="0.000337"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.173564" elapsed="0.000038"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:55.173313" elapsed="0.000324"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.173293" elapsed="0.000368"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:55.171924" elapsed="0.001784"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.174218" level="INFO">${number} = 390</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.173852" elapsed="0.000393"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.175707" level="INFO">${number} = 390</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.175321" elapsed="0.000413"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.177426" level="INFO">${device-port} = 18219</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.176799" elapsed="0.000654"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.182605" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:55.216110" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.216252" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.182479" elapsed="0.033810"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.216881" elapsed="0.000036"/>
</kw>
<msg time="2026-04-11T23:22:55.216965" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:55.216398" elapsed="0.000697">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:55.216367" elapsed="0.000800">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:55.182187" elapsed="0.035158">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:55.179160" elapsed="0.038276"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.218225" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18219 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:55.274554" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.274801" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.217768" elapsed="0.057089"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:55.275069" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:22:55.275948" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:55.178313" elapsed="0.097868"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:55.276827" elapsed="0.001919"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:55.177685" elapsed="0.101304"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:55.176389" elapsed="0.102762"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:55.175891" elapsed="0.103362"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.174869" elapsed="0.104507"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:55.174397" elapsed="0.105074"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.280478" level="INFO">${next} = 18220</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.279891" elapsed="0.000625"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.281326" level="INFO">${current_port} = 18220</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:55.280777" elapsed="0.000611"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.170555" elapsed="0.110913"/>
</kw>
<msg time="2026-04-11T23:22:55.281525" level="INFO">Repeating keyword, round 391/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:55.283125" elapsed="0.000027"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:55.282970" elapsed="0.000222"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.282943" elapsed="0.000281"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.283842" level="INFO">${current_Date} = 2026-04-11 23:22:55.284</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:55.283607" elapsed="0.000272"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.284532" level="INFO">${ellapsed_seconds} = 2656.584</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:55.284083" elapsed="0.000564"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.285082" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:55.284755" elapsed="0.000406"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.284728" elapsed="0.000474"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:55.282631" elapsed="0.002639"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.286009" level="INFO">${number} = 391</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.285473" elapsed="0.000573"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.288106" level="INFO">${number} = 391</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.287623" elapsed="0.000520"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.290559" level="INFO">${device-port} = 18220</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.289650" elapsed="0.000970"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.353808" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:55.366564" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.366697" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.353635" elapsed="0.013091"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.367642" elapsed="0.000067"/>
</kw>
<msg time="2026-04-11T23:22:55.367794" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:55.366834" elapsed="0.001074">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:55.366805" elapsed="0.001201">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:55.293243" elapsed="0.075055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:55.292848" elapsed="0.075711"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.369671" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18220 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:55.426057" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.426262" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.369107" elapsed="0.057209"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:55.426508" elapsed="0.000191"/>
</return>
<msg time="2026-04-11T23:22:55.427349" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:55.291872" elapsed="0.135786"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:55.428262" elapsed="0.001853"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:55.290916" elapsed="0.139436"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:55.289129" elapsed="0.141366"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:55.288370" elapsed="0.142254"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.286927" elapsed="0.143824"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:55.286271" elapsed="0.144574"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.432003" level="INFO">${next} = 18221</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.431185" elapsed="0.000877"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.433304" level="INFO">${current_port} = 18221</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:55.432411" elapsed="0.000985"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.281811" elapsed="0.151710"/>
</kw>
<msg time="2026-04-11T23:22:55.433642" level="INFO">Repeating keyword, round 392/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:55.436242" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:55.436001" elapsed="0.000335"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.435958" elapsed="0.000427"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.437088" level="INFO">${current_Date} = 2026-04-11 23:22:55.437</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:55.436731" elapsed="0.000417"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.438200" level="INFO">${ellapsed_seconds} = 2656.431</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:55.437473" elapsed="0.000786"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.438968" elapsed="0.000048"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:55.438418" elapsed="0.000672"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.438376" elapsed="0.000767"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:55.435336" elapsed="0.003909"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.440187" level="INFO">${number} = 392</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.439726" elapsed="0.000487"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.441635" level="INFO">${number} = 392</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.441275" elapsed="0.000387"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.443290" level="INFO">${device-port} = 18221</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.442681" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.445953" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:55.516063" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.516276" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.445858" elapsed="0.070476"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.517236" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:55.517367" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:55.516497" elapsed="0.001132">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:55.516452" elapsed="0.001278">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:55.445586" elapsed="0.072423">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:55.445183" elapsed="0.072965"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.519146" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18221 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:55.574191" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.574395" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.518657" elapsed="0.055795"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:55.574679" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:55.575488" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:55.444193" elapsed="0.131548"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:55.576333" elapsed="0.001788"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:55.443536" elapsed="0.134824"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:55.442319" elapsed="0.136182"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:55.441818" elapsed="0.136813"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.440829" elapsed="0.137930"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:55.440366" elapsed="0.138488"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.579997" level="INFO">${next} = 18222</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.579196" elapsed="0.000860"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.581278" level="INFO">${current_port} = 18222</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:55.580405" elapsed="0.000966"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.434066" elapsed="0.147433"/>
</kw>
<msg time="2026-04-11T23:22:55.581614" level="INFO">Repeating keyword, round 393/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:55.584059" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:55.583951" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.583931" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.584463" level="INFO">${current_Date} = 2026-04-11 23:22:55.584</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:55.584308" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.584970" level="INFO">${ellapsed_seconds} = 2656.284</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:55.584659" elapsed="0.000338"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.585296" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:55.585067" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.585049" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:55.583284" elapsed="0.002135"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.585952" level="INFO">${number} = 393</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.585563" elapsed="0.000415"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.587356" level="INFO">${number} = 393</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.587023" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.589095" level="INFO">${device-port} = 18222</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.588447" elapsed="0.000675"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.591858" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:55.628137" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.628351" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.591758" elapsed="0.036652"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.629312" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:55.629443" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:55.628611" elapsed="0.000936">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:55.628530" elapsed="0.001141">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:55.591472" elapsed="0.038467">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:55.591069" elapsed="0.039084"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.631155" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18222 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:55.686436" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.686681" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.630661" elapsed="0.056079"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:55.686934" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:55.687794" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:55.590244" elapsed="0.097770"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:55.688640" elapsed="0.001785"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:55.589421" elapsed="0.101310"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:55.588109" elapsed="0.102771"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:55.587549" elapsed="0.103428"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.586581" elapsed="0.104519"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:55.586130" elapsed="0.105064"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.692334" level="INFO">${next} = 18223</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.691558" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.693653" level="INFO">${current_port} = 18223</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:55.692776" elapsed="0.000973"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.582038" elapsed="0.111837"/>
</kw>
<msg time="2026-04-11T23:22:55.693962" level="INFO">Repeating keyword, round 394/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:55.695876" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:55.695763" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.695743" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.696230" level="INFO">${current_Date} = 2026-04-11 23:22:55.696</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:55.696079" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.696712" level="INFO">${ellapsed_seconds} = 2656.172</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:55.696397" elapsed="0.000340"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.697038" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:55.696807" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.696789" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:55.695504" elapsed="0.001654"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.697671" level="INFO">${number} = 394</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.697298" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.699102" level="INFO">${number} = 394</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.698766" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.700784" level="INFO">${device-port} = 18223</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.700147" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.703591" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:55.736019" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.736233" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.703481" elapsed="0.032812"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.737200" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:55.737332" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:55.736456" elapsed="0.001061">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:55.736410" elapsed="0.001236">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:55.703191" elapsed="0.034730">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:55.702800" elapsed="0.035264"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.739056" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18223 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:55.794063" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.794269" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.738526" elapsed="0.055799"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:55.794513" elapsed="0.000190"/>
</return>
<msg time="2026-04-11T23:22:55.795350" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:55.701830" elapsed="0.093801"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:55.796234" elapsed="0.001822"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:55.701013" elapsed="0.097286"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:55.699795" elapsed="0.098649"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:55.699283" elapsed="0.099259"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.698290" elapsed="0.100412"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:55.697845" elapsed="0.100953"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.799948" level="INFO">${next} = 18224</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.799134" elapsed="0.000874"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.801374" level="INFO">${current_port} = 18224</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:55.800494" elapsed="0.000974"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.694376" elapsed="0.107250"/>
</kw>
<msg time="2026-04-11T23:22:55.801716" level="INFO">Repeating keyword, round 395/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:55.804096" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:55.803989" elapsed="0.000149"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.803969" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.804498" level="INFO">${current_Date} = 2026-04-11 23:22:55.804</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:55.804346" elapsed="0.000178"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.804986" level="INFO">${ellapsed_seconds} = 2656.064</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:55.804687" elapsed="0.000326"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.805312" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:55.805083" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.805065" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:55.803437" elapsed="0.001997"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.805953" level="INFO">${number} = 395</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.805592" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.807374" level="INFO">${number} = 395</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.807042" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.809094" level="INFO">${device-port} = 18224</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.808451" elapsed="0.000669"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.811841" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:55.843905" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.844125" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.811746" elapsed="0.032438"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.845101" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:55.845234" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:55.844346" elapsed="0.000992">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:55.844302" elapsed="0.001128">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:55.811452" elapsed="0.034276">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:55.811048" elapsed="0.034885"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.846937" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18224 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:55.901994" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.902269" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.846396" elapsed="0.055932"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:55.902559" elapsed="0.000218"/>
</return>
<msg time="2026-04-11T23:22:55.903480" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:55.810229" elapsed="0.093523"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:55.904391" elapsed="0.001873"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:55.809322" elapsed="0.097184"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:55.808112" elapsed="0.098570"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:55.807622" elapsed="0.099161"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.806593" elapsed="0.100318"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:55.806138" elapsed="0.100873"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.908178" level="INFO">${next} = 18225</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.907379" elapsed="0.000857"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.909467" level="INFO">${current_port} = 18225</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:55.908621" elapsed="0.000938"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.802137" elapsed="0.107582"/>
</kw>
<msg time="2026-04-11T23:22:55.909807" level="INFO">Repeating keyword, round 396/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:55.912444" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:55.912207" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.912164" elapsed="0.000451"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.913271" level="INFO">${current_Date} = 2026-04-11 23:22:55.913</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:55.912930" elapsed="0.000398"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:55.914352" level="INFO">${ellapsed_seconds} = 2655.955</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:55.913679" elapsed="0.000730"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.915299" elapsed="0.000090"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:55.914563" elapsed="0.000903"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:55.914522" elapsed="0.000998"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:55.911678" elapsed="0.003983"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.916294" level="INFO">${number} = 396</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.915928" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.917730" level="INFO">${number} = 396</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.917380" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:55.919537" level="INFO">${device-port} = 18225</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:55.918912" elapsed="0.000652"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.922399" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:55.951910" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:55.952117" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.922297" elapsed="0.029878"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:55.953073" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:55.953201" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:55.952333" elapsed="0.001073">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:55.952291" elapsed="0.001210">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:55.922026" elapsed="0.031779">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:55.921630" elapsed="0.032316"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:55.954921" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18225 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.010015" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.010215" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:55.954401" elapsed="0.055869"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.010458" elapsed="0.000185"/>
</return>
<msg time="2026-04-11T23:22:56.011290" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:55.920798" elapsed="0.090731"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.012166" elapsed="0.001808"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:55.919789" elapsed="0.094423"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:55.918555" elapsed="0.095800"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:55.917912" elapsed="0.096539"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.916941" elapsed="0.097662"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:55.916473" elapsed="0.098228"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.015873" level="INFO">${next} = 18226</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.015054" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.016732" level="INFO">${current_port} = 18226</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.016155" elapsed="0.000640"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:55.910251" elapsed="0.106634"/>
</kw>
<msg time="2026-04-11T23:22:56.016954" level="INFO">Repeating keyword, round 397/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:56.018608" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:56.018431" elapsed="0.000241"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.018404" elapsed="0.000301"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.019204" level="INFO">${current_Date} = 2026-04-11 23:22:56.019</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:56.018976" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.020000" level="INFO">${ellapsed_seconds} = 2655.849</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:56.019473" elapsed="0.000714"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.020656" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:56.020292" elapsed="0.000445"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.020265" elapsed="0.000507"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.018086" elapsed="0.002755"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.021607" level="INFO">${number} = 397</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.021053" elapsed="0.000595"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.023791" level="INFO">${number} = 397</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.023203" elapsed="0.000628"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.026032" level="INFO">${device-port} = 18226</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.025394" elapsed="0.000665"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.028716" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:56.059666" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.059879" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.028618" elapsed="0.031319"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.060837" elapsed="0.000063"/>
</kw>
<msg time="2026-04-11T23:22:56.060989" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:56.060098" elapsed="0.001004">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:56.060055" elapsed="0.001136">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:56.028334" elapsed="0.033125">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:56.027941" elapsed="0.033748"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.062709" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18226 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.117795" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.118019" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.062184" elapsed="0.055892"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.118269" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:56.119110" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:56.027091" elapsed="0.092264"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.120003" elapsed="0.001807"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:56.026261" elapsed="0.095782"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:56.025044" elapsed="0.097143"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:56.024291" elapsed="0.097993"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.022528" elapsed="0.099877"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:56.021874" elapsed="0.100625"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.123711" level="INFO">${next} = 18227</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.122868" elapsed="0.000904"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.124747" level="INFO">${current_port} = 18227</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.124194" elapsed="0.000613"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.017243" elapsed="0.107643"/>
</kw>
<msg time="2026-04-11T23:22:56.124941" level="INFO">Repeating keyword, round 398/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:56.126477" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:56.126328" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.126300" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.126999" level="INFO">${current_Date} = 2026-04-11 23:22:56.127</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:56.126787" elapsed="0.000249"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.127780" level="INFO">${ellapsed_seconds} = 2655.741</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:56.127235" elapsed="0.000582"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.128392" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:56.127919" elapsed="0.000547"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.127892" elapsed="0.000606"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.125993" elapsed="0.002569"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.129296" level="INFO">${number} = 398</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.128786" elapsed="0.000624"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.131481" level="INFO">${number} = 398</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.130973" elapsed="0.000545"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.133278" level="INFO">${device-port} = 18227</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.132663" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.135966" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:56.172107" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.172244" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.135869" elapsed="0.036412"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.172855" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:56.172939" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:56.172384" elapsed="0.000671">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:56.172355" elapsed="0.000761">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:56.135595" elapsed="0.037690">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:56.135155" elapsed="0.038218"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.173997" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18227 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.229885" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.230093" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.173691" elapsed="0.056457"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.230340" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:56.231175" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:56.134330" elapsed="0.097083"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.232051" elapsed="0.001814"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:56.133506" elapsed="0.100599"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:56.132298" elapsed="0.101951"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:56.131755" elapsed="0.102591"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.130335" elapsed="0.104134"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:56.129705" elapsed="0.104856"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.235860" level="INFO">${next} = 18228</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.234930" elapsed="0.000990"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.236798" level="INFO">${current_port} = 18228</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.236249" elapsed="0.000609"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.125203" elapsed="0.111736"/>
</kw>
<msg time="2026-04-11T23:22:56.236994" level="INFO">Repeating keyword, round 399/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:56.238514" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:56.238366" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.238340" elapsed="0.000284"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.239085" level="INFO">${current_Date} = 2026-04-11 23:22:56.239</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:56.238870" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.239870" level="INFO">${ellapsed_seconds} = 2655.629</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:56.239360" elapsed="0.000548"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.240330" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:56.240007" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.239981" elapsed="0.000457"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.238038" elapsed="0.002463"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.241228" level="INFO">${number} = 399</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.240721" elapsed="0.000544"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.243211" level="INFO">${number} = 399</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.242744" elapsed="0.000523"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.245640" level="INFO">${device-port} = 18228</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.244756" elapsed="0.000922"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.249495" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:56.280190" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.280407" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.249396" elapsed="0.031069"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.281380" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:56.281514" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:56.280673" elapsed="0.000976">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:56.280626" elapsed="0.001116">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:56.249124" elapsed="0.032885">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:56.248729" elapsed="0.033489"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.283267" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18228 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.338089" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.338301" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.282726" elapsed="0.055631"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.338549" elapsed="0.000191"/>
</return>
<msg time="2026-04-11T23:22:56.339426" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:56.247088" elapsed="0.092598"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.340293" elapsed="0.001831"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:56.245960" elapsed="0.096400"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:56.244253" elapsed="0.098254"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:56.243486" elapsed="0.099152"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.242117" elapsed="0.100648"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:56.241477" elapsed="0.101384"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.344086" level="INFO">${next} = 18229</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.343220" elapsed="0.000932"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.345624" level="INFO">${current_port} = 18229</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.344537" elapsed="0.001198"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.237256" elapsed="0.108615"/>
</kw>
<msg time="2026-04-11T23:22:56.345973" level="INFO">Repeating keyword, round 400/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:56.348335" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:56.348226" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.348206" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.348716" level="INFO">${current_Date} = 2026-04-11 23:22:56.349</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:56.348545" elapsed="0.000197"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.349204" level="INFO">${ellapsed_seconds} = 2655.519</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:56.348887" elapsed="0.000343"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.349532" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:56.349301" elapsed="0.000300"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.349282" elapsed="0.000344"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.347953" elapsed="0.001719"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.350191" level="INFO">${number} = 400</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.349814" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.351708" level="INFO">${number} = 400</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.351309" elapsed="0.000426"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.353367" level="INFO">${device-port} = 18229</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.352757" elapsed="0.000637"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.356030" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:56.388164" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.388382" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.355932" elapsed="0.032510"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.389351" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:56.389484" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:56.388649" elapsed="0.001057">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:56.388561" elapsed="0.001244">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:56.355650" elapsed="0.034429">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:56.355242" elapsed="0.034980"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.391289" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18229 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.445983" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.446195" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.390736" elapsed="0.055514"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.446439" elapsed="0.000191"/>
</return>
<msg time="2026-04-11T23:22:56.447296" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:56.354414" elapsed="0.093098"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.448153" elapsed="0.001802"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:56.353613" elapsed="0.096577"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:56.352385" elapsed="0.097948"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:56.351890" elapsed="0.098540"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.350850" elapsed="0.099702"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:56.350391" elapsed="0.100287"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.451826" level="INFO">${next} = 18230</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.451015" elapsed="0.000870"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.453107" level="INFO">${current_port} = 18230</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.452238" elapsed="0.000964"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.346417" elapsed="0.106911"/>
</kw>
<msg time="2026-04-11T23:22:56.453413" level="INFO">Repeating keyword, round 401/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:56.456097" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:56.455939" elapsed="0.000201"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.455895" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.456493" level="INFO">${current_Date} = 2026-04-11 23:22:56.456</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:56.456337" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.456985" level="INFO">${ellapsed_seconds} = 2655.412</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:56.456680" elapsed="0.000335"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.457314" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:56.457087" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.457069" elapsed="0.000321"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.455112" elapsed="0.002324"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.457955" level="INFO">${number} = 401</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.457592" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.459403" level="INFO">${number} = 401</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.459045" elapsed="0.000385"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.461114" level="INFO">${device-port} = 18230</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.460474" elapsed="0.000667"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.463825" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:56.496336" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.496565" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.463728" elapsed="0.032935"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.497529" elapsed="0.000084"/>
</kw>
<msg time="2026-04-11T23:22:56.497692" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:56.496832" elapsed="0.000965">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:56.496786" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:56.463444" elapsed="0.034707">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:56.463038" elapsed="0.035314"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.499404" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18230 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.554311" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.554531" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.498857" elapsed="0.055768"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.554819" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:56.555815" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:56.462224" elapsed="0.093806"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.556654" elapsed="0.001770"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:56.461345" elapsed="0.097345"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:56.460133" elapsed="0.098698"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:56.459635" elapsed="0.099292"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.458590" elapsed="0.100461"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:56.458134" elapsed="0.101032"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.560279" level="INFO">${next} = 18231</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.559504" elapsed="0.000834"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.561655" level="INFO">${current_port} = 18231</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.560748" elapsed="0.001004"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.453860" elapsed="0.108020"/>
</kw>
<msg time="2026-04-11T23:22:56.561965" level="INFO">Repeating keyword, round 402/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:56.564330" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:56.564222" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.564202" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.564750" level="INFO">${current_Date} = 2026-04-11 23:22:56.565</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:56.564535" elapsed="0.000242"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.565226" level="INFO">${ellapsed_seconds} = 2655.303</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:56.564922" elapsed="0.000331"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.565548" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:56.565323" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.565304" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.563831" elapsed="0.001855"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.566192" level="INFO">${number} = 402</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.565829" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.567813" level="INFO">${number} = 402</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.567452" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.569481" level="INFO">${device-port} = 18231</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.568861" elapsed="0.000647"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.572162" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:56.604093" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.604304" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.572065" elapsed="0.032298"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.605268" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:56.605398" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:56.604522" elapsed="0.001090">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:56.604478" elapsed="0.001233">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:56.571794" elapsed="0.034185">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:56.571385" elapsed="0.034733"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.607156" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18231 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.661862" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.662071" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.606617" elapsed="0.055509"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.662313" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:22:56.663284" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:56.570550" elapsed="0.092952"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.664136" elapsed="0.001802"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:56.569731" elapsed="0.096441"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:56.568481" elapsed="0.097833"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:56.567995" elapsed="0.098417"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.566990" elapsed="0.099545"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:56.566370" elapsed="0.100294"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.667876" level="INFO">${next} = 18232</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.667027" elapsed="0.000910"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.669166" level="INFO">${current_port} = 18232</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.668289" elapsed="0.000972"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.562381" elapsed="0.107007"/>
</kw>
<msg time="2026-04-11T23:22:56.669476" level="INFO">Repeating keyword, round 403/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:56.672087" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:56.671866" elapsed="0.000264"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.671823" elapsed="0.000329"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.672490" level="INFO">${current_Date} = 2026-04-11 23:22:56.672</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:56.672335" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.672983" level="INFO">${ellapsed_seconds} = 2655.196</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:56.672677" elapsed="0.000333"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.673309" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:56.673081" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.673063" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.671215" elapsed="0.002216"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.673953" level="INFO">${number} = 403</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.673588" elapsed="0.000395"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.675520" level="INFO">${number} = 403</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.675034" elapsed="0.000512"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.677376" level="INFO">${device-port} = 18232</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.676616" elapsed="0.000787"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.681267" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:56.715822" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.716036" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.681169" elapsed="0.034927"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.716997" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:56.717128" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:56.716257" elapsed="0.000976">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:56.716213" elapsed="0.001110">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:56.680902" elapsed="0.036717">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:56.680494" elapsed="0.037341"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.718831" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18232 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.774060" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.774265" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.718298" elapsed="0.056021"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.774504" elapsed="0.000186"/>
</return>
<msg time="2026-04-11T23:22:56.775479" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:56.679682" elapsed="0.096052"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.776323" elapsed="0.001801"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:56.677625" elapsed="0.100734"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:56.676255" elapsed="0.102245"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:56.675763" elapsed="0.102865"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.674593" elapsed="0.104162"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:56.674135" elapsed="0.104716"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.779981" level="INFO">${next} = 18233</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.779209" elapsed="0.000830"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.781262" level="INFO">${current_port} = 18233</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.780389" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.669921" elapsed="0.111556"/>
</kw>
<msg time="2026-04-11T23:22:56.781561" level="INFO">Repeating keyword, round 404/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:56.783827" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:56.783674" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.783644" elapsed="0.000272"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.784327" level="INFO">${current_Date} = 2026-04-11 23:22:56.784</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:56.784113" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.785013" level="INFO">${ellapsed_seconds} = 2655.084</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:56.784566" elapsed="0.000484"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.785470" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:56.785149" elapsed="0.000396"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.785123" elapsed="0.000483"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.783265" elapsed="0.002409"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.786514" level="INFO">${number} = 404</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.785875" elapsed="0.000676"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.788615" level="INFO">${number} = 404</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.788127" elapsed="0.000526"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.790946" level="INFO">${device-port} = 18233</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.790054" elapsed="0.000930"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.793930" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:56.823963" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.824174" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.793834" elapsed="0.030399"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.825129" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:56.825261" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:56.824393" elapsed="0.001049">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:56.824350" elapsed="0.001187">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:56.793548" elapsed="0.032293">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:56.793154" elapsed="0.032827"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.826974" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18233 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.882127" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.882332" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.826445" elapsed="0.055941"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.882612" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:56.883428" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:56.792126" elapsed="0.091562"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.884285" elapsed="0.001804"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:56.791304" elapsed="0.095157"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:56.789559" elapsed="0.097073"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:56.788870" elapsed="0.097862"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.787487" elapsed="0.099370"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:56.786852" elapsed="0.100102"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.888219" level="INFO">${next} = 18234</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.887314" elapsed="0.000965"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.889497" level="INFO">${current_port} = 18234</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.888667" elapsed="0.000953"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.782000" elapsed="0.107750"/>
</kw>
<msg time="2026-04-11T23:22:56.889835" level="INFO">Repeating keyword, round 405/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:56.892149" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:56.892044" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.892025" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.892539" level="INFO">${current_Date} = 2026-04-11 23:22:56.892</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:56.892386" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:56.893028" level="INFO">${ellapsed_seconds} = 2654.976</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:56.892726" elapsed="0.000327"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.893423" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:56.893199" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:56.893181" elapsed="0.000318"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.891532" elapsed="0.002012"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.894061" level="INFO">${number} = 405</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.893702" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.895483" level="INFO">${number} = 405</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.895152" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.897189" level="INFO">${device-port} = 18234</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.896552" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.899834" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:56.932041" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.932254" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.899737" elapsed="0.032577"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:56.933210" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:22:56.933339" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:56.932475" elapsed="0.000968">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:56.932432" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:56.899452" elapsed="0.034378">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:56.899057" elapsed="0.034980"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:56.935081" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18234 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:56.990190" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:56.990398" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:56.934502" elapsed="0.055951"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:56.990683" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:22:56.991490" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:56.898045" elapsed="0.093704"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:56.992343" elapsed="0.001945"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:56.897419" elapsed="0.097104"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:56.896213" elapsed="0.098486"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:56.895722" elapsed="0.099073"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.894693" elapsed="0.100222"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:56.894237" elapsed="0.100790"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.996140" level="INFO">${next} = 18235</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:56.995365" elapsed="0.000833"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:56.997416" level="INFO">${current_port} = 18235</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:56.996550" elapsed="0.000959"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.890248" elapsed="0.107419"/>
</kw>
<msg time="2026-04-11T23:22:56.997755" level="INFO">Repeating keyword, round 406/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.000296" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.000148" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.000120" elapsed="0.000264"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.000815" level="INFO">${current_Date} = 2026-04-11 23:22:57.001</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.000602" elapsed="0.000250"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.001468" level="INFO">${ellapsed_seconds} = 2654.867</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.001054" elapsed="0.000450"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.001938" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.001622" elapsed="0.000390"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.001595" elapsed="0.000449"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:56.999702" elapsed="0.002403"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.002826" level="INFO">${number} = 406</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.002302" elapsed="0.000561"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.004877" level="INFO">${number} = 406</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.004396" elapsed="0.000518"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.007203" level="INFO">${device-port} = 18235</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.006299" elapsed="0.000942"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.010944" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:57.043971" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.044185" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.010807" elapsed="0.033436"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.045148" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:57.045278" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:57.044406" elapsed="0.001055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:57.044363" elapsed="0.001194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:57.010408" elapsed="0.035451">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.009596" elapsed="0.036403"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.047005" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18235 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:57.101915" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.102122" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.046458" elapsed="0.055719"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:57.102366" elapsed="0.000142"/>
</return>
<msg time="2026-04-11T23:22:57.103205" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.008455" elapsed="0.094965"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:57.104050" elapsed="0.001773"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.007607" elapsed="0.098452"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.005830" elapsed="0.100369"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.005129" elapsed="0.101167"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.003783" elapsed="0.102634"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.003088" elapsed="0.103421"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.107699" level="INFO">${next} = 18236</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.106888" elapsed="0.000871"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.108611" level="INFO">${current_port} = 18236</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:57.108062" elapsed="0.000610"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:56.998297" elapsed="0.110455"/>
</kw>
<msg time="2026-04-11T23:22:57.108806" level="INFO">Repeating keyword, round 407/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.110324" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.110175" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.110149" elapsed="0.000263"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.110971" level="INFO">${current_Date} = 2026-04-11 23:22:57.111</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.110743" elapsed="0.000266"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.111652" level="INFO">${ellapsed_seconds} = 2654.757</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.111214" elapsed="0.000475"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.112107" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.111788" elapsed="0.000393"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.111762" elapsed="0.000451"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:57.109845" elapsed="0.002430"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.113000" level="INFO">${number} = 407</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.112473" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.115055" level="INFO">${number} = 407</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.114496" elapsed="0.000596"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.117053" level="INFO">${device-port} = 18236</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.116409" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.119699" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:57.152019" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.152231" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.119601" elapsed="0.032687"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.153177" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:57.153308" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:57.152446" elapsed="0.000964">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:57.152403" elapsed="0.001096">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:57.119317" elapsed="0.034476">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.118727" elapsed="0.035279"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.155044" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18236 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:57.209994" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.210198" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.154467" elapsed="0.055786"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:57.210438" elapsed="0.000183"/>
</return>
<msg time="2026-04-11T23:22:57.211284" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.117910" elapsed="0.093588"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:57.212135" elapsed="0.001774"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.117284" elapsed="0.096857"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.116070" elapsed="0.098211"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.115309" elapsed="0.099069"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.113885" elapsed="0.100615"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.113247" elapsed="0.101377"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.215772" level="INFO">${next} = 18237</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.214982" elapsed="0.000849"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.217056" level="INFO">${current_port} = 18237</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:57.216180" elapsed="0.000971"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.109064" elapsed="0.108213"/>
</kw>
<msg time="2026-04-11T23:22:57.217364" level="INFO">Repeating keyword, round 408/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.219981" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.219759" elapsed="0.000264"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.219713" elapsed="0.000332"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.220334" level="INFO">${current_Date} = 2026-04-11 23:22:57.220</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.220184" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.220818" level="INFO">${ellapsed_seconds} = 2654.648</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.220501" elapsed="0.000343"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.221200" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.220973" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.220952" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:57.219107" elapsed="0.002213"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.221840" level="INFO">${number} = 408</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.221461" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.223259" level="INFO">${number} = 408</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.222928" elapsed="0.000357"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.224950" level="INFO">${device-port} = 18237</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.224316" elapsed="0.000661"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.227584" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:57.263788" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.264005" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.227474" elapsed="0.036590"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.264964" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:57.265095" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:57.264226" elapsed="0.001049">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:57.264182" elapsed="0.001189">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:57.227205" elapsed="0.038462">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.226610" elapsed="0.039202"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.266802" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18237 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:57.321778" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.321985" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.266272" elapsed="0.055768"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:57.322230" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:57.323091" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.225805" elapsed="0.097505"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:57.323950" elapsed="0.001815"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.225179" elapsed="0.100823"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.223977" elapsed="0.102168"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.223436" elapsed="0.102807"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.222462" elapsed="0.103904"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.222022" elapsed="0.104439"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.327625" level="INFO">${next} = 18238</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.326824" elapsed="0.000863"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.328918" level="INFO">${current_port} = 18238</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:57.328040" elapsed="0.000978"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.217810" elapsed="0.111334"/>
</kw>
<msg time="2026-04-11T23:22:57.329229" level="INFO">Repeating keyword, round 409/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.331872" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.331625" elapsed="0.000342"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.331550" elapsed="0.000454"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.332469" level="INFO">${current_Date} = 2026-04-11 23:22:57.332</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.332255" elapsed="0.000252"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.333155" level="INFO">${ellapsed_seconds} = 2654.536</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.332730" elapsed="0.000461"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.333672" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.333290" elapsed="0.000459"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.333264" elapsed="0.000517"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:57.331067" elapsed="0.002777"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.334542" level="INFO">${number} = 409</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.334042" elapsed="0.000556"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.336533" level="INFO">${number} = 409</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.336069" elapsed="0.000519"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.338963" level="INFO">${device-port} = 18238</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.338064" elapsed="0.000936"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.342648" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:57.372126" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.372506" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.342494" elapsed="0.030112"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.373883" elapsed="0.000068"/>
</kw>
<msg time="2026-04-11T23:22:57.374038" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:57.372869" elapsed="0.001286">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:57.372793" elapsed="0.001460">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:57.342118" elapsed="0.032477">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.341281" elapsed="0.033738"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.376107" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18238 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:57.430219" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.430448" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.375617" elapsed="0.054889"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:57.430748" elapsed="0.000180"/>
</return>
<msg time="2026-04-11T23:22:57.431639" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.340155" elapsed="0.091716"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:57.432495" elapsed="0.001940"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.339284" elapsed="0.095430"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.337564" elapsed="0.097323"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.336806" elapsed="0.098187"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.335439" elapsed="0.099686"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.334810" elapsed="0.100418"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.436402" level="INFO">${next} = 18239</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.435605" elapsed="0.000858"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.437813" level="INFO">${current_port} = 18239</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:57.436894" elapsed="0.001018"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.329770" elapsed="0.108275"/>
</kw>
<msg time="2026-04-11T23:22:57.438139" level="INFO">Repeating keyword, round 410/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.440333" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.440220" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.440200" elapsed="0.000198"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.440779" level="INFO">${current_Date} = 2026-04-11 23:22:57.441</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.440544" elapsed="0.000262"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.441289" level="INFO">${ellapsed_seconds} = 2654.427</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.440954" elapsed="0.000361"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.441651" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.441386" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.441366" elapsed="0.000363"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:57.439971" elapsed="0.001804"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.442284" level="INFO">${number} = 410</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.441920" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.443799" level="INFO">${number} = 410</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.443437" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.445497" level="INFO">${device-port} = 18239</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.444878" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.448244" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:57.483615" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.483835" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.448146" elapsed="0.035747"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.484793" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:57.484928" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:57.484059" elapsed="0.001065">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:57.484014" elapsed="0.001207">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:57.447872" elapsed="0.037624">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.447226" elapsed="0.038445"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.486665" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18239 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:57.541726" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.541939" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.486137" elapsed="0.055856"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:57.542184" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:22:57.543049" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.446370" elapsed="0.096903"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:57.543920" elapsed="0.001848"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.445750" elapsed="0.100261"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.444501" elapsed="0.101653"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.443987" elapsed="0.102263"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.442993" elapsed="0.103379"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.442464" elapsed="0.104000"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.547669" level="INFO">${next} = 18240</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.546871" elapsed="0.000922"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.548652" level="INFO">${current_port} = 18240</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:57.548100" elapsed="0.000612"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.438608" elapsed="0.110184"/>
</kw>
<msg time="2026-04-11T23:22:57.548845" level="INFO">Repeating keyword, round 411/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.550377" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.550226" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.550200" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.550970" level="INFO">${current_Date} = 2026-04-11 23:22:57.551</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.550729" elapsed="0.000279"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.551714" level="INFO">${ellapsed_seconds} = 2654.317</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.551210" elapsed="0.000541"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.552173" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.551851" elapsed="0.000397"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.551825" elapsed="0.000455"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:57.549893" elapsed="0.002452"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.553079" level="INFO">${number} = 411</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.552544" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.555155" level="INFO">${number} = 411</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.554660" elapsed="0.000532"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.557501" level="INFO">${device-port} = 18240</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.556653" elapsed="0.000885"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.560888" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:57.591754" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.591976" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.560791" elapsed="0.031243"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.592940" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:57.593073" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:57.592200" elapsed="0.000979">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:57.592155" elapsed="0.001113">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:57.560505" elapsed="0.033030">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.559895" elapsed="0.033880"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.594793" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18240 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:57.649935" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.650179" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.594242" elapsed="0.055994"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:57.650446" elapsed="0.000201"/>
</return>
<msg time="2026-04-11T23:22:57.651382" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.558724" elapsed="0.092910"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:57.652263" elapsed="0.001830"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.557845" elapsed="0.096485"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.556148" elapsed="0.098324"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.555410" elapsed="0.099186"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.553973" elapsed="0.100756"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.553328" elapsed="0.101579"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.655808" level="INFO">${next} = 18241</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.655259" elapsed="0.000588"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.656691" level="INFO">${current_port} = 18241</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:57.656088" elapsed="0.000666"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.549105" elapsed="0.107736"/>
</kw>
<msg time="2026-04-11T23:22:57.656901" level="INFO">Repeating keyword, round 412/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.658628" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.658442" elapsed="0.000249"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.658411" elapsed="0.000313"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.659248" level="INFO">${current_Date} = 2026-04-11 23:22:57.659</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.659007" elapsed="0.000279"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.660048" level="INFO">${ellapsed_seconds} = 2654.209</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.659502" elapsed="0.000584"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.660538" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.660191" elapsed="0.000447"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.660163" elapsed="0.000511"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:57.658082" elapsed="0.002660"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.661489" level="INFO">${number} = 412</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.660956" elapsed="0.000572"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.663775" level="INFO">${number} = 412</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.663181" elapsed="0.000635"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.666233" level="INFO">${device-port} = 18241</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.665313" elapsed="0.000960"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.669227" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:57.699964" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.700236" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.669126" elapsed="0.031172"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.701343" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:57.701479" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:57.700508" elapsed="0.001223">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:57.700446" elapsed="0.001387">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:57.668855" elapsed="0.033275">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.668210" elapsed="0.034062"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.703628" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18241 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:57.758125" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.758413" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.702881" elapsed="0.055590"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:57.758774" elapsed="0.000199"/>
</return>
<msg time="2026-04-11T23:22:57.759725" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.667394" elapsed="0.092549"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:57.760623" elapsed="0.001900"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.666594" elapsed="0.096285"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.664803" elapsed="0.098251"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.664048" elapsed="0.099111"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.662437" elapsed="0.100852"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.661778" elapsed="0.101607"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.764719" level="INFO">${next} = 18242</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.763792" elapsed="0.000993"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.766096" level="INFO">${current_port} = 18242</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:57.765146" elapsed="0.001043"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.657204" elapsed="0.109115"/>
</kw>
<msg time="2026-04-11T23:22:57.766409" level="INFO">Repeating keyword, round 413/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.768486" elapsed="0.000026"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.768311" elapsed="0.000243"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.768273" elapsed="0.000337"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.769161" level="INFO">${current_Date} = 2026-04-11 23:22:57.769</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.768908" elapsed="0.000295"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.769923" level="INFO">${ellapsed_seconds} = 2654.099</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.769421" elapsed="0.000540"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.770426" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.770065" elapsed="0.000441"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.770038" elapsed="0.000503"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:57.767934" elapsed="0.002696"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.771464" level="INFO">${number} = 413</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.770899" elapsed="0.000604"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.773635" level="INFO">${number} = 413</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.773110" elapsed="0.000566"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.776207" level="INFO">${device-port} = 18242</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.775231" elapsed="0.001015"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.779865" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:57.812063" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.812349" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.779756" elapsed="0.032653"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.813460" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:57.813627" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:57.812655" elapsed="0.001088">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:57.812557" elapsed="0.001282">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:57.779462" elapsed="0.034694">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.778688" elapsed="0.035704"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.815483" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18242 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:57.869832" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.870136" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.815052" elapsed="0.055141"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:57.870442" elapsed="0.000214"/>
</return>
<msg time="2026-04-11T23:22:57.871419" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.777471" elapsed="0.094200"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:57.872339" elapsed="0.001890"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.776550" elapsed="0.097912"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.774670" elapsed="0.099966"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.773908" elapsed="0.100912"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.772429" elapsed="0.102538"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.771759" elapsed="0.103280"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.875841" level="INFO">${next} = 18243</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.875276" elapsed="0.000604"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.876743" level="INFO">${current_port} = 18243</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:57.876130" elapsed="0.000676"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.766994" elapsed="0.109897"/>
</kw>
<msg time="2026-04-11T23:22:57.876953" level="INFO">Repeating keyword, round 414/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.878776" elapsed="0.000026"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.878556" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.878524" elapsed="0.000367"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.879375" level="INFO">${current_Date} = 2026-04-11 23:22:57.879</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.879124" elapsed="0.000290"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.880174" level="INFO">${ellapsed_seconds} = 2653.989</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.879691" elapsed="0.000521"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.880737" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.880347" elapsed="0.000468"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.880318" elapsed="0.000532"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:57.878196" elapsed="0.002720"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.881729" level="INFO">${number} = 414</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.881125" elapsed="0.000644"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.884050" level="INFO">${number} = 414</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.883449" elapsed="0.000642"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.886548" level="INFO">${device-port} = 18243</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.885623" elapsed="0.000988"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.889500" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:57.923902" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.924206" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.889394" elapsed="0.034874"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.925353" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:22:57.925492" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:57.924487" elapsed="0.001275">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:57.924426" elapsed="0.001437">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:57.889120" elapsed="0.037045">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.888456" elapsed="0.037855"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:57.927387" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18243 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:57.982499" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:57.982921" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:57.927008" elapsed="0.055975"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:57.983264" elapsed="0.000195"/>
</return>
<msg time="2026-04-11T23:22:57.984200" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.887648" elapsed="0.096772"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:57.985156" elapsed="0.002030"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.887013" elapsed="0.100417"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.885090" elapsed="0.102516"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.884319" elapsed="0.103394"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.882782" elapsed="0.105060"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.881996" elapsed="0.105942"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.989134" level="INFO">${next} = 18244</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.988287" elapsed="0.000908"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.990511" level="INFO">${current_port} = 18244</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:57.989558" elapsed="0.001120"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.877290" elapsed="0.113524"/>
</kw>
<msg time="2026-04-11T23:22:57.990904" level="INFO">Repeating keyword, round 415/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:57.992515" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:57.992393" elapsed="0.000165"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.992367" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.993032" level="INFO">${current_Date} = 2026-04-11 23:22:57.993</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:57.992853" elapsed="0.000207"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:57.993559" level="INFO">${ellapsed_seconds} = 2653.875</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:57.993208" elapsed="0.000393"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:57.993937" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:57.993673" elapsed="0.000318"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:57.993654" elapsed="0.000363"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:57.991904" elapsed="0.002160"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.994586" level="INFO">${number} = 415</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.994208" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.996038" level="INFO">${number} = 415</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.995691" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:57.998022" level="INFO">${device-port} = 18244</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:57.997302" elapsed="0.000747"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.003086" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:58.035459" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.035720" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.002982" elapsed="0.032810"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.036723" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:22:58.036879" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:58.035964" elapsed="0.001029">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:58.035917" elapsed="0.001167">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.002701" elapsed="0.034670">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:57.999802" elapsed="0.037815"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.038670" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18244 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:58.093793" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.094005" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.038111" elapsed="0.055949"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:58.094254" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:22:58.095154" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:57.998944" elapsed="0.096434"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:58.096042" elapsed="0.001906"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:57.998264" elapsed="0.099925"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:57.996862" elapsed="0.101475"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:57.996222" elapsed="0.102211"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.995232" elapsed="0.103325"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:57.994779" elapsed="0.103939"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.099918" level="INFO">${next} = 18245</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.099085" elapsed="0.000899"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.101239" level="INFO">${current_port} = 18245</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:58.100339" elapsed="0.000999"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:57.991229" elapsed="0.110239"/>
</kw>
<msg time="2026-04-11T23:22:58.101555" level="INFO">Repeating keyword, round 416/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:58.103658" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:58.103490" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.103470" elapsed="0.000253"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.104034" level="INFO">${current_Date} = 2026-04-11 23:22:58.104</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:58.103865" elapsed="0.000196"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.104509" level="INFO">${ellapsed_seconds} = 2653.764</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:58.104205" elapsed="0.000329"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.104856" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:58.104623" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.104603" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:58.103249" elapsed="0.001740"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.105497" level="INFO">${number} = 416</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.105132" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.106982" level="INFO">${number} = 416</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.106624" elapsed="0.000386"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.108714" level="INFO">${device-port} = 18245</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.108066" elapsed="0.000676"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.111399" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:58.144245" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.144417" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.111300" elapsed="0.033157"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.145116" elapsed="0.000040"/>
</kw>
<msg time="2026-04-11T23:22:58.145208" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:58.144610" elapsed="0.000731">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:58.144548" elapsed="0.000858">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.111023" elapsed="0.034593">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:58.110408" elapsed="0.035306"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.146374" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18245 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:58.201514" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.201681" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.146035" elapsed="0.055682"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:58.201847" elapsed="0.000098"/>
</return>
<msg time="2026-04-11T23:22:58.202362" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:58.109588" elapsed="0.092912"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:58.202929" elapsed="0.001169"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:58.108949" elapsed="0.095300"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:58.107716" elapsed="0.096626"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:58.107167" elapsed="0.097238"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.106150" elapsed="0.098334"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:58.105693" elapsed="0.098851"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.205277" level="INFO">${next} = 18246</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.204781" elapsed="0.000534"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.206114" level="INFO">${current_port} = 18246</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:58.205540" elapsed="0.000633"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.102034" elapsed="0.104219"/>
</kw>
<msg time="2026-04-11T23:22:58.206308" level="INFO">Repeating keyword, round 417/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:58.207977" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:58.207820" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.207793" elapsed="0.000276"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.208549" level="INFO">${current_Date} = 2026-04-11 23:22:58.208</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:58.208319" elapsed="0.000290"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.209271" level="INFO">${ellapsed_seconds} = 2653.66</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:58.208817" elapsed="0.000490"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.209758" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:58.209405" elapsed="0.000429"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.209380" elapsed="0.000485"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:58.207427" elapsed="0.002502"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.210691" level="INFO">${number} = 417</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.210129" elapsed="0.000600"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.212433" level="INFO">${number} = 417</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.212090" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.214128" level="INFO">${device-port} = 18246</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.213489" elapsed="0.000666"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.216800" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:58.251409" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.251545" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.216702" elapsed="0.034903"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.252153" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:22:58.252235" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:58.251710" elapsed="0.000591">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:58.251682" elapsed="0.000676">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.216412" elapsed="0.036118">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:58.215818" elapsed="0.036866"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.253284" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18246 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:58.309370" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.309501" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.252978" elapsed="0.056558"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:58.309681" elapsed="0.000089"/>
</return>
<msg time="2026-04-11T23:22:58.310170" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:58.215003" elapsed="0.095301"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:58.310734" elapsed="0.001253"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:58.214359" elapsed="0.097774"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:58.213145" elapsed="0.099078"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:58.212634" elapsed="0.099649"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.211641" elapsed="0.100718"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:58.210942" elapsed="0.101476"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.313114" level="INFO">${next} = 18247</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.312651" elapsed="0.000499"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.313916" level="INFO">${current_port} = 18247</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:58.313372" elapsed="0.000602"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.206614" elapsed="0.107440"/>
</kw>
<msg time="2026-04-11T23:22:58.314107" level="INFO">Repeating keyword, round 418/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:58.315730" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:58.315509" elapsed="0.000281"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.315481" elapsed="0.000340"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.316232" level="INFO">${current_Date} = 2026-04-11 23:22:58.316</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:58.316020" elapsed="0.000248"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.316913" level="INFO">${ellapsed_seconds} = 2653.552</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:58.316468" elapsed="0.000481"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.317366" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:58.317048" elapsed="0.000391"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.317021" elapsed="0.000452"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:58.315179" elapsed="0.002358"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.318263" level="INFO">${number} = 418</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.317758" elapsed="0.000541"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.320348" level="INFO">${number} = 418</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.319881" elapsed="0.000504"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.322720" level="INFO">${device-port} = 18247</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.321814" elapsed="0.000943"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.325432" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:58.359377" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.359513" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.325336" elapsed="0.034214"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.360116" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:58.360198" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:58.359677" elapsed="0.000636">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:58.359649" elapsed="0.000724">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.324876" elapsed="0.035663">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:58.324468" elapsed="0.036181"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.361248" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18247 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:58.417403" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.417535" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.360943" elapsed="0.056651"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:58.417716" elapsed="0.000090"/>
</return>
<msg time="2026-04-11T23:22:58.418200" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:58.323679" elapsed="0.094654"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:58.418753" elapsed="0.001097"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:58.323031" elapsed="0.096967"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:58.321311" elapsed="0.098773"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:58.320628" elapsed="0.099517"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.319170" elapsed="0.101051"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:58.318527" elapsed="0.101752"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.420975" level="INFO">${next} = 18248</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.420490" elapsed="0.000523"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.421780" level="INFO">${current_port} = 18248</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:58.421234" elapsed="0.000606"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.314364" elapsed="0.107554"/>
</kw>
<msg time="2026-04-11T23:22:58.421971" level="INFO">Repeating keyword, round 419/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:58.423530" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:58.423381" elapsed="0.000277"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.423354" elapsed="0.000339"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.424153" level="INFO">${current_Date} = 2026-04-11 23:22:58.424</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:58.423939" elapsed="0.000251"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.424833" level="INFO">${ellapsed_seconds} = 2653.444</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:58.424392" elapsed="0.000477"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.425290" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:58.424967" elapsed="0.000396"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.424941" elapsed="0.000455"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:58.423051" elapsed="0.002409"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.426334" level="INFO">${number} = 419</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.425683" elapsed="0.000688"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.428414" level="INFO">${number} = 419</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.427945" elapsed="0.000506"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.430768" level="INFO">${device-port} = 18248</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.429875" elapsed="0.000931"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.433815" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:58.467548" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.467706" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.433526" elapsed="0.034217"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.468281" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:58.468364" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:58.467844" elapsed="0.000585">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:58.467817" elapsed="0.000668">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.433252" elapsed="0.035422">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:58.432864" elapsed="0.035942"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.469403" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18248 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:58.525418" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.525549" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.469098" elapsed="0.056508"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:58.525723" elapsed="0.000090"/>
</return>
<msg time="2026-04-11T23:22:58.526207" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:58.432050" elapsed="0.094289"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:58.526759" elapsed="0.001097"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:58.431180" elapsed="0.096822"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:58.429367" elapsed="0.098723"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:58.428690" elapsed="0.099461"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.427241" elapsed="0.100986"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:58.426617" elapsed="0.101670"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.528993" level="INFO">${next} = 18249</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.528499" elapsed="0.000531"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.529850" level="INFO">${current_port} = 18249</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:58.529250" elapsed="0.000661"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.422228" elapsed="0.107763"/>
</kw>
<msg time="2026-04-11T23:22:58.530048" level="INFO">Repeating keyword, round 420/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:58.531624" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:58.531452" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.531425" elapsed="0.000288"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.532120" level="INFO">${current_Date} = 2026-04-11 23:22:58.532</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:58.531910" elapsed="0.000246"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.532798" level="INFO">${ellapsed_seconds} = 2653.336</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:58.532358" elapsed="0.000478"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.533250" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:58.532934" elapsed="0.000388"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.532907" elapsed="0.000448"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:58.531122" elapsed="0.002296"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.534207" level="INFO">${number} = 420</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.533701" elapsed="0.000543"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.536439" level="INFO">${number} = 420</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.535752" elapsed="0.000724"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.538800" level="INFO">${device-port} = 18249</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.537904" elapsed="0.000934"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.542191" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:58.575326" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.575461" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.542057" elapsed="0.033440"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.576063" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:58.576144" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:58.575626" elapsed="0.000633">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:58.575596" elapsed="0.000723">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.541677" elapsed="0.034809">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:58.541120" elapsed="0.035473"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.577188" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18249 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:58.633314" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.633446" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.576884" elapsed="0.056596"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:58.633624" elapsed="0.000091"/>
</return>
<msg time="2026-04-11T23:22:58.634110" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:58.539992" elapsed="0.094251"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:58.634656" elapsed="0.001095"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:58.539120" elapsed="0.096778"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:58.537402" elapsed="0.098585"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:58.536719" elapsed="0.099329"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.535114" elapsed="0.101012"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:58.534470" elapsed="0.101715"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.636877" level="INFO">${next} = 18250</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.636394" elapsed="0.000521"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.637675" level="INFO">${current_port} = 18250</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:58.637135" elapsed="0.000601"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.530304" elapsed="0.107511"/>
</kw>
<msg time="2026-04-11T23:22:58.637869" level="INFO">Repeating keyword, round 421/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:58.639434" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:58.639283" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.639255" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.640018" level="INFO">${current_Date} = 2026-04-11 23:22:58.640</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:58.639797" elapsed="0.000260"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.640704" level="INFO">${ellapsed_seconds} = 2653.228</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:58.640259" elapsed="0.000482"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.641159" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:58.640839" elapsed="0.000396"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.640814" elapsed="0.000453"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:58.638951" elapsed="0.002380"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.642053" level="INFO">${number} = 421</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.641529" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.644153" level="INFO">${number} = 421</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.643680" elapsed="0.000510"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.646657" level="INFO">${device-port} = 18250</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.645718" elapsed="0.000979"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.649316" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:58.683628" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.683773" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.649075" elapsed="0.034737"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.684358" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:58.684441" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:58.683923" elapsed="0.000585">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:58.683887" elapsed="0.000676">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.648806" elapsed="0.035949">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:58.648401" elapsed="0.036494"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.685502" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18250 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:58.745558" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.745716" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.685196" elapsed="0.060555"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:58.745872" elapsed="0.000090"/>
</return>
<msg time="2026-04-11T23:22:58.746379" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:58.647612" elapsed="0.098906"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:58.746919" elapsed="0.001106"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:58.646985" elapsed="0.101188"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:58.645222" elapsed="0.103041"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:58.644407" elapsed="0.103917"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.643044" elapsed="0.105355"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:58.642299" elapsed="0.106159"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.749148" level="INFO">${next} = 18251</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.748689" elapsed="0.000495"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.749947" level="INFO">${current_port} = 18251</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:58.749404" elapsed="0.000604"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.638129" elapsed="0.111961"/>
</kw>
<msg time="2026-04-11T23:22:58.750144" level="INFO">Repeating keyword, round 422/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:58.751735" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:58.751532" elapsed="0.000260"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.751505" elapsed="0.000317"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.752226" level="INFO">${current_Date} = 2026-04-11 23:22:58.752</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:58.752017" elapsed="0.000245"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.752901" level="INFO">${ellapsed_seconds} = 2653.116</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:58.752460" elapsed="0.000477"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.753347" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:58.753034" elapsed="0.000386"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.753008" elapsed="0.000444"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:58.751202" elapsed="0.002313"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.754227" level="INFO">${number} = 422</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.753730" elapsed="0.000533"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.756003" level="INFO">${number} = 422</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.755663" elapsed="0.000366"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.757658" level="INFO">${device-port} = 18251</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.757029" elapsed="0.000655"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.760231" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:58.795728" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.795863" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.760134" elapsed="0.035766"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.796444" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:22:58.796526" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:58.796007" elapsed="0.000660">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:58.795979" elapsed="0.000750">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.759716" elapsed="0.037185">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:58.759316" elapsed="0.037673"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.797614" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18251 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:58.854180" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.854310" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.797280" elapsed="0.057082"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:58.854481" elapsed="0.000120"/>
</return>
<msg time="2026-04-11T23:22:58.855012" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:58.758511" elapsed="0.096639"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:58.855527" elapsed="0.001142"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:58.757886" elapsed="0.098932"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:58.756685" elapsed="0.100222"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:58.756181" elapsed="0.100788"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.755101" elapsed="0.101944"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:58.754503" elapsed="0.102601"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.857790" level="INFO">${next} = 18252</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.857312" elapsed="0.000515"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.858596" level="INFO">${current_port} = 18252</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:58.858046" elapsed="0.000611"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.750417" elapsed="0.108318"/>
</kw>
<msg time="2026-04-11T23:22:58.858788" level="INFO">Repeating keyword, round 423/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:58.860328" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:58.860178" elapsed="0.000207"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.860151" elapsed="0.000484"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.861489" level="INFO">${current_Date} = 2026-04-11 23:22:58.861</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:58.861097" elapsed="0.000457"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.862747" level="INFO">${ellapsed_seconds} = 2653.007</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:58.861951" elapsed="0.000859"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.863530" elapsed="0.000234"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:58.862978" elapsed="0.000869"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.862934" elapsed="0.000972"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:58.859845" elapsed="0.004175"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.865291" level="INFO">${number} = 423</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.864365" elapsed="0.000988"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.868781" level="INFO">${number} = 423</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.867948" elapsed="0.000896"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.871812" level="INFO">${device-port} = 18252</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.871170" elapsed="0.000670"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.874458" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:58.908152" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.908387" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.874278" elapsed="0.034172"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.909422" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:22:58.909563" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:58.908667" elapsed="0.001043">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:58.908615" elapsed="0.001194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.873868" elapsed="0.036227">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:58.873466" elapsed="0.036895"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.911254" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18252 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:58.966209" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:58.966441" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.910908" elapsed="0.055589"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:58.966724" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:22:58.967511" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:58.872674" elapsed="0.095103"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:58.968367" elapsed="0.001804"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:58.872044" elapsed="0.098389"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:58.870426" elapsed="0.100182"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:58.869213" elapsed="0.101500"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.866863" elapsed="0.103973"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:58.865752" elapsed="0.105178"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.972035" level="INFO">${next} = 18253</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.971268" elapsed="0.000826"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.973357" level="INFO">${current_port} = 18253</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:58.972447" elapsed="0.001002"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.859055" elapsed="0.114549"/>
</kw>
<msg time="2026-04-11T23:22:58.973694" level="INFO">Repeating keyword, round 424/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:58.975559" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:58.975452" elapsed="0.000165"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.975432" elapsed="0.000206"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.975929" level="INFO">${current_Date} = 2026-04-11 23:22:58.976</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:58.975778" elapsed="0.000177"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:58.976395" level="INFO">${ellapsed_seconds} = 2652.892</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:58.976096" elapsed="0.000325"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:58.976773" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:58.976490" elapsed="0.000336"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:58.976471" elapsed="0.000378"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:58.975213" elapsed="0.001681"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.977389" level="INFO">${number} = 424</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.977033" elapsed="0.000382"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.978817" level="INFO">${number} = 424</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.978468" elapsed="0.000375"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:58.980436" level="INFO">${device-port} = 18253</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:58.979829" elapsed="0.000634"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:58.983063" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:59.020154" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.020369" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:58.982966" elapsed="0.037462"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.021320" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:59.021449" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:59.020628" elapsed="0.001041">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:59.020545" elapsed="0.001224">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:58.982695" elapsed="0.039340">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:58.982115" elapsed="0.040058"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.023161" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18253 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:59.077835" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.078041" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.022723" elapsed="0.055372"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:59.078312" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:22:59.079149" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:58.981314" elapsed="0.098054"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:59.079996" elapsed="0.001796"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:58.980704" elapsed="0.101326"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:58.979477" elapsed="0.102696"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:58.978996" elapsed="0.103297"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.978016" elapsed="0.104401"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:58.977563" elapsed="0.104946"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.083649" level="INFO">${next} = 18254</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.082871" elapsed="0.000840"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.084922" level="INFO">${current_port} = 18254</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:59.084062" elapsed="0.000959"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:58.974116" elapsed="0.111031"/>
</kw>
<msg time="2026-04-11T23:22:59.085231" level="INFO">Repeating keyword, round 425/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:59.087349" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:59.087243" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.087224" elapsed="0.000188"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.087796" level="INFO">${current_Date} = 2026-04-11 23:22:59.088</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:59.087641" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.088263" level="INFO">${ellapsed_seconds} = 2652.78</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:59.087966" elapsed="0.000323"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.088597" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:59.088358" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.088340" elapsed="0.000335"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:59.086958" elapsed="0.001762"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.089219" level="INFO">${number} = 425</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.088862" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.090681" level="INFO">${number} = 425</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.090294" elapsed="0.000413"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.092319" level="INFO">${device-port} = 18254</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.091710" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.094947" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:59.132274" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.132674" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.094852" elapsed="0.037888"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.133895" elapsed="0.000064"/>
</kw>
<msg time="2026-04-11T23:22:59.134040" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:59.132986" elapsed="0.001168">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:59.132914" elapsed="0.001382">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:59.094582" elapsed="0.040048">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:59.094005" elapsed="0.040886"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.136009" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18254 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:59.190095" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.190331" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.135428" elapsed="0.054959"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:59.190625" elapsed="0.000155"/>
</return>
<msg time="2026-04-11T23:22:59.191440" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:59.093174" elapsed="0.098522"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:59.192297" elapsed="0.001875"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:59.092550" elapsed="0.101885"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:59.091349" elapsed="0.103266"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:59.090861" elapsed="0.103859"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.089848" elapsed="0.104999"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:59.089394" elapsed="0.105551"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.196106" level="INFO">${next} = 18255</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.195287" elapsed="0.000878"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.197430" level="INFO">${current_port} = 18255</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:59.196526" elapsed="0.000998"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.085675" elapsed="0.112012"/>
</kw>
<msg time="2026-04-11T23:22:59.197777" level="INFO">Repeating keyword, round 426/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:59.199740" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:59.199623" elapsed="0.000160"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.199547" elapsed="0.000257"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.200123" level="INFO">${current_Date} = 2026-04-11 23:22:59.200</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:59.199949" elapsed="0.000200"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.200773" level="INFO">${ellapsed_seconds} = 2652.668</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:59.200293" elapsed="0.000506"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.201126" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:59.200870" elapsed="0.000309"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.200851" elapsed="0.000352"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:59.199326" elapsed="0.001922"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.201767" level="INFO">${number} = 426</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.201389" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.203248" level="INFO">${number} = 426</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.202909" elapsed="0.000365"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.204924" level="INFO">${device-port} = 18255</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.204290" elapsed="0.000661"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.207603" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:59.240302" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.240525" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.207491" elapsed="0.033127"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.241480" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:59.241642" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:59.240786" elapsed="0.001041">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:59.240740" elapsed="0.001184">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:59.207222" elapsed="0.035017">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:59.206640" elapsed="0.035745"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.243376" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18255 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:59.298185" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.298415" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.242890" elapsed="0.055582"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:59.298727" elapsed="0.000154"/>
</return>
<msg time="2026-04-11T23:22:59.299562" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:59.205791" elapsed="0.094048"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:59.300470" elapsed="0.001980"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:59.205156" elapsed="0.097573"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:59.203949" elapsed="0.098926"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:59.203429" elapsed="0.099543"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.202407" elapsed="0.100689"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:59.201945" elapsed="0.101264"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.304382" level="INFO">${next} = 18256</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.303558" elapsed="0.000886"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.305746" level="INFO">${current_port} = 18256</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:59.304840" elapsed="0.001093"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.198254" elapsed="0.107817"/>
</kw>
<msg time="2026-04-11T23:22:59.306207" level="INFO">Repeating keyword, round 427/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:59.307924" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:59.307786" elapsed="0.000181"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.307766" elapsed="0.000222"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.308350" level="INFO">${current_Date} = 2026-04-11 23:22:59.308</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:59.308178" elapsed="0.000199"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.308864" level="INFO">${ellapsed_seconds} = 2652.56</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:59.308522" elapsed="0.000368"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.309200" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:59.308961" elapsed="0.000292"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.308943" elapsed="0.000333"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:59.307485" elapsed="0.001845"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.309862" level="INFO">${number} = 427</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.309475" elapsed="0.000414"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.311324" level="INFO">${number} = 427</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.310974" elapsed="0.000381"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.313235" level="INFO">${device-port} = 18256</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.312439" elapsed="0.000823"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.318480" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:59.351842" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.352211" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.318361" elapsed="0.033912"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.353426" elapsed="0.000064"/>
</kw>
<msg time="2026-04-11T23:22:59.353600" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:59.352506" elapsed="0.001214">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:59.352438" elapsed="0.001379">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:59.318043" elapsed="0.036075">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:59.314992" elapsed="0.039401"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.355500" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18256 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:59.410000" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.410230" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.354973" elapsed="0.055313"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:59.410485" elapsed="0.000196"/>
</return>
<msg time="2026-04-11T23:22:59.411344" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:59.314121" elapsed="0.097442"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:59.412221" elapsed="0.001984"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:59.313477" elapsed="0.100968"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:59.312089" elapsed="0.102528"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:59.311515" elapsed="0.103204"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.310512" elapsed="0.104331"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:59.310043" elapsed="0.104896"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.416088" level="INFO">${next} = 18257</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.415279" elapsed="0.000867"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.417484" level="INFO">${current_port} = 18257</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:59.416502" elapsed="0.001123"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.306702" elapsed="0.111059"/>
</kw>
<msg time="2026-04-11T23:22:59.417849" level="INFO">Repeating keyword, round 428/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:59.419847" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:59.419735" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.419716" elapsed="0.000193"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.420230" level="INFO">${current_Date} = 2026-04-11 23:22:59.420</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:59.420056" elapsed="0.000201"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.420758" level="INFO">${ellapsed_seconds} = 2652.448</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:59.420400" elapsed="0.000384"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.421110" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:59.420854" elapsed="0.000307"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.420835" elapsed="0.000349"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:59.419437" elapsed="0.001792"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.421746" level="INFO">${number} = 428</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.421368" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.423209" level="INFO">${number} = 428</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.422866" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.425008" level="INFO">${device-port} = 18257</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.424358" elapsed="0.000677"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.427697" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:59.460073" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.460288" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.427596" elapsed="0.032750"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.461243" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:22:59.461374" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:59.460508" elapsed="0.001140">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:59.460463" elapsed="0.001286">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:59.427119" elapsed="0.034900">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:59.426732" elapsed="0.035460"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.463182" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18257 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:59.518896" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.519357" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.462697" elapsed="0.056723"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:59.519824" elapsed="0.000217"/>
</return>
<msg time="2026-04-11T23:22:59.520830" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:59.425878" elapsed="0.095185"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:59.521848" elapsed="0.002089"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:59.425240" elapsed="0.098952"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:59.424019" elapsed="0.100329"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:59.423393" elapsed="0.101062"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.422385" elapsed="0.102241"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:59.421925" elapsed="0.102808"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.525977" level="INFO">${next} = 18258</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.525089" elapsed="0.000948"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.527361" level="INFO">${current_port} = 18258</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:59.526428" elapsed="0.001025"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.418481" elapsed="0.109133"/>
</kw>
<msg time="2026-04-11T23:22:59.527710" level="INFO">Repeating keyword, round 429/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:59.530765" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:59.530476" elapsed="0.000383"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.530429" elapsed="0.000480"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.531374" level="INFO">${current_Date} = 2026-04-11 23:22:59.531</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:59.531181" elapsed="0.000220"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.531930" level="INFO">${ellapsed_seconds} = 2652.337</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:59.531548" elapsed="0.000411"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.532301" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:59.532032" elapsed="0.000323"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.532014" elapsed="0.000364"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:59.529868" elapsed="0.002555"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.532950" level="INFO">${number} = 429</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.532581" elapsed="0.000396"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.534436" level="INFO">${number} = 429</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.534061" elapsed="0.000402"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.536203" level="INFO">${device-port} = 18258</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.535536" elapsed="0.000694"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.539014" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:59.571627" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.571850" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.538684" elapsed="0.033225"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.572827" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:59.572964" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:59.572074" elapsed="0.000997">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:59.572030" elapsed="0.001130">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:59.538383" elapsed="0.035073">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:59.537964" elapsed="0.035736"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.574805" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18258 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:59.630271" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.630485" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.574261" elapsed="0.056278"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:59.630777" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:22:59.631614" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:59.537104" elapsed="0.094743"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:59.632450" elapsed="0.001913"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:59.536443" elapsed="0.098227"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:59.535181" elapsed="0.099643"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:59.534642" elapsed="0.100281"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.533613" elapsed="0.101430"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:59.533132" elapsed="0.102007"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.636256" level="INFO">${next} = 18259</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.635473" elapsed="0.000841"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.637541" level="INFO">${current_port} = 18259</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:59.636697" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.528225" elapsed="0.109568"/>
</kw>
<msg time="2026-04-11T23:22:59.637878" level="INFO">Repeating keyword, round 430/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:59.640455" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:59.640221" elapsed="0.000326"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.640179" elapsed="0.000447"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.641292" level="INFO">${current_Date} = 2026-04-11 23:22:59.641</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:59.640948" elapsed="0.000402"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.642444" level="INFO">${ellapsed_seconds} = 2652.227</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:59.641702" elapsed="0.000800"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.643111" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:59.642733" elapsed="0.000430"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.642689" elapsed="0.000498"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:59.639690" elapsed="0.003541"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.643750" level="INFO">${number} = 430</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.643373" elapsed="0.000404"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.645180" level="INFO">${number} = 430</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.644835" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.646928" level="INFO">${device-port} = 18259</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.646265" elapsed="0.000691"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.649520" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:59.680047" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.680265" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.649416" elapsed="0.030908"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.681239" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:22:59.681370" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:59.680489" elapsed="0.001074">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:59.680444" elapsed="0.001251">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:59.649124" elapsed="0.032847">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:59.648723" elapsed="0.033440"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.683160" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18259 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:59.738053" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.738267" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.682673" elapsed="0.055650"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:59.738516" elapsed="0.000196"/>
</return>
<msg time="2026-04-11T23:22:59.739355" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:59.647876" elapsed="0.091740"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:59.740230" elapsed="0.001870"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:59.647227" elapsed="0.095119"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:59.645901" elapsed="0.096593"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:59.645364" elapsed="0.097259"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.644365" elapsed="0.098385"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:59.643927" elapsed="0.098918"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.743970" level="INFO">${next} = 18260</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.743183" elapsed="0.000847"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.745263" level="INFO">${current_port} = 18260</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:59.744387" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.638311" elapsed="0.107169"/>
</kw>
<msg time="2026-04-11T23:22:59.745565" level="INFO">Repeating keyword, round 431/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:59.747526" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:59.747417" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.747398" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.748008" level="INFO">${current_Date} = 2026-04-11 23:22:59.748</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:59.747848" elapsed="0.000186"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.748490" level="INFO">${ellapsed_seconds} = 2652.12</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:59.748179" elapsed="0.000338"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.748837" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:59.748603" elapsed="0.000288"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.748583" elapsed="0.000331"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:59.747167" elapsed="0.001793"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.749467" level="INFO">${number} = 431</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.749103" elapsed="0.000391"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.750940" level="INFO">${number} = 431</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.750589" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.752680" level="INFO">${device-port} = 18260</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.752025" elapsed="0.000682"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.755217" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:59.787696" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.787920" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.755114" elapsed="0.032863"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.788896" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:22:59.789030" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:59.788143" elapsed="0.000996">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:59.788098" elapsed="0.001132">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:59.754825" elapsed="0.034674">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:59.754407" elapsed="0.035340"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.790810" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18260 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:59.846208" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.846452" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.790270" elapsed="0.056237"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:59.846766" elapsed="0.000167"/>
</return>
<msg time="2026-04-11T23:22:59.847633" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:59.753545" elapsed="0.094313"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:59.848477" elapsed="0.001886"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:59.752916" elapsed="0.097713"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:59.751669" elapsed="0.099115"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:59.751126" elapsed="0.099759"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.750124" elapsed="0.100885"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:59.749663" elapsed="0.101444"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.852253" level="INFO">${next} = 18261</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.851450" elapsed="0.000862"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.853637" level="INFO">${current_port} = 18261</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:59.852742" elapsed="0.000993"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.746062" elapsed="0.107800"/>
</kw>
<msg time="2026-04-11T23:22:59.853952" level="INFO">Repeating keyword, round 432/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:59.859120" elapsed="0.000039"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:59.858826" elapsed="0.000415"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.858766" elapsed="0.000527"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.860115" level="INFO">${current_Date} = 2026-04-11 23:22:59.860</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:59.859699" elapsed="0.000477"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.861388" level="INFO">${ellapsed_seconds} = 2652.008</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:59.860505" elapsed="0.000942"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.862224" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:59.861646" elapsed="0.000699"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.861563" elapsed="0.000834"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:59.858157" elapsed="0.004347"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.863770" level="INFO">${number} = 432</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.862859" elapsed="0.000970"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.867049" level="INFO">${number} = 432</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.866263" elapsed="0.000817"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.868948" level="INFO">${device-port} = 18261</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.868285" elapsed="0.000691"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.871593" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:22:59.896111" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.896392" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.871452" elapsed="0.025000"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.897489" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:22:59.897655" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:22:59.896690" elapsed="0.001282">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:22:59.896630" elapsed="0.001447">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:59.871171" elapsed="0.027226">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:59.870761" elapsed="0.027786"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.899623" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18261 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:22:59.954556" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:22:59.954908" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.899071" elapsed="0.055893"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:22:59.955217" elapsed="0.000181"/>
</return>
<msg time="2026-04-11T23:22:59.956137" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:59.869859" elapsed="0.086679"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:22:59.957239" elapsed="0.001976"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:59.869188" elapsed="0.090272"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:59.867885" elapsed="0.091752"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:59.867241" elapsed="0.092503"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.865202" elapsed="0.094675"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:59.864176" elapsed="0.095802"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.961164" level="INFO">${next} = 18262</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.960324" elapsed="0.000899"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.962527" level="INFO">${current_port} = 18262</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:22:59.961615" elapsed="0.001035"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.856090" elapsed="0.106696"/>
</kw>
<msg time="2026-04-11T23:22:59.962876" level="INFO">Repeating keyword, round 433/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:22:59.965677" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:22:59.965397" elapsed="0.000376"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.965351" elapsed="0.000471"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.966736" level="INFO">${current_Date} = 2026-04-11 23:22:59.967</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:22:59.966331" elapsed="0.000464"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:22:59.967425" level="INFO">${ellapsed_seconds} = 2651.901</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:22:59.967076" elapsed="0.000375"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:22:59.967810" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:22:59.967523" elapsed="0.000340"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:59.967504" elapsed="0.000383"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:22:59.964848" elapsed="0.003084"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.968441" level="INFO">${number} = 433</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.968075" elapsed="0.000392"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.969972" level="INFO">${number} = 433</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.969607" elapsed="0.000392"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:22:59.971709" level="INFO">${device-port} = 18262</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:22:59.971062" elapsed="0.000674"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:22:59.974611" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.004412" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.004702" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:22:59.974269" elapsed="0.030494"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.005780" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:23:00.005936" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.004962" elapsed="0.001090">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.004902" elapsed="0.001249">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:22:59.973991" elapsed="0.032473">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:22:59.973559" elapsed="0.033179"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.007792" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18262 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:00.062727" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.063124" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.007236" elapsed="0.055947"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:00.063470" elapsed="0.000239"/>
</return>
<msg time="2026-04-11T23:23:00.064414" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:22:59.972605" elapsed="0.092062"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:00.065376" elapsed="0.002044"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:22:59.971947" elapsed="0.095748"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:22:59.970711" elapsed="0.097139"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:22:59.970161" elapsed="0.097795"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.969144" elapsed="0.098945"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:22:59.968685" elapsed="0.099508"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.069366" level="INFO">${next} = 18263</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.068540" elapsed="0.000884"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.070741" level="INFO">${current_port} = 18263</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:00.069814" elapsed="0.001022"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:59.963365" elapsed="0.107600"/>
</kw>
<msg time="2026-04-11T23:23:00.071056" level="INFO">Repeating keyword, round 434/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:00.073007" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:00.072880" elapsed="0.000169"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.072852" elapsed="0.000222"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.073410" level="INFO">${current_Date} = 2026-04-11 23:23:00.073</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:00.073226" elapsed="0.000211"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.073973" level="INFO">${ellapsed_seconds} = 2651.795</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:00.073602" elapsed="0.000397"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.074339" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:00.074070" elapsed="0.000322"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.074050" elapsed="0.000367"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:00.072553" elapsed="0.001909"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.074982" level="INFO">${number} = 434</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.074619" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.076412" level="INFO">${number} = 434</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.076070" elapsed="0.000369"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.078163" level="INFO">${device-port} = 18263</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.077500" elapsed="0.000691"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.080998" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.112408" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.112661" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.080890" elapsed="0.031833"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.113635" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:23:00.113768" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.112890" elapsed="0.001111">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.112845" elapsed="0.001256">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:00.080407" elapsed="0.033984">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:00.080013" elapsed="0.034519"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.115513" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18263 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:00.170390" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.170715" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.115028" elapsed="0.055746"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:00.171007" elapsed="0.000175"/>
</return>
<msg time="2026-04-11T23:23:00.171900" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:00.079149" elapsed="0.092980"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:00.172819" elapsed="0.002028"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:00.078496" elapsed="0.096613"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:00.077162" elapsed="0.098094"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:00.076652" elapsed="0.098705"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.075628" elapsed="0.099853"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:00.075162" elapsed="0.100442"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.176906" level="INFO">${next} = 18264</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.175953" elapsed="0.001013"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.177886" level="INFO">${current_port} = 18264</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:00.177242" elapsed="0.000707"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.071686" elapsed="0.106350"/>
</kw>
<msg time="2026-04-11T23:23:00.178099" level="INFO">Repeating keyword, round 435/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:00.180041" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:00.179868" elapsed="0.000240"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.179835" elapsed="0.000307"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.180730" level="INFO">${current_Date} = 2026-04-11 23:23:00.181</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:00.180451" elapsed="0.000319"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.181485" level="INFO">${ellapsed_seconds} = 2651.687</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:00.180989" elapsed="0.000536"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.182040" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:00.181650" elapsed="0.000473"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.181623" elapsed="0.000534"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:00.179479" elapsed="0.002744"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.183062" level="INFO">${number} = 435</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.182436" elapsed="0.000669"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.185183" level="INFO">${number} = 435</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.184684" elapsed="0.000537"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.187232" level="INFO">${device-port} = 18264</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.186604" elapsed="0.000655"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.189945" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.224539" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.224850" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.189827" elapsed="0.035085"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.225959" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:23:00.226098" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.225113" elapsed="0.001100">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.225055" elapsed="0.001251">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:00.189363" elapsed="0.037276">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:00.188971" elapsed="0.037915"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.227949" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18264 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:00.282505" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.282929" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.227391" elapsed="0.055600"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:00.283279" elapsed="0.000202"/>
</return>
<msg time="2026-04-11T23:23:00.284250" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:00.188112" elapsed="0.096359"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:00.285224" elapsed="0.002268"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:00.187466" elapsed="0.100301"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:00.186237" elapsed="0.101677"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:00.185510" elapsed="0.102508"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.184013" elapsed="0.104130"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:00.183332" elapsed="0.104912"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.289423" level="INFO">${next} = 18265</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.288637" elapsed="0.000843"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.290588" level="INFO">${current_port} = 18265</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:00.289913" elapsed="0.000738"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.178450" elapsed="0.112363"/>
</kw>
<msg time="2026-04-11T23:23:00.290883" level="INFO">Repeating keyword, round 436/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:00.292827" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:00.292649" elapsed="0.000240"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.292536" elapsed="0.000386"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.293392" level="INFO">${current_Date} = 2026-04-11 23:23:00.293</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:00.293139" elapsed="0.000292"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.294185" level="INFO">${ellapsed_seconds} = 2651.575</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:00.293667" elapsed="0.000557"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.294724" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:00.294326" elapsed="0.000477"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.294299" elapsed="0.000538"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:00.292203" elapsed="0.002699"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.295662" level="INFO">${number} = 436</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.295112" elapsed="0.000588"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.297844" level="INFO">${number} = 436</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.297315" elapsed="0.000568"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.300319" level="INFO">${device-port} = 18265</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.299372" elapsed="0.000987"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.303639" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.336096" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.336357" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.303513" elapsed="0.032903"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.337443" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:23:00.337606" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.336657" elapsed="0.001219">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.336557" elapsed="0.001422">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:00.303240" elapsed="0.035042">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:00.302626" elapsed="0.035798"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.339449" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18265 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:00.398171" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.398517" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.338952" elapsed="0.059662"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:00.398889" elapsed="0.000193"/>
</return>
<msg time="2026-04-11T23:23:00.399823" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:00.301612" elapsed="0.098434"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:00.400771" elapsed="0.001994"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:00.300684" elapsed="0.102324"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:00.298877" elapsed="0.104277"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:00.298114" elapsed="0.105143"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.296664" elapsed="0.106717"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:00.295925" elapsed="0.107551"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.404671" level="INFO">${next} = 18266</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.403846" elapsed="0.000886"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.406025" level="INFO">${current_port} = 18266</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:00.405084" elapsed="0.001019"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.291248" elapsed="0.114941"/>
</kw>
<msg time="2026-04-11T23:23:00.406251" level="INFO">Repeating keyword, round 437/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:00.408116" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:00.407947" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.407914" elapsed="0.000298"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.408846" level="INFO">${current_Date} = 2026-04-11 23:23:00.409</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:00.408505" elapsed="0.000382"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.409621" level="INFO">${ellapsed_seconds} = 2651.459</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:00.409105" elapsed="0.000556"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.410152" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:00.409765" elapsed="0.000465"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.409738" elapsed="0.000526"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:00.407560" elapsed="0.002771"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.411092" level="INFO">${number} = 437</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.410539" elapsed="0.000590"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.413231" level="INFO">${number} = 437</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.412732" elapsed="0.000538"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.415629" level="INFO">${device-port} = 18266</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.414943" elapsed="0.000714"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.418371" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.452372" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.452670" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.418264" elapsed="0.034469"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.453817" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:23:00.453961" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.452940" elapsed="0.001137">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.452880" elapsed="0.001293">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:00.417990" elapsed="0.036485">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:00.417350" elapsed="0.037390"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.455786" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18266 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:00.511164" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.511531" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.455234" elapsed="0.056396"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:00.511902" elapsed="0.000185"/>
</return>
<msg time="2026-04-11T23:23:00.512832" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:00.416512" elapsed="0.096547"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:00.513828" elapsed="0.001467"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:00.415867" elapsed="0.099587"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:00.414403" elapsed="0.101154"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:00.413499" elapsed="0.102152"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.412030" elapsed="0.103709"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:00.411353" elapsed="0.104456"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.516592" level="INFO">${next} = 18267</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.516042" elapsed="0.000590"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.517473" level="INFO">${current_port} = 18267</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:00.516874" elapsed="0.000660"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.406630" elapsed="0.111035"/>
</kw>
<msg time="2026-04-11T23:23:00.517729" level="INFO">Repeating keyword, round 438/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:00.519703" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:00.519504" elapsed="0.000263"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.519469" elapsed="0.000333"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.520274" level="INFO">${current_Date} = 2026-04-11 23:23:00.520</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:00.520018" elapsed="0.000294"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.521043" level="INFO">${ellapsed_seconds} = 2651.348</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:00.520526" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.521552" elapsed="0.000128"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:00.521184" elapsed="0.000546"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.521157" elapsed="0.000642"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:00.519051" elapsed="0.002818"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.522459" level="INFO">${number} = 438</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.522080" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.523890" level="INFO">${number} = 438</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.523538" elapsed="0.000378"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.525556" level="INFO">${device-port} = 18267</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.524932" elapsed="0.000750"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.528392" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.560313" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.560566" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.528284" elapsed="0.032377"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.561682" elapsed="0.000079"/>
</kw>
<msg time="2026-04-11T23:23:00.562068" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.560865" elapsed="0.001569">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.560803" elapsed="0.001756">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:00.528010" elapsed="0.034970">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:00.527382" elapsed="0.035768"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.564436" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18267 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:00.618685" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.618923" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.563811" elapsed="0.055170"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:00.619190" elapsed="0.000166"/>
</return>
<msg time="2026-04-11T23:23:00.620084" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:00.526526" elapsed="0.093782"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:00.620956" elapsed="0.002002"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:00.525909" elapsed="0.097302"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:00.524592" elapsed="0.098765"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:00.524070" elapsed="0.099388"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.523100" elapsed="0.100516"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:00.522652" elapsed="0.101067"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.624986" level="INFO">${next} = 18268</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.624064" elapsed="0.000983"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.626292" level="INFO">${current_port} = 18268</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:00.625414" elapsed="0.000937"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.518113" elapsed="0.108319"/>
</kw>
<msg time="2026-04-11T23:23:00.626491" level="INFO">Repeating keyword, round 439/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:00.628274" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:00.628108" elapsed="0.000225"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.628077" elapsed="0.000286"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.628950" level="INFO">${current_Date} = 2026-04-11 23:23:00.629</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:00.628701" elapsed="0.000286"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.629717" level="INFO">${ellapsed_seconds} = 2651.239</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:00.629195" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.630208" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:00.629852" elapsed="0.000429"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.629826" elapsed="0.000487"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:00.627754" elapsed="0.002623"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.631101" level="INFO">${number} = 439</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.630595" elapsed="0.000543"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.633155" level="INFO">${number} = 439</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.632681" elapsed="0.000511"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.635675" level="INFO">${device-port} = 18268</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.634780" elapsed="0.000933"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.642593" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.672104" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.672322" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.642481" elapsed="0.029898"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.673298" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:00.673431" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.672540" elapsed="0.000994">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.672495" elapsed="0.001159">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:00.642196" elapsed="0.031751">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:00.638091" elapsed="0.036079"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.675268" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18268 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:00.730130" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.730340" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.674749" elapsed="0.055644"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:00.730631" elapsed="0.000149"/>
</return>
<msg time="2026-04-11T23:23:00.731426" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:00.636894" elapsed="0.094790"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:00.732283" elapsed="0.001908"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:00.636004" elapsed="0.098425"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:00.634274" elapsed="0.100327"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:00.633411" elapsed="0.101293"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.631997" elapsed="0.102830"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:00.631349" elapsed="0.103572"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.736036" level="INFO">${next} = 18269</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.735253" elapsed="0.000841"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.737317" level="INFO">${current_port} = 18269</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:00.736443" elapsed="0.000965"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.626853" elapsed="0.110680"/>
</kw>
<msg time="2026-04-11T23:23:00.737651" level="INFO">Repeating keyword, round 440/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:00.739120" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:00.739004" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.738983" elapsed="0.000201"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.739477" level="INFO">${current_Date} = 2026-04-11 23:23:00.739</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:00.739324" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.740011" level="INFO">${ellapsed_seconds} = 2651.129</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:00.739703" elapsed="0.000333"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.740343" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:00.740106" elapsed="0.000289"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.740088" elapsed="0.000330"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:00.738674" elapsed="0.001788"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.740987" level="INFO">${number} = 440</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.740623" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.742411" level="INFO">${number} = 440</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.742073" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.744120" level="INFO">${device-port} = 18269</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.743433" elapsed="0.000713"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.746730" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.779873" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.780087" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.746631" elapsed="0.033515"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.781038" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:23:00.781167" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.780306" elapsed="0.001040">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.780262" elapsed="0.001179">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:00.746179" elapsed="0.035581">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:00.745797" elapsed="0.036105"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.782888" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18269 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:00.838187" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.838401" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.782361" elapsed="0.056094"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:00.838686" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:23:00.839466" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:00.744982" elapsed="0.094746"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:00.840322" elapsed="0.001825"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:00.744350" elapsed="0.098032"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:00.743095" elapsed="0.099427"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:00.742606" elapsed="0.100045"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.741622" elapsed="0.101153"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:00.741168" elapsed="0.101700"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.843975" level="INFO">${next} = 18270</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.843206" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.845357" level="INFO">${current_port} = 18270</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:00.844480" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.738111" elapsed="0.107491"/>
</kw>
<msg time="2026-04-11T23:23:00.845738" level="INFO">Repeating keyword, round 441/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:00.847026" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:00.846919" elapsed="0.000148"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.846900" elapsed="0.000190"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.847425" level="INFO">${current_Date} = 2026-04-11 23:23:00.847</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:00.847272" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.847955" level="INFO">${ellapsed_seconds} = 2651.021</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:00.847652" elapsed="0.000329"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.848277" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:00.848051" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.848033" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:00.846685" elapsed="0.001712"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.848911" level="INFO">${number} = 441</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.848538" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.850320" level="INFO">${number} = 441</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.849985" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.852017" level="INFO">${device-port} = 18270</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.851340" elapsed="0.000703"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.854745" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.888048" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.888265" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.854468" elapsed="0.033855"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.889221" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:23:00.889351" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.888485" elapsed="0.000970">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.888441" elapsed="0.001102">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:00.854204" elapsed="0.035656">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:00.853822" elapsed="0.036242"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.891061" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18270 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:00.950031" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.950238" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.890531" elapsed="0.059761"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:00.950483" elapsed="0.000201"/>
</return>
<msg time="2026-04-11T23:23:00.951333" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:00.852985" elapsed="0.098564"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:00.952189" elapsed="0.001839"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:00.852246" elapsed="0.102016"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:00.851000" elapsed="0.103402"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:00.850500" elapsed="0.103997"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.849523" elapsed="0.105128"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:00.849086" elapsed="0.105661"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.955862" level="INFO">${next} = 18271</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.955083" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.957142" level="INFO">${current_port} = 18271</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:00.956270" elapsed="0.000964"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.846133" elapsed="0.111225"/>
</kw>
<msg time="2026-04-11T23:23:00.957442" level="INFO">Repeating keyword, round 442/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:00.958967" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:00.958859" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.958840" elapsed="0.000191"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.959324" level="INFO">${current_Date} = 2026-04-11 23:23:00.959</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:00.959174" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:00.959854" level="INFO">${ellapsed_seconds} = 2650.909</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:00.959494" elapsed="0.000392"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:00.960186" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:00.959956" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:00.959937" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:00.958623" elapsed="0.001683"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.960823" level="INFO">${number} = 442</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.960449" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.962225" level="INFO">${number} = 442</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.961898" elapsed="0.000353"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:00.963922" level="INFO">${device-port} = 18271</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:00.963249" elapsed="0.000700"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:00.966349" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:00.999498" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:00.999621" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:00.966252" elapsed="0.033397"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.000036" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:23:01.000128" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:00.999723" elapsed="0.000595">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:00.999703" elapsed="0.000712">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:00.965979" elapsed="0.034736">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:00.965565" elapsed="0.035293"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.002004" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18271 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:01.057735" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.057941" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.001445" elapsed="0.056550"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:01.058186" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:23:01.059027" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:00.964780" elapsed="0.094464"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:01.059884" elapsed="0.001831"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:00.964156" elapsed="0.097796"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:00.962909" elapsed="0.099184"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:00.962405" elapsed="0.099785"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.961433" elapsed="0.100878"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:00.960999" elapsed="0.101405"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.063669" level="INFO">${next} = 18272</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.062770" elapsed="0.000961"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.064958" level="INFO">${current_port} = 18272</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:01.064090" elapsed="0.000964"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:00.957995" elapsed="0.107183"/>
</kw>
<msg time="2026-04-11T23:23:01.065262" level="INFO">Repeating keyword, round 443/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:01.066868" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:01.066760" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.066741" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.067263" level="INFO">${current_Date} = 2026-04-11 23:23:01.067</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:01.067110" elapsed="0.000179"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.067795" level="INFO">${ellapsed_seconds} = 2650.801</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:01.067435" elapsed="0.000386"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.068123" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:01.067892" elapsed="0.000286"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.067873" elapsed="0.000328"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:01.066507" elapsed="0.001740"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.068765" level="INFO">${number} = 443</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.068388" elapsed="0.000403"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.070187" level="INFO">${number} = 443</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.069852" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.071869" level="INFO">${device-port} = 18272</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.071212" elapsed="0.000684"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.074288" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:01.107508" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.107765" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.074192" elapsed="0.033633"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.108716" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:23:01.108849" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:01.107989" elapsed="0.000966">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:01.107945" elapsed="0.001099">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:01.073924" elapsed="0.035383">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:01.073508" elapsed="0.036004"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.110521" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18272 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:01.166208" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.166418" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.110033" elapsed="0.056439"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:01.166701" elapsed="0.000143"/>
</return>
<msg time="2026-04-11T23:23:01.167477" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:01.072720" elapsed="0.095017"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:01.168323" elapsed="0.001794"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:01.072098" elapsed="0.098252"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:01.070871" elapsed="0.099621"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:01.070369" elapsed="0.100250"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.069382" elapsed="0.101365"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:01.068943" elapsed="0.101898"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.171952" level="INFO">${next} = 18273</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.171176" elapsed="0.000835"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.173237" level="INFO">${current_port} = 18273</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:01.172362" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.065754" elapsed="0.107699"/>
</kw>
<msg time="2026-04-11T23:23:01.173557" level="INFO">Repeating keyword, round 444/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:01.176143" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:01.175903" elapsed="0.000333"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.175859" elapsed="0.000425"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.176969" level="INFO">${current_Date} = 2026-04-11 23:23:01.177</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:01.176629" elapsed="0.000398"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.178096" level="INFO">${ellapsed_seconds} = 2650.691</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:01.177350" elapsed="0.000788"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.178436" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:01.178209" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.178190" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:01.175248" elapsed="0.003310"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.179080" level="INFO">${number} = 444</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.178719" elapsed="0.000387"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.180541" level="INFO">${number} = 444</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.180206" elapsed="0.000374"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.182217" level="INFO">${device-port} = 18273</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.181596" elapsed="0.000648"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.184760" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:01.220086" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.220305" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.184663" elapsed="0.035700"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.221267" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:01.221399" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:01.220528" elapsed="0.001929">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:01.220483" elapsed="0.002107">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:01.184377" elapsed="0.038495">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:01.183991" elapsed="0.039026"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.224024" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18273 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:01.278208" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.278416" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.223489" elapsed="0.054982"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:01.278706" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:23:01.279500" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:01.183072" elapsed="0.096691"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:01.280360" elapsed="0.001852"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:01.182446" elapsed="0.100002"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:01.181222" elapsed="0.101399"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:01.180739" elapsed="0.101982"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.179765" elapsed="0.103080"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:01.179259" elapsed="0.103680"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.284051" level="INFO">${next} = 18274</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.283273" elapsed="0.000837"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.285336" level="INFO">${current_port} = 18274</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:01.284461" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.174002" elapsed="0.111634"/>
</kw>
<msg time="2026-04-11T23:23:01.285726" level="INFO">Repeating keyword, round 445/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:01.287410" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:01.287258" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.287232" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.288055" level="INFO">${current_Date} = 2026-04-11 23:23:01.288</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:01.287833" elapsed="0.000259"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.288746" level="INFO">${ellapsed_seconds} = 2650.58</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:01.288295" elapsed="0.000487"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.289207" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:01.288882" elapsed="0.000400"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.288855" elapsed="0.000459"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:01.286928" elapsed="0.002449"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.290125" level="INFO">${number} = 445</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.289611" elapsed="0.000551"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.292177" level="INFO">${number} = 445</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.291699" elapsed="0.000515"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.294513" level="INFO">${device-port} = 18274</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.293661" elapsed="0.000889"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.298216" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:01.328070" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.328290" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.297902" elapsed="0.030447"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.329246" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:01.329381" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:01.328512" elapsed="0.001000">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:01.328468" elapsed="0.001176">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:01.297384" elapsed="0.032532">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:01.296849" elapsed="0.033283"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.331133" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18274 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:01.386199" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.386411" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.330640" elapsed="0.055826"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:01.386706" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:23:01.387499" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:01.295722" elapsed="0.092037"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:01.388375" elapsed="0.001829"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:01.294855" elapsed="0.095582"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:01.293142" elapsed="0.097470"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:01.292432" elapsed="0.098284"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.291011" elapsed="0.099828"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:01.290374" elapsed="0.100560"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.392053" level="INFO">${next} = 18275</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.391270" elapsed="0.000842"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.393456" level="INFO">${current_port} = 18275</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:01.392470" elapsed="0.001085"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.286136" elapsed="0.107583"/>
</kw>
<msg time="2026-04-11T23:23:01.393808" level="INFO">Repeating keyword, round 446/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:01.396373" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:01.396135" elapsed="0.000331"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.396090" elapsed="0.000424"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.397205" level="INFO">${current_Date} = 2026-04-11 23:23:01.397</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:01.396860" elapsed="0.000404"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.398231" level="INFO">${ellapsed_seconds} = 2650.471</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:01.397663" elapsed="0.000594"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.398556" elapsed="0.000076"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:01.398328" elapsed="0.000338"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.398309" elapsed="0.000381"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:01.395597" elapsed="0.003138"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.399234" level="INFO">${number} = 446</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.398876" elapsed="0.000384"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.400662" level="INFO">${number} = 446</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.400312" elapsed="0.000377"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.402322" level="INFO">${device-port} = 18275</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.401713" elapsed="0.000636"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.405007" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:01.435997" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.436211" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.404767" elapsed="0.031502"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.437171" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:23:01.437303" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:01.436430" elapsed="0.001086">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:01.436386" elapsed="0.001258">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:01.404480" elapsed="0.033436">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:01.404097" elapsed="0.033958"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.439048" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18275 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:01.494616" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.494826" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.438517" elapsed="0.056363"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:01.495071" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:23:01.495898" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:01.403278" elapsed="0.092843"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:01.496751" elapsed="0.001779"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:01.402551" elapsed="0.096269"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:01.401328" elapsed="0.097634"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:01.400843" elapsed="0.098218"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.399869" elapsed="0.099314"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:01.399412" elapsed="0.099862"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.500386" level="INFO">${next} = 18276</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.499648" elapsed="0.000798"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.501918" level="INFO">${current_port} = 18276</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:01.500940" elapsed="0.001077"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.394228" elapsed="0.107903"/>
</kw>
<msg time="2026-04-11T23:23:01.502184" level="INFO">Repeating keyword, round 447/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:01.504060" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:01.503876" elapsed="0.000249"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.503546" elapsed="0.000609"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.504998" level="INFO">${current_Date} = 2026-04-11 23:23:01.505</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:01.504410" elapsed="0.000632"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.506424" level="INFO">${ellapsed_seconds} = 2650.363</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:01.505252" elapsed="0.001211"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.506909" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:01.506565" elapsed="0.000418"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.506539" elapsed="0.000476"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:01.503242" elapsed="0.003836"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.508008" level="INFO">${number} = 447</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.507276" elapsed="0.000771"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.510207" level="INFO">${number} = 447</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.509664" elapsed="0.000581"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.512516" level="INFO">${device-port} = 18276</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.511673" elapsed="0.000879"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.515561" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:01.548098" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.548316" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.515324" elapsed="0.033051"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.549279" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:23:01.549437" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:01.548538" elapsed="0.001006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:01.548494" elapsed="0.001171">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:01.515056" elapsed="0.034881">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:01.514675" elapsed="0.035466"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.551140" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18276 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:01.606389" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.606643" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.550649" elapsed="0.056052"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:01.606902" elapsed="0.000153"/>
</return>
<msg time="2026-04-11T23:23:01.607756" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:01.513767" elapsed="0.094211"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:01.608610" elapsed="0.001883"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:01.512852" elapsed="0.097908"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:01.511175" elapsed="0.099753"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:01.510461" elapsed="0.100565"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.508996" elapsed="0.102151"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:01.508345" elapsed="0.102897"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.612361" level="INFO">${next} = 18277</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.611608" elapsed="0.000811"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.613767" level="INFO">${current_port} = 18277</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:01.612836" elapsed="0.001028"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.502445" elapsed="0.111548"/>
</kw>
<msg time="2026-04-11T23:23:01.614081" level="INFO">Repeating keyword, round 448/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:01.615742" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:01.615586" elapsed="0.000214"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.615541" elapsed="0.000289"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.616248" level="INFO">${current_Date} = 2026-04-11 23:23:01.616</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:01.616027" elapsed="0.000257"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.617006" level="INFO">${ellapsed_seconds} = 2650.252</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:01.616483" elapsed="0.000559"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.617476" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:01.617139" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.617113" elapsed="0.000489"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:01.615169" elapsed="0.002498"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.618365" level="INFO">${number} = 448</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.617864" elapsed="0.000538"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.620341" level="INFO">${number} = 448</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.619877" elapsed="0.000500"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.622716" level="INFO">${device-port} = 18277</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.621850" elapsed="0.000904"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.626276" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:01.660530" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.660800" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.626179" elapsed="0.034686"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.661936" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:23:01.662073" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:01.661036" elapsed="0.001221">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:01.660990" elapsed="0.001362">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:01.625629" elapsed="0.037027">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:01.625034" elapsed="0.037767"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.663809" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18277 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:01.718728" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.718969" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.663270" elapsed="0.055761"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:01.719242" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:23:01.720131" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:01.623902" elapsed="0.096464"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:01.721049" elapsed="0.002001"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:01.623036" elapsed="0.100270"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:01.621329" elapsed="0.102129"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:01.620639" elapsed="0.102924"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.619248" elapsed="0.104482"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:01.618634" elapsed="0.105199"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.725057" level="INFO">${next} = 18278</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.724199" elapsed="0.000925"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.726471" level="INFO">${current_port} = 18278</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:01.725523" elapsed="0.001085"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.614360" elapsed="0.112392"/>
</kw>
<msg time="2026-04-11T23:23:01.726846" level="INFO">Repeating keyword, round 449/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:01.729804" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:01.729503" elapsed="0.000402"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.729457" elapsed="0.000501"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.730387" level="INFO">${current_Date} = 2026-04-11 23:23:01.730</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:01.730226" elapsed="0.000187"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.730888" level="INFO">${ellapsed_seconds} = 2650.138</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:01.730558" elapsed="0.000356"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.731213" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:01.730984" elapsed="0.000283"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.730966" elapsed="0.000324"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:01.728877" elapsed="0.002458"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.731860" level="INFO">${number} = 449</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.731478" elapsed="0.000408"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.733277" level="INFO">${number} = 449</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.732942" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.734973" level="INFO">${device-port} = 18278</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.734332" elapsed="0.000668"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.737776" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:01.767619" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.767838" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.737676" elapsed="0.030222"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.768808" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:23:01.768944" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:01.768063" elapsed="0.000988">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:01.768018" elapsed="0.001124">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:01.737387" elapsed="0.032056">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:01.736799" elapsed="0.032904"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.770709" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18278 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:01.826035" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.826245" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.770172" elapsed="0.056128"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:01.826490" elapsed="0.000198"/>
</return>
<msg time="2026-04-11T23:23:01.827336" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:01.735970" elapsed="0.091584"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:01.828193" elapsed="0.001834"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:01.735321" elapsed="0.094944"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:01.733994" elapsed="0.096413"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:01.733472" elapsed="0.097033"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.732487" elapsed="0.098173"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:01.732038" elapsed="0.098719"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.831884" level="INFO">${next} = 18279</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.831093" elapsed="0.000850"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.833173" level="INFO">${current_port} = 18279</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:01.832295" elapsed="0.000972"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.727307" elapsed="0.106137"/>
</kw>
<msg time="2026-04-11T23:23:01.833531" level="INFO">Repeating keyword, round 450/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:01.835318" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:01.835167" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.835141" elapsed="0.000265"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.835905" level="INFO">${current_Date} = 2026-04-11 23:23:01.836</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:01.835683" elapsed="0.000258"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.836602" level="INFO">${ellapsed_seconds} = 2650.032</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:01.836145" elapsed="0.000495"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.837144" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:01.836739" elapsed="0.000484"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.836712" elapsed="0.000544"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:01.834835" elapsed="0.002499"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.838058" level="INFO">${number} = 450</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.837534" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.840104" level="INFO">${number} = 450</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.839560" elapsed="0.000581"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.842515" level="INFO">${device-port} = 18279</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.841659" elapsed="0.000893"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.846201" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:01.880546" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.880805" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.846085" elapsed="0.034784"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.881844" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:23:01.881985" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:01.881042" elapsed="0.001134">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:01.880996" elapsed="0.001283">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:01.845705" elapsed="0.036894">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:01.844875" elapsed="0.037880"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.883810" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18279 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:01.938296" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.938610" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.883248" elapsed="0.055424"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:01.938896" elapsed="0.000169"/>
</return>
<msg time="2026-04-11T23:23:01.939792" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:01.843740" elapsed="0.096278"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:01.940703" elapsed="0.002173"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:01.842863" elapsed="0.100253"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:01.841135" elapsed="0.102127"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:01.840352" elapsed="0.103007"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.838951" elapsed="0.104530"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:01.838308" elapsed="0.105297"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.944783" level="INFO">${next} = 18280</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.943951" elapsed="0.000891"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.946198" level="INFO">${current_port} = 18280</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:01.945199" elapsed="0.001061"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.833985" elapsed="0.112356"/>
</kw>
<msg time="2026-04-11T23:23:01.946397" level="INFO">Repeating keyword, round 451/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:01.948086" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:01.947929" elapsed="0.000215"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.947900" elapsed="0.000275"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.948806" level="INFO">${current_Date} = 2026-04-11 23:23:01.949</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:01.948496" elapsed="0.000347"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:01.949528" level="INFO">${ellapsed_seconds} = 2649.919</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:01.949046" elapsed="0.000518"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.950022" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:01.949684" elapsed="0.000412"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:01.949658" elapsed="0.000475"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:01.947566" elapsed="0.002629"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.950921" level="INFO">${number} = 451</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.950393" elapsed="0.000564"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.952974" level="INFO">${number} = 451</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.952426" elapsed="0.000584"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:01.955328" level="INFO">${device-port} = 18280</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:01.954441" elapsed="0.000925"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.961882" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:01.992186" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:01.992406" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.961777" elapsed="0.030687"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:01.993406" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:01.993539" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:01.992668" elapsed="0.001009">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:01.992620" elapsed="0.001148">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:01.961478" elapsed="0.032573">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:01.957740" elapsed="0.036525"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:01.995264" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18280 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:02.050123" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.050226" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:01.994777" elapsed="0.055475"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:02.050343" elapsed="0.000071"/>
</return>
<msg time="2026-04-11T23:23:02.050744" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:01.956533" elapsed="0.094319"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:02.051134" elapsed="0.000853"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:01.955675" elapsed="0.096423"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:01.953969" elapsed="0.098200"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:01.953228" elapsed="0.098986"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.951813" elapsed="0.100458"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:01.951169" elapsed="0.101146"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.052828" level="INFO">${next} = 18281</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.052467" elapsed="0.000388"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.053446" level="INFO">${current_port} = 18281</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:02.053014" elapsed="0.000474"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:01.946734" elapsed="0.106812"/>
</kw>
<msg time="2026-04-11T23:23:02.053603" level="INFO">Repeating keyword, round 452/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:02.054727" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:02.054618" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.054598" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.055089" level="INFO">${current_Date} = 2026-04-11 23:23:02.055</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:02.054931" elapsed="0.000185"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.055599" level="INFO">${ellapsed_seconds} = 2649.813</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:02.055259" elapsed="0.000367"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.055934" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:02.055697" elapsed="0.000290"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.055679" elapsed="0.000331"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:02.054364" elapsed="0.001691"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.056555" level="INFO">${number} = 452</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.056196" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.058003" level="INFO">${number} = 452</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.057666" elapsed="0.000364"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.059772" level="INFO">${device-port} = 18281</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.059069" elapsed="0.000730"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.062499" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:02.099535" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.099900" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.062401" elapsed="0.037577"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.101311" elapsed="0.000076"/>
</kw>
<msg time="2026-04-11T23:23:02.101488" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:02.100239" elapsed="0.002128">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:02.100163" elapsed="0.002272">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:02.061923" elapsed="0.040730">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:02.061520" elapsed="0.041225"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.103405" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18281 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:02.157695" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.157935" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.103076" elapsed="0.054889"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:02.158131" elapsed="0.000117"/>
</return>
<msg time="2026-04-11T23:23:02.158657" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:02.060629" elapsed="0.098137"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:02.159160" elapsed="0.001059"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:02.060004" elapsed="0.100330"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:02.058731" elapsed="0.101675"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:02.058215" elapsed="0.102243"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.057210" elapsed="0.103313"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:02.056751" elapsed="0.103835"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.161153" level="INFO">${next} = 18282</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.160757" elapsed="0.000571"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.161989" level="INFO">${current_port} = 18282</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:02.161517" elapsed="0.000514"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.053798" elapsed="0.108293"/>
</kw>
<msg time="2026-04-11T23:23:02.162135" level="INFO">Repeating keyword, round 453/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:02.163489" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:02.163367" elapsed="0.000164"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.163342" elapsed="0.000213"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.163997" level="INFO">${current_Date} = 2026-04-11 23:23:02.164</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:02.163806" elapsed="0.000217"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.164531" level="INFO">${ellapsed_seconds} = 2649.704</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:02.164170" elapsed="0.000387"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.164908" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:02.164644" elapsed="0.000317"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.164625" elapsed="0.000358"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:02.163112" elapsed="0.001917"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.165598" level="INFO">${number} = 453</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.165213" elapsed="0.000412"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.167027" level="INFO">${number} = 453</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.166682" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.168807" level="INFO">${device-port} = 18282</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.168158" elapsed="0.000682"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.172233" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:02.208008" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.208285" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.171915" elapsed="0.036430"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.209442" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:23:02.209611" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:02.208556" elapsed="0.001170">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:02.208492" elapsed="0.001329">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:02.171640" elapsed="0.038498">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:02.171226" elapsed="0.039158"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.211462" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18282 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:02.266155" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.266485" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.210927" elapsed="0.055615"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:02.266822" elapsed="0.000189"/>
</return>
<msg time="2026-04-11T23:23:02.267746" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:02.170280" elapsed="0.097686"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:02.268678" elapsed="0.001995"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:02.169068" elapsed="0.101850"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:02.167810" elapsed="0.103257"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:02.167211" elapsed="0.103958"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.166229" elapsed="0.105065"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:02.165778" elapsed="0.105614"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.272541" level="INFO">${next} = 18283</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.271763" elapsed="0.000894"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.273941" level="INFO">${current_port} = 18283</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:02.273019" elapsed="0.001015"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.162417" elapsed="0.111742"/>
</kw>
<msg time="2026-04-11T23:23:02.274248" level="INFO">Repeating keyword, round 454/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:02.277148" elapsed="0.000025"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:02.276893" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.276848" elapsed="0.000405"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.277777" level="INFO">${current_Date} = 2026-04-11 23:23:02.278</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:02.277482" elapsed="0.000335"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.278540" level="INFO">${ellapsed_seconds} = 2649.59</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:02.278032" elapsed="0.000568"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.279085" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:02.278706" elapsed="0.000465"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.278678" elapsed="0.000532"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:02.276237" elapsed="0.003051"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.280067" level="INFO">${number} = 454</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.279505" elapsed="0.000601"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.282293" level="INFO">${number} = 454</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.281785" elapsed="0.000547"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.284832" level="INFO">${device-port} = 18283</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.283886" elapsed="0.000987"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.288535" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:02.316146" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.316423" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.288381" elapsed="0.028104"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.317494" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:02.317659" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:02.316706" elapsed="0.001186">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:02.316652" elapsed="0.001340">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:02.287967" elapsed="0.030326">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:02.287369" elapsed="0.031070"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.319463" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18283 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:02.374405" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.374774" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.318964" elapsed="0.055870"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:02.375091" elapsed="0.000195"/>
</return>
<msg time="2026-04-11T23:23:02.376024" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:02.286134" elapsed="0.090113"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:02.376977" elapsed="0.001992"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:02.285194" elapsed="0.094018"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:02.283340" elapsed="0.096024"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:02.282587" elapsed="0.096882"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.281059" elapsed="0.098570"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:02.280332" elapsed="0.099398"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.380897" level="INFO">${next} = 18284</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.380072" elapsed="0.000885"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.382276" level="INFO">${current_port} = 18284</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:02.381361" elapsed="0.000976"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.274757" elapsed="0.107667"/>
</kw>
<msg time="2026-04-11T23:23:02.382482" level="INFO">Repeating keyword, round 455/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:02.384350" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:02.384178" elapsed="0.000235"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.384144" elapsed="0.000304"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.385080" level="INFO">${current_Date} = 2026-04-11 23:23:02.385</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:02.384820" elapsed="0.000315"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.385867" level="INFO">${ellapsed_seconds} = 2649.483</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:02.385352" elapsed="0.000553"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.386395" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:02.386010" elapsed="0.000464"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.385983" elapsed="0.000525"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:02.383807" elapsed="0.002789"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.387343" level="INFO">${number} = 455</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.386810" elapsed="0.000571"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.389551" level="INFO">${number} = 455</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.389023" elapsed="0.000587"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.392065" level="INFO">${device-port} = 18284</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.391124" elapsed="0.000981"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.395264" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:02.428073" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.428340" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.395157" elapsed="0.033244"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.429490" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:23:02.429657" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:02.428638" elapsed="0.001133">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:02.428541" elapsed="0.001323">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:02.394879" elapsed="0.035288">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:02.394466" elapsed="0.035938"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.431455" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18284 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:02.486115" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.486429" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.430943" elapsed="0.055542"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:02.486767" elapsed="0.000190"/>
</return>
<msg time="2026-04-11T23:23:02.487707" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:02.393388" elapsed="0.094543"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:02.488644" elapsed="0.002007"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:02.392408" elapsed="0.098490"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:02.390612" elapsed="0.100437"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:02.389846" elapsed="0.101307"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.388288" elapsed="0.102994"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:02.387627" elapsed="0.103755"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.492527" level="INFO">${next} = 18285</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.491754" elapsed="0.000893"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.493934" level="INFO">${current_port} = 18285</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:02.493009" elapsed="0.001017"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.382861" elapsed="0.111291"/>
</kw>
<msg time="2026-04-11T23:23:02.494239" level="INFO">Repeating keyword, round 456/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:02.497119" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:02.496820" elapsed="0.000398"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.496769" elapsed="0.000500"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.497986" level="INFO">${current_Date} = 2026-04-11 23:23:02.498</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:02.497619" elapsed="0.000425"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.498611" level="INFO">${ellapsed_seconds} = 2649.37</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:02.498235" elapsed="0.000403"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.498980" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:02.498708" elapsed="0.000325"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.498689" elapsed="0.000368"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:02.496121" elapsed="0.002980"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.499622" level="INFO">${number} = 456</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.499243" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.501168" level="INFO">${number} = 456</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.500739" elapsed="0.000456"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.502909" level="INFO">${device-port} = 18285</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.502252" elapsed="0.000684"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.505430" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:02.536273" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.536667" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.505322" elapsed="0.031408"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.537964" elapsed="0.000064"/>
</kw>
<msg time="2026-04-11T23:23:02.538110" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:02.536996" elapsed="0.001381">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:02.536911" elapsed="0.001571">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:02.505028" elapsed="0.033807">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:02.504635" elapsed="0.034350"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.540094" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18285 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:02.594114" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.594477" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.539516" elapsed="0.055020"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:02.594849" elapsed="0.000203"/>
</return>
<msg time="2026-04-11T23:23:02.595800" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:02.503796" elapsed="0.092226"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:02.596764" elapsed="0.002024"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:02.503147" elapsed="0.095882"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:02.501905" elapsed="0.097270"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:02.501354" elapsed="0.097928"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.500271" elapsed="0.099139"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:02.499807" elapsed="0.099700"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.600717" level="INFO">${next} = 18286</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.599886" elapsed="0.000891"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.603154" level="INFO">${current_port} = 18286</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:02.602005" elapsed="0.001246"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.494756" elapsed="0.108649"/>
</kw>
<msg time="2026-04-11T23:23:02.603494" level="INFO">Repeating keyword, round 457/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:02.606230" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:02.606066" elapsed="0.000208"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.606019" elapsed="0.000280"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.606742" level="INFO">${current_Date} = 2026-04-11 23:23:02.607</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:02.606537" elapsed="0.000232"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.607277" level="INFO">${ellapsed_seconds} = 2649.261</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:02.606916" elapsed="0.000387"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.607654" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:02.607374" elapsed="0.000335"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.607356" elapsed="0.000376"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:02.605494" elapsed="0.002284"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.608293" level="INFO">${number} = 457</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.607921" elapsed="0.000398"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.609760" level="INFO">${number} = 457</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.609398" elapsed="0.000388"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.611444" level="INFO">${device-port} = 18286</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.610826" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.614067" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:02.652212" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.652497" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.613952" elapsed="0.038604"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.653717" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:23:02.653858" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:02.652808" elapsed="0.001167">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:02.652742" elapsed="0.001327">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:02.613675" elapsed="0.040707">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:02.613266" elapsed="0.041385"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.655714" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18286 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:02.713858" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.714227" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.655156" elapsed="0.059129"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:02.714563" elapsed="0.000247"/>
</return>
<msg time="2026-04-11T23:23:02.715521" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:02.612407" elapsed="0.103379"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:02.716505" elapsed="0.002101"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:02.611769" elapsed="0.107009"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:02.610462" elapsed="0.108419"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:02.609946" elapsed="0.109004"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.608943" elapsed="0.110095"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:02.608473" elapsed="0.110635"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.719910" level="INFO">${next} = 18287</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.719342" elapsed="0.000606"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.720814" level="INFO">${current_port} = 18287</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:02.720193" elapsed="0.000683"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.604096" elapsed="0.116867"/>
</kw>
<msg time="2026-04-11T23:23:02.721065" level="INFO">Repeating keyword, round 458/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:02.722927" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:02.722755" elapsed="0.000234"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.722722" elapsed="0.000302"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.723489" level="INFO">${current_Date} = 2026-04-11 23:23:02.723</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:02.723241" elapsed="0.000288"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.724317" level="INFO">${ellapsed_seconds} = 2649.145</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:02.723823" elapsed="0.000532"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.724845" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:02.724458" elapsed="0.000464"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.724431" elapsed="0.000526"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:02.722367" elapsed="0.002672"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.725800" level="INFO">${number} = 458</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.725247" elapsed="0.000592"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.728064" level="INFO">${number} = 458</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.727471" elapsed="0.000631"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.730532" level="INFO">${device-port} = 18287</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.729637" elapsed="0.000960"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.734389" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:02.764216" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.764608" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.734053" elapsed="0.030622"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.765928" elapsed="0.000066"/>
</kw>
<msg time="2026-04-11T23:23:02.766077" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:02.764919" elapsed="0.001414">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:02.764847" elapsed="0.001588">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:02.733657" elapsed="0.033117">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:02.733062" elapsed="0.033861"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.768042" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18287 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:02.822415" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.822750" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.767453" elapsed="0.055355"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:02.823063" elapsed="0.000177"/>
</return>
<msg time="2026-04-11T23:23:02.823970" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:02.731824" elapsed="0.092369"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:02.824922" elapsed="0.002039"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:02.730902" elapsed="0.096300"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:02.729110" elapsed="0.098235"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:02.728330" elapsed="0.099114"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.726827" elapsed="0.100770"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:02.726141" elapsed="0.101555"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.828875" level="INFO">${next} = 18288</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.828041" elapsed="0.000911"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.830303" level="INFO">${current_port} = 18288</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:02.829317" elapsed="0.001077"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.721426" elapsed="0.109096"/>
</kw>
<msg time="2026-04-11T23:23:02.830641" level="INFO">Repeating keyword, round 459/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:02.833319" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:02.833193" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.833148" elapsed="0.000237"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.833844" level="INFO">${current_Date} = 2026-04-11 23:23:02.834</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:02.833658" elapsed="0.000212"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.834371" level="INFO">${ellapsed_seconds} = 2649.034</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:02.834017" elapsed="0.000379"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.834745" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:02.834466" elapsed="0.000332"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.834448" elapsed="0.000373"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:02.832555" elapsed="0.002310"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.835376" level="INFO">${number} = 459</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.835014" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.836819" level="INFO">${number} = 459</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.836461" elapsed="0.000384"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.838535" level="INFO">${device-port} = 18288</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.837920" elapsed="0.000642"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.841190" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:02.872328" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.872630" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.840903" elapsed="0.031789"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.873729" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:23:02.873869" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:02.872894" elapsed="0.001090">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:02.872835" elapsed="0.001242">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:02.840630" elapsed="0.033752">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:02.840225" elapsed="0.034425"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.875694" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18288 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:02.930115" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.930646" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.875150" elapsed="0.055570"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:02.931088" elapsed="0.000226"/>
</return>
<msg time="2026-04-11T23:23:02.932220" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:02.839405" elapsed="0.093077"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:02.933307" elapsed="0.001485"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:02.838793" elapsed="0.096167"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:02.837563" elapsed="0.097502"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:02.837012" elapsed="0.098131"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.836022" elapsed="0.099209"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:02.835555" elapsed="0.099748"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.936125" level="INFO">${next} = 18289</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.935541" elapsed="0.000623"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.937147" level="INFO">${current_port} = 18289</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:02.936412" elapsed="0.000799"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.831131" elapsed="0.106168"/>
</kw>
<msg time="2026-04-11T23:23:02.937363" level="INFO">Repeating keyword, round 460/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:02.939278" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:02.939087" elapsed="0.000256"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.939053" elapsed="0.000326"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.939893" level="INFO">${current_Date} = 2026-04-11 23:23:02.940</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:02.939633" elapsed="0.000299"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:02.940788" level="INFO">${ellapsed_seconds} = 2648.928</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:02.940151" elapsed="0.000676"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.941325" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:02.940946" elapsed="0.000457"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:02.940918" elapsed="0.000519"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:02.938717" elapsed="0.002786"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.942264" level="INFO">${number} = 460</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.941736" elapsed="0.000566"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.944369" level="INFO">${number} = 460</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.943876" elapsed="0.000531"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:02.946342" level="INFO">${device-port} = 18289</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:02.945725" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.949034" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:02.979997" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:02.980262" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.948928" elapsed="0.031393"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:02.981382" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:23:02.981519" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:02.980524" elapsed="0.001254">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:02.980465" elapsed="0.001414">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:02.948452" elapsed="0.033729">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:02.948045" elapsed="0.034278"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:02.983387" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18289 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:03.037991" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.038296" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:02.982881" elapsed="0.055471"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:03.038644" elapsed="0.000182"/>
</return>
<msg time="2026-04-11T23:23:03.039510" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:02.947214" elapsed="0.092561"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:03.040452" elapsed="0.001640"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:02.946591" elapsed="0.095664"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:02.945362" elapsed="0.096997"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:02.944658" elapsed="0.097772"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.943207" elapsed="0.099309"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:02.942527" elapsed="0.100076"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.043362" level="INFO">${next} = 18290</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.042836" elapsed="0.000565"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.044266" level="INFO">${current_port} = 18290</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:03.043669" elapsed="0.000659"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:02.937758" elapsed="0.106656"/>
</kw>
<msg time="2026-04-11T23:23:03.044475" level="INFO">Repeating keyword, round 461/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:03.046686" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:03.046493" elapsed="0.000255"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.046461" elapsed="0.000321"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.047356" level="INFO">${current_Date} = 2026-04-11 23:23:03.047</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:03.047086" elapsed="0.000310"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.048210" level="INFO">${ellapsed_seconds} = 2648.821</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:03.047696" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.048748" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:03.048350" elapsed="0.000478"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.048324" elapsed="0.000550"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:03.046127" elapsed="0.002816"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.049710" level="INFO">${number} = 461</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.049153" elapsed="0.000595"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.051912" level="INFO">${number} = 461</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.051326" elapsed="0.000625"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.054119" level="INFO">${device-port} = 18290</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.053474" elapsed="0.000672"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.056962" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:03.088277" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.088534" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.056836" elapsed="0.031790"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.089647" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:23:03.089786" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:03.088825" elapsed="0.001072">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:03.088768" elapsed="0.001222">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:03.056540" elapsed="0.033748">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:03.055947" elapsed="0.034568"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.091529" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18290 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:03.146746" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.147101" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.091028" elapsed="0.056131"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:03.147431" elapsed="0.000226"/>
</return>
<msg time="2026-04-11T23:23:03.148352" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:03.055096" elapsed="0.093504"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:03.149331" elapsed="0.001995"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:03.054351" elapsed="0.097212"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:03.052978" elapsed="0.098763"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:03.052178" elapsed="0.099664"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.050675" elapsed="0.101295"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:03.049973" elapsed="0.102097"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.153256" level="INFO">${next} = 18291</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.152417" elapsed="0.000897"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.154608" level="INFO">${current_port} = 18291</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:03.153699" elapsed="0.001004"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.045043" elapsed="0.109787"/>
</kw>
<msg time="2026-04-11T23:23:03.154959" level="INFO">Repeating keyword, round 462/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:03.157544" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:03.157375" elapsed="0.000252"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.157343" elapsed="0.000319"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.158126" level="INFO">${current_Date} = 2026-04-11 23:23:03.158</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:03.157875" elapsed="0.000289"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.158891" level="INFO">${ellapsed_seconds} = 2648.71</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:03.158377" elapsed="0.000552"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.159395" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:03.159030" elapsed="0.000442"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.159004" elapsed="0.000501"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:03.156943" elapsed="0.002648"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.160407" level="INFO">${number} = 462</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.159805" elapsed="0.000641"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.162256" level="INFO">${number} = 462</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.161900" elapsed="0.000383"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.163994" level="INFO">${device-port} = 18291</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.163319" elapsed="0.000703"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.166750" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:03.200169" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.200436" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.166644" elapsed="0.033851"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.201549" elapsed="0.000087"/>
</kw>
<msg time="2026-04-11T23:23:03.201715" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:03.200740" elapsed="0.001191">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:03.200676" elapsed="0.001354">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:03.166358" elapsed="0.035969">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:03.165718" elapsed="0.036750"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.203495" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18291 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:03.258421" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.258782" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.202992" elapsed="0.055848"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:03.259095" elapsed="0.000185"/>
</return>
<msg time="2026-04-11T23:23:03.260013" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:03.164878" elapsed="0.095415"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:03.261042" elapsed="0.001973"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:03.164230" elapsed="0.099023"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:03.162976" elapsed="0.100425"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:03.162438" elapsed="0.101064"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.161441" elapsed="0.102218"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:03.160756" elapsed="0.103002"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.264981" level="INFO">${next} = 18292</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.264129" elapsed="0.000911"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.266394" level="INFO">${current_port} = 18292</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:03.265485" elapsed="0.001002"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.155452" elapsed="0.111191"/>
</kw>
<msg time="2026-04-11T23:23:03.266733" level="INFO">Repeating keyword, round 463/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:03.269372" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:03.269249" elapsed="0.000166"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.269220" elapsed="0.000219"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.269869" level="INFO">${current_Date} = 2026-04-11 23:23:03.270</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:03.269677" elapsed="0.000218"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.270400" level="INFO">${ellapsed_seconds} = 2648.598</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:03.270041" elapsed="0.000385"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.270771" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:03.270495" elapsed="0.000329"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.270477" elapsed="0.000370"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:03.268684" elapsed="0.002208"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.271395" level="INFO">${number} = 463</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.271035" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.272903" level="INFO">${number} = 463</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.272488" elapsed="0.000441"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.274596" level="INFO">${device-port} = 18292</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.273960" elapsed="0.000664"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.280269" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:03.316183" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.316479" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.280158" elapsed="0.036382"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.317708" elapsed="0.000062"/>
</kw>
<msg time="2026-04-11T23:23:03.317850" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:03.316815" elapsed="0.001149">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:03.316730" elapsed="0.001332">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:03.279874" elapsed="0.038525">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:03.276398" elapsed="0.042341"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.319966" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18292 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:03.374404" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.374754" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.319248" elapsed="0.055563"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:03.375068" elapsed="0.000187"/>
</return>
<msg time="2026-04-11T23:23:03.375990" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:03.275548" elapsed="0.100665"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:03.376953" elapsed="0.002238"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:03.274926" elapsed="0.104545"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:03.273618" elapsed="0.106030"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:03.273085" elapsed="0.106665"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.272051" elapsed="0.107825"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:03.271584" elapsed="0.108468"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.381246" level="INFO">${next} = 18293</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.380402" elapsed="0.000901"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.382552" level="INFO">${current_port} = 18293</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:03.381688" elapsed="0.000989"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.267230" elapsed="0.115649"/>
</kw>
<msg time="2026-04-11T23:23:03.382979" level="INFO">Repeating keyword, round 464/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:03.385542" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:03.385419" elapsed="0.000182"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.385393" elapsed="0.000234"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.385961" level="INFO">${current_Date} = 2026-04-11 23:23:03.386</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:03.385777" elapsed="0.000210"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.386487" level="INFO">${ellapsed_seconds} = 2648.482</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:03.386131" elapsed="0.000382"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.386866" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:03.386597" elapsed="0.000321"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.386564" elapsed="0.000376"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:03.385038" elapsed="0.001947"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.387488" level="INFO">${number} = 464</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.387125" elapsed="0.000389"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.388978" level="INFO">${number} = 464</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.388562" elapsed="0.000442"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.390778" level="INFO">${device-port} = 18293</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.390096" elapsed="0.000709"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.393505" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:03.424275" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.424534" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.393399" elapsed="0.031228"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.425673" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:23:03.425811" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:03.424850" elapsed="0.001176">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:03.424791" elapsed="0.001332">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:03.392914" elapsed="0.033506">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:03.392488" elapsed="0.034072"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.427735" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18293 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:03.482888" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.483271" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.427069" elapsed="0.056260"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:03.483645" elapsed="0.000193"/>
</return>
<msg time="2026-04-11T23:23:03.484528" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:03.391655" elapsed="0.093191"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:03.485559" elapsed="0.001986"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:03.391011" elapsed="0.096803"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:03.389748" elapsed="0.098212"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:03.389161" elapsed="0.098899"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.388124" elapsed="0.100063"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:03.387680" elapsed="0.100604"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.489400" level="INFO">${next} = 18294</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.488662" elapsed="0.000777"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.490308" level="INFO">${current_port} = 18294</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:03.489707" elapsed="0.000661"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.383486" elapsed="0.106968"/>
</kw>
<msg time="2026-04-11T23:23:03.490513" level="INFO">Repeating keyword, round 465/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:03.492390" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:03.492221" elapsed="0.000232"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.492187" elapsed="0.000301"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.493141" level="INFO">${current_Date} = 2026-04-11 23:23:03.493</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:03.492882" elapsed="0.000298"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.493912" level="INFO">${ellapsed_seconds} = 2648.375</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:03.493395" elapsed="0.000555"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.494421" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:03.494053" elapsed="0.000446"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.494027" elapsed="0.000506"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:03.491855" elapsed="0.002766"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.495362" level="INFO">${number} = 465</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.494832" elapsed="0.000567"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.497556" level="INFO">${number} = 465</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.497058" elapsed="0.000558"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.500054" level="INFO">${device-port} = 18294</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.499122" elapsed="0.000972"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.503176" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:03.536761" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.537152" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.502867" elapsed="0.034368"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.538423" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:23:03.538566" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:03.537487" elapsed="0.001259">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:03.537421" elapsed="0.001424">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:03.502593" elapsed="0.036567">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:03.502184" elapsed="0.037471"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.540768" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18294 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:03.594368" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.594616" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.540175" elapsed="0.054471"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:03.594815" elapsed="0.000119"/>
</return>
<msg time="2026-04-11T23:23:03.595299" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:03.501339" elapsed="0.094062"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:03.595810" elapsed="0.001090"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:03.500394" elapsed="0.096620"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:03.498621" elapsed="0.098468"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:03.497850" elapsed="0.099291"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.496302" elapsed="0.100902"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:03.495644" elapsed="0.101609"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.598376" level="INFO">${next} = 18295</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.597562" elapsed="0.000873"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.599737" level="INFO">${current_port} = 18295</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:03.598827" elapsed="0.001003"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.490901" elapsed="0.109052"/>
</kw>
<msg time="2026-04-11T23:23:03.600040" level="INFO">Repeating keyword, round 466/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:03.602832" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:03.602554" elapsed="0.000371"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.602508" elapsed="0.000467"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.603682" level="INFO">${current_Date} = 2026-04-11 23:23:03.603</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:03.603293" elapsed="0.000448"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.604931" level="INFO">${ellapsed_seconds} = 2648.265</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:03.604062" elapsed="0.000926"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.605711" elapsed="0.000048"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:03.605143" elapsed="0.000686"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.605102" elapsed="0.000780"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:03.602022" elapsed="0.003959"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.607112" level="INFO">${number} = 466</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.606293" elapsed="0.000877"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.609777" level="INFO">${number} = 466</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.609413" elapsed="0.000391"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.611469" level="INFO">${device-port} = 18295</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.610850" elapsed="0.000646"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.614089" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:03.644482" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.644806" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.613983" elapsed="0.030885"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.645902" elapsed="0.000060"/>
</kw>
<msg time="2026-04-11T23:23:03.646039" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:03.645074" elapsed="0.001200">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:03.645014" elapsed="0.001359">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:03.613705" elapsed="0.033012">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:03.613278" elapsed="0.033585"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.647904" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18295 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:03.702352" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.702706" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.647351" elapsed="0.055416"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:03.703015" elapsed="0.000178"/>
</return>
<msg time="2026-04-11T23:23:03.703926" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:03.612356" elapsed="0.091790"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:03.704872" elapsed="0.001990"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:03.611723" elapsed="0.095381"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:03.610475" elapsed="0.096776"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:03.609962" elapsed="0.097389"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.608518" elapsed="0.098961"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:03.607506" elapsed="0.100100"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.708810" level="INFO">${next} = 18296</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.707957" elapsed="0.000914"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.710134" level="INFO">${current_port} = 18296</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:03.709234" elapsed="0.000991"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.600541" elapsed="0.109811"/>
</kw>
<msg time="2026-04-11T23:23:03.710439" level="INFO">Repeating keyword, round 467/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:03.713314" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:03.713092" elapsed="0.000266"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.713043" elapsed="0.000338"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.713824" level="INFO">${current_Date} = 2026-04-11 23:23:03.714</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:03.713630" elapsed="0.000221"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.714353" level="INFO">${ellapsed_seconds} = 2648.154</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:03.713999" elapsed="0.000380"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.714725" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:03.714450" elapsed="0.000330"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.714432" elapsed="0.000371"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:03.712301" elapsed="0.002548"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.715357" level="INFO">${number} = 467</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.714993" elapsed="0.000390"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.716940" level="INFO">${number} = 467</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.716516" elapsed="0.000451"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.718762" level="INFO">${device-port} = 18296</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.718059" elapsed="0.000731"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.721460" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:03.756554" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.756880" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.721349" elapsed="0.035592"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.758000" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:23:03.758143" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:03.757155" elapsed="0.001103">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:03.757091" elapsed="0.001266">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:03.721069" elapsed="0.037631">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:03.720659" elapsed="0.038281"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.759997" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18296 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:03.814811" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.815194" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.759435" elapsed="0.055819"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:03.815535" elapsed="0.000242"/>
</return>
<msg time="2026-04-11T23:23:03.816635" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:03.719672" elapsed="0.097207"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:03.817695" elapsed="0.002106"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:03.719004" elapsed="0.101048"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:03.717710" elapsed="0.102495"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:03.717130" elapsed="0.103184"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.716008" elapsed="0.104436"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:03.715536" elapsed="0.105009"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.821805" level="INFO">${next} = 18297</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.820966" elapsed="0.000911"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.823240" level="INFO">${current_port} = 18297</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:03.822248" elapsed="0.001096"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.710958" elapsed="0.112520"/>
</kw>
<msg time="2026-04-11T23:23:03.823599" level="INFO">Repeating keyword, round 468/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:03.825900" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:03.825775" elapsed="0.000170"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.825747" elapsed="0.000223"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.826308" level="INFO">${current_Date} = 2026-04-11 23:23:03.826</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:03.826121" elapsed="0.000214"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.826882" level="INFO">${ellapsed_seconds} = 2648.042</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:03.826485" elapsed="0.000424"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.827248" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:03.826981" elapsed="0.000327"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.826962" elapsed="0.000370"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:03.825484" elapsed="0.001895"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.828050" level="INFO">${number} = 468</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.827522" elapsed="0.000563"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.830019" level="INFO">${number} = 468</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.829648" elapsed="0.000398"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.831797" level="INFO">${device-port} = 18297</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.831115" elapsed="0.000712"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.834423" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:03.864412" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.864561" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.834313" elapsed="0.030305"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.865163" elapsed="0.000029"/>
</kw>
<msg time="2026-04-11T23:23:03.865231" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:03.864734" elapsed="0.000712">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:03.864700" elapsed="0.000845">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:03.834035" elapsed="0.031844">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:03.833586" elapsed="0.032437"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.867090" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18297 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:03.922509" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.922878" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.866544" elapsed="0.056409"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:03.923223" elapsed="0.000191"/>
</return>
<msg time="2026-04-11T23:23:03.924148" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:03.832717" elapsed="0.091656"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:03.925115" elapsed="0.001959"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:03.832044" elapsed="0.095270"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:03.830758" elapsed="0.096707"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:03.830206" elapsed="0.097389"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.829059" elapsed="0.098692"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:03.828312" elapsed="0.099538"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.929109" level="INFO">${next} = 18298</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.928190" elapsed="0.000979"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.930544" level="INFO">${current_port} = 18298</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:03.929537" elapsed="0.001133"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.824110" elapsed="0.106691"/>
</kw>
<msg time="2026-04-11T23:23:03.930890" level="INFO">Repeating keyword, round 469/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:03.932948" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:03.932769" elapsed="0.000243"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.932734" elapsed="0.000314"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.933641" level="INFO">${current_Date} = 2026-04-11 23:23:03.933</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:03.933348" elapsed="0.000334"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:03.934472" level="INFO">${ellapsed_seconds} = 2647.935</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:03.933932" elapsed="0.000580"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.935042" elapsed="0.000033"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:03.934642" elapsed="0.000482"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:03.934613" elapsed="0.000546"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:03.932290" elapsed="0.002937"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.936008" level="INFO">${number} = 469</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.935440" elapsed="0.000607"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.938199" level="INFO">${number} = 469</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.937700" elapsed="0.000537"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:03.940820" level="INFO">${device-port} = 18298</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:03.939811" elapsed="0.001048"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.943461" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:03.976451" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:03.976725" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.943356" elapsed="0.033430"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:03.977695" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:03.977829" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:03.976951" elapsed="0.000986">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:03.976907" elapsed="0.001120">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:03.943080" elapsed="0.035236">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:03.942680" elapsed="0.035841"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:03.979489" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18298 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:04.034670" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.034927" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:03.979009" elapsed="0.055978"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:04.035192" elapsed="0.000163"/>
</return>
<msg time="2026-04-11T23:23:04.036061" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:03.941843" elapsed="0.094439"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:04.036986" elapsed="0.001865"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:03.941164" elapsed="0.097927"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:03.939280" elapsed="0.099957"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:03.938484" elapsed="0.100853"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.937014" elapsed="0.102446"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:03.936273" elapsed="0.103285"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.040779" level="INFO">${next} = 18299</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.039930" elapsed="0.000910"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.041762" level="INFO">${current_port} = 18299</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:04.041199" elapsed="0.000622"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:03.931325" elapsed="0.110576"/>
</kw>
<msg time="2026-04-11T23:23:04.041956" level="INFO">Repeating keyword, round 470/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:04.043531" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:04.043379" elapsed="0.000231"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.043351" elapsed="0.000291"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.044085" level="INFO">${current_Date} = 2026-04-11 23:23:04.044</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:04.043841" elapsed="0.000281"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.044869" level="INFO">${ellapsed_seconds} = 2647.824</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:04.044323" elapsed="0.000583"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.045340" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:04.045005" elapsed="0.000408"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.044979" elapsed="0.000466"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:04.043032" elapsed="0.002474"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.046226" level="INFO">${number} = 470</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.045723" elapsed="0.000539"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.048224" level="INFO">${number} = 470</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.047750" elapsed="0.000511"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.050710" level="INFO">${device-port} = 18299</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.049826" elapsed="0.000923"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.054069" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:04.088794" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.089041" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.053818" elapsed="0.035282"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.089778" elapsed="0.000042"/>
</kw>
<msg time="2026-04-11T23:23:04.089871" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:04.089257" elapsed="0.000759">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:04.089223" elapsed="0.000856">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:04.053530" elapsed="0.036744">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:04.053089" elapsed="0.037276"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.091041" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18299 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:04.146132" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.146270" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.090700" elapsed="0.055604"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:04.146427" elapsed="0.000096"/>
</return>
<msg time="2026-04-11T23:23:04.146967" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:04.051912" elapsed="0.095194"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:04.147483" elapsed="0.001209"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:04.051036" elapsed="0.097807"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:04.049260" elapsed="0.099675"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:04.048474" elapsed="0.100523"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.047116" elapsed="0.101960"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:04.046474" elapsed="0.102662"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.149840" level="INFO">${next} = 18300</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.149347" elapsed="0.000565"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.150692" level="INFO">${current_port} = 18300</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:04.150138" elapsed="0.000614"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.042227" elapsed="0.108604"/>
</kw>
<msg time="2026-04-11T23:23:04.150886" level="INFO">Repeating keyword, round 471/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:04.152488" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:04.152318" elapsed="0.000230"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.152290" elapsed="0.000308"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.153111" level="INFO">${current_Date} = 2026-04-11 23:23:04.153</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:04.152883" elapsed="0.000264"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.153817" level="INFO">${ellapsed_seconds} = 2647.715</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:04.153349" elapsed="0.000504"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.154279" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:04.153951" elapsed="0.000403"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.153925" elapsed="0.000461"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:04.151978" elapsed="0.002470"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.155168" level="INFO">${number} = 471</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.154664" elapsed="0.000540"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.157267" level="INFO">${number} = 471</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.156810" elapsed="0.000483"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.158933" level="INFO">${device-port} = 18300</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.158305" elapsed="0.000655"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.161550" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:04.196752" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.196893" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.161302" elapsed="0.035628"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.197689" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:23:04.197825" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:04.197034" elapsed="0.000897">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:04.197004" elapsed="0.001017">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:04.161031" elapsed="0.037266">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:04.160634" elapsed="0.037870"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.199486" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18300 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:04.254469" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.254713" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.198998" elapsed="0.055771"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:04.254960" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:23:04.255797" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:04.159808" elapsed="0.096210"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:04.256670" elapsed="0.001775"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:04.159163" elapsed="0.099554"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:04.157965" elapsed="0.100898"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:04.157448" elapsed="0.101513"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.156143" elapsed="0.102937"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:04.155414" elapsed="0.103761"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.260270" level="INFO">${next} = 18301</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.259508" elapsed="0.000821"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.261465" level="INFO">${current_port} = 18301</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:04.260785" elapsed="0.000738"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.151157" elapsed="0.110465"/>
</kw>
<msg time="2026-04-11T23:23:04.261678" level="INFO">Repeating keyword, round 472/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:04.263205" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:04.263052" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.263026" elapsed="0.000269"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.263719" level="INFO">${current_Date} = 2026-04-11 23:23:04.264</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:04.263487" elapsed="0.000269"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.264374" level="INFO">${ellapsed_seconds} = 2647.604</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:04.263955" elapsed="0.000454"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.264945" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:04.264524" elapsed="0.000495"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.264498" elapsed="0.000554"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:04.262721" elapsed="0.002393"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.265831" level="INFO">${number} = 472</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.265309" elapsed="0.000558"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.267808" level="INFO">${number} = 472</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.267323" elapsed="0.000522"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.270117" level="INFO">${device-port} = 18301</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.269248" elapsed="0.000906"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.273707" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:04.308779" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.308995" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.273608" elapsed="0.035445"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.309956" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:04.310087" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:04.309218" elapsed="0.001055">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:04.309170" elapsed="0.001198">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:04.273030" elapsed="0.037633">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:04.272464" elapsed="0.038343"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.311795" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18301 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:04.371463" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.371845" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.311268" elapsed="0.060615"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:04.372108" elapsed="0.000141"/>
</return>
<msg time="2026-04-11T23:23:04.372735" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:04.271292" elapsed="0.101567"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:04.373328" elapsed="0.001204"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:04.270433" elapsed="0.104260"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:04.268779" elapsed="0.106000"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:04.268058" elapsed="0.106782"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.266713" elapsed="0.108203"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:04.266075" elapsed="0.108898"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.375672" level="INFO">${next} = 18302</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.375182" elapsed="0.000523"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.376465" level="INFO">${current_port} = 18302</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:04.375923" elapsed="0.000595"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.261938" elapsed="0.114671"/>
</kw>
<msg time="2026-04-11T23:23:04.376664" level="INFO">Repeating keyword, round 473/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:04.378348" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:04.378191" elapsed="0.000219"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.378156" elapsed="0.000285"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.378992" level="INFO">${current_Date} = 2026-04-11 23:23:04.379</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:04.378752" elapsed="0.000273"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.379675" level="INFO">${ellapsed_seconds} = 2647.489</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:04.379216" elapsed="0.000491"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.380128" elapsed="0.000027"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:04.379797" elapsed="0.000399"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.379773" elapsed="0.000454"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:04.377868" elapsed="0.002422"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.381062" level="INFO">${number} = 473</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.380541" elapsed="0.000553"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.383109" level="INFO">${number} = 473</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.382676" elapsed="0.000465"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.385485" level="INFO">${device-port} = 18302</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.384723" elapsed="0.000796"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.389051" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:04.425043" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.425336" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.388897" elapsed="0.036470"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.426168" elapsed="0.000034"/>
</kw>
<msg time="2026-04-11T23:23:04.426242" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:04.425555" elapsed="0.000749">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:04.425492" elapsed="0.000865">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:04.388527" elapsed="0.038006">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:04.387610" elapsed="0.039087"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.427281" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18302 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:04.482674" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.482775" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.426995" elapsed="0.055805"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:04.482897" elapsed="0.000080"/>
</return>
<msg time="2026-04-11T23:23:04.483287" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:04.386608" elapsed="0.096780"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:04.483694" elapsed="0.000976"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:04.385816" elapsed="0.098967"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:04.384213" elapsed="0.100637"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:04.383355" elapsed="0.101543"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.382068" elapsed="0.102889"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:04.381297" elapsed="0.103707"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.485530" level="INFO">${next} = 18303</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.485162" elapsed="0.000394"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.486171" level="INFO">${current_port} = 18303</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:04.485748" elapsed="0.000465"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.377002" elapsed="0.109271"/>
</kw>
<msg time="2026-04-11T23:23:04.486314" level="INFO">Repeating keyword, round 474/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:04.487545" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:04.487435" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.487416" elapsed="0.000208"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.487961" level="INFO">${current_Date} = 2026-04-11 23:23:04.488</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:04.487777" elapsed="0.000210"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.488515" level="INFO">${ellapsed_seconds} = 2647.38</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:04.488131" elapsed="0.000409"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.488941" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:04.488678" elapsed="0.000316"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.488658" elapsed="0.000359"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:04.487191" elapsed="0.001870"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.489727" level="INFO">${number} = 474</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.489346" elapsed="0.000408"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.491141" level="INFO">${number} = 474</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.490804" elapsed="0.000363"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.492928" level="INFO">${device-port} = 18303</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.492202" elapsed="0.000753"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.495616" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:04.536900" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.537161" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.495484" elapsed="0.041736"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.538146" elapsed="0.000054"/>
</kw>
<msg time="2026-04-11T23:23:04.538273" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:04.537402" elapsed="0.001077">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:04.537352" elapsed="0.001251">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:04.495211" elapsed="0.043659">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:04.494630" elapsed="0.044377"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.539982" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18303 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:04.594566" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.594805" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.539463" elapsed="0.055397"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:04.595051" elapsed="0.000145"/>
</return>
<msg time="2026-04-11T23:23:04.595902" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:04.493799" elapsed="0.102335"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:04.596794" elapsed="0.001812"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:04.493162" elapsed="0.105691"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:04.491864" elapsed="0.107132"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:04.491330" elapsed="0.107764"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.490351" elapsed="0.108864"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:04.489905" elapsed="0.109404"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.600426" level="INFO">${next} = 18304</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.599672" elapsed="0.000813"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.602009" level="INFO">${current_port} = 18304</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:04.600898" elapsed="0.001218"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.486524" elapsed="0.115730"/>
</kw>
<msg time="2026-04-11T23:23:04.602347" level="INFO">Repeating keyword, round 475/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:04.605182" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:04.604919" elapsed="0.000365"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.604873" elapsed="0.000463"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.606156" level="INFO">${current_Date} = 2026-04-11 23:23:04.606</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:04.605787" elapsed="0.000431"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.607322" level="INFO">${ellapsed_seconds} = 2647.262</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:04.606567" elapsed="0.000817"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.608135" elapsed="0.000051"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:04.607552" elapsed="0.000712"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.607509" elapsed="0.000829"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:04.604186" elapsed="0.004263"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.609786" level="INFO">${number} = 475</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.608877" elapsed="0.000975"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.613239" level="INFO">${number} = 475</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.612425" elapsed="0.000850"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.615556" level="INFO">${device-port} = 18304</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.614698" elapsed="0.000919"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.621249" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:04.648394" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.648663" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.621150" elapsed="0.027584"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.649687" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:23:04.649831" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:04.648909" elapsed="0.001033">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:04.648862" elapsed="0.001177">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:04.620864" elapsed="0.029461">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:04.617741" elapsed="0.032800"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.651633" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18304 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:04.706403" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.706663" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.651073" elapsed="0.055651"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:04.706928" elapsed="0.000160"/>
</return>
<msg time="2026-04-11T23:23:04.707818" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:04.616819" elapsed="0.091233"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:04.708780" elapsed="0.001943"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:04.615902" elapsed="0.095073"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:04.614196" elapsed="0.096930"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:04.613493" elapsed="0.097736"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.611306" elapsed="0.100053"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:04.610219" elapsed="0.101242"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.712731" level="INFO">${next} = 18305</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.711854" elapsed="0.000940"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.714105" level="INFO">${current_port} = 18305</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:04.713174" elapsed="0.001030"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.602838" elapsed="0.111499"/>
</kw>
<msg time="2026-04-11T23:23:04.714428" level="INFO">Repeating keyword, round 476/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:04.717196" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:04.716943" elapsed="0.000353"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.716897" elapsed="0.000451"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.718017" level="INFO">${current_Date} = 2026-04-11 23:23:04.718</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:04.717683" elapsed="0.000391"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.719079" level="INFO">${ellapsed_seconds} = 2647.15</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:04.718389" elapsed="0.000747"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.719840" elapsed="0.000048"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:04.719290" elapsed="0.000670"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.719250" elapsed="0.000761"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:04.716234" elapsed="0.003875"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.721325" level="INFO">${number} = 476</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.720459" elapsed="0.000892"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.722737" level="INFO">${number} = 476</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.722392" elapsed="0.000371"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.724392" level="INFO">${device-port} = 18305</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.723769" elapsed="0.000650"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.726990" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:04.756097" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.756201" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.726893" elapsed="0.029334"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.757047" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:23:04.757179" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:04.756320" elapsed="0.001040">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:04.756297" elapsed="0.001158">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:04.726434" elapsed="0.031322">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:04.726055" elapsed="0.031846"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.758889" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18305 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:04.814437" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.814687" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.758361" elapsed="0.056384"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:04.814936" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:23:04.815773" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:04.725254" elapsed="0.090738"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:04.816640" elapsed="0.001772"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:04.724648" elapsed="0.094046"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:04.723412" elapsed="0.095431"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:04.722919" elapsed="0.096022"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.721958" elapsed="0.097107"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:04.721503" elapsed="0.097655"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.820559" level="INFO">${next} = 18306</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.819492" elapsed="0.001270"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.822186" level="INFO">${current_port} = 18306</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:04.821264" elapsed="0.001016"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.714901" elapsed="0.107505"/>
</kw>
<msg time="2026-04-11T23:23:04.822491" level="INFO">Repeating keyword, round 477/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:04.825234" elapsed="0.000030"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:04.824993" elapsed="0.000313"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.824950" elapsed="0.000386"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.825826" level="INFO">${current_Date} = 2026-04-11 23:23:04.826</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:04.825602" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.826481" level="INFO">${ellapsed_seconds} = 2647.042</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:04.826065" elapsed="0.000453"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.826960" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:04.826642" elapsed="0.000393"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.826616" elapsed="0.000451"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:04.824327" elapsed="0.002805"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.827863" level="INFO">${number} = 477</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.827340" elapsed="0.000559"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.829916" level="INFO">${number} = 477</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.829428" elapsed="0.000525"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.832253" level="INFO">${device-port} = 18306</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.831357" elapsed="0.000935"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.836062" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:04.863817" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.864044" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.835677" elapsed="0.028426"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.865036" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:04.865170" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:04.864290" elapsed="0.000985">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:04.864243" elapsed="0.001121">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:04.835279" elapsed="0.030381">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:04.834705" elapsed="0.031172"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.866886" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18306 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:04.922026" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.922241" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.866350" elapsed="0.055947"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:04.922490" elapsed="0.000194"/>
</return>
<msg time="2026-04-11T23:23:04.923365" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:04.833448" elapsed="0.090202"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:04.924291" elapsed="0.001820"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:04.832606" elapsed="0.093743"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:04.830885" elapsed="0.095608"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:04.830169" elapsed="0.096454"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.828804" elapsed="0.097948"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:04.828110" elapsed="0.098738"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.927987" level="INFO">${next} = 18307</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.927181" elapsed="0.000865"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.929307" level="INFO">${current_port} = 18307</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:04.928416" elapsed="0.000985"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.822991" elapsed="0.106536"/>
</kw>
<msg time="2026-04-11T23:23:04.929690" level="INFO">Repeating keyword, round 478/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:04.932310" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:04.932024" elapsed="0.000381"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.931980" elapsed="0.000474"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.933144" level="INFO">${current_Date} = 2026-04-11 23:23:04.933</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:04.932798" elapsed="0.000404"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:04.933702" level="INFO">${ellapsed_seconds} = 2646.935</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:04.933378" elapsed="0.000350"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.934030" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:04.933798" elapsed="0.000285"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:04.933779" elapsed="0.000327"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:04.931373" elapsed="0.002778"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.934668" level="INFO">${number} = 478</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.934292" elapsed="0.000402"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.936114" level="INFO">${number} = 478</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.935781" elapsed="0.000359"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:04.938006" level="INFO">${device-port} = 18307</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:04.937159" elapsed="0.000880"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.941232" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:04.976385" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:04.976552" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.941085" elapsed="0.035525"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:04.977245" elapsed="0.000035"/>
</kw>
<msg time="2026-04-11T23:23:04.977331" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:04.976744" elapsed="0.000744">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:04.976703" elapsed="0.000853">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:04.940703" elapsed="0.037078">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:04.940125" elapsed="0.037750"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:04.978496" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18307 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:05.034268" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.034404" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:04.978178" elapsed="0.056260"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:05.034565" elapsed="0.000126"/>
</return>
<msg time="2026-04-11T23:23:05.035099" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:04.939084" elapsed="0.096155"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:05.035646" elapsed="0.001180"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:04.938289" elapsed="0.098690"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:04.936821" elapsed="0.100250"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:04.936309" elapsed="0.100822"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.935283" elapsed="0.101926"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:04.934844" elapsed="0.102425"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.037981" level="INFO">${next} = 18308</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.037478" elapsed="0.000541"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.038814" level="INFO">${current_port} = 18308</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:05.038243" elapsed="0.000629"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:04.930120" elapsed="0.108832"/>
</kw>
<msg time="2026-04-11T23:23:05.039007" level="INFO">Repeating keyword, round 479/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:05.040624" elapsed="0.000032"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:05.040440" elapsed="0.000264"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.040414" elapsed="0.000323"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.041228" level="INFO">${current_Date} = 2026-04-11 23:23:05.041</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:05.040986" elapsed="0.000283"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.042174" level="INFO">${ellapsed_seconds} = 2646.827</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:05.041472" elapsed="0.000739"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.042678" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:05.042310" elapsed="0.000445"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.042284" elapsed="0.000503"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:05.040092" elapsed="0.002760"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.043559" level="INFO">${number} = 479</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.043051" elapsed="0.000648"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.045727" level="INFO">${number} = 479</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.045216" elapsed="0.000548"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.048396" level="INFO">${device-port} = 18308</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.047372" elapsed="0.001064"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.052230" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:05.083857" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.083976" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.052072" elapsed="0.031932"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.084449" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:23:05.084510" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:05.084088" elapsed="0.000472">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:05.084065" elapsed="0.000560">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:05.051644" elapsed="0.033120">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:05.051032" elapsed="0.033835"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.085328" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18308 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:05.141827" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.141928" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.085096" elapsed="0.056856"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:05.142041" elapsed="0.000069"/>
</return>
<msg time="2026-04-11T23:23:05.142402" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:05.049780" elapsed="0.092720"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:05.142799" elapsed="0.000845"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:05.048784" elapsed="0.094971"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:05.046784" elapsed="0.097039"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:05.045981" elapsed="0.097887"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.044593" elapsed="0.099332"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:05.043916" elapsed="0.100053"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.144476" level="INFO">${next} = 18309</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.144136" elapsed="0.000366"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.145072" level="INFO">${current_port} = 18309</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:05.144681" elapsed="0.000433"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.039274" elapsed="0.105896"/>
</kw>
<msg time="2026-04-11T23:23:05.145210" level="INFO">Repeating keyword, round 480/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:05.146358" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:05.146248" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.146226" elapsed="0.000196"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.146748" level="INFO">${current_Date} = 2026-04-11 23:23:05.147</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:05.146581" elapsed="0.000194"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.147250" level="INFO">${ellapsed_seconds} = 2646.721</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:05.146922" elapsed="0.000354"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.147628" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:05.147348" elapsed="0.000335"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.147327" elapsed="0.000380"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:05.145999" elapsed="0.001754"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.148285" level="INFO">${number} = 480</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.147896" elapsed="0.000418"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.149728" level="INFO">${number} = 480</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.149368" elapsed="0.000386"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.151383" level="INFO">${device-port} = 18309</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.150762" elapsed="0.000647"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.153978" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:05.196479" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.196601" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.153880" elapsed="0.042749"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.197026" elapsed="0.000025"/>
</kw>
<msg time="2026-04-11T23:23:05.197085" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:05.196706" elapsed="0.000472">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:05.196684" elapsed="0.000538">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:05.153605" elapsed="0.043741">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:05.153198" elapsed="0.044211"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.197862" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18309 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:05.254029" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.254130" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.197641" elapsed="0.056514"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:05.254243" elapsed="0.000067"/>
</return>
<msg time="2026-04-11T23:23:05.254641" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:05.152368" elapsed="0.102389"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:05.255034" elapsed="0.000815"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:05.151685" elapsed="0.104269"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:05.150405" elapsed="0.105615"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:05.149908" elapsed="0.106156"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.148930" elapsed="0.107212"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:05.148466" elapsed="0.107718"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.256688" level="INFO">${next} = 18310</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.256340" elapsed="0.000374"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.257248" level="INFO">${current_port} = 18310</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:05.256872" elapsed="0.000418"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.145406" elapsed="0.111942"/>
</kw>
<msg time="2026-04-11T23:23:05.257386" level="INFO">Repeating keyword, round 481/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:05.258488" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:05.258379" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.258359" elapsed="0.000192"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.258904" level="INFO">${current_Date} = 2026-04-11 23:23:05.259</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:05.258747" elapsed="0.000183"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.259386" level="INFO">${ellapsed_seconds} = 2646.609</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:05.259075" elapsed="0.000337"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.259746" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:05.259483" elapsed="0.000318"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.259464" elapsed="0.000360"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:05.258140" elapsed="0.001729"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.260391" level="INFO">${number} = 481</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.260012" elapsed="0.000405"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.261821" level="INFO">${number} = 481</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.261466" elapsed="0.000382"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.263460" level="INFO">${device-port} = 18310</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.262848" elapsed="0.000639"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.266053" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:05.308086" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.308192" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.265956" elapsed="0.042263"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.308637" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:23:05.308698" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:05.308297" elapsed="0.000449">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:05.308275" elapsed="0.000512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:05.265682" elapsed="0.043227">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:05.265282" elapsed="0.043723"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.309444" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18310 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:05.366429" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.366717" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.309225" elapsed="0.057555"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:05.366995" elapsed="0.000166"/>
</return>
<msg time="2026-04-11T23:23:05.367906" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:05.264469" elapsed="0.103699"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:05.368862" elapsed="0.001991"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:05.263837" elapsed="0.107270"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:05.262494" elapsed="0.108766"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:05.262002" elapsed="0.109364"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.261027" elapsed="0.110471"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:05.260583" elapsed="0.111052"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.372884" level="INFO">${next} = 18311</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.372005" elapsed="0.000943"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.374274" level="INFO">${current_port} = 18311</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:05.373327" elapsed="0.001120"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.257587" elapsed="0.117026"/>
</kw>
<msg time="2026-04-11T23:23:05.374713" level="INFO">Repeating keyword, round 482/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:05.377398" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:05.377285" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.377247" elapsed="0.000214"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.377782" level="INFO">${current_Date} = 2026-04-11 23:23:05.378</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:05.377619" elapsed="0.000189"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.378272" level="INFO">${ellapsed_seconds} = 2646.49</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:05.377953" elapsed="0.000344"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.378620" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:05.378367" elapsed="0.000307"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.378348" elapsed="0.000350"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:05.376714" elapsed="0.002030"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.379244" level="INFO">${number} = 482</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.378885" elapsed="0.000385"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.380721" level="INFO">${number} = 482</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.380332" elapsed="0.000415"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.382381" level="INFO">${device-port} = 18311</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.381763" elapsed="0.000644"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.385008" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:05.416384" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.416638" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.384755" elapsed="0.031947"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.417604" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:23:05.417740" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:05.416870" elapsed="0.001063">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:05.416822" elapsed="0.001206">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:05.384464" elapsed="0.033842">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:05.384074" elapsed="0.034373"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.419490" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18311 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:05.474542" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.474782" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.419003" elapsed="0.055833"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:05.475027" elapsed="0.000144"/>
</return>
<msg time="2026-04-11T23:23:05.475852" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:05.383246" elapsed="0.092848"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:05.476717" elapsed="0.001755"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:05.382630" elapsed="0.096108"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:05.381398" elapsed="0.097485"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:05.380903" elapsed="0.098078"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.379881" elapsed="0.099224"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:05.379424" elapsed="0.099775"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.480320" level="INFO">${next} = 18312</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.479536" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.481659" level="INFO">${current_port} = 18312</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:05.480787" elapsed="0.000967"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.375182" elapsed="0.106698"/>
</kw>
<msg time="2026-04-11T23:23:05.481964" level="INFO">Repeating keyword, round 483/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:05.484377" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:05.484231" elapsed="0.000187"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.484187" elapsed="0.000252"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.484828" level="INFO">${current_Date} = 2026-04-11 23:23:05.485</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:05.484672" elapsed="0.000182"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.485300" level="INFO">${ellapsed_seconds} = 2646.383</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:05.484999" elapsed="0.000327"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.485640" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:05.485396" elapsed="0.000298"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.485378" elapsed="0.000339"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:05.483658" elapsed="0.002105"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.486266" level="INFO">${number} = 483</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.485907" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.487692" level="INFO">${number} = 483</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.487343" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.489365" level="INFO">${device-port} = 18312</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.488760" elapsed="0.000632"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.491974" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:05.552116" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.552350" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.491730" elapsed="0.060680"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.553328" elapsed="0.000055"/>
</kw>
<msg time="2026-04-11T23:23:05.553466" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:05.552619" elapsed="0.000981">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:05.552533" elapsed="0.001162">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:05.491437" elapsed="0.062542">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:05.491053" elapsed="0.063149"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.555227" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18312 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:05.610113" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.610341" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.554727" elapsed="0.055673"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:05.610648" elapsed="0.000160"/>
</return>
<msg time="2026-04-11T23:23:05.611487" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:05.490218" elapsed="0.121529"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:05.612371" elapsed="0.001791"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:05.489618" elapsed="0.124778"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:05.488375" elapsed="0.126163"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:05.487872" elapsed="0.126797"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.486902" elapsed="0.127890"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:05.486444" elapsed="0.128443"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.616001" level="INFO">${next} = 18313</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.615222" elapsed="0.000838"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.617276" level="INFO">${current_port} = 18313</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:05.616407" elapsed="0.000961"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.482378" elapsed="0.135114"/>
</kw>
<msg time="2026-04-11T23:23:05.617633" level="INFO">Repeating keyword, round 484/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:05.620277" elapsed="0.000023"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:05.620033" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.619949" elapsed="0.000401"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.620659" level="INFO">${current_Date} = 2026-04-11 23:23:05.621</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:05.620490" elapsed="0.000195"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.621127" level="INFO">${ellapsed_seconds} = 2646.247</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:05.620829" elapsed="0.000324"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.621449" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:05.621222" elapsed="0.000279"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.621204" elapsed="0.000319"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:05.619287" elapsed="0.002295"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.622081" level="INFO">${number} = 484</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.621727" elapsed="0.000381"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.623480" level="INFO">${number} = 484</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.623145" elapsed="0.000361"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.625185" level="INFO">${device-port} = 18313</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.624553" elapsed="0.000659"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.627885" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:05.664219" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.664426" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.627790" elapsed="0.036691"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.665272" elapsed="0.000044"/>
</kw>
<msg time="2026-04-11T23:23:05.665364" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:05.664672" elapsed="0.000821">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:05.664630" elapsed="0.000924">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:05.627357" elapsed="0.038589">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:05.626974" elapsed="0.039090"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.666706" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18313 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:05.722527" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.722789" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.666365" elapsed="0.056482"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:05.723047" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:23:05.723885" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:05.626032" elapsed="0.098097"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:05.724767" elapsed="0.001774"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:05.625413" elapsed="0.101397"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:05.624215" elapsed="0.102737"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:05.623715" elapsed="0.103334"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.622709" elapsed="0.104462"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:05.622257" elapsed="0.105008"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.728375" level="INFO">${next} = 18314</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.727635" elapsed="0.000778"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.729289" level="INFO">${current_port} = 18314</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:05.728766" elapsed="0.000581"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.618050" elapsed="0.111375"/>
</kw>
<msg time="2026-04-11T23:23:05.729479" level="INFO">Repeating keyword, round 485/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:05.731063" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:05.730912" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.730884" elapsed="0.000267"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.731627" level="INFO">${current_Date} = 2026-04-11 23:23:05.732</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:05.731393" elapsed="0.000272"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.732303" level="INFO">${ellapsed_seconds} = 2646.136</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:05.731870" elapsed="0.000470"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.732838" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:05.732437" elapsed="0.000478"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.732412" elapsed="0.000535"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:05.730526" elapsed="0.002484"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.733732" level="INFO">${number} = 485</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.733209" elapsed="0.000560"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.735711" level="INFO">${number} = 485</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.735225" elapsed="0.000523"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.738059" level="INFO">${device-port} = 18314</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.737189" elapsed="0.000908"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.741293" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:05.776281" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.776515" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.741198" elapsed="0.035411"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.777519" elapsed="0.000090"/>
</kw>
<msg time="2026-04-11T23:23:05.777693" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:05.776789" elapsed="0.001012">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:05.776739" elapsed="0.001152">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:05.740924" elapsed="0.037260">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:05.740351" elapsed="0.038051"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.779432" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18314 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:05.834354" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.834612" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.778923" elapsed="0.055749"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:05.834887" elapsed="0.000151"/>
</return>
<msg time="2026-04-11T23:23:05.835743" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:05.739233" elapsed="0.096801"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:05.836686" elapsed="0.001957"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:05.738378" elapsed="0.100531"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:05.736717" elapsed="0.102346"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:05.735977" elapsed="0.103183"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.734610" elapsed="0.104675"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:05.733979" elapsed="0.105401"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.840561" level="INFO">${next} = 18315</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.839756" elapsed="0.000931"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.841960" level="INFO">${current_port} = 18315</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:05.841061" elapsed="0.001001"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.729764" elapsed="0.112424"/>
</kw>
<msg time="2026-04-11T23:23:05.842273" level="INFO">Repeating keyword, round 486/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:05.845188" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:05.844928" elapsed="0.000353"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.844885" elapsed="0.000444"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.846037" level="INFO">${current_Date} = 2026-04-11 23:23:05.846</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:05.845681" elapsed="0.000429"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.847195" level="INFO">${ellapsed_seconds} = 2646.022</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:05.846439" elapsed="0.000818"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.848037" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:05.847415" elapsed="0.000757"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.847373" elapsed="0.000855"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:05.844264" elapsed="0.004054"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.848870" level="INFO">${number} = 486</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.848463" elapsed="0.000433"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.850309" level="INFO">${number} = 486</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.849963" elapsed="0.000373"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.852014" level="INFO">${device-port} = 18315</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.851364" elapsed="0.000677"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.854863" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:05.888314" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.888557" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.854763" elapsed="0.033911"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.889643" elapsed="0.000073"/>
</kw>
<msg time="2026-04-11T23:23:05.889799" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:05.888864" elapsed="0.001143">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:05.888808" elapsed="0.001300">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:05.854470" elapsed="0.035926">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:05.853881" elapsed="0.036658"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.891611" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18315 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:05.945981" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:05.946199" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.891070" elapsed="0.055183"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:05.946463" elapsed="0.000211"/>
</return>
<msg time="2026-04-11T23:23:05.947333" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:05.852884" elapsed="0.094726"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:05.948261" elapsed="0.001898"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:05.852253" elapsed="0.098151"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:05.851017" elapsed="0.099545"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:05.850495" elapsed="0.100211"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.849505" elapsed="0.101327"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:05.849049" elapsed="0.101878"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.952128" level="INFO">${next} = 18316</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.951265" elapsed="0.000925"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.953075" level="INFO">${current_port} = 18316</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:05.952503" elapsed="0.000631"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.842738" elapsed="0.110476"/>
</kw>
<msg time="2026-04-11T23:23:05.953268" level="INFO">Repeating keyword, round 487/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:05.955056" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:05.954903" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.954875" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.955704" level="INFO">${current_Date} = 2026-04-11 23:23:05.956</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:05.955391" elapsed="0.000354"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:05.956474" level="INFO">${ellapsed_seconds} = 2645.912</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:05.956011" elapsed="0.000500"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:05.957012" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:05.956636" elapsed="0.000455"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:05.956608" elapsed="0.000515"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:05.954527" elapsed="0.002661"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.957928" level="INFO">${number} = 487</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.957387" elapsed="0.000577"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.960053" level="INFO">${number} = 487</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.959453" elapsed="0.000637"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:05.962602" level="INFO">${device-port} = 18316</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:05.961822" elapsed="0.000809"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:05.967914" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:06.000259" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.000515" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:05.967793" elapsed="0.032813"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.001501" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:06.001669" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:06.000780" elapsed="0.000997">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:06.000734" elapsed="0.001135">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:05.967493" elapsed="0.034651">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:05.964346" elapsed="0.038014"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.003371" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18316 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:06.058279" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.058505" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.002880" elapsed="0.055681"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:06.058798" elapsed="0.000150"/>
</return>
<msg time="2026-04-11T23:23:06.059643" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:05.963481" elapsed="0.096414"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:06.060511" elapsed="0.002016"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:05.962850" elapsed="0.099954"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:05.961049" elapsed="0.101901"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:05.960311" elapsed="0.102736"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.958839" elapsed="0.104332"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:05.958176" elapsed="0.105095"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.064418" level="INFO">${next} = 18317</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.063641" elapsed="0.000836"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.065774" level="INFO">${current_port} = 18317</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:06.064894" elapsed="0.000975"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:05.953732" elapsed="0.112262"/>
</kw>
<msg time="2026-04-11T23:23:06.066080" level="INFO">Repeating keyword, round 488/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:06.068177" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:06.068025" elapsed="0.000210"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.067998" elapsed="0.000268"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.068780" level="INFO">${current_Date} = 2026-04-11 23:23:06.069</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:06.068462" elapsed="0.000355"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.069456" level="INFO">${ellapsed_seconds} = 2645.799</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:06.069019" elapsed="0.000474"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.069940" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:06.069611" elapsed="0.000403"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.069565" elapsed="0.000481"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:06.067675" elapsed="0.002434"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.070999" level="INFO">${number} = 488</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.070306" elapsed="0.000729"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.073013" level="INFO">${number} = 488</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.072508" elapsed="0.000542"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.075407" level="INFO">${device-port} = 18317</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.074525" elapsed="0.000920"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.078317" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:06.108362" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.108651" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.078220" elapsed="0.030494"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.109693" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:23:06.109834" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:06.108903" elapsed="0.001155">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:06.108844" elapsed="0.001316">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:06.077771" elapsed="0.032682">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:06.077370" elapsed="0.033256"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.111647" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18317 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:06.166367" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.166664" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.111109" elapsed="0.055618"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:06.166937" elapsed="0.000162"/>
</return>
<msg time="2026-04-11T23:23:06.167861" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:06.076563" elapsed="0.091528"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:06.168801" elapsed="0.002146"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:06.075756" elapsed="0.095436"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:06.074052" elapsed="0.097286"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:06.073266" elapsed="0.098171"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.071897" elapsed="0.099669"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:06.071244" elapsed="0.100472"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.173064" level="INFO">${next} = 18318</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.172092" elapsed="0.001033"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.174037" level="INFO">${current_port} = 18318</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:06.173427" elapsed="0.000669"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.066501" elapsed="0.107679"/>
</kw>
<msg time="2026-04-11T23:23:06.174236" level="INFO">Repeating keyword, round 489/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:06.176036" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:06.175878" elapsed="0.000217"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.175848" elapsed="0.000278"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.176665" level="INFO">${current_Date} = 2026-04-11 23:23:06.177</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:06.176395" elapsed="0.000308"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.177397" level="INFO">${ellapsed_seconds} = 2645.691</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:06.176918" elapsed="0.000515"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.177918" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:06.177531" elapsed="0.000464"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.177506" elapsed="0.000522"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:06.175485" elapsed="0.002606"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.178867" level="INFO">${number} = 489</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.178291" elapsed="0.000614"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.180963" level="INFO">${number} = 489</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.180441" elapsed="0.000568"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.183470" level="INFO">${device-port} = 18318</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.182559" elapsed="0.000949"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.186491" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:06.220495" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.220761" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.186197" elapsed="0.034625"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.221753" elapsed="0.000061"/>
</kw>
<msg time="2026-04-11T23:23:06.221892" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:06.220989" elapsed="0.001010">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:06.220943" elapsed="0.001145">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:06.185911" elapsed="0.036459">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:06.185482" elapsed="0.037149"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.223670" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18318 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:06.277918" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.278141" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.223112" elapsed="0.055089"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:06.278394" elapsed="0.000146"/>
</return>
<msg time="2026-04-11T23:23:06.279254" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:06.184657" elapsed="0.094812"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:06.280148" elapsed="0.001879"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:06.183861" elapsed="0.098420"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:06.182078" elapsed="0.100356"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:06.181234" elapsed="0.101299"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.179795" elapsed="0.102903"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:06.179118" elapsed="0.103677"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.283993" level="INFO">${next} = 18319</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.283137" elapsed="0.000916"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.285352" level="INFO">${current_port} = 18319</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:06.284429" elapsed="0.001023"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.174532" elapsed="0.111081"/>
</kw>
<msg time="2026-04-11T23:23:06.285705" level="INFO">Repeating keyword, round 490/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:06.288056" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:06.287904" elapsed="0.000212"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.287876" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.288608" level="INFO">${current_Date} = 2026-04-11 23:23:06.288</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:06.288347" elapsed="0.000301"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.289291" level="INFO">${ellapsed_seconds} = 2645.58</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:06.288855" elapsed="0.000472"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.289814" elapsed="0.000030"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:06.289444" elapsed="0.000446"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.289410" elapsed="0.000512"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:06.287456" elapsed="0.002530"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.290892" level="INFO">${number} = 490</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.290186" elapsed="0.000744"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.293134" level="INFO">${number} = 490</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.292648" elapsed="0.000524"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.295614" level="INFO">${device-port} = 18319</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.294708" elapsed="0.000947"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.298372" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:06.332643" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.332868" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.298269" elapsed="0.034658"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.333885" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:23:06.334021" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:06.333118" elapsed="0.001123">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:06.333063" elapsed="0.001281">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:06.297987" elapsed="0.036680">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:06.297554" elapsed="0.037263"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.335873" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18319 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:06.394600" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.394738" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.335306" elapsed="0.059467"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:06.394905" elapsed="0.000099"/>
</return>
<msg time="2026-04-11T23:23:06.395405" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:06.296739" elapsed="0.098803"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:06.395977" elapsed="0.001136"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:06.295988" elapsed="0.101276"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:06.294173" elapsed="0.103181"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:06.293394" elapsed="0.104022"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.291972" elapsed="0.105521"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:06.291148" elapsed="0.106405"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.398248" level="INFO">${next} = 18320</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.397787" elapsed="0.000498"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.399082" level="INFO">${current_port} = 18320</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:06.398506" elapsed="0.000635"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.286124" elapsed="0.113097"/>
</kw>
<msg time="2026-04-11T23:23:06.399275" level="INFO">Repeating keyword, round 491/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:06.400869" elapsed="0.000020"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:06.400718" elapsed="0.000209"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.400690" elapsed="0.000266"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.401437" level="INFO">${current_Date} = 2026-04-11 23:23:06.401</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:06.401213" elapsed="0.000261"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.402147" level="INFO">${ellapsed_seconds} = 2645.467</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:06.401701" elapsed="0.000482"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.402635" elapsed="0.000031"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:06.402282" elapsed="0.000429"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.402256" elapsed="0.000488"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:06.400335" elapsed="0.002472"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.403508" level="INFO">${number} = 491</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.403005" elapsed="0.000540"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.405427" level="INFO">${number} = 491</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.405078" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.407111" level="INFO">${device-port} = 18320</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.406468" elapsed="0.000670"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.409692" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:06.444101" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.444206" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.409523" elapsed="0.034710"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.444651" elapsed="0.000026"/>
</kw>
<msg time="2026-04-11T23:23:06.444712" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:06.444309" elapsed="0.000450">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:06.444288" elapsed="0.000512">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:06.409246" elapsed="0.035677">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:06.408851" elapsed="0.036175"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.445457" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18320 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:06.502358" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.502730" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.445238" elapsed="0.057553"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:06.503037" elapsed="0.000190"/>
</return>
<msg time="2026-04-11T23:23:06.504049" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:06.408019" elapsed="0.096258"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:06.505011" elapsed="0.002020"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:06.407344" elapsed="0.099933"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:06.406123" elapsed="0.101307"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:06.405628" elapsed="0.101923"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.404561" elapsed="0.103186"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:06.403796" elapsed="0.104058"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.509065" level="INFO">${next} = 18321</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.508207" elapsed="0.000917"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.510558" level="INFO">${current_port} = 18321</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:06.509490" elapsed="0.001308"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.399535" elapsed="0.111395"/>
</kw>
<msg time="2026-04-11T23:23:06.511022" level="INFO">Repeating keyword, round 492/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:06.513845" elapsed="0.000034"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:06.513517" elapsed="0.000424"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.513468" elapsed="0.000524"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.514817" level="INFO">${current_Date} = 2026-04-11 23:23:06.514</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:06.514316" elapsed="0.000693"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.515734" level="INFO">${ellapsed_seconds} = 2645.354</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:06.515339" elapsed="0.000427"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.516109" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:06.515840" elapsed="0.000323"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.515820" elapsed="0.000367"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:06.512959" elapsed="0.003275"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.516776" level="INFO">${number} = 492</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.516381" elapsed="0.000424"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.518237" level="INFO">${number} = 492</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.517892" elapsed="0.000372"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.519974" level="INFO">${device-port} = 18321</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.519301" elapsed="0.000700"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.522505" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:06.552655" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.552884" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.522401" elapsed="0.030542"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.553871" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:06.554004" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:06.553112" elapsed="0.001102">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:06.553065" elapsed="0.001246">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:06.522124" elapsed="0.032508">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:06.521709" elapsed="0.033069"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.555815" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18321 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:06.610273" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.610497" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.555246" elapsed="0.055312"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:06.610798" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:23:06.611711" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:06.520867" elapsed="0.091074"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:06.612608" elapsed="0.001844"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:06.520210" elapsed="0.094537"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:06.518957" elapsed="0.095938"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:06.518420" elapsed="0.096574"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.517420" elapsed="0.097695"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:06.516961" elapsed="0.098248"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.616363" level="INFO">${next} = 18322</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.615546" elapsed="0.000876"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.617761" level="INFO">${current_port} = 18322</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:06.616856" elapsed="0.001005"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.511499" elapsed="0.106490"/>
</kw>
<msg time="2026-04-11T23:23:06.618077" level="INFO">Repeating keyword, round 493/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:06.620899" elapsed="0.000035"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:06.620505" elapsed="0.000491"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.620462" elapsed="0.000582"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.621841" level="INFO">${current_Date} = 2026-04-11 23:23:06.622</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:06.621435" elapsed="0.000468"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.622987" level="INFO">${ellapsed_seconds} = 2645.246</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:06.622232" elapsed="0.000815"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.623807" elapsed="0.000058"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:06.623207" elapsed="0.000736"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.623166" elapsed="0.000830"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:06.619857" elapsed="0.004240"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.624777" level="INFO">${number} = 493</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.624373" elapsed="0.000431"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.626223" level="INFO">${number} = 493</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.625879" elapsed="0.000370"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.627935" level="INFO">${device-port} = 18322</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.627272" elapsed="0.000690"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.630395" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:06.664260" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.664471" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.630297" elapsed="0.034233"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.665472" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:23:06.665642" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:06.664745" elapsed="0.001005">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:06.664694" elapsed="0.001150">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:06.630021" elapsed="0.036091">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:06.629621" elapsed="0.036703"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.667359" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18322 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:06.726871" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.727118" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.666861" elapsed="0.060315"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:06.727389" elapsed="0.000158"/>
</return>
<msg time="2026-04-11T23:23:06.728282" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:06.628799" elapsed="0.099703"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:06.729171" elapsed="0.001956"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:06.628168" elapsed="0.103203"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:06.626929" elapsed="0.104589"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:06.626405" elapsed="0.105283"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.625408" elapsed="0.106414"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:06.624964" elapsed="0.106960"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.732805" level="INFO">${next} = 18323</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.732272" elapsed="0.000571"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.733646" level="INFO">${current_port} = 18323</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:06.733072" elapsed="0.000636"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.618487" elapsed="0.115303"/>
</kw>
<msg time="2026-04-11T23:23:06.733846" level="INFO">Repeating keyword, round 494/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:06.735450" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:06.735296" elapsed="0.000213"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.735268" elapsed="0.000271"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.736034" level="INFO">${current_Date} = 2026-04-11 23:23:06.736</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:06.735771" elapsed="0.000302"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.736800" level="INFO">${ellapsed_seconds} = 2645.132</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:06.736276" elapsed="0.000561"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.737270" elapsed="0.000029"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:06.736936" elapsed="0.000408"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.736910" elapsed="0.000467"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:06.734957" elapsed="0.002483"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.738168" level="INFO">${number} = 494</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.737660" elapsed="0.000544"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.740221" level="INFO">${number} = 494</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.739744" elapsed="0.000514"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.742623" level="INFO">${device-port} = 18323</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.741746" elapsed="0.000916"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.745728" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:06.784626" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.784866" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.745448" elapsed="0.039480"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.785862" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:23:06.785998" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:06.785102" elapsed="0.001102">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:06.785055" elapsed="0.001245">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:06.745180" elapsed="0.041430">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:06.744795" elapsed="0.041962"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.787794" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18323 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:06.842466" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.842731" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.787231" elapsed="0.055558"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:06.842990" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:23:06.843846" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:06.743845" elapsed="0.100222"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:06.844703" elapsed="0.001788"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:06.742946" elapsed="0.103819"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:06.741245" elapsed="0.105663"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:06.740473" elapsed="0.106532"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.739059" elapsed="0.108072"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:06.738415" elapsed="0.108811"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.848356" level="INFO">${next} = 18324</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.847630" elapsed="0.000764"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.849181" level="INFO">${current_port} = 18324</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:06.848652" elapsed="0.000588"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.734128" elapsed="0.115193"/>
</kw>
<msg time="2026-04-11T23:23:06.849380" level="INFO">Repeating keyword, round 495/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:06.850944" elapsed="0.000021"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:06.850792" elapsed="0.000211"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.850764" elapsed="0.000270"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.851492" level="INFO">${current_Date} = 2026-04-11 23:23:06.851</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:06.851275" elapsed="0.000267"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.852191" level="INFO">${ellapsed_seconds} = 2645.017</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:06.851766" elapsed="0.000461"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.852732" elapsed="0.000032"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:06.852330" elapsed="0.000480"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.852302" elapsed="0.000540"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:06.850439" elapsed="0.002467"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.853631" level="INFO">${number} = 495</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.853106" elapsed="0.000562"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.855642" level="INFO">${number} = 495</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.855138" elapsed="0.000542"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.857973" level="INFO">${device-port} = 18324</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.857096" elapsed="0.000915"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.861266" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:06.896207" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.896427" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.861017" elapsed="0.035469"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.897395" elapsed="0.000057"/>
</kw>
<msg time="2026-04-11T23:23:06.897529" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:06.896692" elapsed="0.000972">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:06.896642" elapsed="0.001116">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:06.860749" elapsed="0.037278">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:06.860331" elapsed="0.037901"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.899234" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18324 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:06.954536" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:06.954819" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.898745" elapsed="0.056131"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:06.955085" elapsed="0.000162"/>
</return>
<msg time="2026-04-11T23:23:06.956010" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:06.859160" elapsed="0.097071"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:06.956888" elapsed="0.001864"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:06.858292" elapsed="0.100699"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:06.856625" elapsed="0.102510"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:06.855895" elapsed="0.103339"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.854503" elapsed="0.104853"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:06.853881" elapsed="0.105571"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.960654" level="INFO">${next} = 18325</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.959838" elapsed="0.000895"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.961991" level="INFO">${current_port} = 18325</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:06.961100" elapsed="0.000987"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.849667" elapsed="0.112548"/>
</kw>
<msg time="2026-04-11T23:23:06.962304" level="INFO">Repeating keyword, round 496/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:06.964992" elapsed="0.000033"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:06.964733" elapsed="0.000352"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.964567" elapsed="0.000567"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.965835" level="INFO">${current_Date} = 2026-04-11 23:23:06.966</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:06.965450" elapsed="0.000443"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:06.966936" level="INFO">${ellapsed_seconds} = 2644.902</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:06.966215" elapsed="0.000778"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:06.967738" elapsed="0.000050"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:06.967149" elapsed="0.000712"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:06.967107" elapsed="0.000806"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:06.964078" elapsed="0.003936"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.968768" level="INFO">${number} = 496</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.968328" elapsed="0.000465"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.970176" level="INFO">${number} = 496</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.969842" elapsed="0.000360"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:06.971855" level="INFO">${device-port} = 18325</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:06.971210" elapsed="0.000671"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:06.974442" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:07.004337" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.004554" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:06.974343" elapsed="0.030310"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.005529" elapsed="0.000085"/>
</kw>
<msg time="2026-04-11T23:23:07.005696" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:07.004822" elapsed="0.001072">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.004775" elapsed="0.001216">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:06.973918" elapsed="0.032351">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:06.973514" elapsed="0.032895"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.007400" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18325 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:07.062450" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.062698" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:07.006916" elapsed="0.055839"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:07.062948" elapsed="0.000148"/>
</return>
<msg time="2026-04-11T23:23:07.063799" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:06.972711" elapsed="0.091308"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:07.064644" elapsed="0.001783"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:06.972084" elapsed="0.094612"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:06.970872" elapsed="0.095969"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:06.970355" elapsed="0.096583"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.969384" elapsed="0.097673"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:06.968944" elapsed="0.098208"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.068271" level="INFO">${next} = 18326</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.067503" elapsed="0.000827"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.069603" level="INFO">${current_port} = 18326</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:07.068741" elapsed="0.000958"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:06.962773" elapsed="0.107052"/>
</kw>
<msg time="2026-04-11T23:23:07.069910" level="INFO">Repeating keyword, round 497/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:07.072407" elapsed="0.000026"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.072167" elapsed="0.000295"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.072123" elapsed="0.000361"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.072871" level="INFO">${current_Date} = 2026-04-11 23:23:07.073</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:07.072716" elapsed="0.000181"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.073353" level="INFO">${ellapsed_seconds} = 2644.795</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:07.073051" elapsed="0.000328"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.073691" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.073449" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.073430" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:07.071635" elapsed="0.002177"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.074310" level="INFO">${number} = 497</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.073953" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.075752" level="INFO">${number} = 497</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.075384" elapsed="0.000394"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.077418" level="INFO">${device-port} = 18326</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.076800" elapsed="0.000645"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.080087" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:07.116309" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.116527" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:07.079927" elapsed="0.036693"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.117485" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:07.117652" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:07.116790" elapsed="0.000967">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.116743" elapsed="0.001103">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.079656" elapsed="0.038455">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.079076" elapsed="0.039237"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.119303" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18326 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:07.174326" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.174560" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:07.118821" elapsed="0.055833"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:07.174860" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:23:07.175729" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:07.078267" elapsed="0.097681"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:07.176551" elapsed="0.001829"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:07.077664" elapsed="0.100983"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:07.076421" elapsed="0.102376"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:07.075935" elapsed="0.102963"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:07.074947" elapsed="0.104072"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:07.074491" elapsed="0.104621"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.180244" level="INFO">${next} = 18327</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.179473" elapsed="0.000829"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.181557" level="INFO">${current_port} = 18327</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:07.180715" elapsed="0.000969"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:07.070320" elapsed="0.111490"/>
</kw>
<msg time="2026-04-11T23:23:07.181897" level="INFO">Repeating keyword, round 498/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:07.184417" elapsed="0.000024"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.184176" elapsed="0.000294"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.184132" elapsed="0.000360"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.184850" level="INFO">${current_Date} = 2026-04-11 23:23:07.185</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:07.184691" elapsed="0.000185"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.185429" level="INFO">${ellapsed_seconds} = 2644.683</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:07.185018" elapsed="0.000439"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.185780" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.185529" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.185510" elapsed="0.000346"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:07.183642" elapsed="0.002259"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.186407" level="INFO">${number} = 498</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.186049" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.187844" level="INFO">${number} = 498</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.187490" elapsed="0.000380"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.189495" level="INFO">${device-port} = 18327</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.188889" elapsed="0.000633"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.192141" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:07.224605" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.224822" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:07.192044" elapsed="0.032837"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.225768" elapsed="0.000056"/>
</kw>
<msg time="2026-04-11T23:23:07.225901" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:07.225044" elapsed="0.001052">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.224998" elapsed="0.001194">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.191773" elapsed="0.034687">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.191169" elapsed="0.035460"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.227633" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18327 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:07.282281" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.282526" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:07.227089" elapsed="0.055528"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:07.282826" elapsed="0.000157"/>
</return>
<msg time="2026-04-11T23:23:07.283698" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:07.190356" elapsed="0.093561"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:07.284540" elapsed="0.001868"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:07.189748" elapsed="0.096969"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:07.188516" elapsed="0.098352"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:07.188022" elapsed="0.098945"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:07.187041" elapsed="0.100050"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:07.186602" elapsed="0.100585"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.288324" level="INFO">${next} = 18328</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.287539" elapsed="0.000844"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.289644" level="INFO">${current_port} = 18328</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:07.288773" elapsed="0.000966"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:07.182317" elapsed="0.107547"/>
</kw>
<msg time="2026-04-11T23:23:07.289949" level="INFO">Repeating keyword, round 499/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:07.292013" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.291900" elapsed="0.000155"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.291880" elapsed="0.000197"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.292426" level="INFO">${current_Date} = 2026-04-11 23:23:07.292</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:07.292262" elapsed="0.000189"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.292945" level="INFO">${ellapsed_seconds} = 2644.576</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:07.292613" elapsed="0.000358"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.293284" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.293041" elapsed="0.000296"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.293023" elapsed="0.000337"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:07.291655" elapsed="0.001751"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.293923" level="INFO">${number} = 499</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.293549" elapsed="0.000400"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.295352" level="INFO">${number} = 499</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.295016" elapsed="0.000376"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.297047" level="INFO">${device-port} = 18328</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.296411" elapsed="0.000663"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.302170" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:07.332664" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.332927" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:07.302069" elapsed="0.030920"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.333994" elapsed="0.000059"/>
</kw>
<msg time="2026-04-11T23:23:07.334135" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:07.333181" elapsed="0.001068">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.333126" elapsed="0.001215">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.301789" elapsed="0.032877">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.298783" elapsed="0.036113"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.335990" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18328 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:07.394614" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.394833" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:07.335406" elapsed="0.059482"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:07.395085" elapsed="0.000152"/>
</return>
<msg time="2026-04-11T23:23:07.395954" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:07.297969" elapsed="0.098205"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:07.396813" elapsed="0.002049"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:07.297278" elapsed="0.101822"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:07.296073" elapsed="0.103173"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:07.295552" elapsed="0.103812"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:07.294542" elapsed="0.104983"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:07.294101" elapsed="0.105619"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.400956" level="INFO">${next} = 18329</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.400107" elapsed="0.000914"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.402281" level="INFO">${current_port} = 18329</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:07.401379" elapsed="0.000995"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:07.290395" elapsed="0.112104"/>
</kw>
<msg time="2026-04-11T23:23:07.402617" level="INFO">Repeating keyword, round 500/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:07.404312" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.404201" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.404181" elapsed="0.000194"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.404747" level="INFO">${current_Date} = 2026-04-11 23:23:07.405</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:07.404519" elapsed="0.000255"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.405261" level="INFO">${ellapsed_seconds} = 2644.463</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:07.404919" elapsed="0.000368"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.405622" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.405356" elapsed="0.000320"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.405338" elapsed="0.000360"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:07.403959" elapsed="0.001783"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.406323" level="INFO">${number} = 500</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.405882" elapsed="0.000475"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="NetconfKeywords__Wait_Device_Is_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.407863" level="INFO">${number} = 500</msg>
<var>${number}</var>
<arg>'${device_name}'.split('-').pop()</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.407499" elapsed="0.000391"/>
</kw>
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Check_Device_Up_And_Running" owner="NetconfKeywords">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.409614" level="INFO">${device-port} = 18329</msg>
<var>${device-port}</var>
<arg>${FIRST_TESTTOOL_PORT}+${device-number}-1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.408960" elapsed="0.000683"/>
</kw>
<kw name="NetconfKeywords__Check_Device_Is_Up" owner="NetconfKeywords">
<kw name="Count_Port_Occurences" owner="SSHKeywords">
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Check_And_Install_Netstat" owner="SSHKeywords">
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.412359" level="INFO">Executing command 'netstat --version'.</msg>
<msg time="2026-04-11T23:23:07.448523" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.448782" level="INFO">${netstat_installed} = net-tools 2.10-alpha
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX
AF: (inet) +UNIX +INET...</msg>
<var>${netstat_installed}</var>
<arg>netstat --version</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:07.412246" elapsed="0.036595"/>
</kw>
<if>
<branch type="IF" condition="'${netstat_installed}' is not string and '${netstat_installed}' != '0'">
<kw name="Install_Netstat" owner="SSHKeywords">
<doc>Install netstat if it is not already installed.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.449739" elapsed="0.000058"/>
</kw>
<msg time="2026-04-11T23:23:07.449873" level="FAIL">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</msg>
<status status="FAIL" start="2026-04-11T23:23:07.449010" elapsed="0.001102">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.448962" elapsed="0.001248">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</if>
<doc>Check if netstat is installed and install it if not.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.411762" elapsed="0.038718">Invalid IF condition: Evaluating expression "'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' is not string and 'net-tools 2.10-alpha\nFred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang, Brian Micek and others\n+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N +SELINUX\nAF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE -BLUETOOTH\nHW:  +ETHER +ARC +SLIP +PPP +TUNNEL -TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 ' != '0'" failed: SyntaxError: unterminated string literal (detected at line 1) (&lt;string&gt;, line 1)

Variables in the original expression "'${netstat_installed}' is not string and '${netstat_installed}' != '0'" were resolved before the expression was evaluated. Try using "$netstat_installed is not string and $netstat_installed != '0'" syntax to avoid that. See Evaluating Expressions appendix in Robot Framework User Guide for more details.</status>
</kw>
<arg>Check_And_Install_Netstat</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.411324" elapsed="0.039327"/>
</kw>
<kw name="Execute Command" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.451690" level="INFO">Executing command 'netstat -punta 2&gt; /dev/null | grep -E ":18329 .+ LISTEN .+java" | wc -l'.</msg>
<msg time="2026-04-11T23:23:07.510301" level="INFO">Command exited with return code 0.</msg>
<msg time="2026-04-11T23:23:07.510508" level="INFO">${output} = 1</msg>
<var>${output}</var>
<arg>${NETSTAT_COMMAND} 2&gt; /dev/null | grep -E ":${port} .+ ${state} .+${name}" | wc -l</arg>
<doc>Executes ``command`` on the remote machine and returns its outputs.</doc>
<status status="PASS" start="2026-04-11T23:23:07.451141" elapsed="0.059421"/>
</kw>
<return>
<value>${output}</value>
<status status="PASS" start="2026-04-11T23:23:07.510790" elapsed="0.000147"/>
</return>
<msg time="2026-04-11T23:23:07.511641" level="INFO">${count} = 1</msg>
<var>${count}</var>
<arg>${last-port}</arg>
<arg>LISTEN</arg>
<arg>java</arg>
<doc>Run 'netstat' on the remote machine and count occurences of given port in the given state connected to process with the given name.</doc>
<status status="PASS" start="2026-04-11T23:23:07.410480" elapsed="0.101387"/>
</kw>
<kw name="Should Be Equal As Integers" owner="BuiltIn">
<arg>${count}</arg>
<arg>1</arg>
<doc>Fails if objects are unequal after converting them to integers.</doc>
<status status="PASS" start="2026-04-11T23:23:07.512459" elapsed="0.001966"/>
</kw>
<arg>${device-port}</arg>
<status status="PASS" start="2026-04-11T23:23:07.409852" elapsed="0.104848"/>
</kw>
<arg>${number}</arg>
<doc>Query netstat on remote machine whether testtool device with the specified number has its port open and fail if not.</doc>
<status status="PASS" start="2026-04-11T23:23:07.408560" elapsed="0.106284"/>
</kw>
<arg>${TESTTOOL_BOOT_TIMEOUT}</arg>
<arg>1s</arg>
<arg>Check_Device_Up_And_Running</arg>
<arg>${number}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="PASS" start="2026-04-11T23:23:07.408046" elapsed="0.106895"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:07.407039" elapsed="0.108024"/>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:07.406556" elapsed="0.108600"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.516280" level="INFO">${next} = 18330</msg>
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.515513" elapsed="0.000828"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.517623" level="INFO">${current_port} = 18330</msg>
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:07.516759" elapsed="0.000959"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:23:07.403047" elapsed="0.114797"/>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="PASS" start="2026-04-11T23:22:11.873219" elapsed="55.644815"/>
</kw>
<arg>NetconfKeywords__Wait_Device_Is_Up_And_Running</arg>
<arg>log_response=${log_response}</arg>
<status status="PASS" start="2026-04-11T23:22:11.867439" elapsed="55.650738"/>
</kw>
<arg>${filename}</arg>
<arg>${device-count}</arg>
<arg>${debug}</arg>
<arg>${schemas}</arg>
<arg>${rpc_config}</arg>
<arg>${tool_options}</arg>
<arg>${java_options}</arg>
<arg>${mdsal}</arg>
<arg>log_response=${log_response}</arg>
<doc>Arrange to collect tool's output into a log file.
Will use specific none unless argument resolves to 'none',
which signifies that there are no additional schemas to be deployed.
If so the directory for the additional schemas is deleted on the
remote machine and the additional schemas argument is left out.</doc>
<status status="PASS" start="2026-04-11T23:22:11.720937" elapsed="55.797350"/>
</kw>
<arg>device-count=${DEVICE_COUNT}</arg>
<doc>Install and run testtool.</doc>
<status status="PASS" start="2026-04-11T23:22:11.002387" elapsed="56.516135"/>
</kw>
<status status="PASS" start="2026-04-11T23:22:11.002124" elapsed="56.516500"/>
</branch>
<branch type="ELSE">
<kw name="Start_Testtool" owner="NetconfKeywords">
<arg>${NETCONF_FILENAME}</arg>
<arg>device-count=${DEVICE_COUNT}</arg>
<doc>Arrange to collect tool's output into a log file.
Will use specific ${schemas} unless argument resolves to 'none',
which signifies that there are no additional schemas to be deployed.
If so the directory for the additional schemas is deleted on the
remote machine and the additional schemas argument is left out.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.523592" elapsed="0.000028"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.518685" elapsed="0.004974"/>
</branch>
<status status="PASS" start="2026-04-11T23:22:11.002106" elapsed="56.521576"/>
</if>
<doc>Deploy and start test tool, then wait for all its devices to become online.</doc>
<status status="PASS" start="2026-04-11T23:22:10.943359" elapsed="56.580454"/>
</test>
<test id="s1-s5-t2" name="Configure_Devices_Onto_Netconf" line="44">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:23:07.527916" elapsed="0.000210"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:23:07.527645" elapsed="0.000535"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:23:07.529156" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.529047" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.529028" 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-11T23:23:07.534046" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.533939" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.533921" elapsed="0.000193"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.535100" level="INFO">${return_list_reference} = [1]</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-11T23:23:07.534723" elapsed="0.000404"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.535610" level="INFO">${return_list_copy} = [1]</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-11T23:23:07.535280" elapsed="0.000357"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:23:07.535682" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:23:07.535857" level="INFO">${index_list} = [1]</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-11T23:23:07.534338" elapsed="0.001546"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:23:07.541673" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.541539" elapsed="0.000184"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.541517" elapsed="0.000229"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:23:07.542934" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.542828" elapsed="0.000152"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.542809" elapsed="0.000193"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:07.543490" level="INFO">${karaf_connection_index} = 77</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="PASS" start="2026-04-11T23:23:07.543146" elapsed="0.000371"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.543924" level="INFO">${current_connection_index} = 76</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:07.543692" elapsed="0.000258"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.544724" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.544436" elapsed="0.001029">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:07.545673" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:23:07.545719" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.544105" elapsed="0.001638"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.546488" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.546242" elapsed="0.000909">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:07.547343" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:23:07.547389" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.545908" elapsed="0.001560"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.548403" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Configure_Devices_Onto_Netconf"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.547798" elapsed="0.000667">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Configure_Devices_Onto_Netconf"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:23:07.547551" elapsed="0.000983">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Configure_Devices_Onto_Netconf"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.547531" elapsed="0.001035">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Configure_Devices_Onto_Netconf"</status>
</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-04-11T23:23:07.548742" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.548965" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.548828" elapsed="0.000190"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:07.548811" elapsed="0.000229"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.549074" elapsed="0.000015"/>
</return>
<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">
<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-11T23:23:07.551665" elapsed="0.000150"/>
</kw>
<msg time="2026-04-11T23:23:07.551880" 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-11T23:23:07.550504" elapsed="0.001538"/>
</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-11T23:23:07.552385" elapsed="0.000078"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.552887" elapsed="0.000079"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:23:07.549900" elapsed="0.003178"/>
</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="PASS" start="2026-04-11T23:23:07.549350" elapsed="0.003792"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.542504" elapsed="0.010724">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Configure_Devices_Onto_Netconf"</status>
</kw>
<msg time="2026-04-11T23:23:07.553329" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:07.553373" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Configure_Devices_Onto_Netconf"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:23:07.541903" elapsed="0.011494"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.553598" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.553473" elapsed="0.000171"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.553454" elapsed="0.000212"/>
</if>
<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-11T23:23:07.554698" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.554526" elapsed="0.000220"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.554504" elapsed="0.000264"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.555056" level="INFO">index=76
host=10.30.171.36
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-11T23:23:07.555159" level="INFO">${current_ssh_connection_object} = index=76
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:07.554920" elapsed="0.000265"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.555639" level="INFO">{1: 77}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.555360" elapsed="0.000323"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.556078" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.555832" elapsed="0.000289"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:23:07.556643" elapsed="0.000256"/>
</kw>
<msg time="2026-04-11T23:23:07.556996" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:23:07.557042" level="INFO">${old_connection_index} = 77</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-11T23:23:07.556272" elapsed="0.000792"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:07.557878" elapsed="0.000194"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.559217" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.558827" elapsed="0.001254">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.558235" elapsed="0.001946"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:23:07.560813" elapsed="0.000274"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.560348" elapsed="0.000820"/>
</kw>
<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="PASS" start="2026-04-11T23:23:07.557358" elapsed="0.003856"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:07.557141" elapsed="0.004121"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.557122" elapsed="0.004165"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:07.562139" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:23:07.561834" elapsed="0.000331"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:23:07.562213" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:23:07.562364" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:23:07.561488" elapsed="0.000901"/>
</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="PASS" start="2026-04-11T23:23:07.562539" elapsed="0.000489"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.563321" level="INFO">index=79
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:23:07.563424" level="INFO">${karaf_connection_object} = index=79
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:07.563196" elapsed="0.000254"/>
</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="PASS" start="2026-04-11T23:23:07.563617" elapsed="0.002260"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.566302" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:23:07.568364" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:23:07.566038" elapsed="0.002710">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:23:07.584697" elapsed="0.000578"/>
</kw>
<msg time="2026-04-11T23:23:07.585366" 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-11T23:23:07.582268" elapsed="0.003428"/>
</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-11T23:23:07.585875" elapsed="0.000025"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.586043" elapsed="0.000021"/>
</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-11T23:23:07.569516" elapsed="0.016612"/>
</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-11T23:23:07.569018" elapsed="0.017157"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.554060" elapsed="0.032197">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.586835" elapsed="0.000032"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.586926" elapsed="0.000023"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.541162" elapsed="0.045894">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:23:07.587183" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:07.587233" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:23:07.536284" elapsed="0.050976"/>
</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-11T23:23:07.587765" elapsed="0.000026"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.587444" elapsed="0.000385"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.587419" elapsed="0.000439"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:23:07.536139" elapsed="0.051749"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:23:07.535950" elapsed="0.051980"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:23:07.533580" elapsed="0.054423"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:23:07.528761" elapsed="0.059308"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.528322" elapsed="0.059801"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:23:07.524943" elapsed="0.063242"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.588830" level="INFO">${timeout} = 5000</msg>
<var>${timeout}</var>
<arg>${DEVICE_COUNT}*${TIMEOUT_FACTOR}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.588384" elapsed="0.000477"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.589791" level="INFO">${current_Date} = 2026-04-11 23:23:07.590</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:07.589613" elapsed="0.000204"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.590296" level="INFO">${deadline_Date} = 2026-04-12 00:46:27.590</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:23:07.589965" elapsed="0.000358"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.591017" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:07.590486" elapsed="0.000573"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.591561" level="INFO">Repeating keyword, round 1/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:07.592692" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.592581" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.592549" elapsed="0.000207"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.593045" level="INFO">${current_Date} = 2026-04-11 23:23:07.593</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:07.592895" elapsed="0.000176"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:07.593520" level="INFO">${ellapsed_seconds} = 4999.997</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:07.593215" elapsed="0.000331"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.593862" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.593632" elapsed="0.000282"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.593614" elapsed="0.000323"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:07.592328" elapsed="0.001654"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.594480" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.594123" elapsed="0.000383"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="Configure_Device_And_Verify" owner="NetconfKeywords">
<kw name="Configure_Device" owner="NetconfKeywords">
<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-11T23:23:07.602799" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.602688" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.602668" elapsed="0.000200"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.603882" level="INFO">${return_list_reference} = [1]</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-11T23:23:07.603481" elapsed="0.000428"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.604361" level="INFO">${return_list_copy} = [1]</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-11T23:23:07.604067" elapsed="0.000319"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:23:07.604433" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:23:07.604604" level="INFO">${index_list} = [1]</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-11T23:23:07.603092" elapsed="0.001538"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:23:07.610333" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.610153" elapsed="0.000319"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.610133" elapsed="0.000367"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:23:07.612692" elapsed="0.000016"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.612564" elapsed="0.000176"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.612542" elapsed="0.000220"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:07.613169" level="INFO">${karaf_connection_index} = 79</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="PASS" start="2026-04-11T23:23:07.612950" elapsed="0.000244"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.613584" level="INFO">${current_connection_index} = 76</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:07.613395" elapsed="0.000216"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.614336" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.614142" elapsed="0.000647">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:07.614897" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:23:07.614942" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.613815" elapsed="0.001149"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.615807" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.615614" elapsed="0.000676">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:07.616398" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:23:07.616442" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.615181" elapsed="0.001284"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.617148" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.616833" elapsed="0.000375">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:23:07.616614" elapsed="0.000660">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.616591" elapsed="0.000866">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</status>
</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-04-11T23:23:07.617707" elapsed="0.000024"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.617984" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.617844" elapsed="0.000193"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:07.617825" elapsed="0.000234"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.618149" elapsed="0.000030"/>
</return>
<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">
<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-11T23:23:07.620079" elapsed="0.000146"/>
</kw>
<msg time="2026-04-11T23:23:07.620269" 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-11T23:23:07.619451" elapsed="0.000908"/>
</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-11T23:23:07.620521" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.620701" 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-11T23:23:07.619066" elapsed="0.001716"/>
</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="PASS" start="2026-04-11T23:23:07.618540" elapsed="0.002289"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.611907" elapsed="0.009054">Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</status>
</kw>
<msg time="2026-04-11T23:23:07.621093" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:07.621163" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Configuring device netconf-scaling-device-1 to Netconf"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:23:07.610680" elapsed="0.010520"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.621544" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.621369" elapsed="0.000359"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.621349" elapsed="0.000455"/>
</if>
<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-11T23:23:07.623683" elapsed="0.000031"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.623234" elapsed="0.000529"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.623190" elapsed="0.000641"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.625060" level="INFO">index=76
host=10.30.171.36
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-11T23:23:07.625305" level="INFO">${current_ssh_connection_object} = index=76
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:07.624625" elapsed="0.000791"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.626687" level="INFO">{1: 79}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.626181" elapsed="0.000635"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.628274" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.627803" elapsed="0.000605"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:23:07.629889" elapsed="0.000185"/>
</kw>
<msg time="2026-04-11T23:23:07.630286" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:23:07.630458" level="INFO">${old_connection_index} = 79</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-11T23:23:07.629225" elapsed="0.001338"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:07.631940" elapsed="0.000154"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.632853" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.632694" elapsed="0.000662">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.632258" elapsed="0.001174"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:23:07.633941" elapsed="0.000099"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.633618" elapsed="0.000469"/>
</kw>
<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="PASS" start="2026-04-11T23:23:07.631303" elapsed="0.002862"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:07.630741" elapsed="0.003483"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.630697" elapsed="0.003596"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:07.636397" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:23:07.636127" elapsed="0.000296"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:23:07.636512" elapsed="0.000084"/>
</return>
<msg time="2026-04-11T23:23:07.636888" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:23:07.635277" elapsed="0.001705"/>
</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="PASS" start="2026-04-11T23:23:07.637731" elapsed="0.000614"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.639564" level="INFO">index=80
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:23:07.639927" level="INFO">${karaf_connection_object} = index=80
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:07.639117" elapsed="0.000915"/>
</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="PASS" start="2026-04-11T23:23:07.640777" elapsed="0.002655"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.644648" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:23:07.645672" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:23:07.644194" elapsed="0.001898">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:23:07.650797" elapsed="0.000147"/>
</kw>
<msg time="2026-04-11T23:23:07.650986" 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-11T23:23:07.650180" elapsed="0.000870"/>
</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-11T23:23:07.651326" elapsed="0.000029"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.651500" elapsed="0.000022"/>
</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-11T23:23:07.647955" elapsed="0.003646"/>
</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-11T23:23:07.646936" elapsed="0.004923"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.622632" elapsed="0.029368">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.652489" elapsed="0.000028"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.652659" elapsed="0.000020"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.609736" elapsed="0.043038">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:23:07.652881" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:07.652925" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:23:07.605009" elapsed="0.047939"/>
</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-11T23:23:07.653279" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.653028" elapsed="0.000305"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.653008" elapsed="0.000348"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:23:07.604866" elapsed="0.048514"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:23:07.604687" elapsed="0.048725"/>
</for>
<arg>Configuring device ${current_name} to Netconf</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-11T23:23:07.600643" elapsed="0.052825"/>
</kw>
<kw name="Configure_Device_In_Netconf" owner="NetconfKeywords">
<kw name="Set_Variable_If_At_Least_Scandium" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Set_Variable_If_At_Least" owner="CompareStream">
<kw name="Run Keyword And Return" owner="BuiltIn">
<kw name="Set Variable If" owner="BuiltIn">
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:23:07.675286" elapsed="0.000629"/>
</kw>
<msg time="2026-04-11T23:23:07.675980" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>BuiltIn.Set_Variable_If</arg>
<arg>${Stream_dict}[${ODL_STREAM}] &gt;= ${Stream_dict}[${lower_bound}]</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:23:07.673861" elapsed="0.002184"/>
</kw>
<arg>scandium</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Compare ${lower_bound} to titanium and return scandium if titanium is at least ${lower_bound},
return calcium otherwise.</doc>
<status status="PASS" start="2026-04-11T23:23:07.673325" elapsed="0.003005"/>
</kw>
<msg time="2026-04-11T23:23:07.676375" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>Set_Variable_If_At_Least</arg>
<arg>scandium</arg>
<arg>${value_if_true}</arg>
<arg>${value_if_false}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:23:07.664975" elapsed="0.011446"/>
</kw>
<msg time="2026-04-11T23:23:07.676521" level="INFO">${version} = scandium</msg>
<var>${version}</var>
<arg>scandium</arg>
<arg>calcium</arg>
<doc>Compare scandium to titanium and return ${value_if_true} if titanium is at least scandium, return ${value_if_false} otherwise.</doc>
<status status="PASS" start="2026-04-11T23:23:07.664652" elapsed="0.011893"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.677437" level="INFO">${mapping} = {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': 'netconf-scaling-device-1', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY':...</msg>
<var>${mapping}</var>
<arg>DEVICE_IP=${device_address}</arg>
<arg>DEVICE_NAME=${device_name}</arg>
<arg>DEVICE_PORT=${device_port}</arg>
<arg>DEVICE_USER=${device_user}</arg>
<arg>DEVICE_PASSWORD=${device_password}</arg>
<arg>DEVICE_KEY=${device_key}</arg>
<arg>SCHEMA_DIRECTORY=${schema_directory}</arg>
<arg>RESTCONF_ROOT=${RESTCONF_ROOT}</arg>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.676720" elapsed="0.000744"/>
</kw>
<if>
<branch type="IF" condition="'${http_method}'=='post'">
<kw name="Post_As_Xml_Templated" owner="TemplatedRequests">
<arg>folder=${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${version}${/}${device_type}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Add arguments sensible for XML data, return Post_Templated response text.
Optionally, verification against response.xml (no iteration) is called.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.677882" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.677552" elapsed="0.000395"/>
</branch>
<branch type="ELSE">
<kw name="Put_As_Xml_Templated" owner="TemplatedRequests">
<kw name="Put_Templated" owner="TemplatedRequests">
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.737264" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/location.uri</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:23:07.736890" elapsed="0.000438"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:23:07.738096" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/location.uri' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.737843" elapsed="0.000318">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/location.uri' does not exist.</status>
</kw>
<msg time="2026-04-11T23:23:07.738254" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:23:07.737492" elapsed="0.000786"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.738840" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/location.uri</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:23:07.738441" elapsed="0.000426"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:23:07.739158" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/location.uri"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/location.uri&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:23:07.739331" level="INFO">${template} = $RESTCONF_ROOT/data/network-topology:network-topology/topology=topology-netconf/node=$DEVICE_NAME
</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:23:07.739022" elapsed="0.000335"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.739768" level="INFO">$RESTCONF_ROOT/data/network-topology:network-topology/topology=topology-netconf/node=$DEVICE_NAME
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.739507" elapsed="0.000305"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.740761" level="INFO">mapping: {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': 'netconf-scaling-device-1', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY': '/tmp/schema', 'RESTCONF_ROOT': '/rests'}</msg>
<arg>mapping: ${mapping}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.740486" elapsed="0.000321"/>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.741216" level="INFO">${encoded_mapping} = {}</msg>
<var>${encoded_mapping}</var>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.740958" elapsed="0.000282"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.741910" level="INFO">${value} = 10.30.171.36</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:23:07.741614" elapsed="0.000321"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:23:07.742670" level="INFO">${encoded} = 10.30.171.36</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.742426" elapsed="0.000269"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:23:07.742745" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:23:07.742896" level="INFO">${encoded_value} = 10.30.171.36</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:23:07.742117" elapsed="0.000803"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.743065" elapsed="0.000252"/>
</kw>
<var name="${key}">DEVICE_IP</var>
<var name="${value}">10.30.171.36</var>
<status status="PASS" start="2026-04-11T23:23:07.741468" elapsed="0.001888"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.744048" level="INFO">${value} = netconf-scaling-device-1</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:23:07.743608" elapsed="0.000466"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:23:07.744791" level="INFO">${encoded} = netconf-scaling-device-1</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.744565" elapsed="0.000252"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:23:07.744866" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:23:07.745015" level="INFO">${encoded_value} = netconf-scaling-device-1</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:23:07.744255" elapsed="0.000784"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.745183" elapsed="0.000219"/>
</kw>
<var name="${key}">DEVICE_NAME</var>
<var name="${value}">netconf-scaling-device-1</var>
<status status="PASS" start="2026-04-11T23:23:07.743467" elapsed="0.001975"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.746130" level="INFO">${value} = 17830</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:23:07.745827" elapsed="0.000329"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:23:07.746944" level="INFO">${encoded} = 17830</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.746730" elapsed="0.000239"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:23:07.747019" elapsed="0.000035"/>
</return>
<msg time="2026-04-11T23:23:07.747235" level="INFO">${encoded_value} = 17830</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:23:07.746386" elapsed="0.000875"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.747406" elapsed="0.000243"/>
</kw>
<var name="${key}">DEVICE_PORT</var>
<var name="${value}">17830</var>
<status status="PASS" start="2026-04-11T23:23:07.745552" elapsed="0.002139"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.748226" level="INFO">${value} = admin</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:23:07.747932" elapsed="0.000319"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:23:07.749011" level="INFO">${encoded} = admin</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.748804" elapsed="0.000232"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:23:07.749086" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:23:07.749234" level="INFO">${encoded_value} = admin</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:23:07.748479" elapsed="0.000779"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.749402" elapsed="0.000234"/>
</kw>
<var name="${key}">DEVICE_USER</var>
<var name="${value}">admin</var>
<status status="PASS" start="2026-04-11T23:23:07.747806" elapsed="0.001872"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.750208" level="INFO">${value} = topsecret</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:23:07.749916" elapsed="0.000317"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:23:07.750943" level="INFO">${encoded} = topsecret</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.750734" elapsed="0.000234"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:23:07.751017" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:23:07.751164" level="INFO">${encoded_value} = topsecret</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:23:07.750412" elapsed="0.000775"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.751361" elapsed="0.000237"/>
</kw>
<var name="${key}">DEVICE_PASSWORD</var>
<var name="${value}">topsecret</var>
<status status="PASS" start="2026-04-11T23:23:07.749790" elapsed="0.001850"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.752172" level="INFO">${value} = device-key</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:23:07.751877" elapsed="0.000320"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:23:07.752911" level="INFO">${encoded} = device-key</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.752699" elapsed="0.000236"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:23:07.752984" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:23:07.753132" level="INFO">${encoded_value} = device-key</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:23:07.752375" elapsed="0.000781"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.753297" elapsed="0.000219"/>
</kw>
<var name="${key}">DEVICE_KEY</var>
<var name="${value}">device-key</var>
<status status="PASS" start="2026-04-11T23:23:07.751752" elapsed="0.001805"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.754104" level="INFO">${value} = /tmp/schema</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:23:07.753811" elapsed="0.000318"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:23:07.755014" level="INFO">${encoded} = /tmp/schema</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.754627" elapsed="0.000412"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:23:07.755087" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:23:07.755251" level="INFO">${encoded_value} = /tmp/schema</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:23:07.754307" elapsed="0.000968"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.755420" elapsed="0.000235"/>
</kw>
<var name="${key}">SCHEMA_DIRECTORY</var>
<var name="${value}">/tmp/schema</var>
<status status="PASS" start="2026-04-11T23:23:07.753684" elapsed="0.002012"/>
</iter>
<iter>
<kw name="Convert To String" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.756223" level="INFO">${value} = /rests</msg>
<var>${value}</var>
<arg>${value}</arg>
<doc>Converts the given item to a Unicode string.</doc>
<status status="PASS" start="2026-04-11T23:23:07.755931" elapsed="0.000316"/>
</kw>
<kw name="Percent_Encode_String" owner="TemplatedRequests">
<kw name="Replace String Using Regexp" owner="String">
<msg time="2026-04-11T23:23:07.756952" level="INFO">${encoded} = /rests</msg>
<var>${encoded}</var>
<arg>${value}</arg>
<arg>:</arg>
<arg>%3A</arg>
<doc>Replaces ``pattern`` in the given ``string`` with ``replace_with``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.756746" elapsed="0.000231"/>
</kw>
<return>
<value>${encoded}</value>
<status status="PASS" start="2026-04-11T23:23:07.757025" elapsed="0.000028"/>
</return>
<msg time="2026-04-11T23:23:07.757211" level="INFO">${encoded_value} = /rests</msg>
<var>${encoded_value}</var>
<arg>${value}</arg>
<doc>Percent encodes reserved characters in the given string so it can be used as part of url.</doc>
<status status="PASS" start="2026-04-11T23:23:07.756425" elapsed="0.000811"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${encoded_mapping}</arg>
<arg>${key}</arg>
<arg>${encoded_value}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.757381" elapsed="0.000240"/>
</kw>
<var name="${key}">RESTCONF_ROOT</var>
<var name="${value}">/rests</var>
<status status="PASS" start="2026-04-11T23:23:07.755806" elapsed="0.001855"/>
</iter>
<var>${key}</var>
<var>${value}</var>
<value>&amp;{mapping}</value>
<status status="PASS" start="2026-04-11T23:23:07.741289" elapsed="0.016407"/>
</for>
<return>
<value>${encoded_mapping}</value>
<status status="PASS" start="2026-04-11T23:23:07.757739" elapsed="0.000027"/>
</return>
<msg time="2026-04-11T23:23:07.757899" level="INFO">${mapping_to_use} = {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': 'netconf-scaling-device-1', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY':...</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="PASS" start="2026-04-11T23:23:07.740173" elapsed="0.017752"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:07.739879" elapsed="0.018078"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.758126" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.757982" elapsed="0.000198"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.739860" elapsed="0.018341"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.759060" level="INFO">${final_text} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.758342" elapsed="0.000746"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:23:07.759136" elapsed="0.000028"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:23:07.736261" elapsed="0.023011"/>
</kw>
<msg time="2026-04-11T23:23:07.759381" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:23:07.723281" elapsed="0.036207"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.773184" elapsed="0.000054"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.786558" elapsed="0.000091"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.799941" elapsed="0.000053"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.800264" elapsed="0.000046"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.800602" elapsed="0.000046"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.801279" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.801085" elapsed="0.000272"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:07.801056" elapsed="0.000347"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.801705" elapsed="0.000055"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.802068" elapsed="0.000054"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.802477" elapsed="0.000054"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:23:07.800982" elapsed="0.001630"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.800786" elapsed="0.001888"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.802974" elapsed="0.000046"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.803157" elapsed="0.000019"/>
</return>
<msg time="2026-04-11T23:23:07.803366" level="INFO">${uri} = /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1</msg>
<var>${uri}</var>
<arg>folder=${folder}</arg>
<arg>base_name=location</arg>
<arg>extension=uri</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=True</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:23:07.718105" elapsed="0.085288"/>
</kw>
<kw name="Resolve_Text_From_Template_Folder" owner="TemplatedRequests">
<kw name="Run Keyword And Return If" owner="BuiltIn">
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.858228" level="INFO">${file_path_stream} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/data.xml</msg>
<var>${file_path_stream}</var>
<arg>${folder}.${ODL_STREAM}${/}${file_name}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:23:07.857857" elapsed="0.000399"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:23:07.858990" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/data.xml' does not exist.</msg>
<arg>${file_path_stream}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.858761" elapsed="0.000299">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device.titanium/data.xml' does not exist.</status>
</kw>
<msg time="2026-04-11T23:23:07.859153" level="INFO">${file_stream_exists} = False</msg>
<var>${file_stream_exists}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${file_path_stream}</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:23:07.858414" elapsed="0.000773"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.859742" level="INFO">${file_path} = /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/data.xml</msg>
<var>${file_path}</var>
<arg>${file_stream_exists}</arg>
<arg>${file_path_stream}</arg>
<arg>${folder}${/}${file_name}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:23:07.859345" elapsed="0.000423"/>
</kw>
<kw name="Get File" owner="OperatingSystem">
<msg time="2026-04-11T23:23:07.860053" level="INFO" html="true">Getting file '&lt;a href="file:///w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/data.xml"&gt;/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/data.xml&lt;/a&gt;'.</msg>
<msg time="2026-04-11T23:23:07.860202" level="INFO">${template} = &lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;$DEVICE_NAME&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;$DEVICE_IP&lt;/host&gt;
    &lt;port&gt;$DEVI...</msg>
<var>${template}</var>
<arg>${file_path}</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="PASS" start="2026-04-11T23:23:07.859921" elapsed="0.000309"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.860635" level="INFO">&lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;$DEVICE_NAME&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;$DEVICE_IP&lt;/host&gt;
    &lt;port&gt;$DEVICE_PORT&lt;/port&gt;
    &lt;login-password-unencrypted&gt;
      &lt;username&gt;$DEVICE_USER&lt;/username&gt;
      &lt;password&gt;$DEVICE_PASSWORD&lt;/password&gt;
    &lt;/login-password-unencrypted&gt;
    &lt;tcp-only&gt;false&lt;/tcp-only&gt;
    &lt;keepalive-delay&gt;0&lt;/keepalive-delay&gt;
  &lt;/netconf-node&gt;
&lt;/node&gt;
</msg>
<arg>${template}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.860379" elapsed="0.000307"/>
</kw>
<if>
<branch type="IF" condition="${percent_encode} == True">
<kw name="Encode_Mapping" owner="TemplatedRequests">
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<status status="NOT RUN" start="2026-04-11T23:23:07.861039" elapsed="0.000025"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.860753" elapsed="0.000343"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.861551" level="INFO">${mapping_to_use} = {'DEVICE_IP': '10.30.171.36', 'DEVICE_NAME': 'netconf-scaling-device-1', 'DEVICE_PORT': '17830', 'DEVICE_USER': 'admin', 'DEVICE_PASSWORD': 'topsecret', 'DEVICE_KEY': 'device-key', 'SCHEMA_DIRECTORY':...</msg>
<var>${mapping_to_use}</var>
<arg>${mapping}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:23:07.861259" elapsed="0.000335"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:07.861120" elapsed="0.000509"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.860734" elapsed="0.000916"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.862459" level="INFO">${final_text} = &lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;netconf-scaling-device-1&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;10.30.171.36&lt;/host&gt;
 ...</msg>
<var>${final_text}</var>
<arg>string.Template('''${template}'''.rstrip()).safe_substitute(${mapping_to_use})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:07.861789" elapsed="0.000700"/>
</kw>
<return>
<value>${final_text}</value>
<status status="PASS" start="2026-04-11T23:23:07.862536" elapsed="0.000030"/>
</return>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="PASS" start="2026-04-11T23:23:07.857228" elapsed="0.005449"/>
</kw>
<msg time="2026-04-11T23:23:07.862802" level="INFO">Returning from the enclosing user keyword.</msg>
<arg>not "${iterations}"</arg>
<arg>Resolve_Text_From_Template_File</arg>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Runs the specified keyword and returns from the enclosing user keyword.</doc>
<status status="PASS" start="2026-04-11T23:23:07.844448" elapsed="0.018457"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${prolog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.prolog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.876203" elapsed="0.000053"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${epilog}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${name_prefix}${base_name}.epilog.${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>percent_encode=${percent_encode}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.889562" elapsed="0.000064"/>
</kw>
<kw name="Resolve_Text_From_Template_File" owner="TemplatedRequests">
<var>${item_template}</var>
<arg>folder=${folder}</arg>
<arg>file_name=${base_name}.item.${extension}</arg>
<arg>mapping=${mapping}</arg>
<doc>Check if /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name} exists. If yes read and Log contents of file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device.titanium/${file_name},
remove endline, perform safe substitution, return result.
If no do it with the default /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/${file_name}.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.902796" elapsed="0.000052"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<var>${items}</var>
<doc>Returns a list containing given items.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.903114" elapsed="0.000059"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<var>${separator}</var>
<arg>'${extension}' != 'json'</arg>
<arg>${endline}</arg>
<arg>,${endline}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.903449" elapsed="0.000045"/>
</kw>
<for flavor="IN RANGE">
<iter>
<if>
<branch type="IF" condition="${iteration} &gt; ${iter_start}">
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${separator}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.904123" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.903935" elapsed="0.000265"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:07.903907" elapsed="0.000339"/>
</if>
<kw name="Evaluate" owner="BuiltIn">
<var>${j}</var>
<arg>${iteration}+${iter_j_offset}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.904534" elapsed="0.000087"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${item}</var>
<arg>string.Template('''${item_template}''').substitute({"i":"${iteration}", "j":${j}})</arg>
<arg>modules=string</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.904918" elapsed="0.000052"/>
</kw>
<kw name="Append To List" owner="Collections">
<arg>${items}</arg>
<arg>${item}</arg>
<doc>Adds ``values`` to the end of ``list``.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.905265" elapsed="0.000053"/>
</kw>
<var name="${iteration}"/>
<status status="NOT RUN" start="2026-04-11T23:23:07.903834" elapsed="0.001531"/>
</iter>
<var>${iteration}</var>
<value>${iter_start}</value>
<value>${iterations}+${iter_start}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.903643" elapsed="0.001785"/>
</for>
<kw name="Catenate" owner="BuiltIn">
<var>${final_text}</var>
<arg>SEPARATOR=</arg>
<arg>${prolog}</arg>
<arg>${endline}</arg>
<arg>@{items}</arg>
<arg>${endline}</arg>
<arg>${epilog}</arg>
<doc>Catenates the given items together and returns the resulted string.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.905737" elapsed="0.000045"/>
</kw>
<return>
<value>${final_text}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.905918" elapsed="0.000018"/>
</return>
<msg time="2026-04-11T23:23:07.906109" level="INFO">${data} = &lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;netconf-scaling-device-1&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;10.30.171.36&lt;/host&gt;
 ...</msg>
<var>${data}</var>
<arg>folder=${folder}</arg>
<arg>base_name=${base_name}</arg>
<arg>extension=${extension}</arg>
<arg>mapping=${mapping}</arg>
<arg>endline=${endline}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Read a template from folder, strip endline, make changes according to mapping, return the result.
If ${iterations} value is present, put text together from "prolog", "item" and "epilog" parts,
where additional template variable ${i} goes from 1, by one  times.
Template variable ${j} is calculated as ${i} incremented by offset 0 ( j = i + iter_j_offset )
used to create non uniform data in order to be able to validate UPDATE operations.
POST (as opposed to PUT) needs slightly different data, ${name_prefix} may be used to distinguish.
(Actually, it is GET who formats data differently when URI is a top-level container.)</doc>
<status status="PASS" start="2026-04-11T23:23:07.840628" elapsed="0.065511"/>
</kw>
<kw name="Resolve_Jmes_Path" owner="TemplatedRequests">
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="File Should Exist" owner="OperatingSystem">
<msg time="2026-04-11T23:23:07.907936" level="FAIL">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/jmespath.expr' does not exist.</msg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.907689" elapsed="0.000309">File '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/variables/netconf/device/scandium/full-uri-device/jmespath.expr' does not exist.</status>
</kw>
<msg time="2026-04-11T23:23:07.908149" level="INFO">${read_jmes_file} = False</msg>
<var>${read_jmes_file}</var>
<arg>OperatingSystem.File Should Exist</arg>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:23:07.906976" elapsed="0.001231"/>
</kw>
<if>
<branch type="IF" condition="${read_jmes_file} == ${true}">
<kw name="Get File" owner="OperatingSystem">
<var>${jmes_expression}</var>
<arg>${folder}${/}jmespath.expr</arg>
<doc>Returns the contents of a specified file.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.909372" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.908405" elapsed="0.001053"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.911867" level="INFO">${jmes_expression} = None</msg>
<var>${jmes_expression}</var>
<arg>${None}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:23:07.909832" elapsed="0.002083"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:07.909495" elapsed="0.002470"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.908383" elapsed="0.003617"/>
</if>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.915166" level="INFO">${expression} = </msg>
<var>${expression}</var>
<arg>${read_jmes_file} == ${true}</arg>
<arg>${jmes_expression}</arg>
<arg>${EMPTY}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:23:07.912209" elapsed="0.003019"/>
</kw>
<return>
<value>${expression}</value>
<status status="PASS" start="2026-04-11T23:23:07.915369" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:23:07.915642" level="INFO">${jmes_expression} = </msg>
<var>${jmes_expression}</var>
<arg>${folder}</arg>
<doc>Reads JMES path from file /w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/../variables/netconf/device/scandium/full-uri-device/jmespath.expr if the file exists and
returns the JMES path. Empty string is returned otherwise.</doc>
<status status="PASS" start="2026-04-11T23:23:07.906534" elapsed="0.009134"/>
</kw>
<kw name="Put_To_Uri" owner="TemplatedRequests">
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.918041" level="INFO">/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1</msg>
<arg>${uri}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.917428" elapsed="0.000733"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.918980" level="INFO">&lt;node xmlns="urn:TBD:params:xml:ns:yang:network-topology"&gt;
  &lt;node-id&gt;netconf-scaling-device-1&lt;/node-id&gt;
  &lt;netconf-node xmlns="urn:opendaylight:netconf-node-topology"&gt;
    &lt;host&gt;10.30.171.36&lt;/host&gt;
    &lt;port&gt;17830&lt;/port&gt;
    &lt;login-password-unencrypted&gt;
      &lt;username&gt;admin&lt;/username&gt;
      &lt;password&gt;topsecret&lt;/password&gt;
    &lt;/login-password-unencrypted&gt;
    &lt;tcp-only&gt;false&lt;/tcp-only&gt;
    &lt;keepalive-delay&gt;0&lt;/keepalive-delay&gt;
  &lt;/netconf-node&gt;
&lt;/node&gt;</msg>
<arg>${data}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.918417" elapsed="0.000689"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.919939" level="INFO">{'Content-Type': 'application/xml'}</msg>
<arg>${content_type}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.919372" elapsed="0.000687"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.920902" level="INFO">{'Accept': 'application/xml'}</msg>
<arg>${accept}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.920331" elapsed="0.000691"/>
</kw>
<kw name="Join_Two_Headers" owner="TemplatedRequests">
<kw name="Copy Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:07.923373" level="INFO">${accumulator} = {'Content-Type': 'application/xml'}</msg>
<var>${accumulator}</var>
<arg>${first}</arg>
<doc>Returns a copy of the given dictionary.</doc>
<status status="PASS" start="2026-04-11T23:23:07.922934" elapsed="0.000485"/>
</kw>
<kw name="Get Dictionary Items" owner="Collections">
<msg time="2026-04-11T23:23:07.924120" level="INFO">${items_to_add} = ['Accept', 'application/xml']</msg>
<var>${items_to_add}</var>
<arg>${second}</arg>
<doc>Returns items of the given ``dictionary`` as a list.</doc>
<status status="PASS" start="2026-04-11T23:23:07.923739" elapsed="0.000426"/>
</kw>
<kw name="Set To Dictionary" owner="Collections">
<arg>${accumulator}</arg>
<arg>@{items_to_add}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="PASS" start="2026-04-11T23:23:07.924463" elapsed="0.000375"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.925632" level="INFO">{'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<arg>${accumulator}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.925143" elapsed="0.000587"/>
</kw>
<return>
<value>${accumulator}</value>
<status status="PASS" start="2026-04-11T23:23:07.925865" elapsed="0.000075"/>
</return>
<msg time="2026-04-11T23:23:07.926178" level="INFO">${headers} = {'Content-Type': 'application/xml', 'Accept': 'application/xml'}</msg>
<var>${headers}</var>
<arg>first=${content_type}</arg>
<arg>second=${accept}</arg>
<doc>Take two dicts, join them, return result. Second argument values take precedence.</doc>
<status status="PASS" start="2026-04-11T23:23:07.921872" elapsed="0.004384"/>
</kw>
<if>
<branch type="IF" condition="&quot;&quot;&quot;${http_timeout}&quot;&quot;&quot; == &quot;&quot;&quot;${EMPTY}&quot;&quot;&quot;">
<kw name="PUT On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:23:07.932899" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.929429" elapsed="0.005197">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:23:07.926415" elapsed="0.008318">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<branch type="ELSE">
<kw name="PUT On Session" owner="RequestsLibrary">
<var>${response}</var>
<arg>${session}</arg>
<arg>${uri}</arg>
<arg>data=${data}</arg>
<arg>headers=${headers}</arg>
<arg>timeout=${http_timeout}</arg>
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.935493" elapsed="0.000037"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.934783" elapsed="0.000822"/>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.926395" elapsed="0.009248">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Check_Status_Code" owner="TemplatedRequests">
<arg>${response}</arg>
<doc>Log response text, check status_code is one of allowed ones. In cases where this keyword is
called in a WUKS it could end up logging tons of data and it may be desired to skip the logging by passing
log_response=False, but by default it remains True.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.936761" elapsed="0.000051"/>
</kw>
<if>
<branch type="IF" condition="not ${normalize_json}">
<return>
<value>${response.text}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.937063" elapsed="0.000055"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.936964" elapsed="0.000225"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:07.936944" elapsed="0.000282"/>
</if>
<kw name="Normalize Json Text" owner="norm_json">
<var>${text_normalized}</var>
<arg>${response.text}</arg>
<arg>jmes_path=${jmes_path}</arg>
<doc>Attempt to return sorted indented JSON string.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.937406" elapsed="0.000046"/>
</kw>
<return>
<value>${text_normalized}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.937592" elapsed="0.000019"/>
</return>
<var>${response_text}</var>
<arg>uri=${uri}</arg>
<arg>data=${data}</arg>
<arg>content_type=${content_type}</arg>
<arg>accept=${accept}</arg>
<arg>session=${session}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>normalize_json=${normalize_json}</arg>
<arg>jmes_path=${jmes_expression}</arg>
<doc>PUT data to given URI, check status code and return response text.
${content_type} and ${accept} are mandatory Python objects with headers to use.
If ${normalize_json}, normalize text before returning.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.916060" elapsed="0.021714">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.937856" elapsed="0.000016"/>
</return>
<var>${response_text}</var>
<arg>folder=${folder}</arg>
<arg>base_name=data</arg>
<arg>extension=xml</arg>
<arg>accept=${ACCEPT_XML}</arg>
<arg>content_type=${HEADERS_XML}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>normalize_json=False</arg>
<arg>endline=${\n}</arg>
<arg>iterations=${iterations}</arg>
<arg>iter_start=${iter_start}</arg>
<arg>http_timeout=${http_timeout}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve URI and data from folder, call Put_To_Uri, return response text.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.680975" elapsed="0.256982">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<if>
<branch type="IF" condition="${verify}">
<kw name="Verify_Response_As_Xml_Templated" owner="TemplatedRequests">
<arg>response=${response_text}</arg>
<arg>folder=${folder}</arg>
<arg>base_name=response</arg>
<arg>mapping=${mapping}</arg>
<arg>iter_j_offset=${iter_j_offset}</arg>
<doc>Resolve expected XML data, should be equal to provided ${response}.
Endline set to empty, as this Resource does not support indented XML comparison.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.938247" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.938070" elapsed="0.000243"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:07.938053" elapsed="0.000283"/>
</if>
<return>
<value>${response_text}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.938369" elapsed="0.000015"/>
</return>
<arg>folder=${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${version}${/}${device_type}</arg>
<arg>mapping=${mapping}</arg>
<arg>session=${session}</arg>
<arg>http_timeout=${http_timeout}</arg>
<doc>Add arguments sensible for XML data, return Put_Templated response text.
Optionally, verification against response.xml (no iteration) is called.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.678202" elapsed="0.260268">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<status status="FAIL" start="2026-04-11T23:23:07.677971" elapsed="0.260569">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.677533" elapsed="0.261051">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</if>
<kw name="Set To Dictionary" owner="Collections">
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${device_name}</arg>
<arg>${device_type}</arg>
<doc>Adds the given ``key_value_pairs`` and/or ``items`` to the ``dictionary``.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.938736" elapsed="0.000021"/>
</kw>
<arg>${current_name}</arg>
<arg>device_type=${device_type}</arg>
<arg>device_port=${current_port}</arg>
<doc>Tell Netconf about the specified device so it can add it into its configuration.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.653726" elapsed="0.285124">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Device ${current_name} configured</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="NOT RUN" start="2026-04-11T23:23:07.943666" elapsed="0.000029"/>
</kw>
<arg>${current_name}</arg>
<arg>${log_response}</arg>
<doc>Operation for configuring the device.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.595732" elapsed="0.348059">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Waiting for device ${current_name} to connect</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="NOT RUN" start="2026-04-11T23:23:07.948250" elapsed="0.000028"/>
</kw>
<kw name="Wait_Device_Connected" owner="NetconfKeywords">
<arg>${current_name}</arg>
<arg>period=0.5s</arg>
<arg>log_response=${log_response}</arg>
<doc>Wait for the device to become connected.
It is more readable to use this keyword in a test case than to put the whole WUKS below into it.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.948487" elapsed="0.000024"/>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Device ${current_name} connected</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="NOT RUN" start="2026-04-11T23:23:07.952924" elapsed="0.000027"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Operation for configuring the device in the Netconf subsystem and connecting to it.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.595214" elapsed="0.357831">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.594755" elapsed="0.358342">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.953259" elapsed="0.000022"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.953439" elapsed="0.000021"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="FAIL" start="2026-04-11T23:23:07.591779" elapsed="0.361769">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.591218" elapsed="0.362565">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>Configure_Device_And_Verify</arg>
<arg>timeout=${timeout}</arg>
<status status="FAIL" start="2026-04-11T23:23:07.589120" elapsed="0.364763">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<doc>Make requests to configure the testtool devices.</doc>
<tag>critical</tag>
<status status="FAIL" start="2026-04-11T23:23:07.524372" elapsed="0.429668">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1 (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</test>
<test id="s1-s5-t3" name="Get_Data_From_Devices" line="50">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:23:07.958394" elapsed="0.000272"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:23:07.958130" elapsed="0.000592"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:23:07.959771" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.959647" elapsed="0.000174"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.959624" elapsed="0.000220"/>
</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-11T23:23:07.964656" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.964535" elapsed="0.000167"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.964516" elapsed="0.000208"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.965726" level="INFO">${return_list_reference} = [1]</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-11T23:23:07.965317" elapsed="0.000437"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.966201" level="INFO">${return_list_copy} = [1]</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-11T23:23:07.965908" elapsed="0.000318"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:23:07.966271" elapsed="0.000031"/>
</return>
<msg time="2026-04-11T23:23:07.966428" level="INFO">${index_list} = [1]</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-11T23:23:07.964947" elapsed="0.001505"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:23:07.971975" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.971868" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.971848" elapsed="0.000240"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:23:07.973235" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.973130" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.973111" elapsed="0.000192"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:07.973770" level="INFO">${karaf_connection_index} = 80</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="PASS" start="2026-04-11T23:23:07.973445" elapsed="0.000351"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.974176" level="INFO">${current_connection_index} = 76</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:07.973951" elapsed="0.000250"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.974958" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.974697" elapsed="0.000934">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:07.975820" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:23:07.975865" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.974355" elapsed="0.001535"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.976652" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.976388" elapsed="0.000903">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:07.977474" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:23:07.977519" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.976052" elapsed="0.001489"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.978458" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Get_Data_From_Devices"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.977851" elapsed="0.000668">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Get_Data_From_Devices"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:23:07.977634" elapsed="0.000974">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Get_Data_From_Devices"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:07.977614" elapsed="0.001028">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Get_Data_From_Devices"</status>
</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-04-11T23:23:07.978796" elapsed="0.000022"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.979016" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:07.978881" elapsed="0.000186"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:07.978865" elapsed="0.000224"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.979121" elapsed="0.000030"/>
</return>
<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">
<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-11T23:23:07.981676" elapsed="0.000148"/>
</kw>
<msg time="2026-04-11T23:23:07.981892" 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-11T23:23:07.980552" elapsed="0.001526"/>
</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-11T23:23:07.982360" elapsed="0.000076"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:07.982903" elapsed="0.000077"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:23:07.979949" elapsed="0.003144"/>
</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="PASS" start="2026-04-11T23:23:07.979409" elapsed="0.003767"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.972830" elapsed="0.010433">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Get_Data_From_Devices"</status>
</kw>
<msg time="2026-04-11T23:23:07.983368" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:07.983413" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Get_Data_From_Devices"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:23:07.972241" elapsed="0.011195"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:07.983647" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.983515" elapsed="0.000177"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.983495" elapsed="0.000219"/>
</if>
<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-11T23:23:07.984742" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:07.984633" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.984613" elapsed="0.000199"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.985100" level="INFO">index=76
host=10.30.171.36
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-11T23:23:07.985205" level="INFO">${current_ssh_connection_object} = index=76
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:07.984962" elapsed="0.000270"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.985656" level="INFO">{1: 80}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.985380" elapsed="0.000322"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:07.986115" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:07.985866" elapsed="0.000293"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:23:07.986736" elapsed="0.000262"/>
</kw>
<msg time="2026-04-11T23:23:07.987098" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:23:07.987170" level="INFO">${old_connection_index} = 80</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-11T23:23:07.986315" elapsed="0.000880"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:07.988017" elapsed="0.000195"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.989245" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.988853" elapsed="0.001229">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.988373" elapsed="0.001808"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:23:07.990883" elapsed="0.000296"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.990346" elapsed="0.000920"/>
</kw>
<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="PASS" start="2026-04-11T23:23:07.987493" elapsed="0.003818"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:07.987274" elapsed="0.004086"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:07.987254" elapsed="0.004130"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:07.992220" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:23:07.991918" elapsed="0.000328"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:23:07.992294" elapsed="0.000030"/>
</return>
<msg time="2026-04-11T23:23:07.992445" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:23:07.991601" elapsed="0.000867"/>
</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="PASS" start="2026-04-11T23:23:07.992633" elapsed="0.000424"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.993331" level="INFO">index=81
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:23:07.993429" level="INFO">${karaf_connection_object} = index=81
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:07.993221" elapsed="0.000233"/>
</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="PASS" start="2026-04-11T23:23:07.993613" elapsed="0.002208"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:23:07.996237" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:23:07.997227" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:23:07.995977" elapsed="0.001630">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:23:08.011070" elapsed="0.000410"/>
</kw>
<msg time="2026-04-11T23:23:08.011610" 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-11T23:23:08.009388" elapsed="0.002394"/>
</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-11T23:23:08.012002" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.012325" elapsed="0.000025"/>
</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-11T23:23:07.998370" elapsed="0.014045"/>
</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-11T23:23:07.997873" elapsed="0.014588"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.984148" elapsed="0.028395">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.012887" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.012961" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.971518" elapsed="0.041547">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:23:08.013169" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:08.013212" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:23:07.966848" elapsed="0.046387"/>
</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-11T23:23:08.013563" elapsed="0.000036"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.013312" elapsed="0.000320"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.013294" elapsed="0.000361"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:23:07.966706" elapsed="0.046973"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:23:07.966507" elapsed="0.047204"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:23:07.964179" elapsed="0.049588"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:23:07.959330" elapsed="0.054492"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:07.958870" elapsed="0.054995"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:23:07.955344" elapsed="0.058572"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.014429" level="INFO">${timeout} = 5000</msg>
<var>${timeout}</var>
<arg>${DEVICE_COUNT}*${TIMEOUT_FACTOR}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:08.014069" elapsed="0.000386"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:08.015554" level="INFO">${current_Date} = 2026-04-11 23:23:08.015</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:08.015379" elapsed="0.000216"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:23:08.016065" level="INFO">${deadline_Date} = 2026-04-12 00:46:28.015</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:23:08.015743" elapsed="0.000348"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.016618" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:08.016250" elapsed="0.000411"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.017115" level="INFO">Repeating keyword, round 1/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:08.018205" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.018100" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.018082" elapsed="0.000186"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:08.018554" level="INFO">${current_Date} = 2026-04-11 23:23:08.018</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:08.018406" elapsed="0.000215"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:08.019246" level="INFO">${ellapsed_seconds} = 4999.997</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:08.018769" elapsed="0.000503"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.019592" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.019342" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.019324" elapsed="0.000379"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:08.017866" elapsed="0.001887"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.020258" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:08.019898" elapsed="0.000386"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="Check_Device_Data">
<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-11T23:23:08.027949" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.027840" elapsed="0.000156"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.027821" elapsed="0.000197"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.028995" level="INFO">${return_list_reference} = [1]</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-11T23:23:08.028620" elapsed="0.000401"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.029465" level="INFO">${return_list_copy} = [1]</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-11T23:23:08.029175" elapsed="0.000316"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:23:08.029536" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:23:08.029710" level="INFO">${index_list} = [1]</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-11T23:23:08.028238" elapsed="0.001496"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:23:08.035354" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.035242" elapsed="0.000158"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.035223" elapsed="0.000199"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:23:08.037199" elapsed="0.000037"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.037001" elapsed="0.000280"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.036941" elapsed="0.000376"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:08.038733" level="INFO">${karaf_connection_index} = 81</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="PASS" start="2026-04-11T23:23:08.038221" elapsed="0.000562"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.040168" level="INFO">${current_connection_index} = 76</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:08.039705" elapsed="0.000514"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.041879" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.041687" elapsed="0.000620">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:08.042600" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:23:08.042704" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.041131" elapsed="0.001619"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.044449" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.044264" elapsed="0.000692">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:08.045235" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:23:08.045337" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.043723" elapsed="0.001660"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.046287" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Getting data from device netconf-scaling-device-1"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.045911" elapsed="0.000577">Failed to send the command: log:log "ROBOT MESSAGE: Getting data from device netconf-scaling-device-1"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:23:08.045526" elapsed="0.001068">Failed to send the command: log:log "ROBOT MESSAGE: Getting data from device netconf-scaling-device-1"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:08.045464" elapsed="0.001178">Failed to send the command: log:log "ROBOT MESSAGE: Getting data from device netconf-scaling-device-1"</status>
</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-04-11T23:23:08.047611" elapsed="0.000058"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.048065" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.047803" elapsed="0.000337"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:08.047744" elapsed="0.000433"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.048254" elapsed="0.000039"/>
</return>
<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">
<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-11T23:23:08.051207" elapsed="0.000155"/>
</kw>
<msg time="2026-04-11T23:23:08.051404" 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-11T23:23:08.050659" elapsed="0.000807"/>
</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-11T23:23:08.051676" elapsed="0.000026"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.051845" 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-11T23:23:08.050288" elapsed="0.001638"/>
</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="PASS" start="2026-04-11T23:23:08.048990" elapsed="0.003033"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.036296" elapsed="0.015855">Failed to send the command: log:log "ROBOT MESSAGE: Getting data from device netconf-scaling-device-1"</status>
</kw>
<msg time="2026-04-11T23:23:08.052626" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:08.052671" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Getting data from device netconf-scaling-device-1"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:23:08.035586" elapsed="0.017108"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.052882" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.052774" elapsed="0.000151"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.052754" elapsed="0.000193"/>
</if>
<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-11T23:23:08.053911" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.053734" elapsed="0.000278"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.053716" elapsed="0.000321"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.054302" level="INFO">index=76
host=10.30.171.36
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-11T23:23:08.054438" level="INFO">${current_ssh_connection_object} = index=76
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:08.054186" elapsed="0.000293"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.055286" level="INFO">{1: 81}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:08.054818" elapsed="0.000576"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.056050" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:08.055611" elapsed="0.000546"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:23:08.057262" elapsed="0.000427"/>
</kw>
<msg time="2026-04-11T23:23:08.057819" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:23:08.057891" level="INFO">${old_connection_index} = 81</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-11T23:23:08.056364" elapsed="0.001564"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:08.059499" elapsed="0.000160"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.060345" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.060195" elapsed="0.000592">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.059874" elapsed="0.000975"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:23:08.061385" elapsed="0.000098"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.061068" elapsed="0.000460"/>
</kw>
<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="PASS" start="2026-04-11T23:23:08.058440" elapsed="0.003158"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:08.058097" elapsed="0.003638"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.058077" elapsed="0.003686"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:08.063511" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:23:08.063006" elapsed="0.000627"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:23:08.063729" elapsed="0.000044"/>
</return>
<msg time="2026-04-11T23:23:08.064066" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:23:08.061963" elapsed="0.002176"/>
</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="PASS" start="2026-04-11T23:23:08.064360" elapsed="0.000935"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.065675" level="INFO">index=82
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:23:08.065810" level="INFO">${karaf_connection_object} = index=82
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:08.065548" elapsed="0.000302"/>
</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="PASS" start="2026-04-11T23:23:08.066052" elapsed="0.002697"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.069633" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:23:08.070779" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:23:08.068986" elapsed="0.002211">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:23:08.076475" elapsed="0.000170"/>
</kw>
<msg time="2026-04-11T23:23:08.076687" 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-11T23:23:08.075944" elapsed="0.000805"/>
</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-11T23:23:08.076988" elapsed="0.000029"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.077204" elapsed="0.000023"/>
</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-11T23:23:08.073067" elapsed="0.004287"/>
</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-11T23:23:08.071555" elapsed="0.005892"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.053387" elapsed="0.024358">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.078186" elapsed="0.000027"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.078261" elapsed="0.000018"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.034898" elapsed="0.043470">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:23:08.078473" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:08.078517" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:23:08.030090" elapsed="0.048450"/>
</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-11T23:23:08.078953" elapsed="0.000021"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.078703" elapsed="0.000304"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.078682" elapsed="0.000348"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:23:08.029954" elapsed="0.049100"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:23:08.029785" elapsed="0.049298"/>
</for>
<arg>Getting data from device ${current_name}</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-11T23:23:08.025807" elapsed="0.053359"/>
</kw>
<kw name="Get Data From URI" owner="Utils">
<kw name="GET On Session" owner="RequestsLibrary">
<msg time="2026-04-11T23:23:08.089504" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1/yang-ext:mount?content=config (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</msg>
<var>${resp}</var>
<arg>${session}</arg>
<arg>url=${uri}</arg>
<arg>headers=${headers}</arg>
<arg>expected_status=anything</arg>
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.086991" elapsed="0.004139">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1/yang-ext:mount?content=config (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<if>
<branch type="IF" condition="${resp.status_code} == 200">
<return>
<value>${resp.text}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.091307" elapsed="0.000013"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.091267" elapsed="0.000084"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:08.091246" elapsed="0.000127"/>
</if>
<kw name="Log" owner="BuiltIn">
<arg>${resp.text}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.091518" elapsed="0.000021"/>
</kw>
<kw name="Fail" owner="BuiltIn">
<arg>The request failed with code ${resp.status_code}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.091696" elapsed="0.000021"/>
</kw>
<var>${data}</var>
<arg>default</arg>
<arg>${REST_API}/network-topology:network-topology/topology=topology-netconf/node=${current_name}/yang-ext:mount?content=config</arg>
<arg>headers=${ACCEPT_XML}</arg>
<doc>Issue a Get On Session and return the data obtained or on error log the error and fail.
Issues a Get On Session for ${uri} in ${session} using headers from
{'Content-Type': 'application/json'}. If the request returns a HTTP error, fails. Otherwise
returns the data obtained by the request.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.086238" elapsed="0.005572">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1/yang-ext:mount?content=config (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Got data from device ${current_name}</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="NOT RUN" start="2026-04-11T23:23:08.096321" elapsed="0.000028"/>
</kw>
<if>
<branch type="IF" condition="'${IS_KARAF_APPL}' == 'True'">
<kw name="Set Variable" owner="BuiltIn">
<var>${expected}</var>
<arg>'&lt;data xmlns="${ODL_NETCONF_NAMESPACE}"&gt;&lt;/data&gt;'</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.096565" elapsed="0.000034"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.096419" elapsed="0.000217"/>
</branch>
<branch type="ELSE">
<kw name="Set Variable" owner="BuiltIn">
<var>${expected}</var>
<arg>'&lt;data xmlns="${ODL_NETCONF_NAMESPACE}"/&gt;'</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.096816" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.096660" elapsed="0.000211"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:08.096402" elapsed="0.000489"/>
</if>
<kw name="Should Be Equal As Strings" owner="BuiltIn">
<arg>'${data}'</arg>
<arg>${expected}</arg>
<doc>Fails if objects are unequal after converting them to strings.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.097047" elapsed="0.000021"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Opration for getting the configuration data of the device and checking that it matches what is expected.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.020965" elapsed="0.076195">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1/yang-ext:mount?content=config (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.020437" elapsed="0.076776">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1/yang-ext:mount?content=config (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.097370" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.097539" elapsed="0.000020"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="FAIL" start="2026-04-11T23:23:08.017308" elapsed="0.080353">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1/yang-ext:mount?content=config (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.016816" elapsed="0.080918">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1/yang-ext:mount?content=config (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<arg>Check_Device_Data</arg>
<arg>timeout=${timeout}</arg>
<status status="FAIL" start="2026-04-11T23:23:08.014916" elapsed="0.082917">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1/yang-ext:mount?content=config (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</kw>
<doc>Ask testtool devices for data.</doc>
<status status="FAIL" start="2026-04-11T23:23:07.954639" elapsed="0.143336">ConnectionError: HTTPConnectionPool(host='10.30.171.250', port=8181): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-scaling-device-1/yang-ext:mount?content=config (Caused by NewConnectionError("HTTPConnection(host='10.30.171.250', port=8181): Failed to establish a new connection: [Errno 111] Connection refused"))</status>
</test>
<test id="s1-s5-t4" name="Deconfigure_Devices_From_Netconf" line="55">
<kw name="Setup_Test_With_Logging_And_Without_Fast_Failing" owner="SetupUtils" type="SETUP">
<kw name="Run_Even_When_Failing_Fast" owner="FailFast">
<kw name="No Operation" owner="BuiltIn">
<doc>Does absolutely nothing.</doc>
<status status="PASS" start="2026-04-11T23:23:08.102131" elapsed="0.000212"/>
</kw>
<doc>This is just a more readable 'None' to override [Setup].</doc>
<status status="PASS" start="2026-04-11T23:23:08.101875" elapsed="0.000521"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Log_Testcase_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-11T23:23:08.103421" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.103312" elapsed="0.000154"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.103293" 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-11T23:23:08.108214" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.108109" elapsed="0.000150"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.108092" elapsed="0.000189"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.109256" level="INFO">${return_list_reference} = [1]</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-11T23:23:08.108885" elapsed="0.000398"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.109741" level="INFO">${return_list_copy} = [1]</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-11T23:23:08.109436" elapsed="0.000331"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:23:08.109811" elapsed="0.000029"/>
</return>
<msg time="2026-04-11T23:23:08.109963" level="INFO">${index_list} = [1]</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-11T23:23:08.108502" elapsed="0.001485"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:23:08.115373" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.115266" elapsed="0.000153"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.115247" elapsed="0.000194"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:23:08.116551" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.116445" elapsed="0.000174"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.116427" elapsed="0.000214"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:08.117069" level="INFO">${karaf_connection_index} = 82</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="PASS" start="2026-04-11T23:23:08.116780" elapsed="0.000315"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.117461" level="INFO">${current_connection_index} = 76</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:08.117244" elapsed="0.000242"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.118213" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.117978" elapsed="0.000819">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:08.118978" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:23:08.119023" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.117653" elapsed="0.001392"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.119791" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.119539" elapsed="0.000892">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:08.120626" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:23:08.120671" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.119215" elapsed="0.001479"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.121562" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Deconfigure_Devices_From_Netconf"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.120979" elapsed="0.000665">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Deconfigure_Devices_From_Netconf"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:23:08.120769" elapsed="0.000940">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Deconfigure_Devices_From_Netconf"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:08.120750" elapsed="0.000990">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Deconfigure_Devices_From_Netconf"</status>
</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-04-11T23:23:08.121891" elapsed="0.000021"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.122108" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.121974" elapsed="0.000184"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:08.121958" elapsed="0.000222"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.122212" elapsed="0.000014"/>
</return>
<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">
<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-11T23:23:08.124752" elapsed="0.000147"/>
</kw>
<msg time="2026-04-11T23:23:08.124961" 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-11T23:23:08.123676" elapsed="0.001450"/>
</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-11T23:23:08.125400" elapsed="0.000074"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.125923" elapsed="0.000077"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:23:08.122985" elapsed="0.003128"/>
</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="PASS" start="2026-04-11T23:23:08.122456" elapsed="0.003721"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.116147" elapsed="0.010111">Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Deconfigure_Devices_From_Netconf"</status>
</kw>
<msg time="2026-04-11T23:23:08.126358" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:08.126401" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Starting test netconf-scale.txt.Getsingle.Deconfigure_Devices_From_Netconf"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:23:08.115599" elapsed="0.010825"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.126625" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.126501" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.126482" elapsed="0.000208"/>
</if>
<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-11T23:23:08.127659" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.127536" elapsed="0.000168"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.127518" elapsed="0.000208"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.127987" level="INFO">index=76
host=10.30.171.36
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-11T23:23:08.128088" level="INFO">${current_ssh_connection_object} = index=76
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:08.127872" elapsed="0.000242"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.128509" level="INFO">{1: 82}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:08.128259" elapsed="0.000293"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.128950" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:08.128713" elapsed="0.000279"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:23:08.129487" elapsed="0.000324"/>
</kw>
<msg time="2026-04-11T23:23:08.129908" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:23:08.129953" level="INFO">${old_connection_index} = 82</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-11T23:23:08.129142" elapsed="0.000833"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:08.130776" elapsed="0.000192"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.132118" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.131725" elapsed="0.001251">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.131154" elapsed="0.001919"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:23:08.133703" elapsed="0.000268"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.133237" elapsed="0.000814"/>
</kw>
<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="PASS" start="2026-04-11T23:23:08.130263" elapsed="0.003832"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:08.130050" elapsed="0.004093"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.130031" elapsed="0.004136"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:08.134997" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:23:08.134696" elapsed="0.000327"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:23:08.135072" elapsed="0.000046"/>
</return>
<msg time="2026-04-11T23:23:08.135247" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:23:08.134365" elapsed="0.000948"/>
</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="PASS" start="2026-04-11T23:23:08.135471" elapsed="0.000435"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.136181" level="INFO">index=83
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:23:08.136278" level="INFO">${karaf_connection_object} = index=83
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:08.136072" elapsed="0.000232"/>
</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="PASS" start="2026-04-11T23:23:08.136444" elapsed="0.002284"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.139154" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:23:08.140056" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:23:08.138886" elapsed="0.001534">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:23:08.154191" elapsed="0.000782"/>
</kw>
<msg time="2026-04-11T23:23:08.155062" 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-11T23:23:08.152709" elapsed="0.002515"/>
</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-11T23:23:08.155381" elapsed="0.000022"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.155537" elapsed="0.000020"/>
</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-11T23:23:08.141198" elapsed="0.014437"/>
</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-11T23:23:08.140702" elapsed="0.014979"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.127247" elapsed="0.028514">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.156086" elapsed="0.000025"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.156158" elapsed="0.000017"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.114920" elapsed="0.041338">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:23:08.156360" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:08.156402" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:23:08.110340" elapsed="0.046084"/>
</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-11T23:23:08.156760" elapsed="0.000020"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.156499" elapsed="0.000314"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.156482" elapsed="0.000354"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:23:08.110205" elapsed="0.046654"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:23:08.110038" elapsed="0.046850"/>
</for>
<arg>Starting test ${SUITE_NAME}.${TEST_NAME}</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-11T23:23:08.107755" elapsed="0.049188"/>
</kw>
<arg>member_index_list=${member_index_list}</arg>
<doc>Log test case name to karaf log, useful in test case setup.</doc>
<status status="PASS" start="2026-04-11T23:23:08.103006" elapsed="0.053991"/>
</kw>
<arg>KarafKeywords.Log_Testcase_Start_To_Controller_Karaf</arg>
<arg>member_index_list=${member_index_list}</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.102537" elapsed="0.054504"/>
</kw>
<doc>Test case setup which explicitly ignores previous failure and logs test case name to Karaf log.
Needed if the recommended default is to be overriden.</doc>
<status status="PASS" start="2026-04-11T23:23:08.099259" elapsed="0.057832"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.157626" level="INFO">${timeout} = 5000</msg>
<var>${timeout}</var>
<arg>${DEVICE_COUNT}*${TIMEOUT_FACTOR}</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:08.157245" elapsed="0.000407"/>
</kw>
<kw name="Perform_Operation_On_Each_Device" owner="NetconfKeywords">
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:08.158501" level="INFO">${current_Date} = 2026-04-11 23:23:08.158</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:08.158344" elapsed="0.000183"/>
</kw>
<kw name="Add Time To Date" owner="DateTime">
<msg time="2026-04-11T23:23:08.159173" level="INFO">${deadline_Date} = 2026-04-12 00:46:28.158</msg>
<var>${deadline_Date}</var>
<arg>${current_Date}</arg>
<arg>${timeout}</arg>
<doc>Adds time to date and returns the resulting date.</doc>
<status status="PASS" start="2026-04-11T23:23:08.158862" elapsed="0.000340"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.159717" level="INFO">${current_port} = 17830</msg>
<arg>${current_port}</arg>
<arg>${BASE_NETCONF_DEVICE_PORT}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="PASS" start="2026-04-11T23:23:08.159361" elapsed="0.000398"/>
</kw>
<kw name="Repeat Keyword" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.160210" level="INFO">Repeating keyword, round 1/500.</msg>
<kw name="NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device" owner="NetconfKeywords">
<kw name="NetconfKeywords__Check_Netconf_Test_Timeout_Not_Expired" owner="NetconfKeywords">
<if>
<branch type="IF" condition="not ${ENABLE_NETCONF_TEST_TIMEOUT}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:08.161294" elapsed="0.000014"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.161188" elapsed="0.000147"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.161170" elapsed="0.000187"/>
</if>
<kw name="Get Current Date" owner="DateTime">
<msg time="2026-04-11T23:23:08.161793" level="INFO">${current_Date} = 2026-04-11 23:23:08.162</msg>
<var>${current_Date}</var>
<doc>Returns current local or UTC time with an optional increment.</doc>
<status status="PASS" start="2026-04-11T23:23:08.161495" elapsed="0.000325"/>
</kw>
<kw name="Subtract Date From Date" owner="DateTime">
<msg time="2026-04-11T23:23:08.162321" level="INFO">${ellapsed_seconds} = 4999.996</msg>
<var>${ellapsed_seconds}</var>
<arg>${deadline_Date}</arg>
<arg>${current_Date}</arg>
<doc>Subtracts date from another date and returns time between.</doc>
<status status="PASS" start="2026-04-11T23:23:08.161966" elapsed="0.000382"/>
</kw>
<if>
<branch type="IF" condition="${ellapsed_seconds}&lt;0">
<kw name="Fail" owner="BuiltIn">
<arg>The global time out period expired</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.162902" elapsed="0.000023"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.162427" elapsed="0.000531"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.162404" elapsed="0.000579"/>
</if>
<arg>${deadline_Date}</arg>
<status status="PASS" start="2026-04-11T23:23:08.160954" elapsed="0.002078"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.163587" level="INFO">${number} = 1</msg>
<var>${number}</var>
<arg>${current_port}-${BASE_NETCONF_DEVICE_PORT}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:08.163198" elapsed="0.000417"/>
</kw>
<kw name="Run Keyword" owner="BuiltIn">
<kw name="Deconfigure_Device_And_Verify" owner="NetconfKeywords">
<kw name="Deconfigure_Device" owner="NetconfKeywords">
<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-11T23:23:08.173393" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.173282" elapsed="0.000159"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.173263" elapsed="0.000199"/>
</if>
<kw name="List_Indices_Or_All" owner="ClusterManagement">
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.174452" level="INFO">${return_list_reference} = [1]</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-11T23:23:08.174073" elapsed="0.000406"/>
</kw>
<kw name="Create List" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.174945" level="INFO">${return_list_copy} = [1]</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-11T23:23:08.174649" elapsed="0.000322"/>
</kw>
<return>
<value>${return_list_copy}</value>
<status status="PASS" start="2026-04-11T23:23:08.175017" elapsed="0.000034"/>
</return>
<msg time="2026-04-11T23:23:08.175190" level="INFO">${index_list} = [1]</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-11T23:23:08.173701" elapsed="0.001514"/>
</kw>
<for flavor="IN">
<iter>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Execute_Controller_Karaf_Command_With_Retry_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-11T23:23:08.181363" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.181163" elapsed="0.000312"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.181141" elapsed="0.000362"/>
</if>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<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-04-11T23:23:08.184057" elapsed="0.000017"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.183929" elapsed="0.000183"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.183906" elapsed="0.000231"/>
</if>
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:08.184676" level="INFO">${karaf_connection_index} = 83</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="PASS" start="2026-04-11T23:23:08.184371" elapsed="0.000335"/>
</kw>
<kw name="Switch Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.185165" level="INFO">${current_connection_index} = 76</msg>
<var>${current_connection_index}</var>
<arg>${karaf_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:08.184960" elapsed="0.000233"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.186120" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${command}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.185848" elapsed="0.000892">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:08.186882" level="INFO">${status_write} = FAIL</msg>
<msg time="2026-04-11T23:23:08.186931" level="INFO">${message_write} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.185437" elapsed="0.001518"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Read Until Regexp" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.187935" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.187706" elapsed="0.001014">Cannot open session, you need to establish a connection first.</status>
</kw>
<msg time="2026-04-11T23:23:08.188851" level="INFO">${status_wait} = FAIL</msg>
<msg time="2026-04-11T23:23:08.188902" level="INFO">${message_wait} = Cannot open session, you need to establish a connection first.</msg>
<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 error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.187286" elapsed="0.001643"/>
</kw>
<if>
<branch type="IF" condition="'${status_write}' != 'PASS'">
<kw name="Fail" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.189721" level="FAIL">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</msg>
<arg>Failed to send the command: ${command}</arg>
<doc>Fails the test with the given message and optionally alters its tags.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.189332" elapsed="0.000458">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</status>
</kw>
<status status="FAIL" start="2026-04-11T23:23:08.189076" elapsed="0.000794">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</status>
</branch>
<status status="FAIL" start="2026-04-11T23:23:08.189052" elapsed="0.000854">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</status>
</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-04-11T23:23:08.190169" elapsed="0.000028"/>
</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 with the given message and optionally alters its tags.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.190507" elapsed="0.000024"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.190329" elapsed="0.000523"/>
</branch>
<status status="NOT RUN" start="2026-04-11T23:23:08.190306" elapsed="0.000579"/>
</if>
<return>
<value>${message_wait}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.190981" elapsed="0.000034"/>
</return>
<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">
<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-11T23:23:08.193611" elapsed="0.000182"/>
</kw>
<msg time="2026-04-11T23:23:08.193851" 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-11T23:23:08.192764" elapsed="0.001164"/>
</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-11T23:23:08.194148" elapsed="0.000026"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.194404" elapsed="0.000152"/>
</kw>
<arg>${current_connection_index}</arg>
<doc>Restore active SSH connection in SSHLibrary to given index.</doc>
<status status="PASS" start="2026-04-11T23:23:08.192309" elapsed="0.002376"/>
</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="PASS" start="2026-04-11T23:23:08.191688" elapsed="0.003047"/>
</kw>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.183130" elapsed="0.011747">Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</status>
</kw>
<msg time="2026-04-11T23:23:08.195017" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:08.195130" level="INFO">${message} = Failed to send the command: log:log "ROBOT MESSAGE: Deconfiguring device netconf-scaling-device-1"</msg>
<var>${status}</var>
<var>${message}</var>
<arg>Execute_Controller_Karaf_Command_On_Background</arg>
<arg>${command}</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-11T23:23:08.181732" elapsed="0.013439"/>
</kw>
<if>
<branch type="IF" condition="'${status}' == 'PASS'">
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.195528" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.195346" elapsed="0.000302"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.195324" elapsed="0.000351"/>
</if>
<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-11T23:23:08.197269" elapsed="0.000029"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.196867" elapsed="0.000477"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.196823" elapsed="0.000590"/>
</if>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.198714" level="INFO">index=76
host=10.30.171.36
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-11T23:23:08.198968" level="INFO">${current_ssh_connection_object} = index=76
host=10.30.171.36
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_ssh_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:08.198208" elapsed="0.000888"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.200369" level="INFO">{1: 83}</msg>
<arg>${connection_index_dict}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:08.199876" elapsed="0.000628"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.201845" level="INFO">1</msg>
<arg>${member_index}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:08.201363" elapsed="0.000607"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Get From Dictionary" owner="Collections">
<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="PASS" start="2026-04-11T23:23:08.203512" elapsed="0.000211"/>
</kw>
<msg time="2026-04-11T23:23:08.203928" level="INFO">${status} = PASS</msg>
<msg time="2026-04-11T23:23:08.204084" level="INFO">${old_connection_index} = 83</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-11T23:23:08.202838" elapsed="0.001347"/>
</kw>
<if>
<branch type="IF" condition="'${status}'=='PASS'">
<kw name="Run Keywords" owner="BuiltIn">
<kw name="Switch Connection" owner="SSHLibrary">
<arg>${old_connection_index}</arg>
<doc>Switches the active connection by index or alias.</doc>
<status status="PASS" start="2026-04-11T23:23:08.205723" elapsed="0.000172"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Write" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.206888" level="FAIL">Cannot open session, you need to establish a connection first.</msg>
<arg>logout</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.206494" elapsed="0.001028">Cannot open session, you need to establish a connection first.</status>
</kw>
<arg>SSHLibrary.Write</arg>
<arg>logout</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.206091" elapsed="0.001532"/>
</kw>
<kw name="Run Keyword And Ignore Error" owner="BuiltIn">
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="PASS" start="2026-04-11T23:23:08.208180" elapsed="0.000127"/>
</kw>
<arg>SSHLibrary.Close_Connection</arg>
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<status status="PASS" start="2026-04-11T23:23:08.207817" elapsed="0.000540"/>
</kw>
<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="PASS" start="2026-04-11T23:23:08.205014" elapsed="0.003430"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:08.204429" elapsed="0.004087"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.204387" elapsed="0.004223"/>
</if>
<kw name="Resolve_IP_Address_For_Member" owner="ClusterManagement">
<kw name="Get From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:08.211017" level="INFO">${ip_address} = 10.30.171.250</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="PASS" start="2026-04-11T23:23:08.210523" elapsed="0.000524"/>
</kw>
<return>
<value>${ip_address}</value>
<status status="PASS" start="2026-04-11T23:23:08.211173" elapsed="0.000090"/>
</return>
<msg time="2026-04-11T23:23:08.211664" level="INFO">${odl_ip} = 10.30.171.250</msg>
<var>${odl_ip}</var>
<arg>${member_index}</arg>
<doc>Return node IP address of given index.</doc>
<status status="PASS" start="2026-04-11T23:23:08.209745" elapsed="0.002022"/>
</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="PASS" start="2026-04-11T23:23:08.212646" elapsed="0.000905"/>
</kw>
<kw name="Get Connection" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.214845" level="INFO">index=84
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_errors=strict</msg>
<msg time="2026-04-11T23:23:08.215095" level="INFO">${karaf_connection_object} = index=84
host=10.30.171.250
alias=None
port=8101
timeout=10 seconds
newline=

prompt=opendaylight-user
term_type=vt100
width=80
height=24
path_separator=/
encoding=UTF-8
escape_ansi=False
encoding_err...</msg>
<var>${karaf_connection_object}</var>
<doc>Returns information about the connection.</doc>
<status status="PASS" start="2026-04-11T23:23:08.214328" elapsed="0.000873"/>
</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="PASS" start="2026-04-11T23:23:08.215950" elapsed="0.002611"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.219927" level="INFO">Logging into '10.30.171.250:8101' as 'karaf'.</msg>
<msg time="2026-04-11T23:23:08.221032" level="FAIL">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="FAIL" start="2026-04-11T23:23:08.219455" elapsed="0.002016">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</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">
<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-11T23:23:08.226236" elapsed="0.000153"/>
</kw>
<msg time="2026-04-11T23:23:08.226433" 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-11T23:23:08.225629" elapsed="0.000869"/>
</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-11T23:23:08.226810" elapsed="0.000027"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.226979" elapsed="0.000021"/>
</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-11T23:23:08.223359" elapsed="0.003723"/>
</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-11T23:23:08.222181" elapsed="0.005009"/>
</kw>
<arg>${member_index}</arg>
<doc>If there is a stored ssh connection index of connection to the controller's karaf console for 1,
close the previous connection. In any case create a new connection
to karaf console for 1, set correct prompt set and login to karaf console.
Store connection index for 1 and restore the previous active connection.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.196342" elapsed="0.031046">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<kw name="Execute_Controller_Karaf_Command_On_Background" owner="KarafKeywords">
<var>${message}</var>
<arg>${command}</arg>
<arg>${member_index}</arg>
<doc>Send command to karaf without affecting current SSH connection. Read, log and return response.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.228027" elapsed="0.000027"/>
</kw>
<return>
<value>${message}</value>
<status status="NOT RUN" start="2026-04-11T23:23:08.228180" elapsed="0.000019"/>
</return>
<arg>log:log "ROBOT MESSAGE: ${message}"</arg>
<arg>member_index=${index}</arg>
<doc>Attemp to send command to karaf for ${member_index}, if fail then open connection and try again.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.180698" elapsed="0.047599">NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</status>
</kw>
<msg time="2026-04-11T23:23:08.228452" level="INFO">${status} = FAIL</msg>
<msg time="2026-04-11T23:23:08.228498" level="INFO">${output} = NoValidConnectionsError: [Errno None] Unable to connect to port 8101 on 10.30.171.250</msg>
<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="PASS" start="2026-04-11T23:23:08.175599" elapsed="0.052923"/>
</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-11T23:23:08.228898" elapsed="0.000022"/>
</kw>
<status status="NOT RUN" start="2026-04-11T23:23:08.228638" elapsed="0.000316"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.228615" elapsed="0.000362"/>
</if>
<var name="${index}">1</var>
<status status="PASS" start="2026-04-11T23:23:08.175444" elapsed="0.053560"/>
</iter>
<var>${index}</var>
<value>@{index_list}</value>
<status status="PASS" start="2026-04-11T23:23:08.175269" elapsed="0.053770"/>
</for>
<arg>Deconfiguring device ${current_name}</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-11T23:23:08.171255" elapsed="0.057850"/>
</kw>
<kw name="Remove_Device_From_Netconf" owner="NetconfKeywords">
<kw name="Pop From Dictionary" owner="Collections">
<msg time="2026-04-11T23:23:08.229941" level="FAIL">Dictionary does not contain key 'netconf-scaling-device-1'.</msg>
<var>${device_type}</var>
<arg>${NetconfKeywords__mounted_device_types}</arg>
<arg>${device_name}</arg>
<doc>Pops the given ``key`` from the ``dictionary`` and returns its value.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.229684" elapsed="0.000320">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<kw name="Create Dictionary" owner="BuiltIn">
<var>${mapping}</var>
<arg>DEVICE_NAME=${device_name}</arg>
<arg>RESTCONF_ROOT=${RESTCONF_ROOT}</arg>
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.230183" elapsed="0.000022"/>
</kw>
<kw name="Set_Variable_If_At_Least_Scandium" owner="CompareStream">
<var>${version}</var>
<arg>scandium</arg>
<arg>calcium</arg>
<doc>Compare scandium to titanium and return ${value_if_true} if titanium is at least scandium, return ${value_if_false} otherwise.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.238642" elapsed="0.000029"/>
</kw>
<kw name="Delete_Templated" owner="TemplatedRequests">
<arg>${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${version}${/}${device_type}</arg>
<arg>${mapping}</arg>
<arg>session=${session}</arg>
<arg>location=${location}</arg>
<doc>Resolve URI from folder, issue DELETE request.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.238895" elapsed="0.000025"/>
</kw>
<arg>${current_name}</arg>
<doc>Tell Netconf to deconfigure the specified device</doc>
<status status="FAIL" start="2026-04-11T23:23:08.229300" elapsed="0.009723">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<kw name="Log_Message_To_Controller_Karaf" owner="KarafKeywords">
<arg>Device ${current_name} deconfigured</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="NOT RUN" start="2026-04-11T23:23:08.243810" elapsed="0.000029"/>
</kw>
<arg>${current_name}</arg>
<arg>${log_response}</arg>
<doc>Operation for deconfiguring the device.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.164718" elapsed="0.079220">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<kw name="Check_Device_Deconfigured" owner="NetconfKeywords">
<arg>${current_name}</arg>
<doc>Operation for making sure the device is really deconfigured.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.244140" elapsed="0.000025"/>
</kw>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Operation for deconfiguring the device from Netconf.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.164221" elapsed="0.080034">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<arg>${operation}</arg>
<arg>${DEVICE_NAME_BASE}-${number}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the given keyword with the given arguments.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.163767" elapsed="0.080539">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${next}</var>
<arg>${current_port}+1</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.244470" elapsed="0.000021"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${current_port}</arg>
<arg>${next}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-04-11T23:23:08.244763" elapsed="0.000023"/>
</kw>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<status status="FAIL" start="2026-04-11T23:23:08.160401" elapsed="0.084479">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<arg>${count} times</arg>
<arg>NetconfKeywords__Perform_Operation_With_Checking_On_Next_Device</arg>
<arg>${operation}</arg>
<arg>${deadline_Date}</arg>
<arg>log_response=${log_response}</arg>
<doc>Executes the specified keyword multiple times.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.159912" elapsed="0.085041">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<arg>Deconfigure_Device_And_Verify</arg>
<arg>timeout=${timeout}</arg>
<status status="FAIL" start="2026-04-11T23:23:08.157901" elapsed="0.087151">Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</kw>
<kw name="Report Failure Due To Bug" owner="Utils" type="TEARDOWN">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.246259" level="INFO">${test_skipped} = False</msg>
<var>${test_skipped}</var>
<arg>len(re.findall('SKIPPED', """${TEST_MESSAGE}""")) &gt; 0</arg>
<arg>modules=re</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:08.245841" elapsed="0.000445"/>
</kw>
<if>
<branch type="IF" condition="('${TEST_STATUS}' != 'FAIL') or ${test_skipped}">
<return>
<status status="NOT RUN" start="2026-04-11T23:23:08.246509" elapsed="0.000015"/>
</return>
<status status="NOT RUN" start="2026-04-11T23:23:08.246360" elapsed="0.000191"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.246341" elapsed="0.000248"/>
</if>
<kw name="Comment" owner="BuiltIn">
<arg>Jira tickets are {PROJECT}-{NUMBER} while Bugzilla tickets are {NUMBER}</arg>
<doc>Displays the given messages in the log file as keyword arguments.</doc>
<status status="PASS" start="2026-04-11T23:23:08.246749" elapsed="0.000211"/>
</kw>
<kw name="Run Keyword And Return Status" owner="BuiltIn">
<kw name="Should Contain" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.247899" level="FAIL">'4547' does not contain '-'</msg>
<arg>${number}</arg>
<arg>-</arg>
<doc>Fails if ``container`` does not contain ``item`` one or more times.</doc>
<status status="FAIL" start="2026-04-11T23:23:08.247532" elapsed="0.000427">'4547' does not contain '-'</status>
</kw>
<msg time="2026-04-11T23:23:08.248051" level="INFO">${match} = False</msg>
<var>${match}</var>
<arg>Should Contain</arg>
<arg>${number}</arg>
<arg>-</arg>
<doc>Runs the specified keyword and returns the status as a Boolean value.</doc>
<status status="PASS" start="2026-04-11T23:23:08.247147" elapsed="0.000928"/>
</kw>
<kw name="Set Variable If" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.248655" level="INFO">${bug_url} = https://bugs.opendaylight.org/show_bug.cgi?id=4547</msg>
<var>${bug_url}</var>
<arg>${match}</arg>
<arg>https://jira.opendaylight.org/browse/${number}</arg>
<arg>https://bugs.opendaylight.org/show_bug.cgi?id=${number}</arg>
<doc>Sets variable based on the given condition.</doc>
<status status="PASS" start="2026-04-11T23:23:08.248301" elapsed="0.000381"/>
</kw>
<kw name="Set Variable" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.249133" level="INFO">${msg} = This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=4547</msg>
<var>${msg}</var>
<arg>This test fails due to ${bug_url}</arg>
<doc>Returns the given values which can then be assigned to a variables.</doc>
<status status="PASS" start="2026-04-11T23:23:08.248841" elapsed="0.000318"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.249617" level="INFO">${newline} = 
</msg>
<var>${newline}</var>
<arg>chr(10)</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:08.249307" elapsed="0.000337"/>
</kw>
<kw name="Set Test Message" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.250156" level="INFO">Set test message to:
This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=4547

Dictionary does not contain key 'netconf-scaling-device-1'.</msg>
<arg>${msg}${newline}${newline}${TEST_MESSAGE}</arg>
<doc>Sets message for the current test case.</doc>
<status status="PASS" start="2026-04-11T23:23:08.249792" elapsed="0.000410"/>
</kw>
<kw name="Log" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.250613" level="INFO">This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=4547</msg>
<arg>${msg}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="PASS" start="2026-04-11T23:23:08.250353" elapsed="0.000304"/>
</kw>
<if>
<branch type="IF" condition="&quot;${include_bug_in_tags}&quot;==&quot;True&quot;">
<kw name="Set Tags" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.251338" level="INFO">Set tag 'https://bugs.opendaylight.org/show_bug.cgi?id=4547'.</msg>
<arg>${bug_url}</arg>
<doc>Adds given ``tags`` for the current test or all tests in a suite.</doc>
<status status="PASS" start="2026-04-11T23:23:08.250959" elapsed="0.000427"/>
</kw>
<status status="PASS" start="2026-04-11T23:23:08.250724" elapsed="0.000695"/>
</branch>
<status status="PASS" start="2026-04-11T23:23:08.250706" elapsed="0.000738"/>
</if>
<arg>4547</arg>
<doc>Report that a test failed due to a known Bugzilla bug whose
number is provided as an argument.
Not FAILED (incl. SKIPPED) test are not reported.
This keyword must be used in the [Teardown] setting of the affected test
or as the first line of the test if FastFail module is not being
used. It reports the URL of the bug on console and also puts it
into the Robot log file.</doc>
<status status="PASS" start="2026-04-11T23:23:08.245463" elapsed="0.006027"/>
</kw>
<doc>Make requests to deconfigure the testtool devices.</doc>
<tag>critical</tag>
<tag>https://bugs.opendaylight.org/show_bug.cgi?id=4547</tag>
<status status="FAIL" start="2026-04-11T23:23:08.098490" elapsed="0.153047">This test fails due to https://bugs.opendaylight.org/show_bug.cgi?id=4547

Dictionary does not contain key 'netconf-scaling-device-1'.</status>
</test>
<kw name="Teardown_Everything" type="TEARDOWN">
<kw name="Delete All Sessions" owner="RequestsLibrary">
<msg time="2026-04-11T23:23:08.252305" level="INFO">Deleting All Sessions</msg>
<doc>Removes all the session objects</doc>
<status status="PASS" start="2026-04-11T23:23:08.252227" elapsed="0.000174"/>
</kw>
<kw name="Stop_Testtool" owner="NetconfKeywords">
<kw name="Write_Bare_Ctrl_C" owner="RemoteBash">
<kw name="Evaluate" owner="BuiltIn">
<msg time="2026-04-11T23:23:08.253494" level="INFO">${ctrl_c} = </msg>
<var>${ctrl_c}</var>
<arg>chr(int(3))</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="PASS" start="2026-04-11T23:23:08.253185" elapsed="0.000406"/>
</kw>
<kw name="Write Bare" owner="SSHLibrary">
<arg>${ctrl_c}</arg>
<doc>Writes the given ``text`` on the remote machine without appending a newline.</doc>
<status status="PASS" start="2026-04-11T23:23:08.253838" elapsed="0.000291"/>
</kw>
<doc>Construct ctrl+c character and SSH-write it (without endline) to the current SSH connection.
Do not read anything yet.</doc>
<status status="PASS" start="2026-04-11T23:23:08.252979" elapsed="0.001217"/>
</kw>
<kw name="Read Until Prompt" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.255063" level="INFO">[?2004l[?2004h[jenkins@releng-08314-165-1-mininet-ovs-217-0 ~]&gt;</msg>
<doc>Consumes and returns the server output until the prompt is found.</doc>
<status status="PASS" start="2026-04-11T23:23:08.254353" elapsed="0.000781"/>
</kw>
<kw name="Get File" owner="SSHLibrary">
<msg time="2026-04-11T23:23:08.265503" level="INFO">[chan 1006] Opened sftp connection (server version 3)</msg>
<msg time="2026-04-11T23:23:08.274264" level="INFO">'testtool--netconf-scale-txt-Getsingle.1775949731.836.log' -&gt; '/w/workspace/netconf-csit-1node-scale-only-titanium/testtool--netconf-scale-txt-Getsingle.1775949731.836.log'</msg>
<arg>${testtool_log}</arg>
<doc>Downloads file(s) from the remote machine to the local machine.</doc>
<status status="PASS" start="2026-04-11T23:23:08.255299" elapsed="0.019068"/>
</kw>
<doc>Stop testtool and download its log.</doc>
<status status="PASS" start="2026-04-11T23:23:08.252707" elapsed="0.021791"/>
</kw>
<doc>Teardown the test infrastructure, perform cleanup and release all resources.</doc>
<status status="PASS" start="2026-04-11T23:23:08.252015" elapsed="0.022626"/>
</kw>
<doc>netconf-connector scaling test suite (single-threaded GET requests).

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


Performs scaling tests:
- Configuring devices one by one.
- Sending requests for configuration data.
- Deconfiguring devices one by one.</doc>
<status status="FAIL" start="2026-04-11T23:22:06.059483" elapsed="62.215225"/>
</suite>
<status status="FAIL" start="2026-04-11T23:13:33.317373" elapsed="574.959951"/>
</suite>
<statistics>
<total>
<stat pass="3" fail="30" skip="0">All Tests</stat>
</total>
<tag>
<stat pass="0" fail="6" skip="0">critical</stat>
<stat pass="0" fail="2" skip="0">https://bugs.opendaylight.org/show_bug.cgi?id=4547</stat>
<stat pass="0" fail="1" skip="0">https://bugs.opendaylight.org/show_bug.cgi?id=5581</stat>
</tag>
<suite>
<stat name="netconf-scale.txt" id="s1" pass="3" fail="30" skip="0">netconf-scale.txt</stat>
<stat name="Ready" id="s1-s1" pass="0" fail="6" skip="0">netconf-scale.txt.Ready</stat>
<stat name="Netconfready" id="s1-s1-s1" pass="0" fail="6" skip="0">netconf-scale.txt.Ready.Netconfready</stat>
<stat name="Performance" id="s1-s2" pass="1" fail="6" skip="0">netconf-scale.txt.Performance</stat>
<stat name="Mdsal" id="s1-s3" pass="0" fail="10" skip="0">netconf-scale.txt.Mdsal</stat>
<stat name="Getmulti" id="s1-s4" pass="1" fail="5" skip="0">netconf-scale.txt.Getmulti</stat>
<stat name="Getsingle" id="s1-s5" pass="1" fail="3" skip="0">netconf-scale.txt.Getsingle</stat>
</suite>
</statistics>
<errors>
<msg time="2026-04-11T23:13:38.716534" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'netconf-scale.txt.Performance' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:38.720716" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'netconf-scale.txt.Performance' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:38.721236" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'netconf-scale.txt.Performance' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:38.730650" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/NetconfKeywords.robot' on line 20: Suite 'netconf-scale.txt.Performance' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:38.732100" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/NexusKeywords.robot' on line 20: Suite 'netconf-scale.txt.Performance' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:38.734128" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'netconf-scale.txt.Performance' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:38.741041" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/RestPerfClient.robot' on line 31: Suite 'netconf-scale.txt.Performance' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:52.630664" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/NetconfKeywords.robot' on line 20: Suite 'netconf-scale.txt.Mdsal' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:52.633189" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/NexusKeywords.robot' on line 20: Suite 'netconf-scale.txt.Mdsal' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:52.636694" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'netconf-scale.txt.Mdsal' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:52.637414" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'netconf-scale.txt.Mdsal' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:52.645669" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'netconf-scale.txt.Mdsal' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:52.646566" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/RestPerfClient.robot' on line 31: Suite 'netconf-scale.txt.Mdsal' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:52.647325" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'netconf-scale.txt.Mdsal' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:58.982516" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'netconf-scale.txt.Getmulti' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:58.986931" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'netconf-scale.txt.Getmulti' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:58.987562" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'netconf-scale.txt.Getmulti' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:58.998838" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/NetconfKeywords.robot' on line 20: Suite 'netconf-scale.txt.Getmulti' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:59.000584" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/NexusKeywords.robot' on line 20: Suite 'netconf-scale.txt.Getmulti' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:13:59.002734" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'netconf-scale.txt.Getmulti' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:22:06.063007" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/KarafKeywords.robot' on line 9: Suite 'netconf-scale.txt.Getsingle' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:22:06.069426" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/SSHKeywords.robot' on line 16: Suite 'netconf-scale.txt.Getsingle' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:22:06.070367" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/Utils.robot' on line 4: Suite 'netconf-scale.txt.Getsingle' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:22:06.080685" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/NetconfKeywords.robot' on line 20: Suite 'netconf-scale.txt.Getsingle' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:22:06.082218" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/NexusKeywords.robot' on line 20: Suite 'netconf-scale.txt.Getsingle' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
<msg time="2026-04-11T23:22:06.084147" level="WARN">Error in file '/w/workspace/netconf-csit-1node-scale-only-titanium/test/csit/libraries/RemoteBash.robot' on line 25: Suite 'netconf-scale.txt.Getsingle' has already imported library 'SSHLibrary' with different arguments. This import is ignored.</msg>
</errors>
</robot>
